[PATCH] Added an option to allow short function bodies be placed on a single line.

Daniel Jasper djasper at google.com
Wed Nov 20 07:12:47 PST 2013



================
Comment at: lib/Format/UnwrappedLineParser.cpp:684
@@ -683,2 +683,3 @@
           addUnwrappedLine();
+        FormatTok->Type = TT_FunctionRBrace;
         parseBlock(/*MustBeDeclaration=*/false);
----------------
Isn't this an l_brace?


http://llvm-reviews.chandlerc.com/D2230



More information about the cfe-commits mailing list