ClangFormat: Fix compile

Amends 14eb5b382c.

Change-Id: I9bbd34d1d90d2cf27edd74037be5a3a061691456
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2021-03-11 13:08:16 +01:00
parent 14eb5b382c
commit aa96b07853

View File

@@ -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;