Home | History | Annotate | Download | only in libclang

Lines Matching refs:TL

30   bool VisitTypedefTypeLoc(TypedefTypeLoc TL) {
31 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(),
41 bool VisitTagTypeLoc(TagTypeLoc TL) {
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) {
60 IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc(),
65 bool VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) {
66 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) {
67 IndexCtx.handleReference(TL.getProtocol(i), TL.getProtocolLoc(i),
73 bool VisitTemplateSpecializationTypeLoc(TemplateSpecializationTypeLoc TL) {
74 if (const TemplateSpecializationType *T = TL.getTypePtr()) {
77 IndexCtx.handleReference(RD, TL.getTemplateNameLoc(),
81 IndexCtx.handleReference(D, TL.getTemplateNameLoc(),
105 void IndexingContext::indexTypeLoc(TypeLoc TL,
108 if (TL.isNull())
113 TypeIndexer(*this, Parent, DC).TraverseTypeLoc(TL);