/external/clang/tools/libclang/ |
H A D | IndexTypeSourceInfo.cpp | 30 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 D | CIndex.cpp | 522 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), 524 TL != TLEnd; ++TL) { 525 if (Visit(MakeCXCursor(*TL, TU, RegionOfInterest), true)) 701 TypeLoc TL = SpecType->getTypeLoc(); local 703 TL.getAs<TemplateSpecializationTypeLoc>()) { 786 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); local 787 FunctionTypeLoc FTL = TL.getAs<FunctionTypeLoc>(); 793 (!FTL && Visit(TL))) 1401 bool CursorVisitor::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument 1405 VisitBuiltinTypeLoc(BuiltinTypeLoc TL) argument 1454 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument 1458 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument 1462 VisitTagTypeLoc(TagTypeLoc TL) argument 1469 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument 1473 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument 1480 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument 1493 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument 1497 VisitParenTypeLoc(ParenTypeLoc TL) argument 1501 VisitPointerTypeLoc(PointerTypeLoc TL) argument 1505 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument 1509 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument 1513 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument 1517 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument 1521 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument 1525 VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType) argument 1538 VisitArrayTypeLoc(ArrayTypeLoc TL) argument 1548 VisitDecayedTypeLoc(DecayedTypeLoc TL) argument 1552 VisitAdjustedTypeLoc(AdjustedTypeLoc TL) argument 1556 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument 1571 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument 1575 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument 1582 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument 1589 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument 1596 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument 1611 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument 1618 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument 1622 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument 1629 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument 1633 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument 2518 TypeLoc TL = E->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local [all...] |
H A D | IndexBody.cpp | 31 bool TraverseTypeLoc(TypeLoc TL) { argument 32 IndexCtx.indexTypeLoc(TL, Parent, ParentDC);
|
H A D | CursorVisitor.h | 255 bool VisitTagTypeLoc(TagTypeLoc TL); 256 bool VisitArrayTypeLoc(ArrayTypeLoc TL); 257 bool VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType = false);
|
H A D | IndexingContext.cpp | 161 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 D | Comment.cpp | 241 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); local 243 TL = TL.IgnoreParens(); 245 if (QualifiedTypeLoc QualifiedTL = TL.getAs<QualifiedTypeLoc>()) { 246 TL = QualifiedTL.getUnqualifiedLoc(); 250 if (PointerTypeLoc PointerTL = TL.getAs<PointerTypeLoc>()) { 251 TL = PointerTL.getPointeeLoc().getUnqualifiedLoc(); 255 if (ReferenceTypeLoc ReferenceTL = TL.getAs<ReferenceTypeLoc>()) { 256 TL = ReferenceTL.getPointeeLoc().getUnqualifiedLoc(); 260 if (AdjustedTypeLoc ATL = TL 299 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); local [all...] |
H A D | TypeLoc.cpp | 38 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 D | ASTTypeTraits.cpp | 75 else if (const TypeLoc *TL = get<TypeLoc>()) 76 TL->getType().print(OS, PP); 101 if (const TypeLoc *TL = get<TypeLoc>()) 102 return TL->getSourceRange();
|
H A D | NestedNameSpecifier.cpp | 380 TypeLoc TL(Qualifier->getAsType(), TypeData); 381 return SourceRange(TL.getBeginLoc(), 504 TypeLoc TL, 508 TL.getTypePtr()); 511 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity); 502 Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, SourceLocation ColonColonLoc) argument
|
/external/clang/lib/ARCMigrate/ |
H A D | TransGCAttrs.cpp | 41 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 D | TransAutoreleasePool.cpp | 267 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 D | DataRecursiveASTVisitor.h | 172 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 561 TraverseTypeLoc(TypeLoc TL) argument 968 TraverseQualifiedTypeLoc(QualifiedTypeLoc TL) argument 1021 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument 2126 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local [all...] |
H A D | RecursiveASTVisitor.h | 176 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 628 TraverseTypeLoc(TypeLoc TL) argument 1033 TraverseQualifiedTypeLoc(QualifiedTypeLoc TL) argument 1086 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument 2148 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local [all...] |
H A D | TypeLoc.h | 193 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 D | NestedNameSpecifier.h | 372 /// \param TL The TypeLoc that describes the type preceding the '::'. 375 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
/external/clang/lib/Sema/ |
H A D | TreeTransform.h | 307 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL); 546 FunctionProtoTypeLoc TL, 554 TemplateSpecializationTypeLoc TL, 559 DependentTemplateSpecializationTypeLoc TL, 565 DependentTemplateSpecializationTypeLoc TL, 591 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL); 2750 TypeLoc TransformTypeInObjectScope(TypeLoc TL, 2760 TypeSourceInfo *TransformTSIInObjectScope(TypeLoc TL, QualType ObjectType, 3069 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, local 3072 if (!TL) 3583 TypeLoc TL = DI->getTypeLoc(); local 3685 TransformTypeInObjectScope(TypeLoc TL, QualType ObjectType, NamedDecl *UnqualLookup, CXXScopeSpec &SS) argument 3713 TransformTSIInObjectScope( TypeLoc TL, QualType ObjectType, NamedDecl *UnqualLookup, CXXScopeSpec &SS) argument 3788 TransformAdjustedType(TypeLocBuilder &TLB, AdjustedTypeLoc TL) argument 3795 TransformDecayedType(TypeLocBuilder &TLB, DecayedTypeLoc TL) argument 3811 TransformPointerType(TypeLocBuilder &TLB, PointerTypeLoc TL) argument 3849 TransformBlockPointerType(TypeLocBuilder &TLB, BlockPointerTypeLoc TL) argument 3876 TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL) argument 3913 TransformLValueReferenceType(TypeLocBuilder &TLB, LValueReferenceTypeLoc TL) argument 3920 TransformRValueReferenceType(TypeLocBuilder &TLB, RValueReferenceTypeLoc TL) argument 3927 TransformMemberPointerType(TypeLocBuilder &TLB, MemberPointerTypeLoc TL) argument 3979 TransformConstantArrayType(TypeLocBuilder &TLB, ConstantArrayTypeLoc TL) argument 4019 TransformIncompleteArrayType( TypeLocBuilder &TLB, IncompleteArrayTypeLoc TL) argument 4048 TransformVariableArrayType(TypeLocBuilder &TLB, VariableArrayTypeLoc TL) argument 4087 TransformDependentSizedArrayType(TypeLocBuilder &TLB, DependentSizedArrayTypeLoc TL) argument 4134 TransformDependentSizedExtVectorType( TypeLocBuilder &TLB, DependentSizedExtVectorTypeLoc TL) argument 4178 TransformVectorType(TypeLocBuilder &TLB, VectorTypeLoc TL) argument 4201 TransformExtVectorType(TypeLocBuilder &TLB, ExtVectorTypeLoc TL) argument 4299 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); local 4477 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL) argument 4484 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals) argument 4557 TransformFunctionNoProtoType( TypeLocBuilder &TLB, FunctionNoProtoTypeLoc TL) argument 4579 TransformUnresolvedUsingType(TypeLocBuilder &TLB, UnresolvedUsingTypeLoc TL) argument 4602 TransformTypedefType(TypeLocBuilder &TLB, TypedefTypeLoc TL) argument 4626 TransformTypeOfExprType(TypeLocBuilder &TLB, TypeOfExprTypeLoc TL) argument 4658 TransformTypeOfType(TypeLocBuilder &TLB, TypeOfTypeLoc TL) argument 4682 TransformDecltypeType(TypeLocBuilder &TLB, DecltypeTypeLoc TL) argument 4714 TransformUnaryTransformType( TypeLocBuilder &TLB, UnaryTransformTypeLoc TL) argument 4737 TransformAutoType(TypeLocBuilder &TLB, AutoTypeLoc TL) argument 4763 TransformRecordType(TypeLocBuilder &TLB, RecordTypeLoc TL) argument 4787 TransformEnumType(TypeLocBuilder &TLB, EnumTypeLoc TL) argument 4811 TransformInjectedClassNameType( TypeLocBuilder &TLB, InjectedClassNameTypeLoc TL) argument 4824 TransformTemplateTypeParmType( TypeLocBuilder &TLB, TemplateTypeParmTypeLoc TL) argument 4831 TransformSubstTemplateTypeParmType( TypeLocBuilder &TLB, SubstTemplateTypeParmTypeLoc TL) argument 4859 TransformSubstTemplateTypeParmPackType( TypeLocBuilder &TLB, SubstTemplateTypeParmPackTypeLoc TL) argument 4866 TransformTemplateSpecializationType( TypeLocBuilder &TLB, TemplateSpecializationTypeLoc TL) argument 4884 TransformAtomicType(TypeLocBuilder &TLB, AtomicTypeLoc TL) argument 4972 TransformTemplateSpecializationType( TypeLocBuilder &TLB, TemplateSpecializationTypeLoc TL, TemplateName Template) argument 5026 TransformDependentTemplateSpecializationType( TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL, TemplateName Template, CXXScopeSpec &SS) argument 5086 TransformElaboratedType(TypeLocBuilder &TLB, ElaboratedTypeLoc TL) argument 5138 TransformAttributedType( TypeLocBuilder &TLB, AttributedTypeLoc TL) argument 5176 TransformParenType(TypeLocBuilder &TLB, ParenTypeLoc TL) argument 5197 TransformDependentNameType(TypeLocBuilder &TLB, DependentNameTypeLoc TL) argument 5233 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL) argument 5249 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL, NestedNameSpecifierLoc QualifierLoc) argument 5316 TransformPackExpansionType(TypeLocBuilder &TLB, PackExpansionTypeLoc TL) argument 5341 TransformObjCInterfaceType(TypeLocBuilder &TLB, ObjCInterfaceTypeLoc TL) argument 5350 TransformObjCObjectType(TypeLocBuilder &TLB, ObjCObjectTypeLoc TL) argument 5359 TransformObjCObjectPointerType(TypeLocBuilder &TLB, ObjCObjectPointerTypeLoc TL) argument [all...] |
H A D | SemaType.cpp | 3443 static void fillAttributedTypeLoc(AttributedTypeLoc TL, argument 3445 AttributedType::Kind kind = TL.getAttrKind(); 3454 TL.setAttrNameLoc(attrs->getLoc()); 3455 if (TL.hasAttrExprOperand()) { 3457 TL.setAttrExprOperand(attrs->getArgAsExpr(0)); 3458 } else if (TL.hasAttrEnumOperand()) { 3462 TL.setAttrEnumOperandLoc(attrs->getArgAsIdent(0)->Loc); 3464 TL.setAttrEnumOperandLoc(attrs->getArgAsExpr(0)->getExprLoc()); 3468 if (TL.hasAttrOperand()) 3469 TL 3481 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument 3485 VisitQualifiedTypeLoc(QualifiedTypeLoc TL) argument 3488 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument 3491 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument 3498 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument 3522 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument 3526 VisitTemplateSpecializationTypeLoc(TemplateSpecializationTypeLoc TL) argument 3549 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument 3554 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument 3563 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument 3573 VisitBuiltinTypeLoc(BuiltinTypeLoc TL) argument 3588 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument 3606 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument 3613 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument 3622 VisitTagTypeLoc(TagTypeLoc TL) argument 3625 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument 3644 VisitTypeLoc(TypeLoc TL) argument 3658 VisitQualifiedTypeLoc(QualifiedTypeLoc TL) argument 3661 VisitDecayedTypeLoc(DecayedTypeLoc TL) argument 3665 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument 3668 VisitAdjustedTypeLoc(AdjustedTypeLoc TL) argument 3671 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument 3675 VisitPointerTypeLoc(PointerTypeLoc TL) argument 3679 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument 3683 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument 3727 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument 3733 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument 3738 VisitArrayTypeLoc(ArrayTypeLoc TL) argument 3744 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument 3758 VisitParenTypeLoc(ParenTypeLoc TL) argument 3764 VisitTypeLoc(TypeLoc TL) argument 3837 TypeLoc TL = ReturnTypeInfo->getTypeLoc(); local [all...] |
H A D | SemaTemplateInstantiate.cpp | 792 FunctionProtoTypeLoc TL); 794 FunctionProtoTypeLoc TL, 806 TemplateTypeParmTypeLoc TL); 812 SubstTemplateTypeParmPackTypeLoc TL); 1311 FunctionProtoTypeLoc TL) { 1314 return inherited::TransformFunctionProtoType(TLB, TL); 1318 FunctionProtoTypeLoc TL, 1323 return inherited::TransformFunctionProtoType(TLB, TL, ThisContext, 1338 TemplateTypeParmTypeLoc TL) { 1339 const TemplateTypeParmType *T = TL 1310 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL) argument 1317 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals) argument 1337 TransformTemplateTypeParmType(TypeLocBuilder &TLB, TemplateTypeParmTypeLoc TL) argument 1411 TransformSubstTemplateTypeParmPackType( TypeLocBuilder &TLB, SubstTemplateTypeParmPackTypeLoc TL) argument 1478 SubstType(TypeLoc TL, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity) argument 1577 TypeLoc TL = T->getTypeLoc(); local [all...] |
H A D | SemaTemplateVariadic.cpp | 53 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); 381 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, argument 383 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL); 470 PackExpansionTypeLoc TL = TLB.push<PackExpansionTypeLoc>(Result); local [all...] |
H A D | SemaCXXScopeSpec.cpp | 654 SubstTemplateTypeParmTypeLoc TL local 656 TL.setNameLoc(IdentifierLoc); 658 SubstTemplateTypeParmPackTypeLoc TL local 660 TL.setNameLoc(IdentifierLoc);
|
/external/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 450 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument 453 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { argument 454 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record); 455 if (TL.needsExtraLocalData()) { 456 Record.push_back(TL.getWrittenTypeSpec()); 457 Record.push_back(TL.getWrittenSignSpec()); 458 Record.push_back(TL.getWrittenWidthSpec()); 459 Record.push_back(TL.hasModeAttr()); 462 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { argument 463 Writer.AddSourceLocation(TL 465 VisitPointerTypeLoc(PointerTypeLoc TL) argument 468 VisitDecayedTypeLoc(DecayedTypeLoc TL) argument 471 VisitAdjustedTypeLoc(AdjustedTypeLoc TL) argument 474 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument 477 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument 480 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument 483 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument 487 VisitArrayTypeLoc(ArrayTypeLoc TL) argument 494 VisitConstantArrayTypeLoc(ConstantArrayTypeLoc TL) argument 497 VisitIncompleteArrayTypeLoc(IncompleteArrayTypeLoc TL) argument 500 VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) argument 503 VisitDependentSizedArrayTypeLoc( DependentSizedArrayTypeLoc TL) argument 507 VisitDependentSizedExtVectorTypeLoc( DependentSizedExtVectorTypeLoc TL) argument 511 VisitVectorTypeLoc(VectorTypeLoc TL) argument 514 VisitExtVectorTypeLoc(ExtVectorTypeLoc TL) argument 517 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument 525 VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) argument 528 VisitFunctionNoProtoTypeLoc(FunctionNoProtoTypeLoc TL) argument 531 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument 534 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument 537 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument 542 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument 548 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument 551 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument 557 VisitAutoTypeLoc(AutoTypeLoc TL) argument 560 VisitRecordTypeLoc(RecordTypeLoc TL) argument 563 VisitEnumTypeLoc(EnumTypeLoc TL) argument 566 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument 581 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument 584 VisitSubstTemplateTypeParmTypeLoc( SubstTemplateTypeParmTypeLoc TL) argument 588 VisitSubstTemplateTypeParmPackTypeLoc( SubstTemplateTypeParmPackTypeLoc TL) argument 592 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument 602 VisitParenTypeLoc(ParenTypeLoc TL) argument 606 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument 610 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument 613 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument 618 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument 630 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument 633 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument 636 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument 643 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument 646 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument 4788 AddTypeLoc(TypeLoc TL, RecordDataImpl &Record) argument [all...] |
H A D | ASTReader.cpp | 5560 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument 5563 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { argument 5564 TL.setBuiltinLoc(ReadSourceLocation(Record, Idx)); 5565 if (TL.needsExtraLocalData()) { 5566 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Record[Idx++])); 5567 TL.setWrittenSignSpec(static_cast<DeclSpec::TSS>(Record[Idx++])); 5568 TL.setWrittenWidthSpec(static_cast<DeclSpec::TSW>(Record[Idx++])); 5569 TL.setModeAttr(Record[Idx++]); 5572 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { argument 5573 TL 5575 VisitPointerTypeLoc(PointerTypeLoc TL) argument 5578 VisitDecayedTypeLoc(DecayedTypeLoc TL) argument 5581 VisitAdjustedTypeLoc(AdjustedTypeLoc TL) argument 5584 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument 5587 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument 5590 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument 5593 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument 5597 VisitArrayTypeLoc(ArrayTypeLoc TL) argument 5605 VisitConstantArrayTypeLoc(ConstantArrayTypeLoc TL) argument 5608 VisitIncompleteArrayTypeLoc(IncompleteArrayTypeLoc TL) argument 5611 VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) argument 5614 VisitDependentSizedArrayTypeLoc( DependentSizedArrayTypeLoc TL) argument 5618 VisitDependentSizedExtVectorTypeLoc( DependentSizedExtVectorTypeLoc TL) argument 5622 VisitVectorTypeLoc(VectorTypeLoc TL) argument 5625 VisitExtVectorTypeLoc(ExtVectorTypeLoc TL) argument 5628 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument 5637 VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) argument 5640 VisitFunctionNoProtoTypeLoc(FunctionNoProtoTypeLoc TL) argument 5643 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument 5646 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument 5649 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument 5654 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument 5660 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument 5663 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument 5669 VisitAutoTypeLoc(AutoTypeLoc TL) argument 5672 VisitRecordTypeLoc(RecordTypeLoc TL) argument 5675 VisitEnumTypeLoc(EnumTypeLoc TL) argument 5678 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument 5694 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument 5697 VisitSubstTemplateTypeParmTypeLoc( SubstTemplateTypeParmTypeLoc TL) argument 5701 VisitSubstTemplateTypeParmPackTypeLoc( SubstTemplateTypeParmPackTypeLoc TL) argument 5705 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument 5717 VisitParenTypeLoc(ParenTypeLoc TL) argument 5721 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument 5725 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument 5728 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument 5733 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument 5747 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument 5750 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument 5753 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument 5760 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument 5763 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument [all...] |
/external/llvm/lib/Analysis/ |
H A D | DependenceAnalysis.cpp | 1422 APInt TL(APInt::getSignedMinValue(Bits)); 1427 TL = maxAPInt(TL, ceilingOfQuotient(-X, TMUL)); 1428 DEBUG(dbgs() << "\t TL = " << TL << "\n"); 1438 TL = maxAPInt(TL, ceilingOfQuotient(UM - X, TMUL)); 1439 DEBUG(dbgs() << "\t TL = " << TL << "\n"); 1446 TL [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SamplePatch.cpp | 82 const int TL = 0; local 95 SkScalar x0 = SkScalarMul(UV, edge[TL].fX) + SkScalarMul(uV, edge[TR].fX) + 97 SkScalar y0 = SkScalarMul(UV, edge[TL].fY) + SkScalarMul(uV, edge[TR].fY) + 100 SkScalar x = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fX) + 104 SkScalar y = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fY) +
|
/external/skia/samplecode/ |
H A D | SamplePatch.cpp | 82 const int TL = 0; local 95 SkScalar x0 = SkScalarMul(UV, edge[TL].fX) + SkScalarMul(uV, edge[TR].fX) + 97 SkScalar y0 = SkScalarMul(UV, edge[TL].fY) + SkScalarMul(uV, edge[TR].fY) + 100 SkScalar x = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fX) + 104 SkScalar y = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fY) +
|