[clang] [Clang] [NFC] Introduce a helper for emitting compatibility diagnostics (PR #132348)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 24 07:53:34 PDT 2025
================
@@ -178,6 +191,11 @@ multiclass CXXCompat<
"CXX98Compat",
"CXXPre"#std_ver#"Compat"))>,
DefaultIgnore;
+
+ def : CompatWarningId<
----------------
Sirraide wrote:
I’m still figuring out how to integrate the C compatibility warnings; for now this is just for C++, but I think we can definitely extend this later
https://github.com/llvm/llvm-project/pull/132348
More information about the cfe-commits
mailing list