diff options
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/AST/Type.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/AST/Type.cpp b/clang/lib/AST/Type.cpp index b6ce59e977d..698474b8383 100644 --- a/clang/lib/AST/Type.cpp +++ b/clang/lib/AST/Type.cpp @@ -1802,14 +1802,6 @@ CXXRecordDecl *InjectedClassNameType::getDecl() const { return cast<CXXRecordDecl>(getInterestingTagDecl(Decl)); } -bool RecordType::classof(const TagType *TT) { - return isa<RecordDecl>(TT->getDecl()); -} - -bool EnumType::classof(const TagType *TT) { - return isa<EnumDecl>(TT->getDecl()); -} - IdentifierInfo *TemplateTypeParmType::getIdentifier() const { return isCanonicalUnqualified() ? 0 : getDecl()->getIdentifier(); } |