Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/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()
712 IndexCtx.indexTypeSourceInfo(NTTP->getTypeSourceInfo(), Parent); in indexTemplateParameters()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp126 E->getTypeSourceInfo()->getType()->getDependence()) | in computeDependence()
195 E->getTypeSourceInfo()->getType()->getDependence()) | in computeDependence()
340 if (auto *TSI = E->getTypeSourceInfo()) in computeDependence()
480 if (auto *TSI = DD->getTypeSourceInfo()) { in computeDependence()
589 TypeSourceInfo *TInfo = First->getTypeSourceInfo(); in computeDependence()
633 E->getTypeSourceInfo()->getType()->getDependence()); in computeDependence()
656 E->getTypeSourceInfo()->getType()->getDependence())); in computeDependence()
840 E->getTypeSourceInfo()->getType()->getDependence()) | in computeDependence()
H A DODRHash.cpp309 if (auto *DD = dyn_cast<DeclaratorDecl>(D); DD && DD->getTypeSourceInfo()) in VisitValueDecl()
310 AddQualType(DD->getTypeSourceInfo()->getType()); in VisitValueDecl()
365 AddQualType(D->getTypeSourceInfo()->getType()); in VisitObjCPropertyDecl()
609 AddQualType(Base.getTypeSourceInfo()->getType()); in AddCXXRecordDecl()
H A DDecl.cpp829 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl()
976 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember()
1971 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc()
1977 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecEndLoc()
2074 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
2913 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType()
3856 const TypeSourceInfo *TSI = getTypeSourceInfo(); in getFunctionTypeLoc()
5501 if (auto *TT = getTypeSourceInfo()->getType()->getAs<TagType>()) { in getAnonDeclWithTypedefName()
5558 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
5567 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) in getSourceRange()
H A DDeclPrinter.cpp557 QualType Ty = D->getTypeSourceInfo()->getType(); in VisitTypedefDecl()
565 Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy); in VisitTypeAliasDecl()
930 QualType T = D->getTypeSourceInfo() in VisitVarDecl()
931 ? D->getTypeSourceInfo()->getType() in VisitVarDecl()
H A DASTImporter.cpp2310 auto TSIOrErr = import(Base1.getTypeSourceInfo()); in ImportDefinition()
2768 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitTypedefNameDecl()
3822 TypeSourceInfo *FromTSI = D->getTypeSourceInfo(); in VisitFunctionDecl()
4066 if (Expected<TypeSourceInfo *> TSIOrErr = import(D->getTypeSourceInfo())) in VisitFunctionDecl()
4165 auto ToTInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitFieldDecl()
4430 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitObjCIvarDecl()
4550 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitVarDecl()
4693 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitParmVarDecl()
4869 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitObjCTypeParamDecl()
5775 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitObjCPropertyDecl()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DLocInfoType.h45 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo() function
H A DRecursiveASTVisitor.h916 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo())
952 if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo())
1741 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1749 if (D->getTypeSourceInfo())
1750 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1973 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1980 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
2031 TRY_TO(TraverseTypeLoc(Base.getTypeSourceInfo()->getTypeLoc()));
2131 if (D->getTypeSourceInfo())
2132 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()
554 if (const auto *TSI = D->getTypeSourceInfo(); VisitLocs && TSI) in VisitVarDecl()
H A DTemplateBase.h578 TypeSourceInfo *getTypeSourceInfo() const {
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp541 findTypeLocForBlockDecl(Var->getTypeSourceInfo(), BlockLoc, BlockProtoLoc); in getFragmentsForVar()
544 QualType T = Var->getTypeSourceInfo() in getFragmentsForVar()
545 ? Var->getTypeSourceInfo()->getType() in getFragmentsForVar()
568 Var->getTypeSourceInfo() in getFragmentsForVarTemplate()
569 ? Var->getTypeSourceInfo()->getType() in getFragmentsForVarTemplate()
596 auto *TSInfo = Param->getTypeSourceInfo(); in getFragmentsForParam()
1091 .getTypeSourceInfo() in getFragmentsForTemplateArguments()
1528 findTypeLocForBlockDecl(Property->getTypeSourceInfo(), BlockLoc, in getFragmentsForObjCProperty()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp169 TransformType(InnerTLB, OrigDecl->getTypeSourceInfo()->getTypeLoc()); in TransformTypedefType()
170 TypeSourceInfo *TSI = InnerTLB.getTypeSourceInfo(Context, Transformed); in TransformTypedefType()
415 FunctionProtoTypeLoc FPTL = CD->getTypeSourceInfo() in transformConstructor()
430 TypeSourceInfo *NewTInfo = TLB.getTypeSourceInfo(SemaRef.Context, NewType); in transformConstructor()
579 TypeSourceInfo *OldDI = OldParam->getTypeSourceInfo(); in transformFunctionTypeParam()
1173 GG->getTypeSourceInfo(), AliasTemplate->getBeginLoc(), in BuildDeductionGuideForTypeAlias()
H A DSemaTemplateInstantiateDecl.cpp1008 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
1193 D->getTypeSourceInfo(), TemplateArgs, D->getTypeSpecStartLoc(), in VisitVarDecl()
1280 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
1286 DI = D->getTypeSourceInfo(); in VisitFieldDecl()
1362 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
1372 DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
2538 !D->getTypeSourceInfo() && in VisitCXXMethodDecl()
2975 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
3005 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
3053 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
[all …]
H A DSemaLambda.cpp811 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in buildLambdaInitCaptureInitialization()
1743 From->getTypeSourceInfo(), From->getStorageClass(), in addFunctionPointerConversion()
1802 InvokerFunctionTy, CallOperator->getTypeSourceInfo(), SC_Static, in addFunctionPointerConversion()
2028 TSI = Var->getTypeSourceInfo(); in BuildCaptureField()
2312 Block->setSignatureAsWritten(CallOperator->getTypeSourceInfo()); in BuildBlockForLambdaConversion()
2322 From->getIdentifier(), From->getType(), From->getTypeSourceInfo(), in BuildBlockForLambdaConversion()
H A DSemaTemplateVariadic.cpp644 return TLB.getTypeSourceInfo(Context, Result); in CheckPackExpansion()
1136 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
1153 TLB.getTypeSourceInfo(Context, Pattern.getType()); in getTemplateArgumentPackExpansionPattern()
H A DTreeTransform.h3973 = getSema().CheckPackExpansion(Pattern.getTypeSourceInfo(), in RebuildPackExpansion()
4705 TypeSourceInfo *DI = Input.getTypeSourceInfo(); in TransformTemplateArgument()
4982 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformType()
5048 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTypeWithDeducedTST()
5233 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTSIInObjectScope()
5898 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam()
5926 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformFunctionTypeParam()
5975 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in TransformFunctionTypeParams()
7708 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewExpansionType)); in TransformObjCObjectType()
7726 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewTypeArg)); in TransformObjCObjectType()
[all …]
H A DSemaTemplateInstantiate.cpp2826 return TLB.getTypeSourceInfo(Context, TL.getType()); in SubstType()
2836 return TLB.getTypeSourceInfo(Context, Result); in SubstType()
2921 return TLB.getTypeSourceInfo(Context, Result); in SubstFunctionDeclType()
2940 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec()
3072 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl()
3319 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
3339 TypeSourceInfo *BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
3366 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
3371 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
H A DSemaExceptionSpec.cpp283 if (!Decl->getTypeSourceInfo()) in hasImplicitExceptionSpec()
286 auto *Ty = Decl->getTypeSourceInfo()->getType()->castAs<FunctionProtoType>(); in hasImplicitExceptionSpec()
461 if (TypeSourceInfo *TSInfo = New->getTypeSourceInfo()) { in CheckEquivalentExceptionSpec()
H A DSemaTemplate.cpp1232 Diag(NewConstrainedParm->getTypeSourceInfo()->getTypeLoc().getBeginLoc(), in AttachTypeConstraint()
1234 << NewConstrainedParm->getTypeSourceInfo() in AttachTypeConstraint()
2258 NTTP->getTypeSourceInfo(), in DiagnoseUnexpandedParameterPacks()
2363 NewNonTypeParm->getTypeSourceInfo(), in CheckTemplateParameterList()
3634 return CreateParsedType(T, TLB.getTypeSourceInfo(Context, T)); in ActOnTemplateIdType()
3660 return CreateParsedType(ElTy, TLB.getTypeSourceInfo(Context, ElTy)); in ActOnTemplateIdType()
3705 return CreateParsedType(T, TLB.getTypeSourceInfo(Context, T)); in ActOnTagTemplateIdType()
3756 return CreateParsedType(Result, TLB.getTypeSourceInfo(Context, Result)); in ActOnTagTemplateIdType()
4625 TSI = AL.getTypeSourceInfo(); in CheckTemplateTypeArgument()
4678 TSI = TLB.getTypeSourceInfo(Context, ArgType); in CheckTemplateTypeArgument()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp126 QualType Ty = Init->getTypeSourceInfo()->getType(); in printJson()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp216 ->getTypeSourceInfo(); in checkASTCodeBody()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp652 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitSYCLUniqueStableNameExpr()
822 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitOffsetOfExpr()
1139 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
1322 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitConvertVectorExpr()
1740 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXTemporaryObjectExpr()
1899 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXScalarValueInitExpr()
2050 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXUnresolvedConstructExpr()

1234