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