diff options
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 4 |
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); |