/external/clang/include/clang/AST/ |
D | DataRecursiveASTVisitor.h | 657 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); in TraverseNestedNameSpecifierLoc() 672 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); in TraverseDeclarationNameInfo() 745 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); in TraverseTemplateArgumentLoc() 783 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); in TraverseConstructorInitializer() 1104 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc())); 1113 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc())); 1217 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); 1248 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc())); 1255 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc())); 1329 TRY_TO(TraverseTypeLoc(D->getReturnTypeSourceInfo()->getTypeLoc())); [all …]
|
D | RecursiveASTVisitor.h | 723 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); in TraverseNestedNameSpecifierLoc() 738 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); in TraverseDeclarationNameInfo() 811 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); in TraverseTemplateArgumentLoc() 849 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); in TraverseConstructorInitializer() 1169 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc())); 1178 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc())); 1282 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); 1313 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc())); 1320 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc())); 1401 TRY_TO(TraverseTypeLoc(D->getReturnTypeSourceInfo()->getTypeLoc())); [all …]
|
D | DeclFriend.h | 154 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
|
D | NestedNameSpecifier.h | 318 TypeLoc getTypeLoc() const;
|
/external/clang/tools/libclang/ |
D | IndexTypeSourceInfo.cpp | 99 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo() 102 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC); in indexTypeSourceInfo() 146 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
|
D | CIndex.cpp | 548 return Visit(BaseTSInfo->getTypeLoc()); in VisitChildren() 559 A->getInterfaceLoc()->getTypeLoc().getLocStart(), TU)); in VisitChildren() 582 if (Visit(TSInfo->getTypeLoc())) in VisitBlockDecl() 668 return Visit(TSInfo->getTypeLoc()); in VisitTypeAliasDecl() 675 return Visit(TSInfo->getTypeLoc()); in VisitTypedefDecl() 704 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl() 740 if (Visit(DefArg->getTypeLoc())) in VisitTemplateTypeParmDecl() 761 if (Visit(TSInfo->getTypeLoc())) in VisitDeclaratorDecl() 789 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl() 841 if (Visit(TInfo->getTypeLoc())) in VisitFunctionDecl() [all …]
|
D | IndexingContext.cpp | 96 IBAttr->getInterfaceLoc()->getTypeLoc().getLocStart(); in AttrListInfo() 163 TL = Base.getTypeSourceInfo()->getTypeLoc(); in getBaseLoc()
|
/external/clang/lib/ARCMigrate/ |
D | TransARCAssign.cpp | 61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
|
D | TransGCAttrs.cpp | 64 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute() 248 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
|
/external/clang/lib/AST/ |
D | Comment.cpp | 238 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill() 294 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in fill()
|
D | ExprCXX.cpp | 132 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : RParenLoc; in getLocStart() 232 Location = Info->getTypeLoc().getLocalSourceRange().getBegin(); in PseudoDestructorTypeStorage() 280 End = TInfo->getTypeLoc().getLocalSourceRange().getEnd(); in getLocEnd() 723 return getTypeInfoAsWritten()->getTypeLoc().getLocStart(); in getLocStart() 809 Type->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr() 820 return Type->getTypeLoc().getBeginLoc(); in getLocStart() 1186 return Type->getTypeLoc().getBeginLoc(); in getLocStart()
|
D | NestedNameSpecifier.cpp | 424 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc 626 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
|
D | DeclTemplate.cpp | 507 ? DefaultArgument->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc() 514 DefaultArgument->getTypeLoc().getEndLoc()); in getSourceRange() 791 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
|
D | Decl.cpp | 1616 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc() 1718 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange() 2809 TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getReturnTypeSourceRange() 3511 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange() 3963 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange() 3971 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
|
D | TemplateBase.cpp | 441 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
|
D | DeclarationName.cpp | 578 return TInfo->getTypeLoc().getEndLoc(); in getEndLoc()
|
/external/clang/lib/Sema/ |
D | TypeLocBuilder.h | 111 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
|
D | SemaTemplateVariadic.cpp | 275 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack() 472 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion() 478 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion() 889 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
|
D | SemaType.cpp | 2809 DiagLoc = TInfo->getTypeLoc().getLocStart(); in GetFullTypeForDeclarator() 2810 FixitLoc = S.getLocForEndOfToken(TInfo->getTypeLoc().getLocEnd()); in GetFullTypeForDeclarator() 2822 TLB.pushFullCopy(TInfo->getTypeLoc()); in GetFullTypeForDeclarator() 3587 TypeLoc OldTL = TInfo->getTypeLoc(); in VisitTemplateSpecializationTypeLoc() 3645 TL.copy(TInfo->getTypeLoc().castAs<ElaboratedTypeLoc>()); in VisitElaboratedTypeLoc() 3661 TL.copy(TInfo->getTypeLoc().castAs<DependentNameTypeLoc>()); in VisitDependentNameTypeLoc() 3670 TInfo->getTypeLoc().castAs<DependentTemplateSpecializationTypeLoc>()); in VisitDependentTemplateSpecializationTypeLoc() 3685 TL.getValueLoc().initializeFullCopy(TInfo->getTypeLoc()); in VisitAtomicTypeLoc() 3742 TypeLoc ClsTL = ClsTInfo->getTypeLoc(); in VisitMemberPointerTypeLoc() 3761 NamedTL.initializeFullCopy(NNSLoc.getTypeLoc()); in VisitMemberPointerTypeLoc() [all …]
|
D | SemaDeclCXX.cpp | 865 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt() 1397 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier() 1401 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier() 3153 SourceLocation NameLoc = TInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildDelegatingInitializer() 3156 << TInfo->getTypeLoc().getLocalSourceRange(); in BuildDelegatingInitializer() 3211 = BaseTInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildBaseInitializer() 3215 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer() 3269 << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer() 3288 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer() 4597 if (TSI) Visit(TSI->getTypeLoc(), Sema::AbstractParamType); in Check() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 111 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr() 764 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl() 793 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl() 1903 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl() 2062 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks() 2452 TemplateSpecializationTypeLoc Loc = D->getTypeAsWritten()->getTypeLoc(). in VisitClassTemplateSpecializationDecl() 2991 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType() 2995 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType() 3990 TypeLoc BaseTL = Init->getTypeSourceInfo()->getTypeLoc(); in InstantiateMemInitializers()
|
D | SemaTemplateInstantiate.cpp | 1535 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType() 1583 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType() 1620 New->getTypeSourceInfo()->getTypeLoc().getLocEnd(), ESI, in SubstExceptionSpec() 1636 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl() 1766 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
|
D | TreeTransform.h | 3194 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, in TransformNestedNameSpecifierLoc() 3701 TemporaryBase Rebase(*this, DI->getTypeLoc().getBeginLoc(), in TransformType() 3708 TypeLoc TL = DI->getTypeLoc(); in TransformType() 3820 return TSI->getTypeLoc(); in TransformTypeInObjectScope() 3833 return TransformTSIInObjectScope(TSInfo->getTypeLoc(), ObjectType, in TransformTypeInObjectScope() 4359 TypeLoc OldTL = OldDI->getTypeLoc(); in TransformFunctionTypeParam() 4363 TypeLoc NewTL = OldDI->getTypeLoc(); in TransformFunctionTypeParam() 4424 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in TransformFunctionTypeParams() 8440 /*FIXME:*/T->getTypeLoc().getEndLoc(), in TransformCXXScalarValueInitExpr() 8772 TypeLoc FromTL = From->getTypeLoc(); in TransformTypeTraitExpr() [all …]
|
D | SemaExprCXX.cpp | 1013 SourceLocation TyBeginLoc = TInfo->getTypeLoc().getBeginLoc(); in BuildCXXTypeConstructExpr() 1269 SourceRange TypeRange = AllocTypeInfo->getTypeLoc().getSourceRange(); in BuildCXXNew() 1337 Diag(AllocTypeInfo->getTypeLoc().getBeginLoc(), in BuildCXXNew() 3802 OpaqueValueExpr(Args[I]->getTypeLoc().getLocStart(), in evaluateTypeTrait() 5513 = DestructedTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildPseudoDestructorExpr() 5518 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr() 5534 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr() 5558 Diag(ScopeTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(), in BuildPseudoDestructorExpr() 5561 << ScopeTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocSizeofChecker.cpp | 236 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
|