================
@@ -1518,6 +1518,50 @@ static void verifyDiagnosticWording(const Record &Diag) {
   // runs into odd situations like [[clang::warn_unused_result]],
   // #pragma clang, or --unwindlib=libgcc.
 }
+
+/// ClangDiagsCompatIDsEmitter - Emit a set of 'compatibility diagnostic ids'
+/// that map to a set of 2 regular diagnostic ids each and which are used to
+/// simplify emitting compatibility warnings.
+void clang::EmitClangDiagsCompatIDs(const llvm::RecordKeeper &Records,
----------------
erichkeane wrote:

Are we anticipating doing this multiple times?  Why the `BEGIN` and `END`?  Is 
the idea that we'd have a different list for parse vs sema?  I'd prefer we get 
1 list, then we don't need `BEGIN` and `END`, but I haven't thought through 
this enough.

https://github.com/llvm/llvm-project/pull/132348
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to