From 25fa42c3a2c5ffed072581ca9b89c5034836c23e Mon Sep 17 00:00:00 2001 From: Artem Sokolovskii Date: Thu, 26 Oct 2023 11:48:09 +0200 Subject: [PATCH] ClangFormat: Remove set standard to cpp11 Standard sets to Auto a few lines further. Change-Id: Id0bb61cb38fbabd682123baa3860ebdaf5b10846 Reviewed-by: Christian Kandeler --- src/plugins/clangformat/clangformatutils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/clangformat/clangformatutils.cpp b/src/plugins/clangformat/clangformatutils.cpp index 9ed92d367d0..f3e5c8f6749 100644 --- a/src/plugins/clangformat/clangformatutils.cpp +++ b/src/plugins/clangformat/clangformatutils.cpp @@ -179,7 +179,6 @@ clang::format::FormatStyle calculateQtcStyle() #endif style.SpacesInSquareBrackets = false; addQtcStatementMacros(style); - style.Standard = FormatStyle::LS_Cpp11; style.TabWidth = 4; style.UseTab = FormatStyle::UT_Never; style.Standard = FormatStyle::LS_Auto;