Searched defs:getAsCXXRecordDecl (Results 1 - 2 of 2) sorted by relevance

/external/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp756 static CXXRecordDecl *getAsCXXRecordDecl(const Type *TypeNode) { function in namespace:clang::ast_matchers::internal::__anon884
767 return TypeNode->getAsCXXRecordDecl();
776 // template declaration, getAsCXXRecordDecl() returns the corresponding
781 // another template declaration, getAsCXXRecordDecl() returns NULL and
783 CXXRecordDecl *SpecializationDecl = TemplateType->getAsCXXRecordDecl();
795 return getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr());
812 CXXRecordDecl *ClassDecl = getAsCXXRecordDecl(TypeNode);
/external/clang/lib/AST/
H A DType.cpp535 CXXRecordDecl *Type::getAsCXXRecordDecl() const { function in class:Type
2455 type->getBaseElementTypeUnsafe()->getAsCXXRecordDecl();
2463 return getClass()->getAsCXXRecordDecl()->getMostRecentDecl();

Completed in 101 milliseconds