djasper accepted this revision. This revision is now accepted and ready to land.
================ Comment at: lib/Format/TokenAnnotator.cpp:2128 @@ +2127,3 @@ + if (Right.is(tok::exclaim) && + (Left.isOneOf(tok::identifier, tok::r_paren, tok::r_square) || + Left.Tok.isLiteral())) ---------------- Can you add a test for each of these? Also, how can a literal be null? http://reviews.llvm.org/D21204 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits