summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2013-03-27 19:31:22 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2013-03-27 19:31:22 +0000
commite9ca5066b84bd38db8449738682efbe8646483dc (patch)
treedb5c95bdb9c19c522ba140577e805d43f5c89994
parent09cecc6ee0f5e86bf5980c5a46283980904036f6 (diff)
Added informational comment about using -x c++.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@178172 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--modularize/Modularize.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modularize/Modularize.cpp b/modularize/Modularize.cpp
index 7b283321..5e9727a1 100644
--- a/modularize/Modularize.cpp
+++ b/modularize/Modularize.cpp
@@ -28,6 +28,10 @@
// to the header list file directory. Use -prefix to specify a different
// directory.
//
+// Note that by default, the underlying Clang front end assumes .h files
+// contain C source. If your .h files in the file list contain C++ source,
+// you should append the following to your command lines: -x c++
+//
// Modularize will do normal parsing, reporting normal errors and warnings,
// but will also report special error messages like the following:
//