Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComment.cpp179 TypeSourceInfo *MaybeFunctionTSI = MaybeFunction.getTypeSourceInfo(); in getFunctionTypeLoc()
322 TSI = VD->getTypeSourceInfo(); in fill()
324 TSI = PD->getTypeSourceInfo(); in fill()
333 TSI = VD->getTypeSourceInfo(); in fill()
342 TSI = cast<TypedefNameDecl>(CommentDecl)->getTypeSourceInfo(); in fill()
350 TSI = TAD->getTypeSourceInfo(); in fill()
H A DComputeDependence.cpp126 E->getTypeSourceInfo()->getType()->getDependence()) | in computeDependence()
195 E->getTypeSourceInfo()->getType()->getDependence()) | in computeDependence()
343 if (auto *TSI = E->getTypeSourceInfo()) in computeDependence()
482 if (auto *TSI = DD->getTypeSourceInfo()) { in computeDependence()
591 TypeSourceInfo *TInfo = First->getTypeSourceInfo(); in computeDependence()
635 E->getTypeSourceInfo()->getType()->getDependence()); in computeDependence()
657 E->getTypeSourceInfo()->getType()->getDependence())); in computeDependence()
841 E->getTypeSourceInfo()->getType()->getDependence()) | in computeDependence()
H A DODRHash.cpp328 if (auto *DD = dyn_cast<DeclaratorDecl>(D); DD && DD->getTypeSourceInfo()) in VisitValueDecl()
329 AddQualType(DD->getTypeSourceInfo()->getType()); in VisitValueDecl()
384 AddQualType(D->getTypeSourceInfo()->getType()); in VisitObjCPropertyDecl()
629 AddQualType(Base.getTypeSourceInfo()->getType()); in AddCXXRecordDecl()
H A DDecl.cpp828 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl()
975 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember()
1988 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc()
1994 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecEndLoc()
2091 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
2955 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType()
3935 const TypeSourceInfo *TSI = getTypeSourceInfo(); in getFunctionTypeLoc()
5654 if (auto *TT = getTypeSourceInfo()->getType()->getAs<TagType>()) { in getAnonDeclWithTypedefName()
5711 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
5720 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) in getSourceRange()
H A DDeclPrinter.cpp587 QualType Ty = D->getTypeSourceInfo()->getType(); in VisitTypedefDecl()
595 Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy); in VisitTypeAliasDecl()
966 QualType T = D->getTypeSourceInfo() in VisitVarDecl()
967 ? D->getTypeSourceInfo()->getType() in VisitVarDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp93 if (D->getTypeSourceInfo()) in traverseParamVarHelper()
94 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in traverseParamVarHelper()
297 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()
712 IndexCtx.indexTypeSourceInfo(NTTP->getTypeSourceInfo(), Parent); in indexTemplateParameters()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DFixitUtil.cpp32 TypeLoc TyLoc = VD->getTypeSourceInfo()->getTypeLoc().getUnqualifiedLoc(); in getPointeeTypeText()
113 TypeLoc TyLoc = VD->getTypeSourceInfo()->getTypeLoc().getUnqualifiedLoc(); in getPointee2TypeText()
H A DProgramPoint.cpp245 QualType Ty = Init->getTypeSourceInfo()->getType(); in printJson()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DLocInfoType.h45 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo() function
H A DRecursiveASTVisitor.h918 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo())
954 if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo())
1771 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1779 if (D->getTypeSourceInfo())
1780 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
2011 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
2018 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
2069 TRY_TO(TraverseTypeLoc(Base.getTypeSourceInfo()->getTypeLoc()));
2169 if (D->getTypeSourceInfo())
2170 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
[all …]
H A DASTNodeTraverser.h262 if (const TypeSourceInfo *TSI = A.getTypeSourceInfo()) in Visit()
386 Visit(T->getTypeSourceInfo()->getTypeLoc()); in VisitLocInfoType()
584 if (const auto *TSI = D->getTypeSourceInfo(); VisitLocs && TSI) in VisitVarDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHeuristicResolver.cpp517 Target = T->getDecl()->getTypeSourceInfo()->getTypeLoc(); in getFunctionProtoTypeLoc()
521 Target = VD->getTypeSourceInfo()->getTypeLoc(); in getFunctionProtoTypeLoc()
526 Target = FD->getTypeSourceInfo()->getTypeLoc(); in getFunctionProtoTypeLoc()
H A DTypeLocBuilder.h110 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo() function
H A DSemaTemplateDeductionGuide.cpp168 TransformType(InnerTLB, OrigDecl->getTypeSourceInfo()->getTypeLoc()); in TransformTypedefType()
169 TypeSourceInfo *TSI = InnerTLB.getTypeSourceInfo(Context, Transformed); in TransformTypedefType()
437 FunctionProtoTypeLoc FPTL = CD->getTypeSourceInfo() in transformConstructor()
452 TypeSourceInfo *NewTInfo = TLB.getTypeSourceInfo(SemaRef.Context, NewType); in transformConstructor()
625 TypeSourceInfo *OldDI = OldParam->getTypeSourceInfo(); in transformFunctionTypeParam()
1225 GG->getTypeSourceInfo(), AliasTemplate->getBeginLoc(), in BuildDeductionGuideForTypeAlias()
H A DSemaTemplateInstantiateDecl.cpp1440 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
1652 D->getTypeSourceInfo(), TemplateArgs, D->getTypeSpecStartLoc(), in VisitVarDecl()
1742 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
1748 DI = D->getTypeSourceInfo(); in VisitFieldDecl()
1824 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
1834 DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
3083 if (isLambdaMethod(D) && !D->getTypeSourceInfo() && in VisitCXXMethodDecl()
3520 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
3550 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
3598 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
[all …]
H A DSemaLambda.cpp832 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in buildLambdaInitCaptureInitialization()
1767 From->getTypeSourceInfo(), From->getStorageClass(), in addFunctionPointerConversion()
1827 InvokerFunctionTy, CallOperator->getTypeSourceInfo(), SC_Static, in addFunctionPointerConversion()
2063 TSI = Var->getTypeSourceInfo(); in BuildCaptureField()
2371 Block->setSignatureAsWritten(CallOperator->getTypeSourceInfo()); in BuildBlockForLambdaConversion()
2381 From->getIdentifier(), From->getType(), From->getTypeSourceInfo(), in BuildBlockForLambdaConversion()
H A DSemaTemplateInstantiate.cpp1977 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in maybeInstantiateFunctionParameterToScope()
3011 return TLB.getTypeSourceInfo(Context, TL.getType()); in SubstType()
3021 return TLB.getTypeSourceInfo(Context, Result); in SubstType()
3112 return TLB.getTypeSourceInfo(Context, Result); in SubstFunctionDeclType()
3131 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec()
3267 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl()
3504 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
3524 TypeSourceInfo *BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
3551 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
3556 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
H A DTreeTransform.h4025 = getSema().CheckPackExpansion(Pattern.getTypeSourceInfo(), in RebuildPackExpansion()
4918 TypeSourceInfo *DI = Input.getTypeSourceInfo(); in TransformTemplateArgument()
5196 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformType()
5262 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTypeWithDeducedTST()
5461 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTSIInObjectScope()
6125 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam()
6153 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformFunctionTypeParam()
6202 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in TransformFunctionTypeParams()
8000 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewExpansionType)); in TransformObjCObjectType()
8018 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewTypeArg)); in TransformObjCObjectType()
[all …]
H A DSemaAPINotes.cpp436 Property->setType(*Modified, Property->getTypeSourceInfo()); in ApplyNullability()
636 TLB.pushFullCopy(Method->getTypeSourceInfo()->getTypeLoc()); in ProcessAPINotes()
640 Method->setTypeSourceInfo(TLB.getTypeSourceInfo(S.Context, AttributedType)); in ProcessAPINotes()
H A DSemaTemplateVariadic.cpp704 return TLB.getTypeSourceInfo(Context, Result); in CheckPackExpansion()
1258 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
1275 TLB.getTypeSourceInfo(Context, Pattern.getType()); in getTemplateArgumentPackExpansionPattern()
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()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp552 findTypeLocForBlockDecl(Var->getTypeSourceInfo(), BlockLoc, BlockProtoLoc); in getFragmentsForVar()
555 QualType T = Var->getTypeSourceInfo() in getFragmentsForVar()
556 ? Var->getTypeSourceInfo()->getType() in getFragmentsForVar()
579 Var->getTypeSourceInfo() in getFragmentsForVarTemplate()
580 ? Var->getTypeSourceInfo()->getType() in getFragmentsForVarTemplate()
607 auto *TSInfo = Param->getTypeSourceInfo(); in getFragmentsForParam()
1110 .getTypeSourceInfo() in getFragmentsForTemplateArguments()
1548 findTypeLocForBlockDecl(Property->getTypeSourceInfo(), BlockLoc, in getFragmentsForObjCProperty()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp214 TSI = VD->getTypeSourceInfo(); in checkASTCodeBody()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp667 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitSYCLUniqueStableNameExpr()
838 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitOffsetOfExpr()
1158 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
1343 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitConvertVectorExpr()
1763 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXTemporaryObjectExpr()
1922 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXScalarValueInitExpr()
2075 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXUnresolvedConstructExpr()

1234