Lines Matching refs:TypeNode
160 bool TraverseType(QualType TypeNode) {
161 if (TypeNode.isNull())
165 if (!match(*TypeNode))
168 return traverse(TypeNode);
225 bool baseTraverse(QualType TypeNode) {
226 return VisitorBase::TraverseType(TypeNode);
361 const Type *TypeNode = DeclNode->getUnderlyingType().getTypePtr();
363 ActiveASTContext->getCanonicalType(TypeNode);
370 bool TraverseType(QualType TypeNode);
371 bool TraverseTypeLoc(TypeLoc TypeNode);
702 // Returns true if 'TypeNode' has an alias that matches the given matcher.
703 bool typeHasMatchingAlias(const Type *TypeNode,
707 ActiveASTContext->getCanonicalType(TypeNode);
747 static CXXRecordDecl *getAsCXXRecordDecl(const Type *TypeNode) {
749 if (TypeNode->getAs<DependentNameType>() != nullptr ||
750 TypeNode->getAs<DependentTemplateSpecializationType>() != nullptr ||
751 TypeNode->getAs<TemplateTypeParmType>() != nullptr)
752 // Dependent names and template TypeNode parameters will be matched when
756 TypeNode->getAs<TemplateSpecializationType>();
758 return TypeNode->getAsCXXRecordDecl();
798 const Type *TypeNode = It.getType().getTypePtr();
800 if (typeHasMatchingAlias(TypeNode, Base, Builder))
803 CXXRecordDecl *ClassDecl = getAsCXXRecordDecl(TypeNode);
838 bool MatchASTVisitor::TraverseType(QualType TypeNode) {
839 match(TypeNode);
840 return RecursiveASTVisitor<MatchASTVisitor>::TraverseType(TypeNode);