[clang] [Clang][ScanDeps] Fix error message typo (PR #88404)

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 11 08:59:03 PDT 2024


https://github.com/nyyakko created https://github.com/llvm/llvm-project/pull/88404

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)


>From 44a3f0a04fff67d3856ab0724ca2b72966f8d3c3 Mon Sep 17 00:00:00 2001
From: nyyakko <nyakonyns at gmail.com>
Date: Thu, 11 Apr 2024 12:50:14 -0300
Subject: [PATCH] fix error message typo

---
 clang/tools/clang-scan-deps/ClangScanDeps.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
   }



More information about the cfe-commits mailing list