Lines Matching refs:TL
125 std::string getKind(const TypeLoc &TL) { in getKind() argument
127 if (TL.getTypeLocClass() == TypeLoc::Qualified) in getKind()
129 return TL.getType()->getTypeClassName(); in getKind()
254 std::string getDetail(const TypeLoc &TL) { in getDetail() argument
255 if (TL.getType().hasLocalQualifiers()) in getDetail()
256 return TL.getType().getLocalQualifiers().getAsString( in getDetail()
258 if (const auto *TT = dyn_cast<TagType>(TL.getTypePtr())) in getDetail()
260 if (const auto *DT = dyn_cast<DeducedType>(TL.getTypePtr())) in getDetail()
263 if (const auto *BT = dyn_cast<BuiltinType>(TL.getTypePtr())) in getDetail()
265 if (const auto *TTPT = dyn_cast<TemplateTypeParmType>(TL.getTypePtr())) in getDetail()
267 if (const auto *TT = dyn_cast<TypedefType>(TL.getTypePtr())) in getDetail()
287 if (TypeLoc TL = CCI->getBaseClassLoc()) in getDetail() local
288 return getDetail(TL); in getDetail()
327 std::string getArcana(const TypeLoc &TL) { in getArcana() argument
328 return dump([&](TextNodeDumper &D) { D.Visit(TL.getType()); }); in getArcana()
343 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() argument
344 return !TL || traverseNode("type", TL, [&] { Base::TraverseTypeLoc(TL); }); in TraverseTypeLoc()
414 else if (const auto *TL = N.get<TypeLoc>()) in dumpAST() local
415 V.TraverseTypeLoc(*const_cast<TypeLoc *>(TL)); in dumpAST()