summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitHeaderSearch.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-13 23:15:45 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-13 23:15:45 +0000
commit1735f4e752d11213f7475117767d0fd7869669fe (patch)
tree23fa0fed916174f54be1841dc9595ef88546fdb2 /clang/lib/Frontend/InitHeaderSearch.cpp
parent303e51354485d8b8c6d042a76722374376e0cf21 (diff)
downloadbcm5719-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.cpp2
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);
}
OpenPOWER on IntegriCloud