summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-02-25 06:13:01 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-02-25 06:13:01 +0000
commit26e077178de8278f120810970370938f77f91fd4 (patch)
tree6b89efec5aa0723323684f51f8c0a9867aec5dfa /llvm
parent005248ac8adf63d4a6a46b1f6cdb9fea686a2f9d (diff)
downloadbcm5719-llvm-26e077178de8278f120810970370938f77f91fd4.tar.gz
bcm5719-llvm-26e077178de8278f120810970370938f77f91fd4.zip
[Support] Don't check for ICC directly and rely on the __GNUC__ check
(which they emulate). This way we don't use that path when compiled with ICC on Windows where it mimics MSVC's behavior and supports __FUNCSIG__. Thanks for David Majnemer again for spotting this better pattern! llvm-svn: 261827
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/TypeName.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/TypeName.h b/llvm/include/llvm/Support/TypeName.h
index a6f0f5c8ed2..0eb7ead98b2 100644
--- a/llvm/include/llvm/Support/TypeName.h
+++ b/llvm/include/llvm/Support/TypeName.h
@@ -26,7 +26,7 @@ namespace llvm {
/// inner substring of a larger string.
template <typename DesiredTypeName>
inline StringRef getTypeName() {
-#if defined(__clang__) || defined(__GNUC__) || defined(__INTEL_COMPILER)
+#if defined(__clang__) || defined(__GNUC__)
StringRef Name = __PRETTY_FUNCTION__;
StringRef Key = "DesiredTypeName = ";
OpenPOWER on IntegriCloud