This has been specifically requested:
https://github.com/clangd/vscode-clangd/issues/114
and various issues can be addressed with this as a workaround, e.g.:
https://github.com/clangd/clangd/issues/662
Paths
| Differential D95349
[clangd] Allow diagnostics to be suppressed with configuration ClosedPublic Authored by sammccall on Jan 25 2021, 5:06 AM.
Details Summary This has been specifically requested: https://github.com/clangd/vscode-clangd/issues/114 and various issues can be addressed with this as a workaround, e.g.: https://github.com/clangd/clangd/issues/662
Diff Detail
Event TimelineHerald added subscribers: usaxena95, kadircet, arphaman. · View Herald TranscriptJan 25 2021, 5:06 AM This revision is now accepted and ready to land.Jan 25 2021, 6:34 AM This revision was landed with ongoing or failed builds.Jan 25 2021, 6:59 AM Closed by commit rG7e506b30a1e1: [clangd] Allow diagnostics to be suppressed with configuration (authored by sammccall). · Explain Why This revision was automatically updated to reflect the committed changes. ArcsinX added inline comments.
Revision Contents
Diff 318997 clang-tools-extra/clangd/Config.h
clang-tools-extra/clangd/ConfigCompile.cpp
clang-tools-extra/clangd/ConfigFragment.h
clang-tools-extra/clangd/Diagnostics.h
clang-tools-extra/clangd/Diagnostics.cpp
clang-tools-extra/clangd/ParsedAST.cpp
clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
|
nit: use normalizeSuppressedCode(Code)?