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

123

/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 DCIndex.cpp525 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(),
527 TL != TLEnd; ++TL) {
528 if (Visit(MakeCXCursor(*TL, TU, RegionOfInterest), true))
704 TypeLoc TL = SpecType->getTypeLoc(); local
706 TL.getAs<TemplateSpecializationTypeLoc>()) {
789 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); local
790 FunctionTypeLoc FTL = TL.getAs<FunctionTypeLoc>();
796 (!FTL && Visit(TL)))
1406 bool CursorVisitor::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
1410 VisitBuiltinTypeLoc(BuiltinTypeLoc TL) argument
1459 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument
1463 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument
1467 VisitTagTypeLoc(TagTypeLoc TL) argument
1474 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument
1478 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument
1485 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument
1498 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument
1502 VisitParenTypeLoc(ParenTypeLoc TL) argument
1506 VisitPointerTypeLoc(PointerTypeLoc TL) argument
1510 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument
1514 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument
1518 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument
1522 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument
1526 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument
1530 VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType) argument
1543 VisitArrayTypeLoc(ArrayTypeLoc TL) argument
1553 VisitDecayedTypeLoc(DecayedTypeLoc TL) argument
1557 VisitAdjustedTypeLoc(AdjustedTypeLoc TL) argument
1561 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument
1576 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument
1580 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument
1587 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument
1594 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument
1601 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument
1616 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument
1623 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument
1627 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument
1634 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument
1638 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument
2692 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.cpp161 TypeLoc TL; local
163 TL = Base.getTypeSourceInfo()->getTypeLoc();
164 if (TL.isNull())
167 if (QualifiedTypeLoc QL = TL.getAs<QualifiedTypeLoc>())
168 TL = QL.getUnqualifiedLoc();
170 if (ElaboratedTypeLoc EL = TL.getAs<ElaboratedTypeLoc>())
172 if (DependentNameTypeLoc DL = TL.getAs<DependentNameTypeLoc>())
175 TL.getAs<DependentTemplateSpecializationTypeLoc>())
/external/clang/lib/AST/
H A DComment.cpp238 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); local
240 TL = TL.IgnoreParens();
242 if (QualifiedTypeLoc QualifiedTL = TL.getAs<QualifiedTypeLoc>()) {
243 TL = QualifiedTL.getUnqualifiedLoc();
247 if (PointerTypeLoc PointerTL = TL.getAs<PointerTypeLoc>()) {
248 TL = PointerTL.getPointeeLoc().getUnqualifiedLoc();
252 if (ReferenceTypeLoc ReferenceTL = TL.getAs<ReferenceTypeLoc>()) {
253 TL = ReferenceTL.getPointeeLoc().getUnqualifiedLoc();
257 if (AdjustedTypeLoc ATL = TL
294 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); local
[all...]
H A DTypeLoc.cpp38 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { argument
39 if (TL.isNull()) return SourceRange();
40 return TypeLocRanger().Visit(TL);
103 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { argument
104 return NextLoc().Visit(TL);
110 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, argument
113 switch (TL.getTypeLocClass()) {
117 CLASS##TypeLoc TLCasted = TL.castAs<CLASS##TypeLoc>(); \
119 TL = TLCasted.getNextTypeLoc(); \
120 if (!TL) retur
230 isKind(const TypeLoc &TL) argument
309 IgnoreParensImpl(TypeLoc TL) argument
[all...]
H A DASTTypeTraits.cpp122 else if (const TypeLoc *TL = get<TypeLoc>())
123 TL->getType().print(OS, PP);
148 if (const TypeLoc *TL = get<TypeLoc>())
149 return TL->getSourceRange();
H A DNestedNameSpecifier.cpp415 TypeLoc TL(Qualifier->getAsType(), TypeData);
416 return SourceRange(TL.getBeginLoc(),
535 TypeLoc TL,
539 TL.getTypePtr());
542 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity);
533 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 = nullptr) 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 DDataRecursiveASTVisitor.h172 bool TraverseTypeLoc(TypeLoc TL);
362 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
367 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } argument
368 bool VisitTypeLoc(TypeLoc TL) { return true; } argument
372 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
373 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
375 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } argument
376 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { argument
377 return getDerived().VisitUnqualTypeLoc(TL
379 VisitUnqualTypeLoc(UnqualTypeLoc TL) argument
562 TraverseTypeLoc(TypeLoc TL) argument
974 TraverseQualifiedTypeLoc(QualifiedTypeLoc TL) argument
1027 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument
2136 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local
[all...]
H A DRecursiveASTVisitor.h176 bool TraverseTypeLoc(TypeLoc TL);
364 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
369 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } argument
370 bool VisitTypeLoc(TypeLoc TL) { return true; } argument
374 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
375 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
377 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } argument
378 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { argument
379 return getDerived().VisitUnqualTypeLoc(TL
381 VisitUnqualTypeLoc(UnqualTypeLoc TL) argument
629 TraverseTypeLoc(TypeLoc TL) argument
1039 TraverseQualifiedTypeLoc(QualifiedTypeLoc TL) argument
1092 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument
2166 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local
[all...]
H A DTypeLoc.h193 static void initializeImpl(ASTContext &Context, TypeLoc TL,
195 static TypeLoc getNextTypeLocImpl(TypeLoc TL);
196 static TypeLoc IgnoreParensImpl(TypeLoc TL);
197 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
222 static bool isKind(const TypeLoc &TL) { argument
223 return !TL.getType().hasLocalQualifiers();
273 static bool isKind(const TypeLoc &TL) { argument
274 return TL.getType().hasLocalQualifiers();
320 static bool isKind(const TypeLoc &TL) { argument
321 return !TL
431 isKind(const TypeLoc &TL) argument
435 isKind(const UnqualTypeLoc &TL) argument
[all...]
H A DNestedNameSpecifier.h385 /// \param TL The TypeLoc that describes the type preceding the '::'.
388 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
/external/clang/lib/Sema/
H A DTreeTransform.h307 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
568 FunctionProtoTypeLoc TL,
582 TemplateSpecializationTypeLoc TL,
587 DependentTemplateSpecializationTypeLoc TL,
592 TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL,
618 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL);
2855 TypeLoc TransformTypeInObjectScope(TypeLoc TL,
2865 TypeSourceInfo *TransformTSIInObjectScope(TypeLoc TL, QualType ObjectType,
3194 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, local
3197 if (!TL)
3708 TypeLoc TL = DI->getTypeLoc(); local
3810 TransformTypeInObjectScope(TypeLoc TL, QualType ObjectType, NamedDecl *UnqualLookup, CXXScopeSpec &SS) argument
3838 TransformTSIInObjectScope( TypeLoc TL, QualType ObjectType, NamedDecl *UnqualLookup, CXXScopeSpec &SS) argument
3913 TransformAdjustedType(TypeLocBuilder &TLB, AdjustedTypeLoc TL) argument
3920 TransformDecayedType(TypeLocBuilder &TLB, DecayedTypeLoc TL) argument
3936 TransformPointerType(TypeLocBuilder &TLB, PointerTypeLoc TL) argument
3974 TransformBlockPointerType(TypeLocBuilder &TLB, BlockPointerTypeLoc TL) argument
4001 TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL) argument
4038 TransformLValueReferenceType(TypeLocBuilder &TLB, LValueReferenceTypeLoc TL) argument
4045 TransformRValueReferenceType(TypeLocBuilder &TLB, RValueReferenceTypeLoc TL) argument
4052 TransformMemberPointerType(TypeLocBuilder &TLB, MemberPointerTypeLoc TL) argument
4104 TransformConstantArrayType(TypeLocBuilder &TLB, ConstantArrayTypeLoc TL) argument
4144 TransformIncompleteArrayType( TypeLocBuilder &TLB, IncompleteArrayTypeLoc TL) argument
4173 TransformVariableArrayType(TypeLocBuilder &TLB, VariableArrayTypeLoc TL) argument
4212 TransformDependentSizedArrayType(TypeLocBuilder &TLB, DependentSizedArrayTypeLoc TL) argument
4259 TransformDependentSizedExtVectorType( TypeLocBuilder &TLB, DependentSizedExtVectorTypeLoc TL) argument
4303 TransformVectorType(TypeLocBuilder &TLB, VectorTypeLoc TL) argument
4326 TransformExtVectorType(TypeLocBuilder &TLB, ExtVectorTypeLoc TL) argument
4424 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); local
4602 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL) argument
4615 TransformFunctionProtoType( TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals, Fn TransformExceptionSpec) argument
4794 TransformFunctionNoProtoType( TypeLocBuilder &TLB, FunctionNoProtoTypeLoc TL) argument
4816 TransformUnresolvedUsingType(TypeLocBuilder &TLB, UnresolvedUsingTypeLoc TL) argument
4839 TransformTypedefType(TypeLocBuilder &TLB, TypedefTypeLoc TL) argument
4863 TransformTypeOfExprType(TypeLocBuilder &TLB, TypeOfExprTypeLoc TL) argument
4895 TransformTypeOfType(TypeLocBuilder &TLB, TypeOfTypeLoc TL) argument
4919 TransformDecltypeType(TypeLocBuilder &TLB, DecltypeTypeLoc TL) argument
4951 TransformUnaryTransformType( TypeLocBuilder &TLB, UnaryTransformTypeLoc TL) argument
4974 TransformAutoType(TypeLocBuilder &TLB, AutoTypeLoc TL) argument
5000 TransformRecordType(TypeLocBuilder &TLB, RecordTypeLoc TL) argument
5024 TransformEnumType(TypeLocBuilder &TLB, EnumTypeLoc TL) argument
5048 TransformInjectedClassNameType( TypeLocBuilder &TLB, InjectedClassNameTypeLoc TL) argument
5061 TransformTemplateTypeParmType( TypeLocBuilder &TLB, TemplateTypeParmTypeLoc TL) argument
5068 TransformSubstTemplateTypeParmType( TypeLocBuilder &TLB, SubstTemplateTypeParmTypeLoc TL) argument
5096 TransformSubstTemplateTypeParmPackType( TypeLocBuilder &TLB, SubstTemplateTypeParmPackTypeLoc TL) argument
5103 TransformTemplateSpecializationType( TypeLocBuilder &TLB, TemplateSpecializationTypeLoc TL) argument
5121 TransformAtomicType(TypeLocBuilder &TLB, AtomicTypeLoc TL) argument
5209 TransformTemplateSpecializationType( TypeLocBuilder &TLB, TemplateSpecializationTypeLoc TL, TemplateName Template) argument
5263 TransformDependentTemplateSpecializationType( TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL, TemplateName Template, CXXScopeSpec &SS) argument
5323 TransformElaboratedType(TypeLocBuilder &TLB, ElaboratedTypeLoc TL) argument
5375 TransformAttributedType( TypeLocBuilder &TLB, AttributedTypeLoc TL) argument
5413 TransformParenType(TypeLocBuilder &TLB, ParenTypeLoc TL) argument
5434 TransformDependentNameType(TypeLocBuilder &TLB, DependentNameTypeLoc TL) argument
5470 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL) argument
5486 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL, NestedNameSpecifierLoc QualifierLoc) argument
5553 TransformPackExpansionType(TypeLocBuilder &TLB, PackExpansionTypeLoc TL) argument
5578 TransformObjCInterfaceType(TypeLocBuilder &TLB, ObjCInterfaceTypeLoc TL) argument
5587 TransformObjCObjectType(TypeLocBuilder &TLB, ObjCObjectTypeLoc TL) argument
5596 TransformObjCObjectPointerType(TypeLocBuilder &TLB, ObjCObjectPointerTypeLoc TL) argument
[all...]
H A DSemaType.cpp3493 static void fillAttributedTypeLoc(AttributedTypeLoc TL, argument
3495 AttributedType::Kind kind = TL.getAttrKind();
3504 TL.setAttrNameLoc(attrs->getLoc());
3505 if (TL.hasAttrExprOperand()) {
3507 TL.setAttrExprOperand(attrs->getArgAsExpr(0));
3508 } else if (TL.hasAttrEnumOperand()) {
3512 TL.setAttrEnumOperandLoc(attrs->getArgAsIdent(0)->Loc);
3514 TL.setAttrEnumOperandLoc(attrs->getArgAsExpr(0)->getExprLoc());
3518 if (TL.hasAttrOperand())
3519 TL
3531 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument
3535 VisitQualifiedTypeLoc(QualifiedTypeLoc TL) argument
3538 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument
3541 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument
3548 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument
3572 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument
3576 VisitTemplateSpecializationTypeLoc(TemplateSpecializationTypeLoc TL) argument
3599 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument
3604 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument
3613 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument
3623 VisitBuiltinTypeLoc(BuiltinTypeLoc TL) argument
3638 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument
3656 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument
3663 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument
3672 VisitTagTypeLoc(TagTypeLoc TL) argument
3675 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument
3694 VisitTypeLoc(TypeLoc TL) argument
3708 VisitQualifiedTypeLoc(QualifiedTypeLoc TL) argument
3711 VisitDecayedTypeLoc(DecayedTypeLoc TL) argument
3715 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument
3718 VisitAdjustedTypeLoc(AdjustedTypeLoc TL) argument
3721 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument
3725 VisitPointerTypeLoc(PointerTypeLoc TL) argument
3729 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument
3733 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument
3778 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument
3784 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument
3789 VisitArrayTypeLoc(ArrayTypeLoc TL) argument
3795 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument
3809 VisitParenTypeLoc(ParenTypeLoc TL) argument
3815 VisitTypeLoc(TypeLoc TL) argument
3888 TypeLoc TL = ReturnTypeInfo->getTypeLoc(); local
[all...]
H A DSemaTemplateInstantiate.cpp778 FunctionProtoTypeLoc TL) {
780 return inherited::TransformFunctionProtoType(TLB, TL);
785 FunctionProtoTypeLoc TL,
798 TemplateTypeParmTypeLoc TL);
804 SubstTemplateTypeParmPackTypeLoc TL);
1322 FunctionProtoTypeLoc TL,
1329 TLB, TL, ThisContext, ThisTypeQuals, TransformExceptionSpec);
1343 TemplateTypeParmTypeLoc TL) {
1344 const TemplateTypeParmType *T = TL.getTypePtr();
1355 = TLB.push<TemplateTypeParmTypeLoc>(TL
777 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL) argument
1321 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals, Fn TransformExceptionSpec) argument
1342 TransformTemplateTypeParmType(TypeLocBuilder &TLB, TemplateTypeParmTypeLoc TL) argument
1416 TransformSubstTemplateTypeParmPackType( TypeLocBuilder &TLB, SubstTemplateTypeParmPackTypeLoc TL) argument
1483 SubstType(TypeLoc TL, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity) argument
1583 TypeLoc TL = T->getTypeLoc(); local
[all...]
H A DSemaTemplateVariadic.cpp53 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { argument
54 if (TL.getTypePtr()->isParameterPack())
55 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc()));
132 bool TraverseTypeLoc(TypeLoc TL) { argument
133 if ((!TL.getType().isNull() &&
134 TL.getType()->containsUnexpandedParameterPack()) ||
136 return inherited::TraverseTypeLoc(TL);
390 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, argument
392 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL);
479 PackExpansionTypeLoc TL = TLB.push<PackExpansionTypeLoc>(Result); local
[all...]
H A DSemaCXXScopeSpec.cpp711 SubstTemplateTypeParmTypeLoc TL local
713 TL.setNameLoc(IdentifierLoc);
715 SubstTemplateTypeParmPackTypeLoc TL local
717 TL.setNameLoc(IdentifierLoc);
/external/clang/lib/Serialization/
H A DASTWriter.cpp463 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
466 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { argument
467 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record);
468 if (TL.needsExtraLocalData()) {
469 Record.push_back(TL.getWrittenTypeSpec());
470 Record.push_back(TL.getWrittenSignSpec());
471 Record.push_back(TL.getWrittenWidthSpec());
472 Record.push_back(TL.hasModeAttr());
475 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { argument
476 Writer.AddSourceLocation(TL
478 VisitPointerTypeLoc(PointerTypeLoc TL) argument
481 VisitDecayedTypeLoc(DecayedTypeLoc TL) argument
484 VisitAdjustedTypeLoc(AdjustedTypeLoc TL) argument
487 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument
490 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument
493 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument
496 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument
500 VisitArrayTypeLoc(ArrayTypeLoc TL) argument
507 VisitConstantArrayTypeLoc(ConstantArrayTypeLoc TL) argument
510 VisitIncompleteArrayTypeLoc(IncompleteArrayTypeLoc TL) argument
513 VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) argument
516 VisitDependentSizedArrayTypeLoc( DependentSizedArrayTypeLoc TL) argument
520 VisitDependentSizedExtVectorTypeLoc( DependentSizedExtVectorTypeLoc TL) argument
524 VisitVectorTypeLoc(VectorTypeLoc TL) argument
527 VisitExtVectorTypeLoc(ExtVectorTypeLoc TL) argument
530 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument
538 VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) argument
541 VisitFunctionNoProtoTypeLoc(FunctionNoProtoTypeLoc TL) argument
544 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument
547 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument
550 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument
555 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument
561 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument
564 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument
570 VisitAutoTypeLoc(AutoTypeLoc TL) argument
573 VisitRecordTypeLoc(RecordTypeLoc TL) argument
576 VisitEnumTypeLoc(EnumTypeLoc TL) argument
579 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument
594 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument
597 VisitSubstTemplateTypeParmTypeLoc( SubstTemplateTypeParmTypeLoc TL) argument
601 VisitSubstTemplateTypeParmPackTypeLoc( SubstTemplateTypeParmPackTypeLoc TL) argument
605 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument
615 VisitParenTypeLoc(ParenTypeLoc TL) argument
619 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument
623 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument
626 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument
631 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument
643 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument
646 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument
649 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument
656 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument
659 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument
[all...]
H A DASTReader.cpp5744 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
5747 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { argument
5748 TL.setBuiltinLoc(ReadSourceLocation(Record, Idx));
5749 if (TL.needsExtraLocalData()) {
5750 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Record[Idx++]));
5751 TL.setWrittenSignSpec(static_cast<DeclSpec::TSS>(Record[Idx++]));
5752 TL.setWrittenWidthSpec(static_cast<DeclSpec::TSW>(Record[Idx++]));
5753 TL.setModeAttr(Record[Idx++]);
5756 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { argument
5757 TL
5759 VisitPointerTypeLoc(PointerTypeLoc TL) argument
5762 VisitDecayedTypeLoc(DecayedTypeLoc TL) argument
5765 VisitAdjustedTypeLoc(AdjustedTypeLoc TL) argument
5768 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument
5771 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument
5774 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument
5777 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument
5781 VisitArrayTypeLoc(ArrayTypeLoc TL) argument
5789 VisitConstantArrayTypeLoc(ConstantArrayTypeLoc TL) argument
5792 VisitIncompleteArrayTypeLoc(IncompleteArrayTypeLoc TL) argument
5795 VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) argument
5798 VisitDependentSizedArrayTypeLoc( DependentSizedArrayTypeLoc TL) argument
5802 VisitDependentSizedExtVectorTypeLoc( DependentSizedExtVectorTypeLoc TL) argument
5806 VisitVectorTypeLoc(VectorTypeLoc TL) argument
5809 VisitExtVectorTypeLoc(ExtVectorTypeLoc TL) argument
5812 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument
5821 VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) argument
5824 VisitFunctionNoProtoTypeLoc(FunctionNoProtoTypeLoc TL) argument
5827 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument
5830 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument
5833 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument
5838 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument
5844 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument
5847 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument
5853 VisitAutoTypeLoc(AutoTypeLoc TL) argument
5856 VisitRecordTypeLoc(RecordTypeLoc TL) argument
5859 VisitEnumTypeLoc(EnumTypeLoc TL) argument
5862 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument
5878 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument
5881 VisitSubstTemplateTypeParmTypeLoc( SubstTemplateTypeParmTypeLoc TL) argument
5885 VisitSubstTemplateTypeParmPackTypeLoc( SubstTemplateTypeParmPackTypeLoc TL) argument
5889 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument
5901 VisitParenTypeLoc(ParenTypeLoc TL) argument
5905 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument
5909 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument
5912 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument
5917 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument
5931 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument
5934 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument
5937 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument
5944 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument
5947 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument
[all...]
/external/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1440 APInt TL(APInt::getSignedMinValue(Bits));
1445 TL = maxAPInt(TL, ceilingOfQuotient(-X, TMUL));
1446 DEBUG(dbgs() << "\t TL = " << TL << "\n");
1456 TL = maxAPInt(TL, ceilingOfQuotient(UM - X, TMUL));
1457 DEBUG(dbgs() << "\t TL = " << TL << "\n");
1464 TL
[all...]
/external/skia/samplecode/
H A DSamplePatch.cpp83 const int TL = 0; local
96 SkScalar x0 = SkScalarMul(UV, edge[TL].fX) + SkScalarMul(uV, edge[TR].fX) +
98 SkScalar y0 = SkScalarMul(UV, edge[TL].fY) + SkScalarMul(uV, edge[TR].fY) +
101 SkScalar x = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fX) +
105 SkScalar y = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fY) +
/external/llvm/lib/CodeGen/
H A DCallingConvLower.cpp242 const TargetLowering *TL = MF.getSubtarget().getTargetLowering();
243 const TargetRegisterClass *RC = TL->getRegClassFor(RegVT);

Completed in 543 milliseconds

123