sammccall added inline comments.
Comment at: clang-tools-extra/clangd/ParsedAST.cpp:319
-if (!CTChecks.empty()) {
- ASTDiags.setLevelAdjuster([&CTContext](DiagnosticsEngine::Level
DiagLevel,
- const clang::Diagnostic &Info)
ArcsinX added inline comments.
Comment at: clang-tools-extra/clangd/ParsedAST.cpp:319
-if (!CTChecks.empty()) {
- ASTDiags.setLevelAdjuster([&CTContext](DiagnosticsEngine::Level
DiagLevel,
- const clang::Diagnostic &Info) {
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7e506b30a1e1: [clangd] Allow diagnostics to be suppressed
with configuration (authored by sammccall).
Changed prior to commit:
https://reviews.llv
hokein accepted this revision.
hokein added inline comments.
This revision is now accepted and ready to land.
Comment at: clang-tools-extra/clangd/Diagnostics.cpp:808
+llvm::StringRef Code(CodePtr);
+Code.consume_front("err_");
+if (Suppress.contains(Code))
--
sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added subscribers: usaxena95, kadircet, arphaman.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang.
This has been specifically reques