diff options
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r-- | lib/AST/Type.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp index 11fd42d62a..a8ead6d46b 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -576,8 +576,6 @@ bool Type::hasFloatingRepresentation() const { bool Type::isRealFloatingType() const { if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) return BT->isFloatingPoint(); - if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType)) - return VT->getElementType()->isRealFloatingType(); return false; } |