From e246fbe40bd86ce56fbb621aa414b5a5896441d2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 16 Apr 2013 18:21:19 +0000 Subject: [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 --- clang/docs/Modules.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/docs/Modules.rst') 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=`` 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. -- cgit v1.2.3