[clang] [clang-tools-extra] [clang] Extend diagnose_if to accept more detailed warning information (PR #70976)

Florian Mayer via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 25 15:27:55 PDT 2024


================
@@ -489,13 +485,7 @@ static DiagnosticIDs::Level toLevel(diag::Severity SV) {
 DiagnosticIDs::Level
 DiagnosticIDs::getDiagnosticLevel(unsigned DiagID, SourceLocation Loc,
                                   const DiagnosticsEngine &Diag) const {
-  // Handle custom diagnostics, which cannot be mapped.
----------------
fmayer wrote:

I agree, let's revert if this is causing problems.

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


More information about the cfe-commits mailing list