lg, with minor comment nit
================ Comment at: lib/Format/UnwrappedLineParser.cpp:832 @@ +831,3 @@ + // start parsing the directive so that they are not treated as a part of + // it. + flushComments(FormatTok.NewlinesBefore > 0); ---------------- I'd rephrase: Comments stored before the preprocessor directive need to be output before the preprocessor directive, at the same level as the preprocessor directive, as we consider them to apply to the directive. http://llvm-reviews.chandlerc.com/D617 BRANCH svn ARCANIST PROJECT clang _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
