From aa96b07853be1055289685a64c8015d2aa824d97 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 11 Mar 2021 13:08:16 +0100 Subject: [PATCH] ClangFormat: Fix compile Amends 14eb5b382cabf90352634393c19bf87a4c15766a. Change-Id: I9bbd34d1d90d2cf27edd74037be5a3a061691456 Reviewed-by: David Schulz --- src/plugins/clangformat/clangformatutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;