djasper accepted this revision.
djasper added a comment.
This revision is now accepted and ready to land.

Expression can be simplified, otherwise looks good.


================
Comment at: lib/Format/UnwrappedLineParser.cpp:1370
@@ -1369,2 +1369,3 @@
   nextToken();
-  if (FormatTok->Tok.is(tok::identifier))
+  while (FormatTok->Tok.is(tok::identifier) ||
+         FormatTok->Tok.is(tok::coloncolon))
----------------
  while (FormatTok->isOneOf(tok::identifier, tok::coloncolon))
    nextToken();


http://reviews.llvm.org/D14188



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

Reply via email to