Lines Matching refs:dyn_cast
60 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND))
78 const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND);
143 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D))
158 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D))
165 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT);
175 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD))
227 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) {
237 if (const auto *CD = dyn_cast<CXXConstructorDecl>(DC))
239 else if (const auto *DD = dyn_cast<CXXDestructorDecl>(DC))
241 else if (auto ND = dyn_cast<NamedDecl>(DC)) {
260 dyn_cast<ObjCContainerDecl>(MD->getDeclContext());
263 if (const ObjCCategoryImplDecl *CID = dyn_cast<ObjCCategoryImplDecl>(CD))