[PATCH] D13641: clang-format: [JS] handle character classes in regexes.
Daniel Jasper via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 11 20:16:07 PDT 2015
djasper accepted this revision.
djasper added a comment.
This revision is now accepted and ready to land.
looks good
================
Comment at: lib/Format/Format.cpp:879
@@ -878,2 +878,3 @@
unsigned TokenCount = 0;
+ auto InCharacterClass = false;
for (auto I = Tokens.rbegin() + 1, E = Tokens.rend(); I != E; ++I) {
----------------
I think, we should just use bool here.
http://reviews.llvm.org/D13641
More information about the cfe-commits
mailing list