summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2014-05-04 05:27:24 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2014-05-04 05:27:24 +0000
commit7a6df65a058a733c99f8821ec14a4ece4fa33071 (patch)
tree68a5f335a42e81ec101b87207d90d0f90ff40fcb /lib/Frontend/CompilerInvocation.cpp
parentdbbd409b15bce1d29e6bb188f334efdbc6684d91 (diff)
downloadclang-7a6df65a058a733c99f8821ec14a4ece4fa33071.tar.gz
clang-7a6df65a058a733c99f8821ec14a4ece4fa33071.tar.bz2
clang-7a6df65a058a733c99f8821ec14a4ece4fa33071.tar.xz
Speculative fix to unbreak the buildbots that fail with compiler errors.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--lib/Frontend/CompilerInvocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp
index 25bb881702..f499ae0f83 100644
--- a/lib/Frontend/CompilerInvocation.cpp
+++ b/lib/Frontend/CompilerInvocation.cpp
@@ -1844,11 +1844,11 @@ std::string CompilerInvocation::getModuleHash() const {
}
// Extend the signature with the sysroot.
- code = hash_combine(code, hsOpts.Sysroot, hsOpts.ResourceDir,
- hsOpts.UseBuiltinIncludes,
+ code = hash_combine(code, hsOpts.Sysroot, hsOpts.UseBuiltinIncludes,
hsOpts.UseStandardSystemIncludes,
hsOpts.UseStandardCXXIncludes,
hsOpts.UseLibcxx);
+ code = hash_combine(code, hsOpts.ResourceDir);
// Extend the signature with the user build path.
code = hash_combine(code, hsOpts.ModuleUserBuildPath);