Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DComment.cpp181 TypeSourceInfo *MaybeFunctionTSI = MaybeFunction.getTypeSourceInfo(); in getFunctionTypeLoc()
303 TSI = VD->getTypeSourceInfo(); in fill()
305 TSI = PD->getTypeSourceInfo(); in fill()
329 ? cast<TypedefDecl>(CommentDecl)->getTypeSourceInfo() in fill()
330 : cast<TypeAliasDecl>(CommentDecl)->getTypeSourceInfo(); in fill()
351 const TypeSourceInfo *TSI = TAD->getTypeSourceInfo(); in fill()
H A DComputeDependence.cpp123 return toExprDependence(E->getTypeSourceInfo()->getType()->getDependence()) | in computeDependence()
517 TypeSourceInfo *TInfo = First->getTypeSourceInfo(); in computeDependence()
578 toExprDependence(E->getTypeSourceInfo()->getType()->getDependence())); in computeDependence()
H A DDecl.cpp828 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl()
979 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember()
1855 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc()
1861 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecEndLoc()
1958 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
2735 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType()
3508 const TypeSourceInfo *TSI = getTypeSourceInfo(); in getFunctionTypeLoc()
4955 if (auto *TT = getTypeSourceInfo()->getType()->getAs<TagType>()) { in getAnonDeclWithTypedefName()
5010 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
5019 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) in getSourceRange()
H A DDeclPrinter.cpp513 QualType Ty = D->getTypeSourceInfo()->getType(); in VisitTypedefDecl()
521 Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy); in VisitTypeAliasDecl()
860 QualType T = D->getTypeSourceInfo() in VisitVarDecl()
861 ? D->getTypeSourceInfo()->getType() in VisitVarDecl()
H A DASTImporter.cpp2023 auto TSIOrErr = import(Base1.getTypeSourceInfo()); in ImportDefinition()
2512 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitTypedefNameDecl()
3388 auto TInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitFunctionDecl()
3660 auto ToTInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitFieldDecl()
3924 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitObjCIvarDecl()
4044 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitVarDecl()
4147 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitParmVarDecl()
4323 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitObjCTypeParamDecl()
5132 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitObjCPropertyDecl()
5319 auto ToTypeSourceInfo = importChecked(Err, D->getTypeSourceInfo()); in VisitNonTypeTemplateParmDecl()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp82 if (D->getTypeSourceInfo()) in traverseParamVarHelper()
83 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in traverseParamVarHelper()
306 indexTypeSourceInfo(I.getTypeSourceInfo(), CXXRD, CXXRD, /*isBase=*/true); in indexTagDecl()
H A DIndexDecl.cpp89 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent, in handleDeclarator()
264 IndexCtx.indexTypeSourceInfo(Init->getTypeSourceInfo(), D); in VisitFunctionDecl()
353 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); in VisitTypedefNameDecl()
519 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); in VisitObjCPropertyDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DRecursiveASTVisitor.h819 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo())
857 if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo())
1576 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1584 if (D->getTypeSourceInfo())
1585 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1817 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1824 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
1874 TRY_TO(TraverseTypeLoc(Base.getTypeSourceInfo()->getTypeLoc()));
1971 if (D->getTypeSourceInfo())
1972 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
[all …]
H A DLocInfoType.h45 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo() function
H A DASTNodeTraverser.h225 if (const TypeSourceInfo *TSI = A.getTypeSourceInfo()) in Visit()
319 Visit(T->getTypeSourceInfo()->getType()); in VisitLocInfoType()
H A DTemplateBase.h515 TypeSourceInfo *getTypeSourceInfo() const {
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DTypeLocBuilder.h101 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo() function
H A DSemaTemplateInstantiateDecl.cpp846 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
1014 D->getTypeSourceInfo(), TemplateArgs, D->getTypeSpecStartLoc(), in VisitVarDecl()
1079 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
1085 DI = D->getTypeSourceInfo(); in VisitFieldDecl()
1161 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
1171 DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
2672 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
2702 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
2750 DI = D->getTypeSourceInfo(); in VisitNonTypeTemplateParmDecl()
2772 DI = SemaRef.SubstType(D->getTypeSourceInfo(), TemplateArgs, in VisitNonTypeTemplateParmDecl()
[all …]
H A DSemaLambda.cpp816 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in buildLambdaInitCaptureInitialization()
1437 From->getTypeSourceInfo(), From->getStorageClass(), in addFunctionPointerConversion()
1486 InvokerFunctionTy, CallOperator->getTypeSourceInfo(), SC_Static, in addFunctionPointerConversion()
1703 TSI = Capture.getVariable()->getTypeSourceInfo(); in BuildCaptureField()
1987 Block->setSignatureAsWritten(CallOperator->getTypeSourceInfo()); in BuildBlockForLambdaConversion()
1997 From->getIdentifier(), From->getType(), From->getTypeSourceInfo(), in BuildBlockForLambdaConversion()
H A DSemaTemplateInstantiate.cpp2100 return TLB.getTypeSourceInfo(Context, TL.getType()); in SubstType()
2110 return TLB.getTypeSourceInfo(Context, Result); in SubstType()
2195 return TLB.getTypeSourceInfo(Context, Result); in SubstFunctionDeclType()
2216 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec()
2317 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl()
2511 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
2531 TypeSourceInfo *BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
2558 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
2563 BaseTypeLoc = SubstType(Base.getTypeSourceInfo(), in SubstBaseSpecifiers()
H A DTreeTransform.h3655 = getSema().CheckPackExpansion(Pattern.getTypeSourceInfo(), in RebuildPackExpansion()
4351 TypeSourceInfo *DI = Input.getTypeSourceInfo(); in TransformTemplateArgument()
4628 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformType()
4694 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTypeWithDeducedTST()
4875 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTSIInObjectScope()
5520 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam()
5548 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformFunctionTypeParam()
5594 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in TransformFunctionTypeParams()
7070 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewExpansionType)); in TransformObjCObjectType()
7088 TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewTypeArg)); in TransformObjCObjectType()
[all …]
H A DSemaTemplateVariadic.cpp620 return TLB.getTypeSourceInfo(Context, Result); in CheckPackExpansion()
1064 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
1081 TLB.getTypeSourceInfo(Context, Pattern.getType()); in getTemplateArgumentPackExpansionPattern()
H A DSemaTemplate.cpp1252 Diag(NTTP->getTypeSourceInfo()->getTypeLoc().getBeginLoc(), in AttachTypeConstraint()
1254 << NTTP->getTypeSourceInfo()->getTypeLoc().getSourceRange(); in AttachTypeConstraint()
2107 TransformType(InnerTLB, OrigDecl->getTypeSourceInfo()->getTypeLoc()); in TransformTypedefType()
2108 TypeSourceInfo *TSI = InnerTLB.getTypeSourceInfo(Context, Transformed); in TransformTypedefType()
2204 FunctionProtoTypeLoc FPTL = CD->getTypeSourceInfo()->getTypeLoc() in transformConstructor()
2218 TypeSourceInfo *NewTInfo = TLB.getTypeSourceInfo(SemaRef.Context, NewType); in transformConstructor()
2373 TypeSourceInfo *OldDI = OldParam->getTypeSourceInfo(); in transformFunctionTypeParam()
2626 NTTP->getTypeSourceInfo(), in DiagnoseUnexpandedParameterPacks()
2745 NewNonTypeParm->getTypeSourceInfo(), in CheckTemplateParameterList()
3976 return CreateParsedType(T, TLB.getTypeSourceInfo(Context, T)); in ActOnTemplateIdType()
[all …]
H A DSemaExceptionSpec.cpp280 if (!Decl->getTypeSourceInfo()) in hasImplicitExceptionSpec()
283 auto *Ty = Decl->getTypeSourceInfo()->getType()->castAs<FunctionProtoType>(); in hasImplicitExceptionSpec()
457 if (TypeSourceInfo *TSInfo = New->getTypeSourceInfo()) { in CheckEquivalentExceptionSpec()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DProgramPoint.cpp126 QualType Ty = Init->getTypeSourceInfo()->getType(); in printJson()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp213 i->CastedExprParent.get<const VarDecl *>()->getTypeSourceInfo(); in checkASTCodeBody()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp558 if (TypeSourceInfo *BaseTSInfo = Base->getTypeSourceInfo()) { in VisitChildren()
698 if (TypeSourceInfo *TSInfo = D->getTypeSourceInfo()) in VisitTypeAliasDecl()
705 if (TypeSourceInfo *TSInfo = D->getTypeSourceInfo()) in VisitTypedefDecl()
791 if (TypeSourceInfo *TSInfo = DD->getTypeSourceInfo()) in VisitDeclaratorDecl()
827 if (TypeSourceInfo *TSInfo = ND->getTypeSourceInfo()) { in VisitFunctionDecl()
887 } else if (TypeSourceInfo *TInfo = Init->getTypeSourceInfo()) { in VisitFunctionDecl()
974 if (auto TInfo = D->getTypeSourceInfo()) { in VisitObjCTypeParamDecl()
1114 if (PD->getTypeSourceInfo() && Visit(PD->getTypeSourceInfo()->getTypeLoc())) in VisitObjCPropertyDecl()
1487 if (TypeSourceInfo *TSInfo = TAL.getTypeSourceInfo()) in VisitTemplateArgumentLoc()
2594 AddTypeLoc(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterStmt.cpp742 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitOffsetOfExpr()
1032 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
1205 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitConvertVectorExpr()
1612 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXTemporaryObjectExpr()
1761 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXScalarValueInitExpr()
1908 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXUnresolvedConstructExpr()

123