diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-09-13 23:15:45 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-09-13 23:15:45 +0000 |
commit | 1735f4e752d11213f7475117767d0fd7869669fe (patch) | |
tree | 23fa0fed916174f54be1841dc9595ef88546fdb2 /clang/lib/Frontend/InitHeaderSearch.cpp | |
parent | 303e51354485d8b8c6d042a76722374376e0cf21 (diff) | |
download | bcm5719-llvm-1735f4e752d11213f7475117767d0fd7869669fe.tar.gz bcm5719-llvm-1735f4e752d11213f7475117767d0fd7869669fe.zip |
For modules, use a hash of the compiler version, language options, and
target triple to separate modules built under different
conditions. The hash is used to create a subdirectory in the module
cache path where other invocations of the compiler (with the same
version, language options, etc.) can find the precompiled modules.
llvm-svn: 139662
Diffstat (limited to 'clang/lib/Frontend/InitHeaderSearch.cpp')
-rw-r--r-- | clang/lib/Frontend/InitHeaderSearch.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Frontend/InitHeaderSearch.cpp b/clang/lib/Frontend/InitHeaderSearch.cpp index 05152a77b2f..08af5322675 100644 --- a/clang/lib/Frontend/InitHeaderSearch.cpp +++ b/clang/lib/Frontend/InitHeaderSearch.cpp @@ -1161,7 +1161,5 @@ void clang::ApplyHeaderSearchOptions(HeaderSearch &HS, if (HSOpts.UseStandardIncludes) Init.AddDefaultSystemIncludePaths(Lang, Triple, HSOpts); - HS.setModuleCachePath(HSOpts.ModuleCachePath); - Init.Realize(Lang); } |