Lines Matching refs:cast_or_null
1674 ToEPI.ExceptionSpec.SourceDecl = cast_or_null<FunctionDecl>( in VisitFunctionProtoType()
1676 ToEPI.ExceptionSpec.SourceTemplate = cast_or_null<FunctionDecl>( in VisitFunctionProtoType()
1906 ToD = cast_or_null<NamedDecl>(Importer.GetAlreadyImportedOrNull(D)); in ImportDeclParts()
1921 if (RecordDecl *ToRecord = cast_or_null<RecordDecl>(ToD)) { in ImportDefinitionIfNeeded()
1930 if (EnumDecl *ToEnum = cast_or_null<EnumDecl>(ToD)) { in ImportDefinitionIfNeeded()
2172 ValueDecl *To = cast_or_null<ValueDecl>(Importer.Import(From.getAsDecl())); in ImportTemplateArgument()
2826 ParmVarDecl *ToP = cast_or_null<ParmVarDecl>(Importer.Import(P)); in VisitFunctionDecl()
3414 ParmVarDecl *ToP = cast_or_null<ParmVarDecl>(Importer.Import(FromP)); in VisitObjCMethodDecl()
3477 = cast_or_null<ObjCInterfaceDecl>(Importer.Import(D->getClassInterface())); in VisitObjCCategoryDecl()
3513 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in VisitObjCCategoryDecl()
3534 = cast_or_null<ObjCCategoryImplDecl>( in VisitObjCCategoryDecl()
3567 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in ImportDefinition()
3674 FromSuper = cast_or_null<ObjCInterfaceDecl>(Importer.Import(FromSuper)); in ImportDefinition()
3728 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in ImportDefinition()
3746 ObjCImplementationDecl *Impl = cast_or_null<ObjCImplementationDecl>( in ImportDefinition()
3768 auto toTypeParam = cast_or_null<ObjCTypeParamDecl>( in ImportObjCTypeParamList()
3842 ObjCCategoryDecl *Category = cast_or_null<ObjCCategoryDecl>( in VisitObjCCategoryImplDecl()
3881 ObjCInterfaceDecl *Iface = cast_or_null<ObjCInterfaceDecl>( in VisitObjCImplementationDecl()
3889 Super = cast_or_null<ObjCInterfaceDecl>( in VisitObjCImplementationDecl()
4016 cast_or_null<ObjCMethodDecl>(Importer.Import(D->getGetterMethodDecl()))); in VisitObjCPropertyDecl()
4018 cast_or_null<ObjCMethodDecl>(Importer.Import(D->getSetterMethodDecl()))); in VisitObjCPropertyDecl()
4020 cast_or_null<ObjCIvarDecl>(Importer.Import(D->getPropertyIvarDecl()))); in VisitObjCPropertyDecl()
4025 ObjCPropertyDecl *Property = cast_or_null<ObjCPropertyDecl>( in VisitObjCPropertyImplDecl()
4049 Ivar = cast_or_null<ObjCIvarDecl>( in VisitObjCPropertyImplDecl()
4183 = cast_or_null<CXXRecordDecl>(D->getTemplatedDecl()->getDefinition()); in VisitClassTemplateDecl()
4294 = cast_or_null<ClassTemplateDecl>(Importer.Import( in VisitClassTemplateSpecializationDecl()
4375 cast_or_null<VarDecl>(D->getTemplatedDecl()->getDefinition()); in VisitVarTemplateDecl()
4491 VarTemplateDecl *VarTemplate = cast_or_null<VarTemplateDecl>( in VisitVarTemplateSpecializationDecl()
4658 cast_or_null<LabelDecl>(Importer.Import(S->getDecl())); in VisitLabelStmt()
4854 VarDecl *ToNRVOCandidate = cast_or_null<VarDecl>(Importer.Import(NRVOCandidate)); in VisitReturnStmt()
5038 ValueDecl *ToD = cast_or_null<ValueDecl>(Importer.Import(E->getDecl())); in VisitDeclRefExpr()
5044 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr()
5433 if (TagDecl *ToTag = cast_or_null<TagDecl>(Import(*FromTag))) { in Import()
5450 DeclContext *ToDC = cast_or_null<DeclContext>(Import(cast<Decl>(FromDC))); in ImportContext()
5505 return cast_or_null<Expr>(Import(cast<Stmt>(FromE))); in Import()
5590 = cast_or_null<TemplateDecl>(Import(From.getAsTemplateDecl()))) in Import()
5601 if (NamedDecl *To = cast_or_null<NamedDecl>(Import(*I))) in Import()
5617 = cast_or_null<TemplateDecl>(Import(From.getAsTemplateDecl()))) in Import()
5643 = cast_or_null<TemplateTemplateParmDecl>(Import(subst->getParameter())); in Import()
5657 = cast_or_null<TemplateTemplateParmDecl>( in Import()