diff options
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r-- | lib/AST/Type.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp index fd8a03fd1a..d9fecd449f 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -309,13 +309,6 @@ const Type *Type::getUnqualifiedDesugaredType() const { } } -/// isVoidType - Helper method to determine if this is the 'void' type. -bool Type::isVoidType() const { - if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) - return BT->getKind() == BuiltinType::Void; - return false; -} - bool Type::isDerivedType() const { switch (CanonicalType->getTypeClass()) { case Pointer: |