aboutsummaryrefslogtreecommitdiff
path: root/clang/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
commitd113788ecb47b277969baad6ca1b8452ce3fc4df (patch)
tree0036d9e74f37c1b6316691acdfd4d12a8472dafd /clang/lib/Frontend/CompilerInvocation.cpp
parent027731d7b514123af03287b42d7366291b58d6e0 (diff)
downloadllvm-d113788ecb47b277969baad6ca1b8452ce3fc4df.zip
llvm-d113788ecb47b277969baad6ca1b8452ce3fc4df.tar.gz
llvm-d113788ecb47b277969baad6ca1b8452ce3fc4df.tar.bz2
Speculative fix to unbreak the buildbots that fail with compiler errors.
llvm-svn: 207933
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 25bb881..f499ae0 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/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);