mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
[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
Block a user