summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2014-04-23 12:57:01 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2014-04-23 12:57:01 +0000
commit9be87f878588e7ed414dbfa29805883cc9cbb885 (patch)
tree1ce960127f08105e2ab290221b1106441d34d757 /docs
parent0f0e18f77f5ceaee634653c3a80f79298d7b7407 (diff)
downloadclang-9be87f878588e7ed414dbfa29805883cc9cbb885.tar.gz
clang-9be87f878588e7ed414dbfa29805883cc9cbb885.tar.bz2
clang-9be87f878588e7ed414dbfa29805883cc9cbb885.tar.xz
Initial implementation of -modules-earch-all option, for searching for symbols in non-imported modules.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/Modules.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/Modules.rst b/docs/Modules.rst
index 59daebcc93..ce1e717bc2 100644
--- a/docs/Modules.rst
+++ b/docs/Modules.rst
@@ -198,6 +198,9 @@ Command-line parameters
``-fmodule-map-file=<file>``
Load the given module map file if a header from its directory or one of its subdirectories is loaded.
+``-fmodules-search-all``
+ If a symbol is not found, search modules referenced in the current module maps but not imported for symbols, so the error message can reference the module by name. Note that if the global module index has not been built before, this might take some time as it needs to build all the modules. Note that this option doesn't apply in module builds, to avoid the recursion.
+
Module Semantics
================