Lines Matching refs:cast_or_null
1631 ToEPI.ExceptionSpec.SourceDecl = cast_or_null<FunctionDecl>( in VisitFunctionProtoType()
1633 ToEPI.ExceptionSpec.SourceTemplate = cast_or_null<FunctionDecl>( in VisitFunctionProtoType()
1867 if (RecordDecl *ToRecord = cast_or_null<RecordDecl>(ToD)) { in ImportDefinitionIfNeeded()
1876 if (EnumDecl *ToEnum = cast_or_null<EnumDecl>(ToD)) { in ImportDefinitionIfNeeded()
2118 ValueDecl *To = cast_or_null<ValueDecl>(Importer.Import(From.getAsDecl())); in ImportTemplateArgument()
2756 ParmVarDecl *ToP = cast_or_null<ParmVarDecl>(Importer.Import(P)); in VisitFunctionDecl()
3313 ParmVarDecl *ToP = cast_or_null<ParmVarDecl>(Importer.Import(FromP)); in VisitObjCMethodDecl()
3344 = cast_or_null<ObjCInterfaceDecl>(Importer.Import(D->getClassInterface())); in VisitObjCCategoryDecl()
3375 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in VisitObjCCategoryDecl()
3396 = cast_or_null<ObjCCategoryImplDecl>( in VisitObjCCategoryDecl()
3429 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in ImportDefinition()
3533 FromSuper = cast_or_null<ObjCInterfaceDecl>(Importer.Import(FromSuper)); in ImportDefinition()
3569 ObjCInterfaceDecl *Super = cast_or_null<ObjCInterfaceDecl>( in ImportDefinition()
3589 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in ImportDefinition()
3607 ObjCImplementationDecl *Impl = cast_or_null<ObjCImplementationDecl>( in ImportDefinition()
3674 ObjCCategoryDecl *Category = cast_or_null<ObjCCategoryDecl>( in VisitObjCCategoryImplDecl()
3713 ObjCInterfaceDecl *Iface = cast_or_null<ObjCInterfaceDecl>( in VisitObjCImplementationDecl()
3721 Super = cast_or_null<ObjCInterfaceDecl>( in VisitObjCImplementationDecl()
3844 cast_or_null<ObjCMethodDecl>(Importer.Import(D->getGetterMethodDecl()))); in VisitObjCPropertyDecl()
3846 cast_or_null<ObjCMethodDecl>(Importer.Import(D->getSetterMethodDecl()))); in VisitObjCPropertyDecl()
3848 cast_or_null<ObjCIvarDecl>(Importer.Import(D->getPropertyIvarDecl()))); in VisitObjCPropertyDecl()
3853 ObjCPropertyDecl *Property = cast_or_null<ObjCPropertyDecl>( in VisitObjCPropertyImplDecl()
3877 Ivar = cast_or_null<ObjCIvarDecl>( in VisitObjCPropertyImplDecl()
4011 = cast_or_null<CXXRecordDecl>(D->getTemplatedDecl()->getDefinition()); in VisitClassTemplateDecl()
4119 = cast_or_null<ClassTemplateDecl>(Importer.Import( in VisitClassTemplateSpecializationDecl()
4200 cast_or_null<VarDecl>(D->getTemplatedDecl()->getDefinition()); in VisitVarTemplateDecl()
4313 VarTemplateDecl *VarTemplate = cast_or_null<VarTemplateDecl>( in VisitVarTemplateSpecializationDecl()
4412 ValueDecl *ToD = cast_or_null<ValueDecl>(Importer.Import(E->getDecl())); in VisitDeclRefExpr()
4418 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr()
4695 if (TagDecl *ToTag = cast_or_null<TagDecl>(Import(*FromTag))) { in Import()
4712 DeclContext *ToDC = cast_or_null<DeclContext>(Import(cast<Decl>(FromDC))); in ImportContext()
4767 return cast_or_null<Expr>(Import(cast<Stmt>(FromE))); in Import()
4852 = cast_or_null<TemplateDecl>(Import(From.getAsTemplateDecl()))) in Import()
4863 if (NamedDecl *To = cast_or_null<NamedDecl>(Import(*I))) in Import()
4879 = cast_or_null<TemplateDecl>(Import(From.getAsTemplateDecl()))) in Import()
4905 = cast_or_null<TemplateTemplateParmDecl>(Import(subst->getParameter())); in Import()
4919 = cast_or_null<TemplateTemplateParmDecl>( in Import()