summaryrefslogtreecommitdiffstats
path: root/clang/docs/Modules.rst
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-04-16 18:21:19 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-04-16 18:21:19 +0000
commite246fbe40bd86ce56fbb621aa414b5a5896441d2 (patch)
tree1946d39bed28d41a627e2da15724a9d18a462f21 /clang/docs/Modules.rst
parent0932a1ffff7c56e4785f4a04aff9ff6a14b50f8b (diff)
downloadbcm5719-llvm-e246fbe40bd86ce56fbb621aa414b5a5896441d2.tar.gz
bcm5719-llvm-e246fbe40bd86ce56fbb621aa414b5a5896441d2.zip
[Modules] Convert module specific -fno-modules-autolink into -fno-autolink.
- There is no reason to have a modules specific flag for disabling autolinking. Instead, convert the existing flag into -fno-autolink (which should cover other autolinking code generation paths like #pragmas if and when we support them). llvm-svn: 179612
Diffstat (limited to 'clang/docs/Modules.rst')
-rw-r--r--clang/docs/Modules.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/Modules.rst b/clang/docs/Modules.rst
index 8a6b8b6d2ef..fdf597a5a92 100644
--- a/clang/docs/Modules.rst
+++ b/clang/docs/Modules.rst
@@ -168,8 +168,8 @@ Command-line parameters
``-fmodules-cache-path=<directory>``
Specify the path to the modules cache. If not provided, Clang will select a system-appropriate default.
-``-f[no-]modules-autolink``
- Enable of disable automatic linking against the libraries associated with imported modules.
+``-fno-autolink``
+ Disable automatic linking against the libraries associated with imported modules.
``-fmodules-ignore-macro=macroname``
Instruct modules to ignore the named macro when selecting an appropriate module variant. Use this for macros defined on the command line that don't affect how modules are built, to improve sharing of compiled module files.
OpenPOWER on IntegriCloud