Lines Matching refs:TL
40 bool VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument
41 handleAttr(TL); in VisitAttributedTypeLoc()
63 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute() local
64 while (TL) { in lookForAttribute()
65 if (QualifiedTypeLoc QL = TL.getAs<QualifiedTypeLoc>()) { in lookForAttribute()
66 TL = QL.getUnqualifiedLoc(); in lookForAttribute()
67 } else if (AttributedTypeLoc Attr = TL.getAs<AttributedTypeLoc>()) { in lookForAttribute()
70 TL = Attr.getModifiedLoc(); in lookForAttribute()
72 TL.getAs<MacroQualifiedTypeLoc>()) { in lookForAttribute()
73 TL = MDTL.getInnerLoc(); in lookForAttribute()
74 } else if (ArrayTypeLoc Arr = TL.getAs<ArrayTypeLoc>()) { in lookForAttribute()
75 TL = Arr.getElementLoc(); in lookForAttribute()
76 } else if (PointerTypeLoc PT = TL.getAs<PointerTypeLoc>()) { in lookForAttribute()
77 TL = PT.getPointeeLoc(); in lookForAttribute()
78 } else if (ReferenceTypeLoc RT = TL.getAs<ReferenceTypeLoc>()) in lookForAttribute()
79 TL = RT.getPointeeLoc(); in lookForAttribute()
85 bool handleAttr(AttributedTypeLoc TL, Decl *D = nullptr) { in handleAttr() argument
86 auto *OwnershipAttr = TL.getAttrAs<ObjCOwnershipAttr>(); in handleAttr()
114 Attr.ModifiedType = TL.getModifiedLoc().getType(); in handleAttr()
242 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps() local
244 TL.getAs<AttributedTypeLoc>()) { in checkAllAtProps()