/external/clang/tools/libclang/ |
H A D | IndexTypeSourceInfo.cpp | 31 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { argument 32 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(), 42 bool VisitTagTypeLoc(TagTypeLoc TL) { argument 43 TagDecl *D = TL.getDecl(); 47 if (TL.isDefinition()) { 52 if (D->getLocation() == TL.getNameLoc()) 55 IndexCtx.handleReference(D, TL.getNameLoc(), 60 bool VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) { argument 61 IndexCtx.handleReference(TL 66 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument 74 VisitTemplateSpecializationTypeLoc(TemplateSpecializationTypeLoc TL) argument 106 indexTypeLoc(TypeLoc TL, const NamedDecl *Parent, const DeclContext *DC) argument [all...] |
H A D | RecursiveASTVisitor.h | 174 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 941 TraverseQualifiedTypeLoc( QualifiedTypeLoc TL) argument 993 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument 2024 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local [all...] |
H A D | CIndex.cpp | 486 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), 488 TL != TLEnd; ++TL) { 489 if (Visit(MakeCXCursor(*TL, tu, RegionOfInterest), true)) 650 TypeLoc TL = SpecType->getTypeLoc(); local 652 = dyn_cast<TemplateSpecializationTypeLoc>(&TL)) { 729 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); local 730 FunctionTypeLoc *FTL = dyn_cast<FunctionTypeLoc>(&TL); 736 (!FTL && Visit(TL))) 1352 bool CursorVisitor::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument 1356 VisitBuiltinTypeLoc(BuiltinTypeLoc TL) argument 1397 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument 1401 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument 1405 VisitTagTypeLoc(TagTypeLoc TL) argument 1412 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument 1416 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument 1423 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument 1436 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument 1440 VisitParenTypeLoc(ParenTypeLoc TL) argument 1444 VisitPointerTypeLoc(PointerTypeLoc TL) argument 1448 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument 1452 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument 1456 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument 1460 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument 1464 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument 1468 VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType) argument 1481 VisitArrayTypeLoc(ArrayTypeLoc TL) argument 1491 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument 1506 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument 1510 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument 1517 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument 1524 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument 1531 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument 1546 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument 1553 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument 1557 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument 1564 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument 1568 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument 2314 TypeLoc TL = E->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local [all...] |
H A D | IndexBody.cpp | 32 bool TraverseTypeLoc(TypeLoc TL) { argument 33 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 | Indexing.cpp | 472 for (ASTUnit::top_level_iterator TL = Unit.top_level_begin(), 474 TL != TLEnd; ++TL) { 475 IdxCtx.indexTopLevelDecl(*TL);
|
H A D | IndexingContext.cpp | 163 TypeLoc TL; local 165 TL = Base.getTypeSourceInfo()->getTypeLoc(); 166 if (TL.isNull()) 169 if (const QualifiedTypeLoc *QL = dyn_cast<QualifiedTypeLoc>(&TL)) 170 TL = QL->getUnqualifiedLoc(); 172 if (const ElaboratedTypeLoc *EL = dyn_cast<ElaboratedTypeLoc>(&TL)) 174 if (const DependentNameTypeLoc *DL = dyn_cast<DependentNameTypeLoc>(&TL)) 177 DTL = dyn_cast<DependentTemplateSpecializationTypeLoc>(&TL))
|
/external/clang/lib/AST/ |
H A D | TypeLoc.cpp | 37 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { argument 38 if (TL.isNull()) return SourceRange(); 39 return TypeLocRanger().Visit(TL); 74 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { argument 75 return NextLoc().Visit(TL); 81 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, argument 84 switch (TL.getTypeLocClass()) { 88 CLASS##TypeLoc TLCasted = cast<CLASS##TypeLoc>(TL); \ 90 TL = TLCasted.getNextTypeLoc(); \ 91 if (!TL) retur 180 classof(const TypeLoc *TL) argument 251 IgnoreParensImpl(TypeLoc TL) argument [all...] |
H A D | Comment.cpp | 253 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); local 255 TL = TL.IgnoreParens(); 257 if (TypedefTypeLoc *TypedefTL = dyn_cast<TypedefTypeLoc>(&TL)) { 261 TL = TSI->getTypeLoc().getUnqualifiedLoc(); 265 if (QualifiedTypeLoc *QualifiedTL = dyn_cast<QualifiedTypeLoc>(&TL)) { 266 TL = QualifiedTL->getUnqualifiedLoc(); 270 if (PointerTypeLoc *PointerTL = dyn_cast<PointerTypeLoc>(&TL)) { 271 TL = PointerTL->getPointeeLoc().getUnqualifiedLoc(); 275 dyn_cast<BlockPointerTypeLoc>(&TL)) { [all...] |
H A D | NestedNameSpecifier.cpp | 381 TypeLoc TL(Qualifier->getAsType(), TypeData); 382 return SourceRange(TL.getBeginLoc(), 505 TypeLoc TL, 509 TL.getTypePtr()); 512 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity); 503 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 (const QualifiedTypeLoc *QL = dyn_cast<QualifiedTypeLoc>(&TL)) { 67 TL = QL->getUnqualifiedLoc(); 69 Attr = dyn_cast<AttributedTypeLoc>(&TL)) { 72 TL = Attr->getModifiedLoc(); 73 } else if (const ArrayTypeLoc *Arr = dyn_cast<ArrayTypeLoc>(&TL)) { 74 TL 84 handleAttr(AttributedTypeLoc TL, Decl *D = 0) 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 | RecursiveASTVisitor.h | 181 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 595 TraverseTypeLoc(TypeLoc TL) argument 1005 TraverseQualifiedTypeLoc( QualifiedTypeLoc TL) argument 1057 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument 2103 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local [all...] |
H A D | TypeLoc.h | 162 static bool classof(const TypeLoc *TL) { return true; } argument 165 static void initializeImpl(ASTContext &Context, TypeLoc TL, 167 static TypeLoc getNextTypeLocImpl(TypeLoc TL); 168 static TypeLoc IgnoreParensImpl(TypeLoc TL); 169 static SourceRange getLocalSourceRangeImpl(TypeLoc TL); 192 static bool classof(const TypeLoc *TL) { argument 193 return !TL->getType().hasLocalQualifiers(); 195 static bool classof(const UnqualTypeLoc *TL) { return true; } argument 237 static bool classof(const TypeLoc *TL) { argument 238 return TL 240 classof(const QualifiedTypeLoc *TL) argument 300 classof(const TypeLoc *TL) argument 303 classof(const UnqualTypeLoc *TL) argument 306 classof(const Derived *TL) argument 377 classof(const TypeLoc *TL) argument 380 classof(const UnqualTypeLoc *TL) argument 383 classof(const Derived *TL) argument 420 classof(const TypeSpecTypeLoc *TL) argument [all...] |
H A D | NestedNameSpecifier.h | 367 /// \param TL The TypeLoc that describes the type preceding the '::'. 370 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
/external/clang/lib/Sema/ |
H A D | TreeTransform.h | 303 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL); 523 FunctionProtoTypeLoc TL, 532 TemplateSpecializationTypeLoc TL, 537 DependentTemplateSpecializationTypeLoc TL, 543 DependentTemplateSpecializationTypeLoc TL, 569 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL); 2508 TypeLoc TransformTypeInObjectScope(TypeLoc TL, 2720 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, local 2723 if (!TL) 2726 if (TL 3282 TypeLoc TL = DI->getTypeLoc(); local 3370 TransformTypeInObjectScope(TypeLoc TL, QualType ObjectType, NamedDecl *UnqualLookup, CXXScopeSpec &SS) argument 3437 TypeLoc TL = TSInfo->getTypeLoc(); local 3504 TransformPointerType(TypeLocBuilder &TLB, PointerTypeLoc TL) argument 3542 TransformBlockPointerType(TypeLocBuilder &TLB, BlockPointerTypeLoc TL) argument 3569 TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL) argument 3606 TransformLValueReferenceType(TypeLocBuilder &TLB, LValueReferenceTypeLoc TL) argument 3613 TransformRValueReferenceType(TypeLocBuilder &TLB, RValueReferenceTypeLoc TL) argument 3620 TransformMemberPointerType(TypeLocBuilder &TLB, MemberPointerTypeLoc TL) argument 3664 TransformConstantArrayType(TypeLocBuilder &TLB, ConstantArrayTypeLoc TL) argument 3704 TransformIncompleteArrayType( TypeLocBuilder &TLB, IncompleteArrayTypeLoc TL) argument 3733 TransformVariableArrayType(TypeLocBuilder &TLB, VariableArrayTypeLoc TL) argument 3770 TransformDependentSizedArrayType(TypeLocBuilder &TLB, DependentSizedArrayTypeLoc TL) argument 3817 TransformDependentSizedExtVectorType( TypeLocBuilder &TLB, DependentSizedExtVectorTypeLoc TL) argument 3861 TransformVectorType(TypeLocBuilder &TLB, VectorTypeLoc TL) argument 3884 TransformExtVectorType(TypeLocBuilder &TLB, ExtVectorTypeLoc TL) argument 3985 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); local 4165 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL) argument 4172 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals) argument 4253 TransformFunctionNoProtoType( TypeLocBuilder &TLB, FunctionNoProtoTypeLoc TL) argument 4274 TransformUnresolvedUsingType(TypeLocBuilder &TLB, UnresolvedUsingTypeLoc TL) argument 4297 TransformTypedefType(TypeLocBuilder &TLB, TypedefTypeLoc TL) argument 4321 TransformTypeOfExprType(TypeLocBuilder &TLB, TypeOfExprTypeLoc TL) argument 4352 TransformTypeOfType(TypeLocBuilder &TLB, TypeOfTypeLoc TL) argument 4376 TransformDecltypeType(TypeLocBuilder &TLB, DecltypeTypeLoc TL) argument 4408 TransformUnaryTransformType( TypeLocBuilder &TLB, UnaryTransformTypeLoc TL) argument 4431 TransformAutoType(TypeLocBuilder &TLB, AutoTypeLoc TL) argument 4456 TransformRecordType(TypeLocBuilder &TLB, RecordTypeLoc TL) argument 4480 TransformEnumType(TypeLocBuilder &TLB, EnumTypeLoc TL) argument 4504 TransformInjectedClassNameType( TypeLocBuilder &TLB, InjectedClassNameTypeLoc TL) argument 4517 TransformTemplateTypeParmType( TypeLocBuilder &TLB, TemplateTypeParmTypeLoc TL) argument 4524 TransformSubstTemplateTypeParmType( TypeLocBuilder &TLB, SubstTemplateTypeParmTypeLoc TL) argument 4552 TransformSubstTemplateTypeParmPackType( TypeLocBuilder &TLB, SubstTemplateTypeParmPackTypeLoc TL) argument 4559 TransformTemplateSpecializationType( TypeLocBuilder &TLB, TemplateSpecializationTypeLoc TL) argument 4577 TransformAtomicType(TypeLocBuilder &TLB, AtomicTypeLoc TL) argument 4667 TransformTemplateSpecializationType( TypeLocBuilder &TLB, TemplateSpecializationTypeLoc TL, TemplateName Template) argument 4721 TransformDependentTemplateSpecializationType( TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL, TemplateName Template, CXXScopeSpec &SS) argument 4781 TransformElaboratedType(TypeLocBuilder &TLB, ElaboratedTypeLoc TL) argument 4833 TransformAttributedType( TypeLocBuilder &TLB, AttributedTypeLoc TL) argument 4871 TransformParenType(TypeLocBuilder &TLB, ParenTypeLoc TL) argument 4892 TransformDependentNameType(TypeLocBuilder &TLB, DependentNameTypeLoc TL) argument 4928 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL) argument 4944 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL, NestedNameSpecifierLoc QualifierLoc) argument 5011 TransformPackExpansionType(TypeLocBuilder &TLB, PackExpansionTypeLoc TL) argument 5036 TransformObjCInterfaceType(TypeLocBuilder &TLB, ObjCInterfaceTypeLoc TL) argument 5045 TransformObjCObjectType(TypeLocBuilder &TLB, ObjCObjectTypeLoc TL) argument 5054 TransformObjCObjectPointerType(TypeLocBuilder &TLB, ObjCObjectPointerTypeLoc TL) argument [all...] |
H A D | SemaType.cpp | 2994 static void fillAttributedTypeLoc(AttributedTypeLoc TL, argument 2996 AttributedType::Kind kind = TL.getAttrKind(); 3005 TL.setAttrNameLoc(attrs->getLoc()); 3006 if (TL.hasAttrExprOperand()) 3007 TL.setAttrExprOperand(attrs->getArg(0)); 3008 else if (TL.hasAttrEnumOperand()) 3009 TL.setAttrEnumOperandLoc(attrs->getParameterLoc()); 3012 if (TL.hasAttrOperand()) 3013 TL.setAttrOperandParensRange(SourceRange()); 3025 void VisitAttributedTypeLoc(AttributedTypeLoc TL) { argument 3029 VisitQualifiedTypeLoc(QualifiedTypeLoc TL) argument 3032 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument 3035 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument 3042 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument 3066 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument 3070 VisitTemplateSpecializationTypeLoc(TemplateSpecializationTypeLoc TL) argument 3091 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument 3096 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument 3105 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument 3115 VisitBuiltinTypeLoc(BuiltinTypeLoc TL) argument 3130 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument 3148 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument 3155 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument 3164 VisitTagTypeLoc(TagTypeLoc TL) argument 3167 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument 3176 VisitTypeLoc(TypeLoc TL) argument 3190 VisitQualifiedTypeLoc(QualifiedTypeLoc TL) argument 3194 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument 3197 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument 3201 VisitPointerTypeLoc(PointerTypeLoc TL) argument 3205 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument 3209 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument 3253 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument 3259 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument 3264 VisitArrayTypeLoc(ArrayTypeLoc TL) argument 3270 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument 3282 VisitParenTypeLoc(ParenTypeLoc TL) argument 3288 VisitTypeLoc(TypeLoc TL) argument 3316 AttributedTypeLoc TL = cast<AttributedTypeLoc>(CurrTL); local 3328 TypeLoc TL = ReturnTypeInfo->getTypeLoc(); local [all...] |
H A D | SemaTemplateInstantiate.cpp | 811 FunctionProtoTypeLoc TL); 813 FunctionProtoTypeLoc TL, 825 TemplateTypeParmTypeLoc TL); 831 SubstTemplateTypeParmPackTypeLoc TL); 1257 FunctionProtoTypeLoc TL) { 1260 return inherited::TransformFunctionProtoType(TLB, TL); 1264 FunctionProtoTypeLoc TL, 1269 return inherited::TransformFunctionProtoType(TLB, TL, ThisContext, 1284 TemplateTypeParmTypeLoc TL) { 1285 const TemplateTypeParmType *T = TL 1256 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL) argument 1263 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals) argument 1283 TransformTemplateTypeParmType(TypeLocBuilder &TLB, TemplateTypeParmTypeLoc TL) argument 1358 TransformSubstTemplateTypeParmPackType( TypeLocBuilder &TLB, SubstTemplateTypeParmPackTypeLoc TL) argument 1426 SubstType(TypeLoc TL, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity) argument 1522 TypeLoc TL = T->getTypeLoc(); local [all...] |
H A D | SemaTemplateVariadic.cpp | 52 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); 465 PackExpansionTypeLoc TL = cast<PackExpansionTypeLoc>(TSResult->getTypeLoc()); local [all...] |
H A D | SemaDeclCXX.cpp | 782 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); local 783 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla) 784 << TL.getSourceRange() << TL.getType() 3614 void CheckType(const NamedDecl *D, TypeLoc TL, Sema::AbstractDiagSelID Sel); 3624 void Visit(TypeLoc TL, Sema::AbstractDiagSelID Sel) { argument 3625 switch (TL.getTypeLocClass()) { 3628 case TypeLoc::CLASS: Check(cast<CLASS##TypeLoc>(TL), Sel); break; 3633 void Check(FunctionProtoTypeLoc TL, Sema::AbstractDiagSelID Sel) { argument 3634 Visit(TL 3644 Check(ArrayTypeLoc TL, Sema::AbstractDiagSelID Sel) argument 3648 Check(TemplateSpecializationTypeLoc TL, Sema::AbstractDiagSelID Sel) argument 3672 Check(TypeLoc TL, Sema::AbstractDiagSelID Sel) argument 3704 CheckType(const NamedDecl *D, TypeLoc TL, Sema::AbstractDiagSelID Sel) argument 9981 DependentNameTypeLoc TL = cast<DependentNameTypeLoc>(TSI->getTypeLoc()); local 9986 ElaboratedTypeLoc TL = cast<ElaboratedTypeLoc>(TSI->getTypeLoc()); local 10009 DependentNameTypeLoc TL = cast<DependentNameTypeLoc>(TSI->getTypeLoc()); local [all...] |
H A D | SemaCXXScopeSpec.cpp | 622 SubstTemplateTypeParmTypeLoc TL local 624 TL.setNameLoc(IdentifierLoc); 626 SubstTemplateTypeParmPackTypeLoc TL local 628 TL.setNameLoc(IdentifierLoc);
|
/external/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 425 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument 428 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { argument 429 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record); 430 if (TL.needsExtraLocalData()) { 431 Record.push_back(TL.getWrittenTypeSpec()); 432 Record.push_back(TL.getWrittenSignSpec()); 433 Record.push_back(TL.getWrittenWidthSpec()); 434 Record.push_back(TL.hasModeAttr()); 437 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { argument 438 Writer.AddSourceLocation(TL 440 VisitPointerTypeLoc(PointerTypeLoc TL) argument 443 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument 446 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument 449 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument 452 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument 456 VisitArrayTypeLoc(ArrayTypeLoc TL) argument 463 VisitConstantArrayTypeLoc(ConstantArrayTypeLoc TL) argument 466 VisitIncompleteArrayTypeLoc(IncompleteArrayTypeLoc TL) argument 469 VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) argument 472 VisitDependentSizedArrayTypeLoc( DependentSizedArrayTypeLoc TL) argument 476 VisitDependentSizedExtVectorTypeLoc( DependentSizedExtVectorTypeLoc TL) argument 480 VisitVectorTypeLoc(VectorTypeLoc TL) argument 483 VisitExtVectorTypeLoc(ExtVectorTypeLoc TL) argument 486 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument 492 VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) argument 495 VisitFunctionNoProtoTypeLoc(FunctionNoProtoTypeLoc TL) argument 498 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument 501 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument 504 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument 509 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument 515 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument 518 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument 524 VisitAutoTypeLoc(AutoTypeLoc TL) argument 527 VisitRecordTypeLoc(RecordTypeLoc TL) argument 530 VisitEnumTypeLoc(EnumTypeLoc TL) argument 533 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument 548 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument 551 VisitSubstTemplateTypeParmTypeLoc( SubstTemplateTypeParmTypeLoc TL) argument 555 VisitSubstTemplateTypeParmPackTypeLoc( SubstTemplateTypeParmPackTypeLoc TL) argument 559 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument 569 VisitParenTypeLoc(ParenTypeLoc TL) argument 573 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument 577 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument 580 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument 585 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument 597 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument 600 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument 603 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument 610 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument 613 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument 3808 AddTypeLoc(TypeLoc TL, RecordDataImpl &Record) argument [all...] |
H A D | ASTReader.cpp | 4196 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { argument 4199 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { argument 4200 TL.setBuiltinLoc(ReadSourceLocation(Record, Idx)); 4201 if (TL.needsExtraLocalData()) { 4202 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Record[Idx++])); 4203 TL.setWrittenSignSpec(static_cast<DeclSpec::TSS>(Record[Idx++])); 4204 TL.setWrittenWidthSpec(static_cast<DeclSpec::TSW>(Record[Idx++])); 4205 TL.setModeAttr(Record[Idx++]); 4208 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { argument 4209 TL 4211 VisitPointerTypeLoc(PointerTypeLoc TL) argument 4214 VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) argument 4217 VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) argument 4220 VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) argument 4223 VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) argument 4227 VisitArrayTypeLoc(ArrayTypeLoc TL) argument 4235 VisitConstantArrayTypeLoc(ConstantArrayTypeLoc TL) argument 4238 VisitIncompleteArrayTypeLoc(IncompleteArrayTypeLoc TL) argument 4241 VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) argument 4244 VisitDependentSizedArrayTypeLoc( DependentSizedArrayTypeLoc TL) argument 4248 VisitDependentSizedExtVectorTypeLoc( DependentSizedExtVectorTypeLoc TL) argument 4252 VisitVectorTypeLoc(VectorTypeLoc TL) argument 4255 VisitExtVectorTypeLoc(ExtVectorTypeLoc TL) argument 4258 VisitFunctionTypeLoc(FunctionTypeLoc TL) argument 4265 VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) argument 4268 VisitFunctionNoProtoTypeLoc(FunctionNoProtoTypeLoc TL) argument 4271 VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) argument 4274 VisitTypedefTypeLoc(TypedefTypeLoc TL) argument 4277 VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) argument 4282 VisitTypeOfTypeLoc(TypeOfTypeLoc TL) argument 4288 VisitDecltypeTypeLoc(DecltypeTypeLoc TL) argument 4291 VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) argument 4297 VisitAutoTypeLoc(AutoTypeLoc TL) argument 4300 VisitRecordTypeLoc(RecordTypeLoc TL) argument 4303 VisitEnumTypeLoc(EnumTypeLoc TL) argument 4306 VisitAttributedTypeLoc(AttributedTypeLoc TL) argument 4322 VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) argument 4325 VisitSubstTemplateTypeParmTypeLoc( SubstTemplateTypeParmTypeLoc TL) argument 4329 VisitSubstTemplateTypeParmPackTypeLoc( SubstTemplateTypeParmPackTypeLoc TL) argument 4333 VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) argument 4345 VisitParenTypeLoc(ParenTypeLoc TL) argument 4349 VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) argument 4353 VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) argument 4356 VisitDependentNameTypeLoc(DependentNameTypeLoc TL) argument 4361 VisitDependentTemplateSpecializationTypeLoc( DependentTemplateSpecializationTypeLoc TL) argument 4375 VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) argument 4378 VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) argument 4381 VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) argument 4388 VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) argument 4391 VisitAtomicTypeLoc(AtomicTypeLoc TL) argument [all...] |
/external/skia/samplecode/ |
H A D | SamplePatch.cpp | 93 const int TL = 0; local 106 SkScalar x0 = SkScalarMul(UV, edge[TL].fX) + SkScalarMul(uV, edge[TR].fX) + 108 SkScalar y0 = SkScalarMul(UV, edge[TL].fY) + SkScalarMul(uV, edge[TR].fY) + 111 SkScalar x = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fX) + 115 SkScalar y = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fY) +
|
/external/clang/lib/Lex/ |
H A D | TokenLexer.cpp | 536 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), 544 bool isInvalid = !TL.LexFromRawLexer(Result);
|