erichkeane added inline comments.

================
Comment at: clang/include/clang/Basic/TokenKinds.h:106
+#include "clang/Basic/AttrTokenKinds.inc"
+#undef KEYWORD
+  );
----------------
Does AttrTokenKinds.inc not do this undef for you?  Most of our tablegen'ed/.td 
files tend to...

Edit now that I've gone through the whole patch:

I see the inclusion into TokenKinds.def makes adding one a pain, but I suggest 
instead making these be KEYWORD_ATTRIBUTE(...), with all the 'fixings' that 
comes in TokenKinds.def (see the defines at the top), and then including 
TokenKinds.def here instead.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148700

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

Reply via email to