Lines Matching defs:TD
105 if (auto *TD = dyn_cast<TemplateDecl>(D)) {
106 if (auto *Templated = TD->getTemplatedDecl())
109 if (auto *TD = dyn_cast<TypedefNameDecl>(D)) {
112 kindForType(TD->getUnderlyingType().getTypePtrOrNull(), Resolver))
186 if (auto *TD = dyn_cast<TemplateTypeParmType>(TP))
187 return kindForDecl(TD->getDecl(), Resolver);
190 if (auto *TD = TP->getAsTagDecl())
191 return kindForDecl(TD, Resolver);
302 if (auto *TD = dyn_cast<TemplateTypeParmType>(Underlying))
303 return isDefaultLibrary(TD->getDecl());
304 if (auto *TD = Underlying->getAsTagDecl())
305 return isDefaultLibrary(TD);
631 if (auto *TD = dyn_cast<TemplateTypeParmType>(T))
632 return scopeModifier(TD->getDecl());
633 if (auto *TD = T->getAsTagDecl())
634 return scopeModifier(TD);
1173 if (auto *TD = dyn_cast<TemplateDecl>(Decl)) {
1174 if (auto *Templated = TD->getTemplatedDecl())