Lines Matching refs:TL
110 SourceLocation StartLocationForType(TypeLoc TL) { in StartLocationForType() argument
113 if (auto ElaboratedTypeLoc = TL.getAs<clang::ElaboratedTypeLoc>()) { in StartLocationForType()
118 TL = TL.getNextTypeLoc(); in StartLocationForType()
120 return TL.getBeginLoc(); in StartLocationForType()
123 SourceLocation EndLocationForType(TypeLoc TL) { in EndLocationForType() argument
125 while (TL.getTypeLocClass() == TypeLoc::Elaborated || in EndLocationForType()
126 TL.getTypeLocClass() == TypeLoc::Qualified) in EndLocationForType()
127 TL = TL.getNextTypeLoc(); in EndLocationForType()
132 if (TL.getTypeLocClass() == TypeLoc::TemplateSpecialization) { in EndLocationForType()
133 return TL.castAs<TemplateSpecializationTypeLoc>() in EndLocationForType()
137 return TL.getEndLoc(); in EndLocationForType()
140 NestedNameSpecifier *GetNestedNameForType(TypeLoc TL) { in GetNestedNameForType() argument
142 while (TL.getTypeLocClass() == TypeLoc::Qualified) in GetNestedNameForType()
143 TL = TL.getNextTypeLoc(); in GetNestedNameForType()
147 if (auto ElaboratedTypeLoc = TL.getAs<clang::ElaboratedTypeLoc>()) in GetNestedNameForType()
384 if (const auto *TL = Parents[0].get<TypeLoc>()) in VisitTypeLoc() local
385 ParentTypeLoc = *TL; in VisitTypeLoc()