[clang] [clang-tools-extra] [clang] Extend diagnose_if to accept more detailed warning information (PR #70976)
kadir çetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 26 02:49:42 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.
----------------
kadircet wrote:
ok, putting together a revert for https://github.com/llvm/llvm-project/commit/e39205654dc11c50bd117e8ccac243a641ebd71f
https://github.com/llvm/llvm-project/pull/70976
More information about the cfe-commits
mailing list