Home
last modified time | relevance | path

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

123

/external/clang/lib/Index/
DIndexTypeSourceInfo.cpp53 if (D->getTypeSourceInfo()) in traverseParamVarHelper()
54 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in traverseParamVarHelper()
196 indexTypeSourceInfo(I.getTypeSourceInfo(), CXXRD, CXXRD, /*isBase=*/true); in indexTagDecl()
DIndexDecl.cpp52 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent); in handleDeclarator()
117 IndexCtx.indexTypeSourceInfo(Init->getTypeSourceInfo(), D); in VisitFunctionDecl()
186 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); in VisitTypedefNameDecl()
308 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); in VisitObjCPropertyDecl()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h828 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo())
866 if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo())
1472 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1480 if (D->getTypeSourceInfo())
1481 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1662 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1669 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1714 TRY_TO(TraverseTypeLoc(I.getTypeSourceInfo()->getTypeLoc()));
1799 if (D->getTypeSourceInfo())
1800 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
[all …]
DLocInfoType.h49 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo() function
DTemplateBase.h478 TypeSourceInfo *getTypeSourceInfo() const { 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/
DExprCXX.cpp171 (DestroyedType.getTypeSourceInfo() && in CXXPseudoDestructorExpr()
172 DestroyedType.getTypeSourceInfo()->getType()->isDependentType())), in CXXPseudoDestructorExpr()
179 (DestroyedType.getTypeSourceInfo() && in CXXPseudoDestructorExpr()
180 DestroyedType.getTypeSourceInfo()->getType() in CXXPseudoDestructorExpr()
189 (DestroyedType.getTypeSourceInfo() && in CXXPseudoDestructorExpr()
190 DestroyedType.getTypeSourceInfo()->getType() in CXXPseudoDestructorExpr()
198 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getDestroyedType()
206 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getLocEnd()
DComment.cpp235 const TypeSourceInfo *TSI = TD->getTypeSourceInfo(); in fill()
293 TypeSourceInfo *MaybeFunctionTSI = MaybeFunction.getTypeSourceInfo(); in fill()
DDeclPrinter.cpp388 QualType Ty = D->getTypeSourceInfo()->getType(); in VisitTypedefDecl()
396 Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy); in VisitTypeAliasDecl()
719 QualType T = D->getTypeSourceInfo() in VisitVarDecl()
720 ? D->getTypeSourceInfo()->getType() in VisitVarDecl()
DDecl.cpp771 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl()
918 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember()
1644 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc()
1741 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
2338 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType()
2912 const TypeSourceInfo *TSI = getTypeSourceInfo(); in getReturnTypeSourceRange()
4137 if (auto *TT = getTypeSourceInfo()->getType()->getAs<TagType>()) { in getAnonDeclWithTypedefName()
4170 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
4179 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) in getSourceRange()
DASTImporter.cpp2193 Importer.Import(Base1.getTypeSourceInfo()), in ImportDefinition()
2575 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitTypedefNameDecl()
3037 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitFunctionDecl()
3211 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitFieldDecl()
3341 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitObjCIvarDecl()
3464 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitVarDecl()
3532 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitParmVarDecl()
3671 TypeSourceInfo *BoundInfo = Importer.Import(D->getTypeSourceInfo()); in VisitObjCTypeParamDecl()
4217 TypeSourceInfo *TSI = Importer.Import(D->getTypeSourceInfo()); in VisitObjCPropertyDecl()
4363 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitNonTypeTemplateParmDecl()
[all …]
DTemplateBase.cpp447 if (TypeSourceInfo *TSI = getTypeSourceInfo()) in getSourceRange()
/external/clang/lib/Sema/
DTypeLocBuilder.h104 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo() function
DSemaTemplateInstantiateDecl.cpp472 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
609 TypeSourceInfo *DI = SemaRef.SubstType(D->getTypeSourceInfo(), in VisitVarDecl()
664 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
670 DI = D->getTypeSourceInfo(); in VisitFieldDecl()
746 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
756 DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
2043 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
2073 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
2121 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
2142 DI = SemaRef.SubstType(D->getTypeSourceInfo(), TemplateArgs, in VisitNonTypeTemplateParmDecl()
[all …]
DSemaLambda.cpp720 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in buildLambdaInitCaptureInitialization()
792 nullptr, Var->getType(), Var->getTypeSourceInfo(), nullptr, false, in buildInitCaptureField()
1250 From->getTypeSourceInfo(), in addFunctionPointerConversion()
1304 CallOperator->getTypeSourceInfo(), in addFunctionPointerConversion()
1675 Block->setSignatureAsWritten(CallOperator->getTypeSourceInfo()); in BuildBlockForLambdaConversion()
1688 From->getTypeSourceInfo(), in BuildBlockForLambdaConversion()
DSemaTemplateInstantiate.cpp1486 return TLB.getTypeSourceInfo(Context, TL.getType()); in SubstType()
1496 return TLB.getTypeSourceInfo(Context, Result); in SubstType()
1581 return TLB.getTypeSourceInfo(Context, Result); in SubstFunctionDeclType()
1596 New->getTypeSourceInfo()->getTypeLoc().getLocEnd(), ESI, in SubstExceptionSpec()
1609 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl()
1758 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
1778 TypeSourceInfo *BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
1805 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
1810 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
DSemaTemplateVariadic.cpp482 return TLB.getTypeSourceInfo(Context, Result); in CheckPackExpansion()
889 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
906 TLB.getTypeSourceInfo(Context, Pattern.getType()); in getTemplateArgumentPackExpansionPattern()
DTreeTransform.h3067 = getSema().CheckPackExpansion(Pattern.getTypeSourceInfo(), in RebuildPackExpansion()
3736 TypeSourceInfo *DI = Input.getTypeSourceInfo(); in TransformTemplateArgument()
4009 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformType()
4179 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTSIInObjectScope()
4647 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam()
4675 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformFunctionTypeParam()
4720 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in TransformFunctionTypeParams()
6004 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewExpansionType)); in TransformObjCObjectType()
6022 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewTypeArg)); in TransformObjCObjectType()
6041 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewTypeArg)); in TransformObjCObjectType()
[all …]
DSemaExceptionSpec.cpp204 if (!Decl->getTypeSourceInfo()) in hasImplicitExceptionSpec()
208 Decl->getTypeSourceInfo()->getType()->getAs<FunctionProtoType>(); in hasImplicitExceptionSpec()
348 if (TypeSourceInfo *TSInfo = New->getTypeSourceInfo()) { in CheckEquivalentExceptionSpec()
DSemaTemplate.cpp1272 NTTP->getTypeSourceInfo(), in DiagnoseUnexpandedParameterPacks()
1383 NewNonTypeParm->getTypeSourceInfo(), in CheckTemplateParameterList()
2311 return CreateParsedType(T, TLB.getTypeSourceInfo(Context, T)); in ActOnTemplateIdType()
2341 return CreateParsedType(Result, TLB.getTypeSourceInfo(Context, Result)); in ActOnTemplateIdType()
2383 return CreateParsedType(T, TLB.getTypeSourceInfo(Context, T)); in ActOnTagTemplateIdType()
2433 return CreateParsedType(Result, TLB.getTypeSourceInfo(Context, Result)); in ActOnTagTemplateIdType()
3122 TSI = AL.getTypeSourceInfo(); in CheckTemplateTypeArgument()
3181 TSI = TLB.getTypeSourceInfo(Context, ArgType); in CheckTemplateTypeArgument()
6132 Param->getDepth(), Param->getTypeSourceInfo()->getTypeLoc()); in CheckNonTypeTemplatePartialSpecializationArgs()
8138 return CreateParsedType(Result, TLB.getTypeSourceInfo(Context, Result)); in ActOnDependentTag()
[all …]
DSemaDeclObjC.cpp627 typeBoundInfo = builder.getTypeSourceInfo(Context, typeBound); in actOnObjCTypeParam()
845 SourceRange newBoundRange = newTypeParam->getTypeSourceInfo() in checkTypeParamListConsistency()
2324 << getTypeRange(ImplVar->getTypeSourceInfo()) in CheckMethodOverrideParam()
2328 << getTypeRange(ImplVar->getTypeSourceInfo()) in CheckMethodOverrideParam()
2331 << getTypeRange(IfaceVar->getTypeSourceInfo()); in CheckMethodOverrideParam()
2383 << getTypeRange(ImplVar->getTypeSourceInfo()) in CheckMethodOverrideParam()
2388 << getTypeRange(IfaceVar->getTypeSourceInfo()); in CheckMethodOverrideParam()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp214 i->CastedExprParent.get<const VarDecl *>()->getTypeSourceInfo(); in checkASTCodeBody()
/external/clang/tools/libclang/
DCIndex.cpp547 if (TypeSourceInfo *BaseTSInfo = Base->getTypeSourceInfo()) { in VisitChildren()
682 if (TypeSourceInfo *TSInfo = D->getTypeSourceInfo()) in VisitTypeAliasDecl()
689 if (TypeSourceInfo *TSInfo = D->getTypeSourceInfo()) in VisitTypedefDecl()
772 if (TypeSourceInfo *TSInfo = DD->getTypeSourceInfo()) in VisitDeclaratorDecl()
798 if (TypeSourceInfo *TSInfo = ND->getTypeSourceInfo()) { in VisitFunctionDecl()
852 } else if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo()) { in VisitFunctionDecl()
934 if (auto TInfo = D->getTypeSourceInfo()) { in VisitObjCTypeParamDecl()
1071 if (PD->getTypeSourceInfo() && Visit(PD->getTypeSourceInfo()->getTypeLoc())) in VisitObjCPropertyDecl()
1425 if (TypeSourceInfo *TSInfo = TAL.getTypeSourceInfo()) in VisitTemplateArgumentLoc()
2307 AddTypeLoc(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
[all …]
/external/clang/lib/Serialization/
DASTWriterStmt.cpp497 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitOffsetOfExpr()
706 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
857 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitConvertVectorExpr()
1234 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXTemporaryObjectExpr()
1379 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXScalarValueInitExpr()
1506 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXUnresolvedConstructExpr()

123