Autodetect C++ dialect in use for clang-format
authorDimitrij Mojoski <dmjpp@hotmail.com>
Thu, 17 Sep 2020 21:22:33 +0000 (15:22 -0600)
committerJeff Law <law@redhat.com>
Thu, 17 Sep 2020 21:22:33 +0000 (15:22 -0600)
PR other//97076
* clang-format: Autodetect C++ standard in use rather than
forcing C++03.

contrib/clang-format

index 7a4e96f64ca64a332ca5f945f08425c3a3e045c6..ceb5c1d524f56a6a4bd2eb82f85d2f1601a8fe43 100644 (file)
@@ -147,4 +147,4 @@ AlignTrailingComments: true
 AllowShortFunctionsOnASingleLine: All
 AlwaysBreakTemplateDeclarations: MultiLine
 KeepEmptyLinesAtTheStartOfBlocks: false
-Standard: Cpp03
+Standard: Auto