forked from qt-creator/qt-creator
ClangFormat: Fix compile
Amends 14eb5b382c
.
Change-Id: I9bbd34d1d90d2cf27edd74037be5a3a061691456
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -145,7 +145,7 @@ static clang::format::FormatStyle qtcStyle()
|
|||||||
style.PenaltyReturnTypeOnItsOwnLine = 300;
|
style.PenaltyReturnTypeOnItsOwnLine = 300;
|
||||||
style.PointerAlignment = FormatStyle::PAS_Right;
|
style.PointerAlignment = FormatStyle::PAS_Right;
|
||||||
style.ReflowComments = false;
|
style.ReflowComments = false;
|
||||||
#ifdef LLVM_VERSION_MAJOR >= 13
|
#if LLVM_VERSION_MAJOR >= 13
|
||||||
style.SortIncludes = FormatStyle::SI_CaseSensitive;
|
style.SortIncludes = FormatStyle::SI_CaseSensitive;
|
||||||
#else
|
#else
|
||||||
style.SortIncludes = true;
|
style.SortIncludes = true;
|
||||||
|
Reference in New Issue
Block a user