diff --git a/src/plugins/clangformat/clangformatutils.cpp b/src/plugins/clangformat/clangformatutils.cpp index 770e75908c8..da6e367f675 100644 --- a/src/plugins/clangformat/clangformatutils.cpp +++ b/src/plugins/clangformat/clangformatutils.cpp @@ -145,7 +145,7 @@ static clang::format::FormatStyle qtcStyle() style.PenaltyReturnTypeOnItsOwnLine = 300; style.PointerAlignment = FormatStyle::PAS_Right; style.ReflowComments = false; -#ifdef LLVM_VERSION_MAJOR >= 13 +#if LLVM_VERSION_MAJOR >= 13 style.SortIncludes = FormatStyle::SI_CaseSensitive; #else style.SortIncludes = true;