diff options
author | Kyle K <kylek389@gmail.com> | 2020-05-06 17:32:32 -0500 |
---|---|---|
committer | Kyle K <kylek389@gmail.com> | 2020-05-06 17:32:32 -0500 |
commit | 955fa478995a3e055215955e9f19577b6ec0f19c (patch) | |
tree | 23db71ec066bbf0184a40cba2c4ab5bcd3934fc3 /patches | |
parent | f1d7dd5f4aa298ce60a12f81eb773a4d59f07693 (diff) | |
download | gentoox-955fa478995a3e055215955e9f19577b6ec0f19c.tar.gz gentoox-955fa478995a3e055215955e9f19577b6ec0f19c.tar.bz2 gentoox-955fa478995a3e055215955e9f19577b6ec0f19c.zip |
qt-creator build fix
Diffstat (limited to 'patches')
-rw-r--r-- | patches/dev-qt/qt-creator/qt-creator-clangformatutils.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/dev-qt/qt-creator/qt-creator-clangformatutils.patch b/patches/dev-qt/qt-creator/qt-creator-clangformatutils.patch new file mode 100644 index 0000000..4c06cd0 --- /dev/null +++ b/patches/dev-qt/qt-creator/qt-creator-clangformatutils.patch @@ -0,0 +1,11 @@ +--- a/src/plugins/clangformat/clangformatutils.cpp 2019-09-23 22:09:30.394472064 +1000 ++++ b/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; |