summaryrefslogtreecommitdiff
path: root/libre/qtcreator/qtcreator-clang-9.patch
diff options
context:
space:
mode:
authoroaken-source <oaken-source@parabola.nu>2019-10-26 15:08:28 +0200
committeroaken-source <oaken-source@parabola.nu>2019-10-26 15:08:28 +0200
commitf238cbfec2a2b0ea311880c22c41986e0496dd35 (patch)
tree384056fb138f4f74d7cc5478c4b36ff7b7e758ba /libre/qtcreator/qtcreator-clang-9.patch
parent9e0596d15f3e8c9d418edadf609ab72999864f2b (diff)
downloadabslibre-f238cbfec2a2b0ea311880c22c41986e0496dd35.tar.gz
abslibre-f238cbfec2a2b0ea311880c22c41986e0496dd35.tar.bz2
abslibre-f238cbfec2a2b0ea311880c22c41986e0496dd35.zip
libre/qtcreator: updated
Diffstat (limited to 'libre/qtcreator/qtcreator-clang-9.patch')
-rw-r--r--libre/qtcreator/qtcreator-clang-9.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/qtcreator/qtcreator-clang-9.patch b/libre/qtcreator/qtcreator-clang-9.patch
new file mode 100644
index 000000000..0fc9418e0
--- /dev/null
+++ b/libre/qtcreator/qtcreator-clang-9.patch
@@ -0,0 +1,12 @@
+diff -rupN qt-creator-opensource-src-4.10.0/src/plugins/clangformat/clangformatutils.cpp qt-creator-opensource-src-4.10.0-new/src/plugins/clangformat/clangformatutils.cpp
+--- qt-creator-opensource-src-4.10.0/src/plugins/clangformat/clangformatutils.cpp 2019-09-03 16:36:38.000000000 +0200
++++ qt-creator-opensource-src-4.10.0-new/src/plugins/clangformat/clangformatutils.cpp 2019-09-25 13:33:27.230835047 +0200
+@@ -60,7 +60,7 @@ static clang::format::FormatStyle qtcSty
+ style.AllowShortBlocksOnASingleLine = false;
+ style.AllowShortCaseLabelsOnASingleLine = false;
+ style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline;
+- style.AllowShortIfStatementsOnASingleLine = false;
++ style.AllowShortIfStatementsOnASingleLine = FormatStyle::SIS_Never;
+ style.AllowShortLoopsOnASingleLine = false;
+ style.AlwaysBreakAfterReturnType = FormatStyle::RTBS_None;
+ style.AlwaysBreakBeforeMultilineStrings = false;