Searched defs:TL (Results 1 - 25 of 39) sorted by relevance

12

/external/clang/tools/libclang/
H A DIndexTypeSourceInfo.cpp31 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 DIndexBody.cpp32 bool TraverseTypeLoc(TypeLoc TL) { argument
33 IndexCtx.indexTypeLoc(TL, Parent, ParentDC);
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
941 TraverseQualifiedTypeLoc( QualifiedTypeLoc TL) argument
993 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument
2024 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local
[all...]
H A DCXCursor.cpp1050 TypeLoc TL = Type->getTypeLoc(); local
1051 SourceLocation Loc = TL.getBeginLoc();
1055 ElaboratedTypeLoc ElabTL = cast<ElaboratedTypeLoc>(TL);
H A DIndexingContext.cpp163 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 DComment.cpp253 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 DTypeLoc.cpp37 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 DNestedNameSpecifier.cpp381 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
H A DDumpXML.cpp881 void dispatch(TypeLoc TL) { argument
882 dispatch(TL.getType()); // for now
H A DMicrosoftMangle.cpp273 TypeLoc TL = VD->getTypeSourceInfo()->getTypeLoc(); local
274 QualType Ty = TL.getType();
276 mangleType(Ty, TL.getSourceRange());
283 mangleType(Ty.getLocalUnqualifiedType(), TL.getSourceRange());
/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 (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 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/lib/Sema/
H A DSemaCXXScopeSpec.cpp622 SubstTemplateTypeParmTypeLoc TL local
624 TL.setNameLoc(IdentifierLoc);
626 SubstTemplateTypeParmPackTypeLoc TL local
628 TL.setNameLoc(IdentifierLoc);
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);
465 PackExpansionTypeLoc TL = cast<PackExpansionTypeLoc>(TSResult->getTypeLoc()); local
[all...]
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
H A DSemaExceptionSpec.cpp256 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); local
257 if (const FunctionTypeLoc *FTLoc = dyn_cast<FunctionTypeLoc>(&TL))
H A DSemaTemplateInstantiate.cpp811 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 DSemaTemplateInstantiateDecl.cpp1628 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); local
1664 PackExpansionTypeLoc Expansion = cast<PackExpansionTypeLoc>(TL);
H A DSemaTemplateDeduction.cpp3465 QualType TransformAutoType(TypeLocBuilder &TLB, AutoTypeLoc TL) { argument
3476 NewTL.setNameLoc(TL.getNameLoc());
3481 NewTL.setNameLoc(TL.getNameLoc());
H A DSemaType.cpp2994 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...]
/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
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 DTypeLoc.h162 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...]
/external/skia/samplecode/
H A DSamplePatch.cpp93 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 DPragma.cpp259 Lexer *TL = Lexer::Create_PragmaLexer(TokLoc, PragmaLoc, RParenLoc, local
262 EnterSourceFileWithLexer(TL, 0);
/external/clang/include/clang/Lex/
H A DPreprocessor.h258 TokenLexer* TL, const DirectoryLookup *D)
260 TheTokenLexer(TL), TheDirLookup(D) {}
256 IncludeStackInfo(enum CurLexerKind K, Lexer *L, PTHLexer* P, PreprocessorLexer* PPL, TokenLexer* TL, const DirectoryLookup *D) argument

Completed in 3396 milliseconds

12