Home
last modified time | relevance | path

Searched refs:getTypeLoc (Results 1 – 25 of 51) sorted by relevance

123

/external/clang/include/clang/AST/
DDataRecursiveASTVisitor.h657 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 …]
DRecursiveASTVisitor.h723 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 …]
DDeclFriend.h154 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
DNestedNameSpecifier.h318 TypeLoc getTypeLoc() const;
/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp99 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo()
102 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC); in indexTypeSourceInfo()
146 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
DCIndex.cpp548 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 …]
DIndexingContext.cpp96 IBAttr->getInterfaceLoc()->getTypeLoc().getLocStart(); in AttrListInfo()
163 TL = Base.getTypeSourceInfo()->getTypeLoc(); in getBaseLoc()
/external/clang/lib/ARCMigrate/
DTransARCAssign.cpp61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
DTransGCAttrs.cpp64 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute()
248 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
/external/clang/lib/AST/
DComment.cpp238 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
294 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in fill()
DExprCXX.cpp132 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()
DNestedNameSpecifier.cpp424 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc
626 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
DDeclTemplate.cpp507 ? DefaultArgument->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc()
514 DefaultArgument->getTypeLoc().getEndLoc()); in getSourceRange()
791 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
DDecl.cpp1616 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()
DTemplateBase.cpp441 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
DDeclarationName.cpp578 return TInfo->getTypeLoc().getEndLoc(); in getEndLoc()
/external/clang/lib/Sema/
DTypeLocBuilder.h111 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
DSemaTemplateVariadic.cpp275 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack()
472 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion()
478 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion()
889 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
DSemaType.cpp2809 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 …]
DSemaDeclCXX.cpp865 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 …]
DSemaTemplateInstantiateDecl.cpp111 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()
DSemaTemplateInstantiate.cpp1535 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()
DTreeTransform.h3194 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 …]
DSemaExprCXX.cpp1013 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/
DMallocSizeofChecker.cpp236 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()

123