[PATCH] D25882: Remove special error recovery for ::(id)
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 21 15:28:07 PDT 2016
rsmith added a comment.
Can you also remove the corresponding diagnostic?
================
Comment at: lib/Parse/ParseExprCXX.cpp:73-75
PP.EnterToken(ColonToken);
if (!AtDigraph)
PP.EnterToken(DigraphToken);
----------------
This seems to mess up the cached token buffer in the same way; it's a little surprising we don't see problems here too.
https://reviews.llvm.org/D25882
More information about the cfe-commits
mailing list