[clang] [clang][Lex] Diagnose keywords in macro expansions (PR #242626)

Chen Miao via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 1 01:18:11 PST 2026


================
@@ -538,6 +538,10 @@ documentation](CIR/index.md) for more information regarding ClangIR's status and
 - Errors for invalid element types during instantiation of an `ext_vector_type`
   now include a source location, including in alias templates. (#GH229300)
 
+- Fixed missing keyword compatibility and extension warnings in single-token
+  macro expansions, and duplicate or spurious warnings from macro argument
----------------
ChenMiaoi wrote:

The current tests should already cover this.

https://github.com/llvm/llvm-project/pull/242626


More information about the cfe-commits mailing list