diff options
author | Matteo Bernardini | 2019-12-31 15:55:40 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-12-31 15:55:40 +0100 |
commit | 30778e822d6ef153cd8936acaa45deeeb8f5374a (patch) | |
tree | 9605719730f63b62fb4e9c22167b36c60ceb950f /development/qt-creator/clang-9.patch | |
parent | 82bbd880da5d554ddb98a82fcf8c17cc2131d56a (diff) | |
download | slackbuilds-09a5bf3404bab1e2761ed811c0f3c63e2bc4573c.tar.gz |
20191231.1 global branch merge.current-20191231.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/qt-creator/clang-9.patch')
-rw-r--r-- | development/qt-creator/clang-9.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/development/qt-creator/clang-9.patch b/development/qt-creator/clang-9.patch new file mode 100644 index 0000000000..d3e18b6a04 --- /dev/null +++ b/development/qt-creator/clang-9.patch @@ -0,0 +1,11 @@ +--- a/src/plugins/clangformat/clangformatutils.cpp 2019-09-23 22:09:30.394472064 +1000 ++++ a/src/plugins/clangformat/clangformatutils.cpp 2019-09-23 22:11:54.426645315 +1000 +@@ -60,7 +60,7 @@ + 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; |