Lines Matching defs:TL
41 bool VisitAttributedTypeLoc(AttributedTypeLoc TL) {
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 = Arr.getElementLoc();
74 } else if (PointerTypeLoc PT = TL.getAs<PointerTypeLoc>()) {
75 TL = PT.getPointeeLoc();
76 } else if (ReferenceTypeLoc RT = TL.getAs<ReferenceTypeLoc>())
77 TL = RT.getPointeeLoc();
83 bool handleAttr(AttributedTypeLoc TL, Decl *D = nullptr) {
84 if (TL.getAttrKind() != AttributedType::attr_objc_ownership)
87 SourceLocation Loc = TL.getAttrNameLoc();
99 SM.getSpellingLoc(TL.getAttrEnumOperandLoc()),
117 Attr.ModifiedType = TL.getModifiedLoc().getType();
246 TypeLoc TL = TInfo->getTypeLoc();
248 TL.getAs<AttributedTypeLoc>()) {