[PATCH] D151741: [Lex] Only warn on defining or undefining language-defined builtins

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 30 12:11:29 PDT 2023


nickdesaulniers added inline comments.


================
Comment at: clang/test/Preprocessor/macro-reserved.c:19
 #undef __STDC_HOSTED__ // expected-warning {{undefining builtin macro}}
+#undef __INT32_TYPE__
 
----------------
Please add tests for the rest of https://reviews.llvm.org/D144654#4381893. AFAICT, `i386` requires `-m32` to be defined in the first place.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151741



More information about the cfe-commits mailing list