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