[clang] 9ab4eab - [clang][deps] NFC: Fix typo

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 26 01:55:51 PDT 2021


Author: Jan Svoboda
Date: 2021-04-26T10:55:24+02:00
New Revision: 9ab4eab570f7d11c375993d59b1a7ec2c32a72fc

URL: https://github.com/llvm/llvm-project/commit/9ab4eab570f7d11c375993d59b1a7ec2c32a72fc
DIFF: https://github.com/llvm/llvm-project/commit/9ab4eab570f7d11c375993d59b1a7ec2c32a72fc.diff

LOG: [clang][deps] NFC: Fix typo

Added: 
    

Modified: 
    clang/tools/clang-scan-deps/ClangScanDeps.cpp

Removed: 
    


################################################################################
diff  --git a/clang/tools/clang-scan-deps/ClangScanDeps.cpp b/clang/tools/clang-scan-deps/ClangScanDeps.cpp
index a3844e569ccc..32a6cee15079 100644
--- a/clang/tools/clang-scan-deps/ClangScanDeps.cpp
+++ b/clang/tools/clang-scan-deps/ClangScanDeps.cpp
@@ -285,7 +285,7 @@ class FullDeps {
       Modules.insert(I, {{MD.ID, InputIndex}, std::move(MD)});
     }
 
-    ID.AdditonalCommandLine =
+    ID.AdditionalCommandLine =
         GenerateModulesPathArgs
             ? FD.getAdditionalArgs(
                   [&](ModuleID MID) { return lookupPCMPath(MID); },
@@ -342,7 +342,7 @@ class FullDeps {
           {"clang-context-hash", I.ContextHash},
           {"file-deps", I.FileDeps},
           {"clang-module-deps", toJSONSorted(I.ModuleDeps)},
-          {"command-line", I.AdditonalCommandLine},
+          {"command-line", I.AdditionalCommandLine},
       };
       TUs.push_back(std::move(O));
     }
@@ -389,7 +389,7 @@ class FullDeps {
     std::string ContextHash;
     std::vector<std::string> FileDeps;
     std::vector<ModuleID> ModuleDeps;
-    std::vector<std::string> AdditonalCommandLine;
+    std::vector<std::string> AdditionalCommandLine;
   };
 
   std::mutex Lock;


        


More information about the cfe-commits mailing list