[PATCH] D144654: [Lex] Warn when defining or undefining any builtin macro

John Brawn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 30 04:35:25 PDT 2023


john.brawn added a comment.

gcc has the same warning so I wasn't expecting this cause to change problems, but looking more closely at gcc's behaviour it looks like it only warns for some builtin macros and not others (though glancing over the gcc source code it's not clear which macros and for what reason).

I'll look at this some more and see if I can improve the behaviour.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144654



More information about the cfe-commits mailing list