Home
last modified time | relevance | path

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

123

/minix/external/bsd/llvm/dist/clang/tools/libclang/
H A 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()
H A DCIndex.cpp668 if (TypeSourceInfo *TSInfo = D->getTypeSourceInfo()) in VisitTypeAliasDecl()
675 if (TypeSourceInfo *TSInfo = D->getTypeSourceInfo()) in VisitTypedefDecl()
761 if (TypeSourceInfo *TSInfo = DD->getTypeSourceInfo()) in VisitDeclaratorDecl()
787 if (TypeSourceInfo *TSInfo = ND->getTypeSourceInfo()) { in VisitFunctionDecl()
1048 if (PD->getTypeSourceInfo() && Visit(PD->getTypeSourceInfo()->getTypeLoc())) in VisitObjCPropertyDecl()
2072 AddTypeLoc(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
2129 AddTypeLoc(E->getTypeSourceInfo()); in VisitCXXScalarValueInitExpr()
2134 AddTypeLoc(E->getTypeSourceInfo()); in VisitCXXTemporaryObjectExpr()
2145 AddTypeLoc(E->getTypeSourceInfo()); in VisitCXXUnresolvedConstructExpr()
2270 AddTypeLoc(E->getTypeSourceInfo()); in VisitOffsetOfExpr()
[all …]
H A DCXType.cpp163 if (TypeSourceInfo *TSInfo = DD->getTypeSourceInfo()) in clang_getCursorType()
172 if (TypeSourceInfo *TSInfo = FTD->getTemplatedDecl()->getTypeSourceInfo()) in clang_getCursorType()
/minix/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DLocInfoType.h50 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo() function
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DRecursiveASTVisitor.h810 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo()) in TraverseTemplateArgumentLoc()
848 if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo()) in TraverseConstructorInitializer()
1412 if (D->getTypeSourceInfo())
1578 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1585 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1715 if (D->getTypeSourceInfo())
1774 if (TypeSourceInfo *TSI = D->getTypeSourceInfo()) { in TraverseFunctionHelper()
2082 TRY_TO(TraverseTypeLoc(S->getTypeSourceInfo()->getTypeLoc()));
2095 TRY_TO(TraverseTypeLoc(S->getTypeSourceInfo()->getTypeLoc()));
2142 TRY_TO(TraverseTypeLoc(S->getTypeSourceInfo()->getTypeLoc()));
[all …]
H A DDataRecursiveASTVisitor.h744 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo()) in TraverseTemplateArgumentLoc()
782 if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo()) in TraverseConstructorInitializer()
1340 if (D->getTypeSourceInfo())
1544 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1551 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1673 if (D->getTypeSourceInfo()) in TraverseDeclaratorHelper()
1732 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in TraverseFunctionHelper()
2060 TRY_TO(TraverseTypeLoc(S->getTypeSourceInfo()->getTypeLoc()));
2073 TRY_TO(TraverseTypeLoc(S->getTypeSourceInfo()->getTypeLoc()));
2120 TRY_TO(TraverseTypeLoc(S->getTypeSourceInfo()->getTypeLoc()));
[all …]
H A DTemplateBase.h474 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo() function
/minix/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
H A DTransGCAttrs.cpp53 lookForAttribute(PropD, PropD->getTypeSourceInfo()); in TraverseDecl()
56 lookForAttribute(DD, DD->getTypeSourceInfo()); in TraverseDecl()
245 TypeSourceInfo *TInfo = PD->getTypeSourceInfo(); in checkAllAtProps()
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DTypeLocBuilder.h104 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo() function
H A DSemaTemplateInstantiateDecl.cpp321 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
520 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
526 DI = D->getTypeSourceInfo(); in VisitFieldDecl()
602 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
612 DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
1898 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
1928 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
1976 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
2616 SemaRef.SubstType(D->getTypeSourceInfo(), TemplateArgs, in VisitVarTemplateSpecializationDecl()
2927 PartialSpec->getTypeSourceInfo(), TemplateArgs, in InstantiateVarTemplatePartialSpecialization()
[all …]
H A DSemaLambda.cpp723 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in performLambdaInitCaptureInitialization()
827 nullptr, Var->getType(), Var->getTypeSourceInfo(), nullptr, false, in buildInitCaptureField()
1260 From->getTypeSourceInfo(), in addFunctionPointerConversion()
1314 CallOperator->getTypeSourceInfo(), in addFunctionPointerConversion()
1595 Block->setSignatureAsWritten(CallOperator->getTypeSourceInfo()); in BuildBlockForLambdaConversion()
1608 From->getTypeSourceInfo(), in BuildBlockForLambdaConversion()
H A DSemaTemplateInstantiate.cpp1520 return TLB.getTypeSourceInfo(Context, TL.getType()); in SubstType()
1530 return TLB.getTypeSourceInfo(Context, Result); in SubstType()
1568 if (TypeSourceInfo *TSInfo = P->getTypeSourceInfo()) in NeedsInstantiationAsFunctionType()
1625 return TLB.getTypeSourceInfo(Context, Result); in SubstFunctionDeclType()
1640 New->getTypeSourceInfo()->getTypeLoc().getLocEnd(), ESI, in SubstExceptionSpec()
1653 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl()
1786 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
1806 TypeSourceInfo *BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
1833 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
1838 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
H A DSemaTemplateVariadic.cpp487 return TLB.getTypeSourceInfo(Context, Result); in CheckPackExpansion()
889 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
906 TLB.getTypeSourceInfo(Context, Pattern.getType()); in getTemplateArgumentPackExpansionPattern()
H A DSemaExceptionSpec.cpp192 if (!Decl->getTypeSourceInfo()) in hasImplicitExceptionSpec()
196 Decl->getTypeSourceInfo()->getType()->getAs<FunctionProtoType>(); in hasImplicitExceptionSpec()
318 if (TypeSourceInfo *TSInfo = New->getTypeSourceInfo()) { in CheckEquivalentExceptionSpec()
H A DTreeTransform.h3419 TypeSourceInfo *DI = Input.getTypeSourceInfo(); in TransformTemplateArgument()
3692 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformType()
3862 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTSIInObjectScope()
4330 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam()
6202 if (FromVar->getTypeSourceInfo()) { in TransformObjCAtCatchStmt()
7446 Type == E->getTypeSourceInfo() && in TransformOffsetOfExpr()
7792 TypeSourceInfo *OldT = E->getTypeSourceInfo(); in TransformCompoundLiteralExpr()
8397 T == E->getTypeSourceInfo()) in TransformCXXScalarValueInitExpr()
9075 T == E->getTypeSourceInfo() && in TransformCXXTemporaryObjectExpr()
9352 T == E->getTypeSourceInfo() && in TransformCXXUnresolvedConstructExpr()
[all …]
H A DSemaTemplate.cpp1214 NTTP->getTypeSourceInfo(), in DiagnoseUnexpandedParameterPacks()
2187 return CreateParsedType(T, TLB.getTypeSourceInfo(Context, T)); in ActOnTemplateIdType()
2217 return CreateParsedType(Result, TLB.getTypeSourceInfo(Context, Result)); in ActOnTemplateIdType()
2259 return CreateParsedType(T, TLB.getTypeSourceInfo(Context, T)); in ActOnTagTemplateIdType()
2455 SubstType(Templated->getTypeSourceInfo(), in ActOnVarTemplateSpecialization()
3011 TSI = AL.getTypeSourceInfo(); in CheckTemplateTypeArgument()
3070 TSI = TLB.getTypeSourceInfo(Context, ArgType); in CheckTemplateTypeArgument()
7923 return CreateParsedType(T, Builder.getTypeSourceInfo(Context, T)); in ActOnTypenameType()
7946 TypeSourceInfo *TSI = Builder.getTypeSourceInfo(Context, T); in ActOnTypenameType()
8222 = RebuildTypeInCurrentInstantiation(NTTP->getTypeSourceInfo(), in RebuildTemplateParamsInCurrentInstantiation()
[all …]
/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DComment.cpp235 const TypeSourceInfo *TSI = TD->getTypeSourceInfo(); in fill()
293 TypeSourceInfo *MaybeFunctionTSI = MaybeFunction.getTypeSourceInfo(); in fill()
H A DExprCXX.cpp246 (DestroyedType.getTypeSourceInfo() && in CXXPseudoDestructorExpr()
247 DestroyedType.getTypeSourceInfo()->getType()->isDependentType())), in CXXPseudoDestructorExpr()
254 (DestroyedType.getTypeSourceInfo() && in CXXPseudoDestructorExpr()
255 DestroyedType.getTypeSourceInfo()->getType() in CXXPseudoDestructorExpr()
264 (DestroyedType.getTypeSourceInfo() && in CXXPseudoDestructorExpr()
265 DestroyedType.getTypeSourceInfo()->getType() in CXXPseudoDestructorExpr()
273 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getDestroyedType()
281 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getLocEnd()
H A DDeclPrinter.cpp343 D->getTypeSourceInfo()->getType().print(Out, Policy, D->getName()); in VisitTypedefDecl()
350 Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy); in VisitTypeAliasDecl()
689 QualType T = D->getTypeSourceInfo() in VisitVarDecl()
690 ? D->getTypeSourceInfo()->getType() in VisitVarDecl()
H A DDecl.cpp762 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl()
906 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember()
1562 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc()
1661 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
2216 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType()
2780 const TypeSourceInfo *TSI = getTypeSourceInfo(); in getReturnTypeSourceRange()
3907 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
3916 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) in getSourceRange()
H A DASTImporter.cpp2349 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitTypedefNameDecl()
2742 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitFunctionDecl()
2889 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitFieldDecl()
3008 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitObjCIvarDecl()
3128 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitVarDecl()
3192 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitParmVarDecl()
3800 TypeSourceInfo *T = Importer.Import(D->getTypeSourceInfo()); in VisitObjCPropertyDecl()
3944 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitNonTypeTemplateParmDecl()
3945 if (D->getTypeSourceInfo() && !TInfo) in VisitNonTypeTemplateParmDecl()
4236 TypeSourceInfo *TInfo = Importer.Import(DTemplated->getTypeSourceInfo()); in VisitVarTemplateDecl()
[all …]
H A DTemplateBase.cpp440 if (TypeSourceInfo *TSI = getTypeSourceInfo()) in getSourceRange()
/minix/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp215 i->CastedExprParent.get<const VarDecl *>()->getTypeSourceInfo(); in checkASTCodeBody()
/minix/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTWriterStmt.cpp463 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitOffsetOfExpr()
661 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCompoundLiteralExpr()
801 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitConvertVectorExpr()
1167 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCXXTemporaryObjectExpr()
1320 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCXXScalarValueInitExpr()
1442 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCXXUnresolvedConstructExpr()

123