Looks good.

================
Comment at: lib/Format/Format.cpp:666
@@ -676,4 +665,3 @@
 
-    auto First = Tokens.end() - 4;
-    if (First[3]->is(tok::less) || First[2]->isNot(tok::less) ||
-        First[1]->isNot(tok::less) || First[0]->is(tok::less))
+    bool FourBackLess = false;
+    if (Tokens.size() > 3)
----------------
Maybe call this FourthTokenIsLess.

http://reviews.llvm.org/D7766

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to