summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2019-10-19 01:36:37 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2019-10-19 01:36:37 +0000
commit56ddb2a69c92a417a93e8ccf3f8fe1ce047c78e3 (patch)
treef9b4c137a756e8034bfbb35ba1e54b0d119bb025 /docs
parenta27ae544f30bfd7dc765b8a6080190d39d893b99 (diff)
downloadclang-56ddb2a69c92a417a93e8ccf3f8fe1ce047c78e3.tar.gz
[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which includes search paths and diagnostics.
Differential Revision: https://reviews.llvm.org/D68528 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375322 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/Modules.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/Modules.rst b/docs/Modules.rst
index 34ad55a487..a1dc242f2b 100644
--- a/docs/Modules.rst
+++ b/docs/Modules.rst
@@ -225,6 +225,16 @@ Command-line parameters
``-fprebuilt-module-path=<directory>``
Specify the path to the prebuilt modules. If specified, we will look for modules in this directory for a given top-level module name. We don't need a module map for loading prebuilt modules in this directory and the compiler will not try to rebuild these modules. This can be specified multiple times.
+-cc1 Options
+^^^^^^^^^^^^
+
+``-fmodules-strict-context-hash``
+ Enables hashing of all compiler options that could impact the semantics of a
+ module in an implicit build. This includes things such as header search paths
+ and diagnostics. Using this option may lead to an excessive number of modules
+ being built if the command line arguments are not homogeneous across your
+ build.
+
Module Semantics
================