]> granicus.if.org Git - clang/commit
Add an option -fmodules-validate-system-headers
authorBen Langmuir <blangmuir@apple.com>
Wed, 12 Mar 2014 00:06:17 +0000 (00:06 +0000)
committerBen Langmuir <blangmuir@apple.com>
Wed, 12 Mar 2014 00:06:17 +0000 (00:06 +0000)
commit310c3dc9ef15c47ef8c0d55ac48ea6e2ca67396d
treea6f2ee20ae4b299eabfaeee21b5b6f046ace4c99
parent4bfb063cae5d2dbe59778bbcd7fea4ca143c7743
Add an option -fmodules-validate-system-headers

When enabled, always validate the system headers when loading a module.
The end result of this is that when these headers change, we will notice
and rebuild the module.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203630 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
include/clang/Lex/HeaderSearchOptions.h
lib/Driver/Tools.cpp
lib/Frontend/CompilerInstance.cpp
lib/Frontend/CompilerInvocation.cpp
test/Driver/modules.m
test/Modules/validate-system-headers.m [new file with mode: 0644]