Lines Matching refs:dyn_cast
60 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) in isExternC()
78 const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND); in getCallingConvMangling()
143 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName()
158 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName()
165 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT); in mangleName()
175 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) in mangleName()
229 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { in mangleBlock()
239 if (const auto *CD = dyn_cast<CXXConstructorDecl>(DC)) in mangleBlock()
241 else if (const auto *DD = dyn_cast<CXXDestructorDecl>(DC)) in mangleBlock()
243 else if (auto ND = dyn_cast<NamedDecl>(DC)) { in mangleBlock()
266 dyn_cast<ObjCContainerDecl>(MD->getDeclContext()); in mangleObjCMethodName()
269 if (const ObjCCategoryImplDecl *CID = dyn_cast<ObjCCategoryImplDecl>(CD)) in mangleObjCMethodName()