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

John Brawn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 6 09:20:37 PST 2023


john.brawn added a comment.

In D144654#4156430 <https://reviews.llvm.org/D144654#4156430>, @aaron.ballman wrote:

> This seems to cause precommit CI failures that should be addressed, and it should also have a release note about the fix.

Failures in CI should be fixed by D145397 <https://reviews.llvm.org/D145397> and D144651 <https://reviews.llvm.org/D144651>. I'll also add a release note.

> Also, should this cover things like `clang -U__cplusplus -D__STDC__=1 foo.cpp` as well?

Yes, and I'll add tests for this.


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