From e9ca5066b84bd38db8449738682efbe8646483dc Mon Sep 17 00:00:00 2001 From: John Thompson Date: Wed, 27 Mar 2013 19:31:22 +0000 Subject: 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 --- modularize/Modularize.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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: // -- cgit v1.2.3