Home
last modified time | relevance | path

Searched refs:getAsType (Results 1 – 25 of 45) sorted by relevance

12

/external/clang/lib/AST/
DTemplateBase.cpp106 return getAsType()->isDependentType() || in isDependent()
107 isa<PackExpansionType>(getAsType()); in isDependent()
147 return getAsType()->isInstantiationDependentType(); in isInstantiationDependent()
194 return isa<PackExpansionType>(getAsType()); in isPackExpansion()
213 if (getAsType()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPack()
254 getAsType().Profile(ID); in Profile()
334 return getAsType()->getAs<PackExpansionType>()->getPattern(); in getPackExpansionPattern()
364 getAsType().print(Out, SubPolicy); in print()
484 return DB << Arg.getAsType(); in operator <<()
DNestedNameSpecifier.cpp64 (Prefix->getAsType() == nullptr && in Create()
80 (Prefix->getAsType() == nullptr && in Create()
183 return getAsType()->getAsCXXRecordDecl(); in getAsRecordDecl()
213 return getAsType()->isDependentType(); in isDependent()
235 return getAsType()->isInstantiationDependentType(); in isInstantiationDependent()
254 return getAsType()->containsUnexpandedParameterPack(); in containsUnexpandedParameterPack()
296 const Type *T = getAsType(); in print()
429 TypeLoc TL(Qualifier->getAsType(), TypeData); in getLocalSourceRange()
446 return TypeLoc(Qualifier->getAsType(), TypeData); in getTypeLoc()
640 = Context.getTrivialTypeSourceInfo(QualType(NNS->getAsType(), 0), in MakeTrivial()
DItaniumMangle.cpp1112 const Type *type = qualifier->getAsType(); in mangleUnresolvedPrefix()
1630 manglePrefix(QualType(qualifier->getAsType(), 0)); in manglePrefix()
4091 mangleType(A.getAsType()); in mangleTemplateArg()
4281 if (!isCharType(TemplateArgs[0].getAsType())) in isCharSpecialization()
4297 if (!isCharType(TemplateArgs[0].getAsType())) in isStreamCharSpecialization()
4300 if (!isCharSpecialization(TemplateArgs[1].getAsType(), "char_traits")) in isStreamCharSpecialization()
4346 if (!isCharType(TemplateArgs[0].getAsType())) in mangleStandardSubstitution()
4349 if (!isCharSpecialization(TemplateArgs[1].getAsType(), "char_traits")) in mangleStandardSubstitution()
4352 if (!isCharSpecialization(TemplateArgs[2].getAsType(), "allocator")) in mangleStandardSubstitution()
DTypeLoc.cpp475 Context.getTrivialTypeSourceInfo(Args[i].getAsType(), in initializeArgLocs()
DASTDiagnostic.cpp114 Args.push_back(Desugar(Context, Arg.getAsType(), DesugarArgument)); in Desugar()
1381 return Iter->getAsType(); in GetType()
1383 return Iter.getDesugaredTA().getAsType(); in GetType()
/external/v8/tools/clang/blink_gc_plugin/
DCheckTraceVisitor.cpp112 const Type* type = qual->getAsType(); in GetDependentTemplatedDecl()
225 const Type* type = callee->getQualifier()->getAsType(); in CheckTraceBaseCall()
DRecordInfo.cpp53 if (arg.getKind() == TemplateArgument::Type && !arg.getAsType().isNull()) { in GetTemplateArgs()
54 output_args->push_back(arg.getAsType().getTypePtr()); in GetTemplateArgs()
/external/clang/include/clang/Sema/
DParsedTemplate.h77 ParsedType getAsType() const { in getAsType() function
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp89 const Type *NNSType = NNS->getAsType(); in computeDeclContext()
154 const TagType *Tag = NNS->getAsType()->getAs<TagType>(); in computeDeclContext()
185 if (!NNS->getAsType()) in getCurrentInstantiationOf()
188 QualType T = QualType(NNS->getAsType(), 0); in getCurrentInstantiationOf()
DSemaTemplateDeduction.cpp167 Context.hasSameType(X.getAsType(), Y.getAsType())) in checkDeducedTemplateArguments()
1695 Param.getAsType(), in DeduceTemplateArguments()
1696 Arg.getAsType(), in DeduceTemplateArguments()
1948 return Context.getCanonicalType(X.getAsType()) == in isSameTemplateArg()
1949 Context.getCanonicalType(Y.getAsType()); in isSameTemplateArg()
2016 S.Context.getTrivialTypeSourceInfo(Arg.getAsType(), Loc)); in getTrivialTemplateArgumentLoc()
4081 QualType DeducedType = Deduced[0].getAsType(); in DeduceAutoType()
4697 MarkUsedTemplateParameters(Ctx, QualType(NNS->getAsType(), 0), in MarkUsedTemplateParameters()
4983 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsType(), OnlyDeduced, in MarkUsedTemplateParameters()
DSemaTemplate.cpp506 QualType T = SemaRef.GetTypeFromParser(Arg.getAsType(), &DI); in translateTemplateArgument()
1614 if (const Type *CurType = NNS->getAsType()) { in getRangeOfTypeInNestedNameSpecifier()
1676 T = QualType(SS.getScopeRep()->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
1725 T = QualType(NNS->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
1734 T = QualType(NNS->getAsType(), 0); in MatchTemplateParametersToScopeSpecifier()
2052 if (!Converted[1].getAsType()->isIntegralType(Context)) { in checkBuiltinTemplateIdType()
2109 return Nth->getAsType(); in checkBuiltinTemplateIdType()
2459 QualType Type = Arg.getAsType(); in isTemplateArgumentTemplateParameter()
2461 Arg.getAsType()->getAs<TemplateTypeParmType>(); in isTemplateArgumentTemplateParameter()
3121 ArgType = Arg.getAsType(); in CheckTemplateTypeArgument()
[all …]
DSemaTemplateVariadic.cpp421 TypeResult Result = ActOnPackExpansion(Arg.getAsType(), EllipsisLoc); in ActOnPackExpansion()
891 ExpansionTSInfo = Context.getTrivialTypeSourceInfo(Argument.getAsType(), in getTemplateArgumentPackExpansionPattern()
DSemaTemplateInstantiate.cpp931 QualType T = Arg.getAsType(); in TransformFirstQualifierInScope()
1370 QualType Replacement = Arg.getAsType(); in TransformTemplateTypeParmType()
1415 QualType Result = Arg.getAsType(); in TransformSubstTemplateTypeParmPackType()
DSemaLookup.cpp2428 addAssociatedClassesAndNamespaces(Result, Arg.getAsType()); in addAssociatedClassesAndNamespaces()
3842 II = QualType(NNS->getAsType(), 0).getBaseTypeIdentifier(); in getNestedNameSpecifierIdentifiers()
3966 if (const Type *T = NNS->getAsType()) in addNamespaces()
4069 const Type *NSType = NSI.NameSpecifier->getAsType(); in performQualifiedLookups()
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp121 QualType SubTy = Arg.getAsType(); in getFullyQualifiedTemplateArgument()
255 const Type *Type = Scope->getAsType(); in getFullyQualifiedNestedNameSpecifier()
/external/v8/tools/clang/plugins/
DCheckIPCVisitor.cpp266 CheckType(arg.getAsType(), details); in CheckTemplateArgument()
DFindBadConstructsConsumer.cpp931 if (arg.getAsType().getTypePtr()->getAsCXXRecordDecl() == in CheckWeakPtrFactoryMembers()
/external/clang/include/clang/AST/
DNestedNameSpecifier.h189 const Type *getAsType() const { in getAsType() function
DTemplateBase.h238 QualType getAsType() const { in getAsType() function
DRecursiveASTVisitor.h716 TRY_TO(TraverseType(QualType(NNS->getAsType(), 0)));
794 return getDerived().TraverseType(Arg.getAsType());
831 return getDerived().TraverseType(Arg.getAsType());
/external/clang/lib/CodeGen/
DCGCXX.cpp295 const Type *QTy = Qual->getAsType(); in BuildAppleKextVirtualCall()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h758 return InnerMatcher.matches(Node.getAsType(), Finder, Builder); in AST_MATCHER_P()
4995 if (!Node.getAsType()) in AST_MATCHER_P()
4997 return InnerMatcher.matches(QualType(Node.getAsType(), 0), Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/Index/
DUSRGeneration.cpp833 VisitType(Arg.getAsType()); in VisitTemplateArgument()
/external/clang/tools/libclang/
DCXType.cpp954 return MakeCXType(A.getAsType(), GetTU(CT)); in clang_Type_getTemplateArgumentAsType()
DCXCursor.cpp1241 return cxtype::MakeCXType(TA.getAsType(), getCursorTU(C)); in clang_Cursor_getTemplateArgumentType()

12