]> granicus.if.org Git - clang/commitdiff
Speculative fix to unbreak the buildbots that fail with compiler errors.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 4 May 2014 05:27:24 +0000 (05:27 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 4 May 2014 05:27:24 +0000 (05:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207933 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/CompilerInvocation.cpp

index 25bb881702dcb79224a7e224a7a6e2817d47fa38..f499ae0f833ae0684cb717e48a903d59310a9eba 100644 (file)
@@ -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);