Doesn't install clang-tidy checks & process clang diags when they're
going to be dropped. Also disables analysis for some warnings completely.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/unittests/ParsedASTTests.cpp | ||
---|---|---|
464 | they rely on the fact that clang-tidy checkers PPcallbacks are run with patched asts, but it is no longer the case, hence it becomes impossible to satisfy them. currently we never replay includes with patched preambles, as ReplayPreamble bails out when there are no existing PPCallbacks and that's always the case. we can still try and test it via complicated means like enabling ClangdFeatures to register PPCallbacks, but it will be testing a feature that doesn't exist in practice + would be quite some work for just testing, so I'd rather leave it as-is (probably by adding a comment around ReplayPreamble::attach saying that we should test this once there are non-clang-tidy users). |
clang-tools-extra/clangd/unittests/ParsedASTTests.cpp | ||
---|---|---|
464 | Oops, I didn't scroll up fast enough (reviewing on phone lol). SGTM |
These explicit upcasts seem ugly enough that I might extract a pointer var to avoid them...