The overload shouldSuppressDiagnostic seems unnecessary, and it is only
used in clangd.
This patch removes it and use the real one (suppression diagnostics are
discarded in clangd at the moment).
Paths
| Differential D113999
[clangd] Fix assertion crashes on unmatched NOLINTBEGIN comments. ClosedPublic Authored by hokein on Nov 16 2021, 7:05 AM.
Details Summary The overload shouldSuppressDiagnostic seems unnecessary, and it is only This patch removes it and use the real one (suppression diagnostics are
Diff Detail
Event TimelineHerald added subscribers: carlosgalvezp, usaxena95, kadircet, arphaman. · View Herald TranscriptNov 16 2021, 7:05 AM This revision is now accepted and ready to land.Nov 17 2021, 2:51 AM Closed by commit rG4ea066acc928: [clangd] Fix assertion crashes on unmatched NOLINTBEGIN comments. (authored by hokein). · Explain WhyNov 17 2021, 6:32 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 387928 clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h
clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
clang-tools-extra/clangd/ParsedAST.cpp
clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
|