Home
last modified time | relevance | path

Searched refs:getTypeSourceInfo (Results 1 – 25 of 58) sorted by relevance

123

/external/clang/tools/libclang/
DIndexDecl.cpp39 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent); in handleDeclarator()
77 IndexCtx.indexTypeSourceInfo(Init->getTypeSourceInfo(), D); in VisitFunctionDecl()
124 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); in VisitTypedefNameDecl()
217 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); in VisitObjCPropertyDecl()
310 IndexCtx.indexTypeSourceInfo(D->getTemplatedDecl()->getTypeSourceInfo(), D); in VisitTypeAliasTemplateDecl()
DCIndex.cpp548 if (TypeSourceInfo *BaseTSInfo = Base->getTypeSourceInfo()) { in VisitChildren()
675 if (TypeSourceInfo *TSInfo = D->getTypeSourceInfo()) in VisitTypeAliasDecl()
682 if (TypeSourceInfo *TSInfo = D->getTypeSourceInfo()) in VisitTypedefDecl()
768 if (TypeSourceInfo *TSInfo = DD->getTypeSourceInfo()) in VisitDeclaratorDecl()
794 if (TypeSourceInfo *TSInfo = ND->getTypeSourceInfo()) { in VisitFunctionDecl()
848 } else if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo()) { in VisitFunctionDecl()
930 if (auto TInfo = D->getTypeSourceInfo()) { in VisitObjCTypeParamDecl()
1070 if (PD->getTypeSourceInfo() && Visit(PD->getTypeSourceInfo()->getTypeLoc())) in VisitObjCPropertyDecl()
1415 if (TypeSourceInfo *TSInfo = TAL.getTypeSourceInfo()) in VisitTemplateArgumentLoc()
2234 AddTypeLoc(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
[all …]
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h769 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo())
807 if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo())
1396 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1404 if (D->getTypeSourceInfo())
1405 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1574 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1581 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1626 TRY_TO(TraverseTypeLoc(I.getTypeSourceInfo()->getTypeLoc()));
1711 if (D->getTypeSourceInfo())
1712 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
[all …]
DTemplateBase.h471 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo() function
DExprCXX.h1385 TypeSourceInfo *getTypeSourceInfo() const { return Type; } in getTypeSourceInfo() function
1714 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo() function
2025 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo() function
2155 return DestroyedType.getTypeSourceInfo(); in getDestroyedTypeInfo()
3018 TypeSourceInfo *getTypeSourceInfo() const { return Type; } in getTypeSourceInfo() function
/external/clang/include/clang/Sema/
DLocInfoType.h50 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo() function
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp53 lookForAttribute(PropD, PropD->getTypeSourceInfo()); in TraverseDecl()
56 lookForAttribute(DD, DD->getTypeSourceInfo()); in TraverseDecl()
243 TypeSourceInfo *TInfo = PD->getTypeSourceInfo(); in checkAllAtProps()
DTransARCAssign.cpp61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
/external/clang/lib/AST/
DComment.cpp235 const TypeSourceInfo *TSI = TD->getTypeSourceInfo(); in fill()
293 TypeSourceInfo *MaybeFunctionTSI = MaybeFunction.getTypeSourceInfo(); in fill()
DExprCXX.cpp244 (DestroyedType.getTypeSourceInfo() && in CXXPseudoDestructorExpr()
245 DestroyedType.getTypeSourceInfo()->getType()->isDependentType())), in CXXPseudoDestructorExpr()
252 (DestroyedType.getTypeSourceInfo() && in CXXPseudoDestructorExpr()
253 DestroyedType.getTypeSourceInfo()->getType() in CXXPseudoDestructorExpr()
262 (DestroyedType.getTypeSourceInfo() && in CXXPseudoDestructorExpr()
263 DestroyedType.getTypeSourceInfo()->getType() in CXXPseudoDestructorExpr()
271 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getDestroyedType()
279 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getLocEnd()
DDeclPrinter.cpp381 D->getTypeSourceInfo()->getType().print(Out, Policy, D->getName()); in VisitTypedefDecl()
388 Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy); in VisitTypeAliasDecl()
733 QualType T = D->getTypeSourceInfo() in VisitVarDecl()
734 ? D->getTypeSourceInfo()->getType() in VisitVarDecl()
DDecl.cpp768 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl()
915 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember()
1641 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc()
1738 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
2296 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType()
2831 const TypeSourceInfo *TSI = getTypeSourceInfo(); in getReturnTypeSourceRange()
3943 if (auto *TT = getTypeSourceInfo()->getType()->getAs<TagType>()) { in getAnonDeclWithTypedefName()
3976 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
3985 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) in getSourceRange()
DASTImporter.cpp2072 Importer.Import(Base1.getTypeSourceInfo()), in ImportDefinition()
2429 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitTypedefNameDecl()
2834 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitFunctionDecl()
2992 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitFieldDecl()
3117 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitObjCIvarDecl()
3240 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitVarDecl()
3308 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitParmVarDecl()
3447 TypeSourceInfo *BoundInfo = Importer.Import(D->getTypeSourceInfo()); in VisitObjCTypeParamDecl()
3993 TypeSourceInfo *TSI = Importer.Import(D->getTypeSourceInfo()); in VisitObjCPropertyDecl()
4138 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitNonTypeTemplateParmDecl()
[all …]
DTemplateBase.cpp438 if (TypeSourceInfo *TSI = getTypeSourceInfo()) in getSourceRange()
/external/clang/lib/Sema/
DTypeLocBuilder.h104 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo() function
DSemaTemplateInstantiateDecl.cpp358 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
502 TypeSourceInfo *DI = SemaRef.SubstType(D->getTypeSourceInfo(), in VisitVarDecl()
557 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
563 DI = D->getTypeSourceInfo(); in VisitFieldDecl()
639 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
649 DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
1968 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
1998 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
2046 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
2067 DI = SemaRef.SubstType(D->getTypeSourceInfo(), TemplateArgs, in VisitNonTypeTemplateParmDecl()
[all …]
DSemaLambda.cpp717 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in buildLambdaInitCaptureInitialization()
789 nullptr, Var->getType(), Var->getTypeSourceInfo(), nullptr, false, in buildInitCaptureField()
1243 From->getTypeSourceInfo(), in addFunctionPointerConversion()
1297 CallOperator->getTypeSourceInfo(), in addFunctionPointerConversion()
1658 Block->setSignatureAsWritten(CallOperator->getTypeSourceInfo()); in BuildBlockForLambdaConversion()
1671 From->getTypeSourceInfo(), in BuildBlockForLambdaConversion()
DSemaTemplateInstantiate.cpp1484 return TLB.getTypeSourceInfo(Context, TL.getType()); in SubstType()
1494 return TLB.getTypeSourceInfo(Context, Result); in SubstType()
1532 if (TypeSourceInfo *TSInfo = P->getTypeSourceInfo()) in NeedsInstantiationAsFunctionType()
1589 return TLB.getTypeSourceInfo(Context, Result); in SubstFunctionDeclType()
1604 New->getTypeSourceInfo()->getTypeLoc().getLocEnd(), ESI, in SubstExceptionSpec()
1617 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl()
1765 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
1785 TypeSourceInfo *BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
1812 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
1817 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
DSemaTemplateVariadic.cpp482 return TLB.getTypeSourceInfo(Context, Result); in CheckPackExpansion()
885 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
902 TLB.getTypeSourceInfo(Context, Pattern.getType()); in getTemplateArgumentPackExpansionPattern()
DTreeTransform.h2984 = getSema().CheckPackExpansion(Pattern.getTypeSourceInfo(), in RebuildPackExpansion()
3630 TypeSourceInfo *DI = Input.getTypeSourceInfo(); in TransformTemplateArgument()
3903 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformType()
4073 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTSIInObjectScope()
4541 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam()
4569 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformFunctionTypeParam()
4612 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in TransformFunctionTypeParams()
5839 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewExpansionType)); in TransformObjCObjectType()
5857 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewTypeArg)); in TransformObjCObjectType()
5876 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewTypeArg)); in TransformObjCObjectType()
[all …]
DSemaExceptionSpec.cpp198 if (!Decl->getTypeSourceInfo()) in hasImplicitExceptionSpec()
202 Decl->getTypeSourceInfo()->getType()->getAs<FunctionProtoType>(); in hasImplicitExceptionSpec()
342 if (TypeSourceInfo *TSInfo = New->getTypeSourceInfo()) { in CheckEquivalentExceptionSpec()
DSemaTemplate.cpp1255 NTTP->getTypeSourceInfo(), in DiagnoseUnexpandedParameterPacks()
1366 NewNonTypeParm->getTypeSourceInfo(), in CheckTemplateParameterList()
2273 return CreateParsedType(T, TLB.getTypeSourceInfo(Context, T)); in ActOnTemplateIdType()
2303 return CreateParsedType(Result, TLB.getTypeSourceInfo(Context, Result)); in ActOnTemplateIdType()
2345 return CreateParsedType(T, TLB.getTypeSourceInfo(Context, T)); in ActOnTagTemplateIdType()
2395 return CreateParsedType(Result, TLB.getTypeSourceInfo(Context, Result)); in ActOnTagTemplateIdType()
3079 TSI = AL.getTypeSourceInfo(); in CheckTemplateTypeArgument()
3138 TSI = TLB.getTypeSourceInfo(Context, ArgType); in CheckTemplateTypeArgument()
6088 Param->getDepth(), Param->getTypeSourceInfo()->getTypeLoc()); in CheckNonTypeTemplatePartialSpecializationArgs()
7994 return CreateParsedType(Result, TLB.getTypeSourceInfo(Context, Result)); in ActOnDependentTag()
[all …]
DSemaDeclObjC.cpp628 typeBoundInfo = builder.getTypeSourceInfo(Context, typeBound); in actOnObjCTypeParam()
846 SourceRange newBoundRange = newTypeParam->getTypeSourceInfo() in checkTypeParamListConsistency()
2299 << getTypeRange(ImplVar->getTypeSourceInfo()) in CheckMethodOverrideParam()
2303 << getTypeRange(ImplVar->getTypeSourceInfo()) in CheckMethodOverrideParam()
2306 << getTypeRange(IfaceVar->getTypeSourceInfo()); in CheckMethodOverrideParam()
2358 << getTypeRange(ImplVar->getTypeSourceInfo()) in CheckMethodOverrideParam()
2363 << getTypeRange(IfaceVar->getTypeSourceInfo()); in CheckMethodOverrideParam()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp214 i->CastedExprParent.get<const VarDecl *>()->getTypeSourceInfo(); in checkASTCodeBody()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp483 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitOffsetOfExpr()
692 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCompoundLiteralExpr()
845 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitConvertVectorExpr()
1212 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCXXTemporaryObjectExpr()
1365 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCXXScalarValueInitExpr()
1487 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCXXUnresolvedConstructExpr()

123