[clang] [Clang][ScanDeps] Fix error message typo (PR #88404)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 11 08:59:52 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: nyako (nyyakko)
<details>
<summary>Changes</summary>
fix the error message command suggestion typo when you try to use ``clang-scan-deps`` without any arguments.
![image](https://github.com/llvm/llvm-project/assets/36525792/fddec820-6238-4bdd-bde1-dd2ad40ad4fa)
---
Full diff: https://github.com/llvm/llvm-project/pull/88404.diff
1 Files Affected:
- (modified) clang/tools/clang-scan-deps/ClangScanDeps.cpp (+1-1)
``````````diff
diff --git a/clang/tools/clang-scan-deps/ClangScanDeps.cpp b/clang/tools/clang-scan-deps/ClangScanDeps.cpp
index eaa76dd43e41dd..d87a06330744ed 100644
--- a/clang/tools/clang-scan-deps/ClangScanDeps.cpp
+++ b/clang/tools/clang-scan-deps/ClangScanDeps.cpp
@@ -190,7 +190,7 @@ static void ParseArgs(int argc, char **argv) {
CompilationDB = A->getValue();
} else if (Format != ScanningOutputFormat::P1689) {
llvm::errs() << ToolName
- << ": for the --compiilation-database option: must be "
+ << ": for the --compilation-database option: must be "
"specified at least once!";
std::exit(1);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/88404
More information about the cfe-commits
mailing list