aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorOwen Pan <owenpiano@gmail.com>2025-04-12 15:06:21 -0700
committerGitHub <noreply@github.com>2025-04-12 15:06:21 -0700
commit5f744cc6301abb3be5a500b2fcbc944fe2bd3241 (patch)
tree488c21b611306c56ff91a78a54730ca0858a68f8 /clang/lib/Format/Format.cpp
parent09c8cfe219481a8fc20c6711dc5c87451f5a5ef1 (diff)
downloadllvm-5f744cc6301abb3be5a500b2fcbc944fe2bd3241.zip
llvm-5f744cc6301abb3be5a500b2fcbc944fe2bd3241.tar.gz
llvm-5f744cc6301abb3be5a500b2fcbc944fe2bd3241.tar.bz2
[clang-format] Wrap and indent lambda braces in GNU style (#135479)
Fix #133135
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 3802766..c601967 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -1435,7 +1435,7 @@ static void expandPresetsBraceWrapping(FormatStyle &Expanded) {
/*AfterExternBlock=*/true,
/*BeforeCatch=*/true,
/*BeforeElse=*/true,
- /*BeforeLambdaBody=*/false,
+ /*BeforeLambdaBody=*/true,
/*BeforeWhile=*/true,
/*IndentBraces=*/true,
/*SplitEmptyFunction=*/true,