Lines Matching refs:TypeNode
156 bool TraverseType(QualType TypeNode) {
157 if (TypeNode.isNull())
161 if (!match(*TypeNode))
164 return traverse(TypeNode);
224 bool baseTraverse(QualType TypeNode) {
225 return VisitorBase::TraverseType(TypeNode);
355 const Type *TypeNode = DeclNode->getUnderlyingType().getTypePtr();
357 ActiveASTContext->getCanonicalType(TypeNode);
364 bool TraverseType(QualType TypeNode);
365 bool TraverseTypeLoc(TypeLoc TypeNode);
585 // Returns true if 'TypeNode' has an alias that matches the given matcher.
586 bool typeHasMatchingAlias(const Type *TypeNode,
590 ActiveASTContext->getCanonicalType(TypeNode);
617 static CXXRecordDecl *getAsCXXRecordDecl(const Type *TypeNode) {
619 if (TypeNode->getAs<DependentNameType>() != nullptr ||
620 TypeNode->getAs<DependentTemplateSpecializationType>() != nullptr ||
621 TypeNode->getAs<TemplateTypeParmType>() != nullptr)
622 // Dependent names and template TypeNode parameters will be matched when
626 TypeNode->getAs<TemplateSpecializationType>();
628 return TypeNode->getAsCXXRecordDecl();
668 const Type *TypeNode = It.getType().getTypePtr();
670 if (typeHasMatchingAlias(TypeNode, Base, Builder))
673 CXXRecordDecl *ClassDecl = getAsCXXRecordDecl(TypeNode);
708 bool MatchASTVisitor::TraverseType(QualType TypeNode) {
709 match(TypeNode);
710 return RecursiveASTVisitor<MatchASTVisitor>::TraverseType(TypeNode);