erichkeane added inline comments.

================
Comment at: clang/lib/Parse/ParsePragma.cpp:4058
 
+  PP.Lex(Tok);
+  II = Tok.getIdentifierInfo();
----------------
I'm having trouble figuring out why this isn't a breaking change.  
`PP.Lex(Tok)` moves the current 'token' to be the next one (that is, it has 
side effects!), so now this ends up looking in a different place for the intrin 
name? 

This will result in `IntrinsicClass` becoming the value of the token 2 after 
the fact, which doesn't seem right to me.  I suspect the correct answer here is 
to just move IntrinsicClass ~4050.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150895/new/

https://reviews.llvm.org/D150895

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

Reply via email to