summaryrefslogtreecommitdiffstats
path: root/clang/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
commit0b1f476888c638af45c31bca9fbe3bc8180daa8f (patch)
tree97e0c628f112390e2badb233ed13b04872193588 /clang/lib/Frontend/CompilerInvocation.cpp
parent8ca1178f4587063b2d5ba3ce83a6000d15a616fb (diff)
downloadbcm5719-llvm-0b1f476888c638af45c31bca9fbe3bc8180daa8f.tar.gz
bcm5719-llvm-0b1f476888c638af45c31bca9fbe3bc8180daa8f.zip
Revert r182331, these checks should be based on the target not the host.
llvm-svn: 182333
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 3d82d7a3a60..6af36630019 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/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);
}
OpenPOWER on IntegriCloud