Searched refs:TL (Results 1 - 25 of 49) sorted by relevance

12

/external/clang/tools/libclang/
H A DIndexTypeSourceInfo.cpp30 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { argument
31 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(),
41 bool VisitTagTypeLoc(TagTypeLoc TL) { argument
42 TagDecl *D = TL.getDecl();
46 if (TL.isDefinition()) {
51 if (D->getLocation() == TL.getNameLoc())
54 IndexCtx.handleReference(D, TL.getNameLoc(),
59 bool VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) { argument
60 IndexCtx.handleReference(TL
65 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument
73 VisitTemplateSpecializationTypeLoc(TemplateSpecializationTypeLoc TL) argument
105 indexTypeLoc(TypeLoc TL, const NamedDecl *Parent, const DeclContext *DC) argument
[all...]
H A DRecursiveASTVisitor.h174 bool TraverseTypeLoc(TypeLoc TL);
342 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
347 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } argument
348 bool VisitTypeLoc(TypeLoc TL) { return true; } argument
352 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
353 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
355 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } argument
356 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { argument
357 return getDerived().VisitUnqualTypeLoc(TL
359 VisitUnqualTypeLoc(UnqualTypeLoc TL) argument
530 TraverseTypeLoc(TypeLoc TL) argument
943 TraverseQualifiedTypeLoc( QualifiedTypeLoc TL) argument
995 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument
2028 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local
[all...]
H A DCIndex.cpp500 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(),
502 TL != TLEnd; ++TL) {
503 if (Visit(MakeCXCursor(*TL, TU, RegionOfInterest), true))
678 TypeLoc TL = SpecType->getTypeLoc(); local
680 TL.getAs<TemplateSpecializationTypeLoc>()) {
757 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); local
758 FunctionTypeLoc FTL = TL.getAs<FunctionTypeLoc>();
764 (!FTL && Visit(TL)))
1385 bool CursorVisitor::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
1389 VisitBuiltinTypeLoc(BuiltinTypeLoc TL) argument
1438 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument
1442 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument
1446 VisitTagTypeLoc(TagTypeLoc TL) argument
1453 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument
1457 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument
1464 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument
1477 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument
1481 VisitParenTypeLoc(ParenTypeLoc TL) argument
1485 VisitPointerTypeLoc(PointerTypeLoc TL) argument
1489 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument
1493 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument
1497 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument
1501 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument
1505 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument
1509 VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType) argument
1522 VisitArrayTypeLoc(ArrayTypeLoc TL) argument
1532 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument
1547 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument
1551 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument
1558 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument
1565 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument
1572 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument
1587 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument
1594 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument
1598 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument
1605 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument
1609 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument
2363 TypeLoc TL = E->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local
[all...]
H A DIndexBody.cpp31 bool TraverseTypeLoc(TypeLoc TL) { argument
32 IndexCtx.indexTypeLoc(TL, Parent, ParentDC);
H A DCursorVisitor.h255 bool VisitTagTypeLoc(TagTypeLoc TL);
256 bool VisitArrayTypeLoc(ArrayTypeLoc TL);
257 bool VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType = false);
H A DIndexingContext.cpp162 TypeLoc TL; local
164 TL = Base.getTypeSourceInfo()->getTypeLoc();
165 if (TL.isNull())
168 if (QualifiedTypeLoc QL = TL.getAs<QualifiedTypeLoc>())
169 TL = QL.getUnqualifiedLoc();
171 if (ElaboratedTypeLoc EL = TL.getAs<ElaboratedTypeLoc>())
173 if (DependentNameTypeLoc DL = TL.getAs<DependentNameTypeLoc>())
176 TL.getAs<DependentTemplateSpecializationTypeLoc>())
/external/clang/lib/AST/
H A DTypeLoc.cpp38 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { argument
39 if (TL.isNull()) return SourceRange();
40 return TypeLocRanger().Visit(TL);
75 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { argument
76 return NextLoc().Visit(TL);
82 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, argument
85 switch (TL.getTypeLocClass()) {
89 CLASS##TypeLoc TLCasted = TL.castAs<CLASS##TypeLoc>(); \
91 TL = TLCasted.getNextTypeLoc(); \
92 if (!TL) retur
202 isKind(const TypeLoc &TL) argument
281 IgnoreParensImpl(TypeLoc TL) argument
[all...]
H A DComment.cpp240 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); local
242 TL = TL.IgnoreParens();
244 if (QualifiedTypeLoc QualifiedTL = TL.getAs<QualifiedTypeLoc>()) {
245 TL = QualifiedTL.getUnqualifiedLoc();
249 if (PointerTypeLoc PointerTL = TL.getAs<PointerTypeLoc>()) {
250 TL = PointerTL.getPointeeLoc().getUnqualifiedLoc();
254 TL.getAs<BlockPointerTypeLoc>()) {
255 TL = BlockPointerTL.getPointeeLoc().getUnqualifiedLoc();
259 TL
[all...]
H A DNestedNameSpecifier.cpp378 TypeLoc TL(Qualifier->getAsType(), TypeData);
379 return SourceRange(TL.getBeginLoc(),
502 TypeLoc TL,
506 TL.getTypePtr());
509 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity);
500 Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, SourceLocation ColonColonLoc) argument
/external/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp41 bool VisitAttributedTypeLoc(AttributedTypeLoc TL) { argument
42 handleAttr(TL);
64 TypeLoc TL = TInfo->getTypeLoc();
65 while (TL) {
66 if (QualifiedTypeLoc QL = TL.getAs<QualifiedTypeLoc>()) {
67 TL = QL.getUnqualifiedLoc();
68 } else if (AttributedTypeLoc Attr = TL.getAs<AttributedTypeLoc>()) {
71 TL = Attr.getModifiedLoc();
72 } else if (ArrayTypeLoc Arr = TL.getAs<ArrayTypeLoc>()) {
73 TL
83 handleAttr(AttributedTypeLoc TL, Decl *D = 0) argument
[all...]
H A DTransAutoreleasePool.cpp267 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { argument
268 return checkRef(TL.getBeginLoc(), TL.getTypedefNameDecl()->getLocation());
271 bool VisitTagTypeLoc(TagTypeLoc TL) { argument
272 return checkRef(TL.getBeginLoc(), TL.getDecl()->getLocation());
/external/clang/include/clang/AST/
H A DRecursiveASTVisitor.h181 bool TraverseTypeLoc(TypeLoc TL);
347 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
352 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } argument
353 bool VisitTypeLoc(TypeLoc TL) { return true; } argument
357 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
358 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
360 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } argument
361 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { argument
362 return getDerived().VisitUnqualTypeLoc(TL
364 VisitUnqualTypeLoc(UnqualTypeLoc TL) argument
589 TraverseTypeLoc(TypeLoc TL) argument
1001 TraverseQualifiedTypeLoc( QualifiedTypeLoc TL) argument
1053 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument
2101 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local
[all...]
H A DTypeLoc.h186 static void initializeImpl(ASTContext &Context, TypeLoc TL,
188 static TypeLoc getNextTypeLocImpl(TypeLoc TL);
189 static TypeLoc IgnoreParensImpl(TypeLoc TL);
190 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
215 static bool isKind(const TypeLoc &TL) { argument
216 return !TL.getType().hasLocalQualifiers();
261 static bool isKind(const TypeLoc &TL) { argument
262 return TL.getType().hasLocalQualifiers();
311 static bool isKind(const TypeLoc &TL) { argument
312 return Derived::classofType(TL
395 isKind(const TypeLoc &TL) argument
398 isKind(const UnqualTypeLoc &TL) argument
[all...]
H A DNestedNameSpecifier.h366 /// \param TL The TypeLoc that describes the type preceding the '::'.
369 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
/external/clang/lib/Sema/
H A DTreeTransform.h303 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
532 FunctionProtoTypeLoc TL,
541 TemplateSpecializationTypeLoc TL,
546 DependentTemplateSpecializationTypeLoc TL,
552 DependentTemplateSpecializationTypeLoc TL,
578 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL);
2523 TypeLoc TransformTypeInObjectScope(TypeLoc TL,
2795 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, local
2798 if (!TL)
2801 if (TL
3309 TypeLoc TL = DI->getTypeLoc(); local
3408 TransformTypeInObjectScope(TypeLoc TL, QualType ObjectType, NamedDecl *UnqualLookup, CXXScopeSpec &SS) argument
3475 TypeLoc TL = TSInfo->getTypeLoc(); local
3542 TransformPointerType(TypeLocBuilder &TLB, PointerTypeLoc TL) argument
3580 TransformBlockPointerType(TypeLocBuilder &TLB, BlockPointerTypeLoc TL) argument
3607 TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL) argument
3644 TransformLValueReferenceType(TypeLocBuilder &TLB, LValueReferenceTypeLoc TL) argument
3651 TransformRValueReferenceType(TypeLocBuilder &TLB, RValueReferenceTypeLoc TL) argument
3658 TransformMemberPointerType(TypeLocBuilder &TLB, MemberPointerTypeLoc TL) argument
3702 TransformConstantArrayType(TypeLocBuilder &TLB, ConstantArrayTypeLoc TL) argument
3742 TransformIncompleteArrayType( TypeLocBuilder &TLB, IncompleteArrayTypeLoc TL) argument
3771 TransformVariableArrayType(TypeLocBuilder &TLB, VariableArrayTypeLoc TL) argument
3808 TransformDependentSizedArrayType(TypeLocBuilder &TLB, DependentSizedArrayTypeLoc TL) argument
3855 TransformDependentSizedExtVectorType( TypeLocBuilder &TLB, DependentSizedExtVectorTypeLoc TL) argument
3899 TransformVectorType(TypeLocBuilder &TLB, VectorTypeLoc TL) argument
3922 TransformExtVectorType(TypeLocBuilder &TLB, ExtVectorTypeLoc TL) argument
4021 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); local
4199 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL) argument
4206 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals) argument
4283 TransformFunctionNoProtoType( TypeLocBuilder &TLB, FunctionNoProtoTypeLoc TL) argument
4306 TransformUnresolvedUsingType(TypeLocBuilder &TLB, UnresolvedUsingTypeLoc TL) argument
4329 TransformTypedefType(TypeLocBuilder &TLB, TypedefTypeLoc TL) argument
4353 TransformTypeOfExprType(TypeLocBuilder &TLB, TypeOfExprTypeLoc TL) argument
4385 TransformTypeOfType(TypeLocBuilder &TLB, TypeOfTypeLoc TL) argument
4409 TransformDecltypeType(TypeLocBuilder &TLB, DecltypeTypeLoc TL) argument
4441 TransformUnaryTransformType( TypeLocBuilder &TLB, UnaryTransformTypeLoc TL) argument
4464 TransformAutoType(TypeLocBuilder &TLB, AutoTypeLoc TL) argument
4489 TransformRecordType(TypeLocBuilder &TLB, RecordTypeLoc TL) argument
4513 TransformEnumType(TypeLocBuilder &TLB, EnumTypeLoc TL) argument
4537 TransformInjectedClassNameType( TypeLocBuilder &TLB, InjectedClassNameTypeLoc TL) argument
4550 TransformTemplateTypeParmType( TypeLocBuilder &TLB, TemplateTypeParmTypeLoc TL) argument
4557 TransformSubstTemplateTypeParmType( TypeLocBuilder &TLB, SubstTemplateTypeParmTypeLoc TL) argument
4585 TransformSubstTemplateTypeParmPackType( TypeLocBuilder &TLB, SubstTemplateTypeParmPackTypeLoc TL) argument
4592 TransformTemplateSpecializationType( TypeLocBuilder &TLB, TemplateSpecializationTypeLoc TL) argument
4610 TransformAtomicType(TypeLocBuilder &TLB, AtomicTypeLoc TL) argument
4698 TransformTemplateSpecializationType( TypeLocBuilder &TLB, TemplateSpecializationTypeLoc TL, TemplateName Template) argument
4752 TransformDependentTemplateSpecializationType( TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL, TemplateName Template, CXXScopeSpec &SS) argument
4812 TransformElaboratedType(TypeLocBuilder &TLB, ElaboratedTypeLoc TL) argument
4864 TransformAttributedType( TypeLocBuilder &TLB, AttributedTypeLoc TL) argument
4902 TransformParenType(TypeLocBuilder &TLB, ParenTypeLoc TL) argument
4923 TransformDependentNameType(TypeLocBuilder &TLB, DependentNameTypeLoc TL) argument
4959 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL) argument
4975 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL, NestedNameSpecifierLoc QualifierLoc) argument
5042 TransformPackExpansionType(TypeLocBuilder &TLB, PackExpansionTypeLoc TL) argument
5067 TransformObjCInterfaceType(TypeLocBuilder &TLB, ObjCInterfaceTypeLoc TL) argument
5076 TransformObjCObjectType(TypeLocBuilder &TLB, ObjCObjectTypeLoc TL) argument
5085 TransformObjCObjectPointerType(TypeLocBuilder &TLB, ObjCObjectPointerTypeLoc TL) argument
[all...]
H A DSemaType.cpp3168 static void fillAttributedTypeLoc(AttributedTypeLoc TL, argument
3170 AttributedType::Kind kind = TL.getAttrKind();
3179 TL.setAttrNameLoc(attrs->getLoc());
3180 if (TL.hasAttrExprOperand())
3181 TL.setAttrExprOperand(attrs->getArg(0));
3182 else if (TL.hasAttrEnumOperand())
3183 TL.setAttrEnumOperandLoc(attrs->getParameterLoc());
3186 if (TL.hasAttrOperand())
3187 TL.setAttrOperandParensRange(SourceRange());
3199 void VisitAttributedTypeLoc(AttributedTypeLoc TL) { argument
3203 VisitQualifiedTypeLoc(QualifiedTypeLoc TL) argument
3206 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument
3209 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument
3216 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument
3240 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument
3244 VisitTemplateSpecializationTypeLoc(TemplateSpecializationTypeLoc TL) argument
3265 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument
3270 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument
3279 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument
3289 VisitBuiltinTypeLoc(BuiltinTypeLoc TL) argument
3304 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument
3322 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument
3329 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument
3338 VisitTagTypeLoc(TagTypeLoc TL) argument
3341 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument
3351 VisitTypeLoc(TypeLoc TL) argument
3365 VisitQualifiedTypeLoc(QualifiedTypeLoc TL) argument
3369 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument
3372 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument
3376 VisitPointerTypeLoc(PointerTypeLoc TL) argument
3380 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument
3384 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument
3428 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument
3434 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument
3439 VisitArrayTypeLoc(ArrayTypeLoc TL) argument
3445 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument
3459 VisitParenTypeLoc(ParenTypeLoc TL) argument
3465 VisitTypeLoc(TypeLoc TL) argument
3504 TypeLoc TL = ReturnTypeInfo->getTypeLoc(); local
[all...]
H A DSemaTemplateInstantiate.cpp826 FunctionProtoTypeLoc TL);
828 FunctionProtoTypeLoc TL,
840 TemplateTypeParmTypeLoc TL);
846 SubstTemplateTypeParmPackTypeLoc TL);
1351 FunctionProtoTypeLoc TL) {
1354 return inherited::TransformFunctionProtoType(TLB, TL);
1358 FunctionProtoTypeLoc TL,
1363 return inherited::TransformFunctionProtoType(TLB, TL, ThisContext,
1378 TemplateTypeParmTypeLoc TL) {
1379 const TemplateTypeParmType *T = TL
1350 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL) argument
1357 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals) argument
1377 TransformTemplateTypeParmType(TypeLocBuilder &TLB, TemplateTypeParmTypeLoc TL) argument
1452 TransformSubstTemplateTypeParmPackType( TypeLocBuilder &TLB, SubstTemplateTypeParmPackTypeLoc TL) argument
1520 SubstType(TypeLoc TL, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity) argument
1616 TypeLoc TL = T->getTypeLoc(); local
[all...]
H A DSemaTemplateVariadic.cpp52 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { argument
53 if (TL.getTypePtr()->isParameterPack())
54 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc()));
131 bool TraverseTypeLoc(TypeLoc TL) { argument
132 if ((!TL.getType().isNull() &&
133 TL.getType()->containsUnexpandedParameterPack()) ||
135 return inherited::TraverseTypeLoc(TL);
376 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, argument
378 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL);
464 PackExpansionTypeLoc TL = local
[all...]
H A DSemaDeclCXX.cpp801 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); local
802 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla)
803 << TL.getSourceRange() << TL.getType()
3809 void CheckType(const NamedDecl *D, TypeLoc TL, Sema::AbstractDiagSelID Sel);
3819 void Visit(TypeLoc TL, Sema::AbstractDiagSelID Sel) { argument
3820 switch (TL.getTypeLocClass()) {
3823 case TypeLoc::CLASS: Check(TL.castAs<CLASS##TypeLoc>(), Sel); break;
3828 void Check(FunctionProtoTypeLoc TL, Sema::AbstractDiagSelID Sel) { argument
3829 Visit(TL
3839 Check(ArrayTypeLoc TL, Sema::AbstractDiagSelID Sel) argument
3843 Check(TemplateSpecializationTypeLoc TL, Sema::AbstractDiagSelID Sel) argument
3867 Check(TypeLoc TL, Sema::AbstractDiagSelID Sel) argument
3899 CheckType(const NamedDecl *D, TypeLoc TL, Sema::AbstractDiagSelID Sel) argument
10584 DependentNameTypeLoc TL = local
10590 ElaboratedTypeLoc TL = TSI->getTypeLoc().castAs<ElaboratedTypeLoc>(); local
10613 DependentNameTypeLoc TL = TSI->getTypeLoc().castAs<DependentNameTypeLoc>(); local
[all...]
H A DSemaCXXScopeSpec.cpp617 SubstTemplateTypeParmTypeLoc TL local
619 TL.setNameLoc(IdentifierLoc);
621 SubstTemplateTypeParmPackTypeLoc TL local
623 TL.setNameLoc(IdentifierLoc);
H A DDeclSpec.cpp55 TypeLoc TL, SourceLocation ColonColonLoc) {
56 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc);
58 Range.setBegin(TL.getBeginLoc());
54 Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, SourceLocation ColonColonLoc) argument
/external/clang/lib/Serialization/
H A DASTWriter.cpp429 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
432 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { argument
433 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record);
434 if (TL.needsExtraLocalData()) {
435 Record.push_back(TL.getWrittenTypeSpec());
436 Record.push_back(TL.getWrittenSignSpec());
437 Record.push_back(TL.getWrittenWidthSpec());
438 Record.push_back(TL.hasModeAttr());
441 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { argument
442 Writer.AddSourceLocation(TL
444 VisitPointerTypeLoc(PointerTypeLoc TL) argument
447 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument
450 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument
453 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument
456 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument
460 VisitArrayTypeLoc(ArrayTypeLoc TL) argument
467 VisitConstantArrayTypeLoc(ConstantArrayTypeLoc TL) argument
470 VisitIncompleteArrayTypeLoc(IncompleteArrayTypeLoc TL) argument
473 VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) argument
476 VisitDependentSizedArrayTypeLoc( DependentSizedArrayTypeLoc TL) argument
480 VisitDependentSizedExtVectorTypeLoc( DependentSizedExtVectorTypeLoc TL) argument
484 VisitVectorTypeLoc(VectorTypeLoc TL) argument
487 VisitExtVectorTypeLoc(ExtVectorTypeLoc TL) argument
490 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument
498 VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) argument
501 VisitFunctionNoProtoTypeLoc(FunctionNoProtoTypeLoc TL) argument
504 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument
507 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument
510 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument
515 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument
521 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument
524 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument
530 VisitAutoTypeLoc(AutoTypeLoc TL) argument
533 VisitRecordTypeLoc(RecordTypeLoc TL) argument
536 VisitEnumTypeLoc(EnumTypeLoc TL) argument
539 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument
554 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument
557 VisitSubstTemplateTypeParmTypeLoc( SubstTemplateTypeParmTypeLoc TL) argument
561 VisitSubstTemplateTypeParmPackTypeLoc( SubstTemplateTypeParmPackTypeLoc TL) argument
565 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument
575 VisitParenTypeLoc(ParenTypeLoc TL) argument
579 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument
583 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument
586 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument
591 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument
603 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument
606 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument
609 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument
616 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument
619 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument
4182 AddTypeLoc(TypeLoc TL, RecordDataImpl &Record) argument
[all...]
H A DASTReader.cpp4687 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
4690 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { argument
4691 TL.setBuiltinLoc(ReadSourceLocation(Record, Idx));
4692 if (TL.needsExtraLocalData()) {
4693 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Record[Idx++]));
4694 TL.setWrittenSignSpec(static_cast<DeclSpec::TSS>(Record[Idx++]));
4695 TL.setWrittenWidthSpec(static_cast<DeclSpec::TSW>(Record[Idx++]));
4696 TL.setModeAttr(Record[Idx++]);
4699 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { argument
4700 TL
4702 VisitPointerTypeLoc(PointerTypeLoc TL) argument
4705 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument
4708 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument
4711 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument
4714 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument
4718 VisitArrayTypeLoc(ArrayTypeLoc TL) argument
4726 VisitConstantArrayTypeLoc(ConstantArrayTypeLoc TL) argument
4729 VisitIncompleteArrayTypeLoc(IncompleteArrayTypeLoc TL) argument
4732 VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) argument
4735 VisitDependentSizedArrayTypeLoc( DependentSizedArrayTypeLoc TL) argument
4739 VisitDependentSizedExtVectorTypeLoc( DependentSizedExtVectorTypeLoc TL) argument
4743 VisitVectorTypeLoc(VectorTypeLoc TL) argument
4746 VisitExtVectorTypeLoc(ExtVectorTypeLoc TL) argument
4749 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument
4758 VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) argument
4761 VisitFunctionNoProtoTypeLoc(FunctionNoProtoTypeLoc TL) argument
4764 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument
4767 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument
4770 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument
4775 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument
4781 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument
4784 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument
4790 VisitAutoTypeLoc(AutoTypeLoc TL) argument
4793 VisitRecordTypeLoc(RecordTypeLoc TL) argument
4796 VisitEnumTypeLoc(EnumTypeLoc TL) argument
4799 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument
4815 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument
4818 VisitSubstTemplateTypeParmTypeLoc( SubstTemplateTypeParmTypeLoc TL) argument
4822 VisitSubstTemplateTypeParmPackTypeLoc( SubstTemplateTypeParmPackTypeLoc TL) argument
4826 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument
4838 VisitParenTypeLoc(ParenTypeLoc TL) argument
4842 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument
4846 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument
4849 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument
4854 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument
4868 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument
4871 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument
4874 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument
4881 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument
4884 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument
[all...]
/external/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1417 APInt TL(APInt::getSignedMinValue(Bits));
1422 TL = maxAPInt(TL, ceilingOfQuotient(-X, TMUL));
1423 DEBUG(dbgs() << "\t TL = " << TL << "\n");
1433 TL = maxAPInt(TL, ceilingOfQuotient(UM - X, TMUL));
1434 DEBUG(dbgs() << "\t TL = " << TL << "\n");
1441 TL
[all...]
/external/clang/lib/Lex/
H A DTokenLexer.cpp577 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID),
585 bool isInvalid = !TL.LexFromRawLexer(Result);

Completed in 431 milliseconds

12