[clang] [clang-format] fix incorrectly indents lambda trailing return (PR #94560)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 6 18:18:57 PDT 2024


================
@@ -22858,6 +22858,31 @@ TEST_F(FormatTest, FormatsLambdas) {
       "      //\n"
       "    });");
 
+  verifyFormat("int main() {\n"
----------------
c8ef wrote:

Done.

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


More information about the cfe-commits mailing list