[clang] [Clang][Lex] Implement CWG3013: Error if #embed parameters were defined as macros (PR #224769)
Ian Li via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 21 22:07:31 PDT 2026
================
@@ -518,6 +530,12 @@ features cannot lower the translation-unit ABI level;
- Improve Clang diagnoses when unary `__imag` operator with non-complex type operand is used as lvalue. (GH222383)
+- Added `-Wembed-parameter-is-macro`, which warns in C if an `#embed` directive
----------------
ianayl wrote:
I'm not sure, but I deleted the note in "potential breaking changes" and opted to keep the note in "improvements to clang's diagnostics" and "resolution to c++ defect reports"
https://github.com/llvm/llvm-project/pull/224769
More information about the cfe-commits
mailing list