/external/clang/include/clang/AST/ |
D | RecursiveASTVisitor.h | 682 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); 697 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); 770 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); 808 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); 1132 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc())); 1141 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc())); 1201 TRY_TO(TraverseTypeLoc(TL.getTypeArgTInfo(i)->getTypeLoc())); 1247 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); 1278 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc())); 1285 TRY_TO(TraverseTypeLoc(D->getFriendType()->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 | 549 return Visit(BaseTSInfo->getTypeLoc()); in VisitChildren() 560 A->getInterfaceLoc()->getTypeLoc().getLocStart(), TU)); in VisitChildren() 583 if (Visit(TSInfo->getTypeLoc())) in VisitBlockDecl() 676 return Visit(TSInfo->getTypeLoc()); in VisitTypeAliasDecl() 683 return Visit(TSInfo->getTypeLoc()); in VisitTypedefDecl() 712 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl() 748 if (Visit(DefArg->getTypeLoc())) in VisitTemplateTypeParmDecl() 769 if (Visit(TSInfo->getTypeLoc())) in VisitDeclaratorDecl() 797 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl() 849 if (Visit(TInfo->getTypeLoc())) in VisitFunctionDecl() [all …]
|
/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() 246 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() 1195 return Type->getTypeLoc().getBeginLoc(); in getLocStart()
|
D | NestedNameSpecifier.cpp | 424 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc 628 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
|
D | DeclTemplate.cpp | 511 ? getDefaultArgumentInfo()->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc() 518 getDefaultArgumentInfo()->getTypeLoc().getEndLoc()); in getSourceRange() 812 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
|
D | Decl.cpp | 1642 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc() 1742 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange() 2835 TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getReturnTypeSourceRange() 3537 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange() 3978 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange() 3986 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
|
D | TemplateBase.cpp | 439 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
|
D | DeclarationName.cpp | 578 return TInfo->getTypeLoc().getEndLoc(); in getEndLoc()
|
D | ExprObjC.cpp | 315 return getClassReceiverTypeInfo()->getTypeLoc().getSourceRange(); in getReceiverRange()
|
/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() 890 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
|
D | SemaType.cpp | 795 if (TypeLoc qual = typeArgInfo->getTypeLoc().findExplicitQualifierLoc()) { in applyObjCTypeArgs() 872 S.Diag(typeArgInfo->getTypeLoc().getLocStart(), in applyObjCTypeArgs() 900 S.Diag(typeArgInfo->getTypeLoc().getLocStart(), in applyObjCTypeArgs() 918 S.Diag(typeArgInfo->getTypeLoc().getLocStart(), in applyObjCTypeArgs() 921 << typeArgInfo->getTypeLoc().getSourceRange(); in applyObjCTypeArgs() 1049 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType() 1109 T, BaseTypeInfo->getTypeLoc().getSourceRange().getBegin(), in actOnObjCTypeArgsAndProtocolQualifiers() 1122 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers() 1161 ObjCObjectTL.getBaseLoc().initializeFullCopy(BaseTypeInfo->getTypeLoc()); in actOnObjCTypeArgsAndProtocolQualifiers() 3793 DiagLoc = TInfo->getTypeLoc().getLocStart(); in GetFullTypeForDeclarator() [all …]
|
D | SemaDeclObjC.cpp | 587 IDecl->setEndOfDefinitionLoc(SuperClassTInfo->getTypeLoc().getLocEnd()); in ActOnSuperClassOfClassInterface() 610 typeBoundInfo->getTypeLoc().getEndLoc()); in actOnObjCTypeParam() 611 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam() 619 builder.pushFullCopy(typeBoundInfo->getTypeLoc()); in actOnObjCTypeParam() 631 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam() 643 TypeLoc qual = typeBoundInfo->getTypeLoc().findExplicitQualifierLoc(); in actOnObjCTypeParam() 662 : typeBoundInfo->getTypeLoc().getLocStart(), in actOnObjCTypeParam() 847 ->getTypeLoc().getSourceRange(); in checkTypeParamListConsistency() 2190 return (TSI ? TSI->getTypeLoc().getSourceRange() : SourceRange()); in getTypeRange() 4206 ? DI->getTypeLoc().getBeginLoc() in ActOnMethodDeclaration()
|
D | SemaDeclCXX.cpp | 888 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt() 1369 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier() 1373 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier() 2996 ElaboratedTypeLoc TL = TInfo->getTypeLoc().castAs<ElaboratedTypeLoc>(); in BuildMemInitializer() 3136 SourceLocation NameLoc = TInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildDelegatingInitializer() 3139 << TInfo->getTypeLoc().getLocalSourceRange(); in BuildDelegatingInitializer() 3194 = BaseTInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildBaseInitializer() 3198 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer() 3252 << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer() 3271 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 111 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr() 796 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl() 833 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl() 1968 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl() 2126 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks() 2516 TemplateSpecializationTypeLoc Loc = D->getTypeAsWritten()->getTypeLoc(). in VisitClassTemplateSpecializationDecl() 3054 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType() 3058 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType() 4043 TypeLoc BaseTL = Init->getTypeSourceInfo()->getTypeLoc(); in InstantiateMemInitializers()
|
D | SemaTemplateInstantiate.cpp | 1519 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType() 1567 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType() 1604 New->getTypeSourceInfo()->getTypeLoc().getLocEnd(), ESI, in SubstExceptionSpec() 1620 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl() 1765 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
|
D | TreeTransform.h | 3382 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, in TransformNestedNameSpecifierLoc() 3889 TemporaryBase Rebase(*this, DI->getTypeLoc().getBeginLoc(), in TransformType() 3896 TypeLoc TL = DI->getTypeLoc(); in TransformType() 4008 return TSI->getTypeLoc(); in TransformTypeInObjectScope() 4021 return TransformTSIInObjectScope(TSInfo->getTypeLoc(), ObjectType, in TransformTypeInObjectScope() 4547 TypeLoc OldTL = OldDI->getTypeLoc(); in TransformFunctionTypeParam() 4551 TypeLoc NewTL = OldDI->getTypeLoc(); in TransformFunctionTypeParam() 4612 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in TransformFunctionTypeParams() 5797 TypeLoc TypeArgLoc = TypeArgInfo->getTypeLoc(); in TransformObjCObjectType() 9111 /*FIXME:*/T->getTypeLoc().getEndLoc(), in TransformCXXScalarValueInitExpr() [all …]
|
D | SemaExprCXX.cpp | 1012 SourceLocation TyBeginLoc = TInfo->getTypeLoc().getBeginLoc(); in BuildCXXTypeConstructExpr() 1277 SourceRange TypeRange = AllocTypeInfo->getTypeLoc().getSourceRange(); in BuildCXXNew() 1345 Diag(AllocTypeInfo->getTypeLoc().getBeginLoc(), in BuildCXXNew() 4127 OpaqueValueExpr(Args[I]->getTypeLoc().getLocStart(), in evaluateTypeTrait() 5844 = DestructedTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildPseudoDestructorExpr() 5849 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr() 5865 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr() 5889 Diag(ScopeTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(), in BuildPseudoDestructorExpr() 5892 << ScopeTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocSizeofChecker.cpp | 235 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
|