Lines Matching full:dyn_cast
68 if (const NamespaceDecl *NSDecl = dyn_cast<NamespaceDecl>(Context))
71 if (const RecordDecl *RDecl = dyn_cast<RecordDecl>(Context)) {
105 dyn_cast<const ObjCImplementationDecl>(DC)) {
108 dyn_cast<const ObjCInterfaceDecl>(DC)) {
111 dyn_cast<const ObjCCategoryImplDecl>(DC)){
137 = dyn_cast<ClassTemplateSpecializationDecl>(RD);
442 if (const RecordType *RTy = dyn_cast<RecordType>(PointeeTy)) {
579 else if (const FunctionProtoType *FTP = dyn_cast<FunctionProtoType>(Ty)) {
710 dyn_cast<CXXRecordDecl>(RD->getDeclContext()))
765 if (const CXXConstructorDecl *CXXC = dyn_cast<CXXConstructorDecl>(Method)) {
769 dyn_cast<CXXConversionDecl>(Method)) {
1025 const CXXRecordDecl *CXXDecl = dyn_cast<CXXRecordDecl>(RD);
1034 if (const VarDecl *V = dyn_cast<VarDecl>(*I)) {
1061 = dyn_cast<ClassTemplateSpecializationDecl>(RD))
1269 if (const RecordType *RT = dyn_cast<RecordType>(Ty))
1271 else if (const EnumType *ET = dyn_cast<EnumType>(Ty))
1306 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(Ty)) {
1330 while ((Ty = dyn_cast<ArrayType>(EltTy))) {
1333 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(Ty)) {
1600 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D);
1632 if (const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D))
1634 else if (const ObjCMethodDecl *OMethod = dyn_cast<ObjCMethodDecl>(D)) {
1672 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
1702 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) {
1932 if (llvm::Argument *Arg = dyn_cast<llvm::Argument>(Storage)) {
2001 if (const RecordType *RT = dyn_cast<RecordType>(VD->getType())) {
2286 getContextDescriptor(dyn_cast<Decl>(D->getDeclContext()));
2326 if (const EnumConstantDecl *ECD = dyn_cast<EnumConstantDecl>(VD)) {
2327 if (const EnumDecl *ED = dyn_cast<EnumDecl>(ECD->getDeclContext()))
2350 getContextDescriptor(dyn_cast<Decl>(NSDecl->getDeclContext()));