[clang] ClangFormat: Insert braces & newline for Chromium (PR #140888)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Wed May 21 20:56:53 PDT 2025


================
@@ -1892,6 +1892,9 @@ FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language) {
   ChromiumStyle.IncludeStyle.IncludeBlocks =
       tooling::IncludeStyle::IBS_Preserve;
 
+  ChromiumStyle.InsertBraces = true;
----------------
owenca wrote:

See https://reviews.llvm.org/D147969#4259018.

https://github.com/llvm/llvm-project/pull/140888


More information about the cfe-commits mailing list