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)) {
|
for (const auto *Inc : computeUnusedIncludes(AST)) {
|
||||||
Diag D;
|
Diag D;
|
||||||
D.Message =
|
D.Message =
|
||||||
llvm::formatv("included header {0} is not used",
|
llvm::formatv("included header {0} is not used directly",
|
||||||
llvm::sys::path::filename(
|
llvm::sys::path::filename(
|
||||||
Inc->Written.substr(1, Inc->Written.size() - 2),
|
Inc->Written.substr(1, Inc->Written.size() - 2),
|
||||||
llvm::sys::path::Style::posix));
|
llvm::sys::path::Style::posix));
|
||||||
|
|
Loading…
Reference in New Issue