Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DComment.cpp176 TypeSourceInfo *MaybeFunctionTSI = MaybeFunction.getTypeSourceInfo(); in getFunctionTypeLoc()
311 TSI = VD->getTypeSourceInfo(); in fill()
313 TSI = PD->getTypeSourceInfo(); in fill()
322 TSI = VD->getTypeSourceInfo(); in fill()
331 TSI = cast<TypedefNameDecl>(CommentDecl)->getTypeSourceInfo(); in fill()
339 TSI = TAD->getTypeSourceInfo(); in fill()
H A DComputeDependence.cpp126 E->getTypeSourceInfo()->getType()->getDependence()) | in computeDependence()
195 E->getTypeSourceInfo()->getType()->getDependence()) | in computeDependence()
330 if (auto *TSI = E->getTypeSourceInfo()) in computeDependence()
443 if (auto *TSI = DD->getTypeSourceInfo()) { in computeDependence()
543 TypeSourceInfo *TInfo = First->getTypeSourceInfo(); in computeDependence()
587 E->getTypeSourceInfo()->getType()->getDependence()); in computeDependence()
608 E->getTypeSourceInfo()->getType()->getDependence())); in computeDependence()
779 E->getTypeSourceInfo()->getType()->getDependence()) | in computeDependence()
H A DDecl.cpp858 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl()
1005 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember()
1925 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc()
1931 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecEndLoc()
2028 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
2852 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType()
3643 const TypeSourceInfo *TSI = getTypeSourceInfo(); in getFunctionTypeLoc()
5185 if (auto *TT = getTypeSourceInfo()->getType()->getAs<TagType>()) { in getAnonDeclWithTypedefName()
5240 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
5249 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) in getSourceRange()
H A DDeclPrinter.cpp514 QualType Ty = D->getTypeSourceInfo()->getType(); in VisitTypedefDecl()
522 Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy); in VisitTypeAliasDecl()
858 QualType T = D->getTypeSourceInfo() in VisitVarDecl()
859 ? D->getTypeSourceInfo()->getType() in VisitVarDecl()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp92 if (D->getTypeSourceInfo()) in traverseParamVarHelper()
93 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in traverseParamVarHelper()
316 indexTypeSourceInfo(I.getTypeSourceInfo(), CXXRD, CXXRD, /*isBase=*/true); in indexTagDecl()
H A DIndexDecl.cpp93 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent, in handleDeclarator()
270 IndexCtx.indexTypeSourceInfo(Init->getTypeSourceInfo(), D); in VisitFunctionDecl()
359 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); in VisitTypedefNameDecl()
534 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); in VisitObjCPropertyDecl()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DLocInfoType.h45 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo() function
H A DRecursiveASTVisitor.h897 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo())
933 if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo())
1705 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1713 if (D->getTypeSourceInfo())
1714 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1937 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1944 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1995 TRY_TO(TraverseTypeLoc(Base.getTypeSourceInfo()->getTypeLoc()));
2097 if (D->getTypeSourceInfo())
2098 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
[all …]
H A DASTNodeTraverser.h227 if (const TypeSourceInfo *TSI = A.getTypeSourceInfo()) in Visit()
343 Visit(T->getTypeSourceInfo()->getType()); in VisitLocInfoType()
H A DTemplateBase.h515 TypeSourceInfo *getTypeSourceInfo() const {
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp52 lookForAttribute(PropD, PropD->getTypeSourceInfo()); in TraverseDecl()
55 lookForAttribute(DD, DD->getTypeSourceInfo()); in TraverseDecl()
239 TypeSourceInfo *TInfo = PD->getTypeSourceInfo(); in checkAllAtProps()
H A DTransARCAssign.cpp60 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
/openbsd-src/gnu/llvm/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp363 Var->getTypeSourceInfo() in getFragmentsForVar()
364 ? Var->getTypeSourceInfo()->getType() in getFragmentsForVar()
383 QualType T = Param->getTypeSourceInfo() in getFragmentsForParam()
384 ? Param->getTypeSourceInfo()->getType() in getFragmentsForParam()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DTypeLocBuilder.h107 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo() function
H A DSemaTemplateInstantiateDecl.cpp943 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
1112 D->getTypeSourceInfo(), TemplateArgs, D->getTypeSpecStartLoc(), in VisitVarDecl()
1199 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
1205 DI = D->getTypeSourceInfo(); in VisitFieldDecl()
1281 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
1291 DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
2433 !D->getTypeSourceInfo() && in VisitCXXMethodDecl()
2867 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
2897 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
2945 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
[all …]
H A DSemaLambda.cpp826 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in buildLambdaInitCaptureInitialization()
1476 From->getTypeSourceInfo(), From->getStorageClass(), in addFunctionPointerConversion()
1530 InvokerFunctionTy, CallOperator->getTypeSourceInfo(), SC_Static, in addFunctionPointerConversion()
1751 TSI = Var->getTypeSourceInfo(); in BuildCaptureField()
2035 Block->setSignatureAsWritten(CallOperator->getTypeSourceInfo()); in BuildBlockForLambdaConversion()
2045 From->getIdentifier(), From->getType(), From->getTypeSourceInfo(), in BuildBlockForLambdaConversion()
H A DSemaTemplateVariadic.cpp621 return TLB.getTypeSourceInfo(Context, Result); in CheckPackExpansion()
1066 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
1083 TLB.getTypeSourceInfo(Context, Pattern.getType()); in getTemplateArgumentPackExpansionPattern()
H A DTreeTransform.h3831 = getSema().CheckPackExpansion(Pattern.getTypeSourceInfo(), in RebuildPackExpansion()
4528 TypeSourceInfo *DI = Input.getTypeSourceInfo(); in TransformTemplateArgument()
4807 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformType()
4873 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTypeWithDeducedTST()
5058 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTSIInObjectScope()
5703 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam()
5731 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformFunctionTypeParam()
5780 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in TransformFunctionTypeParams()
7303 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewExpansionType)); in TransformObjCObjectType()
7321 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewTypeArg)); in TransformObjCObjectType()
[all …]
H A DSemaTemplate.cpp1258 Diag(NTTP->getTypeSourceInfo()->getTypeLoc().getBeginLoc(), in AttachTypeConstraint()
1260 << NTTP->getTypeSourceInfo()->getTypeLoc().getSourceRange(); in AttachTypeConstraint()
2206 TransformType(InnerTLB, OrigDecl->getTypeSourceInfo()->getTypeLoc()); in TransformTypedefType()
2207 TypeSourceInfo *TSI = InnerTLB.getTypeSourceInfo(Context, Transformed); in TransformTypedefType()
2317 FunctionProtoTypeLoc FPTL = CD->getTypeSourceInfo()->getTypeLoc() in transformConstructor()
2331 TypeSourceInfo *NewTInfo = TLB.getTypeSourceInfo(SemaRef.Context, NewType); in transformConstructor()
2474 TypeSourceInfo *OldDI = OldParam->getTypeSourceInfo(); in transformFunctionTypeParam()
2727 NTTP->getTypeSourceInfo(), in DiagnoseUnexpandedParameterPacks()
2862 NewNonTypeParm->getTypeSourceInfo(), in CheckTemplateParameterList()
4155 return CreateParsedType(T, TLB.getTypeSourceInfo(Context, T)); in ActOnTemplateIdType()
[all …]
H A DSemaTemplateInstantiate.cpp2446 return TLB.getTypeSourceInfo(Context, TL.getType()); in SubstType()
2456 return TLB.getTypeSourceInfo(Context, Result); in SubstType()
2543 return TLB.getTypeSourceInfo(Context, Result); in SubstFunctionDeclType()
2564 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec()
2697 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl()
2942 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
2962 TypeSourceInfo *BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
2989 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
2994 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
H A DSemaExceptionSpec.cpp285 if (!Decl->getTypeSourceInfo()) in hasImplicitExceptionSpec()
288 auto *Ty = Decl->getTypeSourceInfo()->getType()->castAs<FunctionProtoType>(); in hasImplicitExceptionSpec()
463 if (TypeSourceInfo *TSInfo = New->getTypeSourceInfo()) { in CheckEquivalentExceptionSpec()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DProgramPoint.cpp126 QualType Ty = Init->getTypeSourceInfo()->getType(); in printJson()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp217 i->CastedExprParent.get<const VarDecl *>()->getTypeSourceInfo(); in checkASTCodeBody()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp559 if (TypeSourceInfo *BaseTSInfo = Base->getTypeSourceInfo()) { in VisitChildren()
699 if (TypeSourceInfo *TSInfo = D->getTypeSourceInfo()) in VisitTypeAliasDecl()
706 if (TypeSourceInfo *TSInfo = D->getTypeSourceInfo()) in VisitTypedefDecl()
792 if (TypeSourceInfo *TSInfo = DD->getTypeSourceInfo()) in VisitDeclaratorDecl()
828 if (TypeSourceInfo *TSInfo = ND->getTypeSourceInfo()) { in VisitFunctionDecl()
893 } else if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo()) { in VisitFunctionDecl()
980 if (auto TInfo = D->getTypeSourceInfo()) { in VisitObjCTypeParamDecl()
1120 if (PD->getTypeSourceInfo() && Visit(PD->getTypeSourceInfo()->getTypeLoc())) in VisitObjCPropertyDecl()
1564 if (TypeSourceInfo *TSInfo = TAL.getTypeSourceInfo()) in VisitTemplateArgumentLoc()
2736 AddTypeLoc(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriterStmt.cpp585 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitSYCLUniqueStableNameExpr()
749 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitOffsetOfExpr()
1039 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
1212 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitConvertVectorExpr()
1619 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXTemporaryObjectExpr()
1774 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXScalarValueInitExpr()
1921 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXUnresolvedConstructExpr()

123