forked from OSchip/llvm-project
[clangd] NFC: Clarify the Include Cleaner warning
This commit is contained in:
parent
530bab1f93
commit
43c0f90dd6
|
@ -486,7 +486,7 @@ std::vector<Diag> issueUnusedIncludesDiagnostics(ParsedAST &AST,
|
|||
for (const auto *Inc : computeUnusedIncludes(AST)) {
|
||||
Diag D;
|
||||
D.Message =
|
||||
llvm::formatv("included header {0} is not used",
|
||||
llvm::formatv("included header {0} is not used directly",
|
||||
llvm::sys::path::filename(
|
||||
Inc->Written.substr(1, Inc->Written.size() - 2),
|
||||
llvm::sys::path::Style::posix));
|
||||
|
|
Loading…
Reference in New Issue