ChenMiaoi wrote:

> So if we’re adding `getPragmaIdentifierInfo()` anyway, I feel like the 
> simplest approach would be to just use that in all of these places that 
> you’re updating here; I don’t think most pragmas care about whether something 
> is a keyword as opposed to an identifier anyway.

I don’t feel strongly about adding getPragmaIdentifierInfo. I was under the 
impression that your earlier discussion with @cor3ntin hadn’t reached a 
conclusion. I mainly added it as a static helper to simplify a few repeated 
checks.

https://github.com/llvm/llvm-project/pull/230927
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to