Created
September 28, 2021 15:08
-
-
Save smooker/f8a1bce0c88ef9150de8dceb111b1138 to your computer and use it in GitHub Desktop.
qtcreator clang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/plugins/clangformat/clangformatutils.cpp b/src/plugins/clangformat/clangformatutils.cpp | |
index a249327d0e..1908dca1c3 100644 | |
--- a/src/plugins/clangformat/clangformatutils.cpp | |
+++ b/src/plugins/clangformat/clangformatutils.cpp | |
@@ -120,7 +120,7 @@ static clang::format::FormatStyle qtcStyle() | |
style.ExperimentalAutoDetectBinPacking = false; | |
style.FixNamespaceComments = true; | |
style.ForEachMacros = {"forever", "foreach", "Q_FOREACH", "BOOST_FOREACH"}; | |
- style.IncludeStyle.IncludeCategories = {{"^<Q.*", 200, 200}}; | |
+ style.IncludeStyle.IncludeCategories = {{"^<Q.*", 200}}; | |
style.IncludeStyle.IncludeIsMainRegex = "(Test)?$"; | |
style.IndentCaseLabels = false; | |
style.IndentWidth = 4; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment