[PATCH] Leave some macros on their own line

Manuel Klimek klimek at google.com
Wed May 29 06:13:28 PDT 2013


  lg


================
Comment at: lib/Format/UnwrappedLineParser.cpp:600
@@ -598,1 +599,3 @@
           }
+        } else if (FormatTok->HasUnescapedNewline && Text == Text.upper()) {
+          // Recognize free-standing macros like QOBJECT
----------------
I'd put in a length restriction to do it on >= 5 chars.


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



More information about the cfe-commits mailing list