summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-05-20 23:40:27 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-05-20 23:40:27 +0000
commitcc8e22b4e940a6d74174343ec16547e3bb52e630 (patch)
tree1c84e2d7667fdf03c3c7fdf5d096769e9fa909bc /lib/Frontend/CompilerInvocation.cpp
parent7efb8af368309b5a2e5f9fa4df6da136d1c5ac54 (diff)
downloadclang-cc8e22b4e940a6d74174343ec16547e3bb52e630.tar.gz
clang-cc8e22b4e940a6d74174343ec16547e3bb52e630.tar.bz2
clang-cc8e22b4e940a6d74174343ec16547e3bb52e630.tar.xz
Revert r182331, these checks should be based on the target not the host.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--lib/Frontend/CompilerInvocation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp
index 3d82d7a3a6..6af3663001 100644
--- a/lib/Frontend/CompilerInvocation.cpp
+++ b/lib/Frontend/CompilerInvocation.cpp
@@ -1690,7 +1690,6 @@ std::string CompilerInvocation::getModuleHash() const {
hsOpts.UseStandardCXXIncludes,
hsOpts.UseLibcxx);
-#ifdef __APPLE__
// Darwin-specific hack: if we have a sysroot, use the contents and
// modification time of
// $sysroot/System/Library/CoreServices/SystemVersion.plist
@@ -1711,7 +1710,6 @@ std::string CompilerInvocation::getModuleHash() const {
code = hash_combine(code, statBuf.st_mtime);
}
}
-#endif
return llvm::APInt(64, code).toString(36, /*Signed=*/false);
}