add build_files
This commit is contained in:
14
build_files/clangformatbaseindenter.patch
Normal file
14
build_files/clangformatbaseindenter.patch
Normal 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;
|
||||
Reference in New Issue
Block a user