[clang] 26b0ecb - [clang][deps] NFC: Update documentation
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 15 07:25:22 PDT 2022
Author: Jan Svoboda
Date: 2022-04-15T16:24:41+02:00
New Revision: 26b0ecb8985b7e76a5ca0965d3d464611eda14f0
URL: https://github.com/llvm/llvm-project/commit/26b0ecb8985b7e76a5ca0965d3d464611eda14f0
DIFF: https://github.com/llvm/llvm-project/commit/26b0ecb8985b7e76a5ca0965d3d464611eda14f0.diff
LOG: [clang][deps] NFC: Update documentation
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 8b6697f020ab3..7e7747a36f27a 100644
--- a/clang/tools/clang-scan-deps/ClangScanDeps.cpp
+++ b/clang/tools/clang-scan-deps/ClangScanDeps.cpp
@@ -145,15 +145,15 @@ static llvm::cl::opt<ScanningOutputFormat> Format(
// Build tools that want to put the PCM files in a
diff erent location should use
// the C++ APIs instead, of which there are two flavors:
//
-// 1. APIs that generate arguments with paths to modulemap and PCM files via
-// callbacks provided by the client:
-// * ModuleDeps::getCanonicalCommandLine(LookupPCMPath, LookupModuleDeps)
-// * FullDependencies::getAdditionalArgs(LookupPCMPath, LookupModuleDeps)
+// 1. APIs that generate arguments with paths PCM files via a callback provided
+// by the client:
+// * ModuleDeps::getCanonicalCommandLine(LookupPCMPath)
+// * FullDependencies::getCommandLine(LookupPCMPath)
//
-// 2. APIs that don't generate arguments with paths to modulemap or PCM files
-// and instead expect the client to append them manually after the fact:
+// 2. APIs that don't generate arguments with paths PCM files and instead expect
+// the client to append them manually after the fact:
// * ModuleDeps::getCanonicalCommandLineWithoutModulePaths()
-// * FullDependencies::getAdditionalArgsWithoutModulePaths()
+// * FullDependencies::getCommandLineWithoutModulePaths()
//
static llvm::cl::opt<bool> GenerateModulesPathArgs(
"generate-modules-path-args",
More information about the cfe-commits
mailing list