diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-04-16 18:21:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-04-16 18:21:19 +0000 |
commit | e246fbe40bd86ce56fbb621aa414b5a5896441d2 (patch) | |
tree | 1946d39bed28d41a627e2da15724a9d18a462f21 /clang/docs/Modules.rst | |
parent | 0932a1ffff7c56e4785f4a04aff9ff6a14b50f8b (diff) | |
download | bcm5719-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.rst | 4 |
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. |