Searched defs:TL (Results 1 - 25 of 41) 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 DIndexBody.cpp31 bool TraverseTypeLoc(TypeLoc TL) { argument
32 IndexCtx.indexTypeLoc(TL, Parent, ParentDC);
H A DRecursiveASTVisitor.h176 bool TraverseTypeLoc(TypeLoc TL);
344 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
349 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } argument
350 bool VisitTypeLoc(TypeLoc TL) { return true; } argument
354 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
355 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
357 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } argument
358 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { argument
359 return getDerived().VisitUnqualTypeLoc(TL
361 VisitUnqualTypeLoc(UnqualTypeLoc TL) argument
537 TraverseTypeLoc(TypeLoc TL) argument
954 TraverseQualifiedTypeLoc( QualifiedTypeLoc TL) argument
1010 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument
2153 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local
[all...]
H A DCXCursor.cpp913 TypeLoc TL = Type->getTypeLoc(); local
914 SourceLocation Loc = TL.getBeginLoc();
918 ElaboratedTypeLoc ElabTL = TL.castAs<ElaboratedTypeLoc>();
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 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 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 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
H A DDumpXML.cpp884 void dispatch(TypeLoc TL) { argument
885 dispatch(TL.getType()); // for now
H A DMicrosoftMangle.cpp318 TypeLoc TL = VD->getTypeSourceInfo()->getTypeLoc(); local
319 QualType Ty = TL.getType();
321 mangleType(Ty, TL.getSourceRange(), QMM_Drop);
331 mangleType(Ty, TL.getSourceRange(), QMM_Drop);
/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());
H A DObjCMT.cpp571 TypeLoc TL = TSInfo->getTypeLoc(); local
572 R = SourceRange(TL.getBeginLoc(), TL.getEndLoc());
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp606 SubstTemplateTypeParmTypeLoc TL local
608 TL.setNameLoc(IdentifierLoc);
610 SubstTemplateTypeParmPackTypeLoc TL local
612 TL.setNameLoc(IdentifierLoc);
H A DSemaExceptionSpec.cpp274 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); local
275 if (FunctionTypeLoc FTLoc = TL.getAs<FunctionTypeLoc>())
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);
381 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, argument
383 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL);
470 PackExpansionTypeLoc TL = TLB.push<PackExpansionTypeLoc>(Result); local
[all...]
H A DDeclSpec.cpp56 TypeLoc TL, SourceLocation ColonColonLoc) {
57 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc);
59 Range.setBegin(TL.getBeginLoc());
55 Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, SourceLocation ColonColonLoc) argument
H A DSemaTemplateInstantiate.cpp877 FunctionProtoTypeLoc TL);
879 FunctionProtoTypeLoc TL,
891 TemplateTypeParmTypeLoc TL);
897 SubstTemplateTypeParmPackTypeLoc TL);
1393 FunctionProtoTypeLoc TL) {
1396 return inherited::TransformFunctionProtoType(TLB, TL);
1400 FunctionProtoTypeLoc TL,
1405 return inherited::TransformFunctionProtoType(TLB, TL, ThisContext,
1420 TemplateTypeParmTypeLoc TL) {
1421 const TemplateTypeParmType *T = TL
1392 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL) argument
1399 TransformFunctionProtoType(TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals) argument
1419 TransformTemplateTypeParmType(TypeLocBuilder &TLB, TemplateTypeParmTypeLoc TL) argument
1493 TransformSubstTemplateTypeParmPackType( TypeLocBuilder &TLB, SubstTemplateTypeParmPackTypeLoc TL) argument
1560 SubstType(TypeLoc TL, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity) argument
1659 TypeLoc TL = T->getTypeLoc(); local
[all...]
H A DSemaTemplateDeduction.cpp3749 QualType TransformAutoType(TypeLocBuilder &TLB, AutoTypeLoc TL) { argument
3761 NewTL.setNameLoc(TL.getNameLoc());
3768 TL.getTypePtr()->isDecltypeAuto(),
3771 NewTL.setNameLoc(TL.getNameLoc());
3781 QualType Apply(TypeLoc TL) { argument
3785 TLB.reserve(TL.getFullDataSize());
3786 return TransformType(TLB, TL);
H A DSemaTemplateInstantiateDecl.cpp1769 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); local
1805 PackExpansionTypeLoc Expansion = TL.castAs<PackExpansionTypeLoc>();
/external/clang/include/clang/AST/
H A DRecursiveASTVisitor.h183 bool TraverseTypeLoc(TypeLoc TL);
357 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
362 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } argument
363 bool VisitTypeLoc(TypeLoc TL) { return true; } argument
367 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { argument
368 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
370 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } argument
371 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { argument
372 return getDerived().VisitUnqualTypeLoc(TL
374 VisitUnqualTypeLoc(UnqualTypeLoc TL) argument
604 TraverseTypeLoc(TypeLoc TL) argument
1030 TraverseQualifiedTypeLoc( QualifiedTypeLoc TL) argument
1086 TraverseArrayTypeLocHelper(ArrayTypeLoc TL) argument
2248 TypeLoc TL = S->getCallOperator()->getTypeSourceInfo()->getTypeLoc(); local
[all...]
H A DTypeLoc.h190 static void initializeImpl(ASTContext &Context, TypeLoc TL,
192 static TypeLoc getNextTypeLocImpl(TypeLoc TL);
193 static TypeLoc IgnoreParensImpl(TypeLoc TL);
194 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
219 static bool isKind(const TypeLoc &TL) { argument
220 return !TL.getType().hasLocalQualifiers();
270 static bool isKind(const TypeLoc &TL) { argument
271 return TL.getType().hasLocalQualifiers();
317 static bool isKind(const TypeLoc &TL) { argument
318 return !TL
428 isKind(const TypeLoc &TL) argument
432 isKind(const UnqualTypeLoc &TL) argument
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp378 const MipsSETargetLowering *TL) {
384 VT, TL->getScalarShiftAmountTy(VT), DAG);
376 performMULCombine(SDNode *N, SelectionDAG &DAG, const TargetLowering::DAGCombinerInfo &DCI, const MipsSETargetLowering *TL) argument
/external/clang/include/clang/Lex/
H A DPreprocessor.h289 TokenLexer* TL, const DirectoryLookup *D)
291 TheTokenLexer(TL), TheDirLookup(D) {}
287 IncludeStackInfo(enum CurLexerKind K, Lexer *L, PTHLexer* P, PreprocessorLexer* PPL, TokenLexer* TL, const DirectoryLookup *D) argument
/external/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1132 LoadInst *TL = local
1139 TL->setAlignment(LI->getAlignment());
1142 TL->setMetadata(LLVMContext::MD_tbaa, Tag);
1146 Value *V = IRB.CreateSelect(SI.getCondition(), TL, FL,

Completed in 340 milliseconds

12