summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize/Modularize.cpp
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2015-02-10 14:45:30 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2015-02-10 14:45:30 +0000
commit5d9862f071d895209fcf6de78616207bd15fa4d0 (patch)
tree457049478b46f688169af6e31f2a5f234768e15a /clang-tools-extra/modularize/Modularize.cpp
parente0aa5fea159829dc60e909710d41ac916c019ae3 (diff)
downloadbcm5719-llvm-5d9862f071d895209fcf6de78616207bd15fa4d0.tar.gz
bcm5719-llvm-5d9862f071d895209fcf6de78616207bd15fa4d0.zip
Renamed module.map to module.modulemap (modularize).
llvm-svn: 228693
Diffstat (limited to 'clang-tools-extra/modularize/Modularize.cpp')
-rw-r--r--clang-tools-extra/modularize/Modularize.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/clang-tools-extra/modularize/Modularize.cpp b/clang-tools-extra/modularize/Modularize.cpp
index 12d9fa7e87b..49b2de045b1 100644
--- a/clang-tools-extra/modularize/Modularize.cpp
+++ b/clang-tools-extra/modularize/Modularize.cpp
@@ -90,16 +90,17 @@
//
// See PreprocessorTracker.cpp for additional details.
//
-// Modularize also has an option ("-module-map-path=module.map") that will
-// skip the checks, and instead act as a module.map generation assistant,
+// Modularize also has an option ("-module-map-path=module.modulemap") that will
+// skip the checks, and instead act as a module.modulemap generation assistant,
// generating a module map file based on the header list. An optional
// "-root-module=(rootName)" argument can specify a root module to be
-// created in the generated module.map file. Note that you will likely
+// created in the generated module.modulemap file. Note that you will likely
// need to edit this file to suit the needs of your headers.
//
-// An example command line for generating a module.map file:
+// An example command line for generating a module.modulemap file:
//
-// modularize -module-map-path=module.map -root-module=myroot headerlist.txt
+// modularize -module-map-path=module.modulemap -root-module=myroot \
+// headerlist.txt
//
// Note that if the headers in the header list have partial paths, sub-modules
// will be created for the subdirectires involved, assuming that the
@@ -679,7 +680,7 @@ int main(int Argc, const char **Argv) {
// Save program name for error messages.
Argv0 = Argv[0];
- // Save program arguments for use in module.map comment.
+ // Save program arguments for use in module.modulemap comment.
CommandLine = sys::path::stem(sys::path::filename(Argv0));
for (int ArgIndex = 1; ArgIndex < Argc; ArgIndex++) {
CommandLine.append(" ");
OpenPOWER on IntegriCloud