add build_files

This commit is contained in:
2022-12-07 13:43:27 +03:00
parent e4ca4018ca
commit f3e8a364d2
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
--- /soft/qt-creator/src/plugins/clangformat/clangformatbaseindenter.cpp 2022-12-07 04:26:12.928000000 +0000
+++ /soft/clangformatbaseindenter.cpp 2022-12-07 04:20:13.644000000 +0000
@@ -61,7 +61,11 @@
// This is a separate pass, don't do it unless it's the full formatting.
style.FixNamespaceComments = false;
+#if LLVM_VERSION_MAJOR >= 16
+ style.AlignTrailingComments.Kind = clang::format::FormatStyle::TCAS_Never;
+#else
style.AlignTrailingComments = false;
+#endif
if (replacementsToKeep == ReplacementsToKeep::IndentAndBefore)
return;