owenpan added a comment.

In D107950#2941015 <https://reviews.llvm.org/D107950#2941015>, @MyDeveloperDay 
wrote:

> I personally think tok::identifier tends to be just too general

However, you can't avoid it as it's used for user-defined types:

  typedef unsigned char byte;
  
  byte *f(a)
  byte a[];
  {
    return a && *a ? a + 1 : 0;
  }

I will try to come up with a solution.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107950

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

Reply via email to