Lines Matching refs:TLoc
34 SourceLocation startLocationForType(TypeLoc TLoc) { in startLocationForType() argument
37 if (TLoc.getTypeLocClass() == TypeLoc::Elaborated) { in startLocationForType()
39 TLoc.castAs<ElaboratedTypeLoc>().getQualifierLoc(); in startLocationForType()
42 TLoc = TLoc.getNextTypeLoc(); in startLocationForType()
44 return TLoc.getBeginLoc(); in startLocationForType()
47 SourceLocation endLocationForType(TypeLoc TLoc) { in endLocationForType() argument
49 while (TLoc.getTypeLocClass() == TypeLoc::Elaborated || in endLocationForType()
50 TLoc.getTypeLocClass() == TypeLoc::Qualified) in endLocationForType()
51 TLoc = TLoc.getNextTypeLoc(); in endLocationForType()
56 if (TLoc.getTypeLocClass() == TypeLoc::TemplateSpecialization) in endLocationForType()
57 return TLoc.castAs<TemplateSpecializationTypeLoc>() in endLocationForType()
60 return TLoc.getEndLoc(); in endLocationForType()
560 } else if (const auto *TLoc = Result.Nodes.getNodeAs<TypeLoc>("type")) { in run() local
564 TypeLoc Loc = *TLoc; in run()