D114072 allows filtering out the warnings for headers behind `// IWYU pragma:
keep`. This is the first step towards more useful IWYU pragmas support and
fine-grained control over the IncludeCleaner warnings.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
thanks, lgtm!
clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp | ||
---|---|---|
416 | nit: just EXPECT_THAT(AST.getDiagnostics(), llvm::ValueIs(IsEmpty())) ? | |
418 | nit: we mostly make use of a using decl for testing:: symbols in clangd unittests rather than qualifying at call sites. can you introduce a using decl for this one instead (and clean up the other occurrence)? |
nit: just EXPECT_THAT(AST.getDiagnostics(), llvm::ValueIs(IsEmpty())) ?