[PATCH] Don't remove backslashes from block comments.
Manuel Klimek
klimek at google.com
Fri Jun 14 04:42:43 PDT 2013
lg
================
Comment at: lib/Format/BreakableToken.h:74
@@ -74,2 +73,3 @@
const FormatToken &Tok;
- encoding::Encoding Encoding;
+ const bool InPPDirective;
+ const encoding::Encoding Encoding;
----------------
Ah, nice - that makes lots of sense :)
================
Comment at: lib/Format/BreakableToken.cpp:270
@@ +269,3 @@
+ if (InPPDirective && Lines[LineIndex - 1].endswith("\\"))
+ --EndOfPreviousLine;
+
----------------
Please add more in-detail comments here :)
http://llvm-reviews.chandlerc.com/D979
BRANCH
svn
ARCANIST PROJECT
clang
More information about the cfe-commits
mailing list