summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2015-05-06 18:43:01 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2015-05-06 18:43:01 +0000
commitf9f62b116f18477220eb5f37d326537e9ac3ebee (patch)
tree96e803483b2787bc05d9763848bfa9c5551ec1e8 /clang-tools-extra/docs
parentfcf3f47d7ac5ae00270ada5f93a0a8ce5507c32a (diff)
downloadbcm5719-llvm-f9f62b116f18477220eb5f37d326537e9ac3ebee.tar.gz
bcm5719-llvm-f9f62b116f18477220eb5f37d326537e9ac3ebee.zip
Changed option processing to implicitly use -x c++ if no other -x option specified. Added implicit -w option to disable compilation warnings, in particular to avoid warning on pragma once.
llvm-svn: 236625
Diffstat (limited to 'clang-tools-extra/docs')
-rw-r--r--clang-tools-extra/docs/ModularizeUsage.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/clang-tools-extra/docs/ModularizeUsage.rst b/clang-tools-extra/docs/ModularizeUsage.rst
index b43389e822c..8d822bc845f 100644
--- a/clang-tools-extra/docs/ModularizeUsage.rst
+++ b/clang-tools-extra/docs/ModularizeUsage.rst
@@ -37,9 +37,10 @@ directory.
``<front-end-options>`` is a place-holder for regular Clang
front-end arguments, which must follow the <include-files-list>.
-Note that by default, the underlying Clang front end assumes .h files
-contain C source, so you might need to specify the ``-x c++`` Clang option
-to tell Clang that the header contains C++ definitions.
+Note that by default, modularize assumes .h files
+contain C++ source, so if you are using a different language,
+you might need to use a ``-x`` option to tell Clang that the
+header contains another language, i.e.: ``-x c``
Note also that because modularize does not use the clang driver,
you will likely need to pass in additional compiler front-end
OpenPOWER on IntegriCloud