djasper added inline comments.

================
Comment at: lib/Format/FormatTokenLexer.cpp:254
@@ +253,3 @@
+  for (; Offset != Lex->getBuffer().end(); ++Offset) {
+    if (*Offset == '`') {
+      StateStack.pop();
----------------
I'd use Offset[0]

================
Comment at: lib/Format/FormatTokenLexer.h:85
@@ -68,2 +84,3 @@
   bool GreaterStashed, LessStashed;
+  std::stack<LexerState> StateStack;
   unsigned Column;
----------------
Should we also use this for GreaterStashed and LessStashed?


https://reviews.llvm.org/D22431



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to