summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2019-10-21 22:51:13 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2019-10-21 22:51:13 +0000
commit5d899f7d95c13ea08fae3aba3280a902f2834e23 (patch)
tree991b2e149e78f6d36830c475cb99e4f4f9acea7c /docs
parent73e476646bdaeb2ad2d40254ce64c2dfe8c78873 (diff)
downloadclang-5d899f7d95c13ea08fae3aba3280a902f2834e23.tar.gz
[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which includes search paths and diagnostics.
This is a recommit of r375322 and r375327 with a fix for the Windows test breakage. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375466 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..63f09f90fe 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
================