Lines Matching full:dyn_cast
66 /// Implement simplify_type for AnyFunctionDecl, so that we can dyn_cast from
988 return TemplateOrInstantiation.dyn_cast<ClassTemplateDecl*>();
1009 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(getDeclContext()))
1012 return dyn_cast<FunctionDecl>(getDeclContext());
1498 return Initializee.dyn_cast<TypeSourceInfo *>();
2175 if (NamespaceAliasDecl *AD = dyn_cast<NamespaceAliasDecl>(Namespace))