One comment, otherwise looks good.
================
Comment at: lib/Format/Format.cpp:1736
@@ +1735,3 @@
+ static bool isFormatOffDirective(const FormatToken &Tok) {
+ return Tok.is(tok::comment) && (Tok.TokenText == "// clang-format off" ||
+ Tok.TokenText == "/* clang-format off */");
----------------
I don't think it is worth pulling out these functions, but I don't feel
strongly.
http://reviews.llvm.org/D5309
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits