Blob Blame History Raw
diff -rupN qt-creator-opensource-src-8.0.1/src/plugins/clangformat/clangformatutils.cpp qt-creator-opensource-src-8.0.1-new/src/plugins/clangformat/clangformatutils.cpp
--- qt-creator-opensource-src-8.0.1/src/plugins/clangformat/clangformatutils.cpp	2022-08-11 03:44:37.000000000 +0200
+++ qt-creator-opensource-src-8.0.1-new/src/plugins/clangformat/clangformatutils.cpp	2022-09-22 17:29:59.589314444 +0200
@@ -118,7 +118,11 @@ clang::format::FormatStyle qtcStyle()
     style.ColumnLimit = 100;
     style.CommentPragmas = "^ IWYU pragma:";
     style.CompactNamespaces = false;
+#if LLVM_VERSION_MAJOR >= 15
+    style.PackConstructorInitializers = FormatStyle::PCIS_BinPack;
+#else
     style.ConstructorInitializerAllOnOneLineOrOnePerLine = false;
+#endif
     style.ConstructorInitializerIndentWidth = 4;
     style.ContinuationIndentWidth = 4;
     style.Cpp11BracedListStyle = true;