• Home
  • Raw
  • Download

Lines Matching refs:cast_or_null

1757   ToEPI.ExceptionSpec.SourceDecl = cast_or_null<FunctionDecl>(  in VisitFunctionProtoType()
1759 ToEPI.ExceptionSpec.SourceTemplate = cast_or_null<FunctionDecl>( in VisitFunctionProtoType()
1838 CXXRecordDecl *D = cast_or_null<CXXRecordDecl>(Importer.Import(T->getDecl())); in VisitInjectedClassNameType()
1901 cast_or_null<TemplateTypeParmDecl>(Importer.Import(T->getDecl())); in VisitTemplateTypeParmType()
2022 ToD = cast_or_null<NamedDecl>(Importer.GetAlreadyImportedOrNull(D)); in ImportDeclParts()
2037 if (RecordDecl *ToRecord = cast_or_null<RecordDecl>(ToD)) { in ImportDefinitionIfNeeded()
2046 if (EnumDecl *ToEnum = cast_or_null<EnumDecl>(ToD)) { in ImportDefinitionIfNeeded()
2293 ValueDecl *To = cast_or_null<ValueDecl>(Importer.Import(From.getAsDecl())); in ImportTemplateArgument()
2628 LabelStmt *Label = cast_or_null<LabelStmt>(Importer.Import(D->getStmt())); in VisitLabelDecl()
3029 ParmVarDecl *ToP = cast_or_null<ParmVarDecl>(Importer.Import(P)); in VisitFunctionDecl()
3053 cast_or_null<CXXCtorInitializer>(Importer.Import(I)); in VisitFunctionDecl()
3638 ParmVarDecl *ToP = cast_or_null<ParmVarDecl>(Importer.Import(FromP)); in VisitObjCMethodDecl()
3701 = cast_or_null<ObjCInterfaceDecl>(Importer.Import(D->getClassInterface())); in VisitObjCCategoryDecl()
3737 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in VisitObjCCategoryDecl()
3758 = cast_or_null<ObjCCategoryImplDecl>( in VisitObjCCategoryDecl()
3791 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in ImportDefinition()
3898 FromSuper = cast_or_null<ObjCInterfaceDecl>(Importer.Import(FromSuper)); in ImportDefinition()
3952 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in ImportDefinition()
3970 ObjCImplementationDecl *Impl = cast_or_null<ObjCImplementationDecl>( in ImportDefinition()
3992 auto toTypeParam = cast_or_null<ObjCTypeParamDecl>( in ImportObjCTypeParamList()
4066 ObjCCategoryDecl *Category = cast_or_null<ObjCCategoryDecl>( in VisitObjCCategoryImplDecl()
4105 ObjCInterfaceDecl *Iface = cast_or_null<ObjCInterfaceDecl>( in VisitObjCImplementationDecl()
4113 Super = cast_or_null<ObjCInterfaceDecl>( in VisitObjCImplementationDecl()
4240 cast_or_null<ObjCMethodDecl>(Importer.Import(D->getGetterMethodDecl()))); in VisitObjCPropertyDecl()
4242 cast_or_null<ObjCMethodDecl>(Importer.Import(D->getSetterMethodDecl()))); in VisitObjCPropertyDecl()
4244 cast_or_null<ObjCIvarDecl>(Importer.Import(D->getPropertyIvarDecl()))); in VisitObjCPropertyDecl()
4249 ObjCPropertyDecl *Property = cast_or_null<ObjCPropertyDecl>( in VisitObjCPropertyImplDecl()
4273 Ivar = cast_or_null<ObjCIvarDecl>( in VisitObjCPropertyImplDecl()
4408 = cast_or_null<CXXRecordDecl>(D->getTemplatedDecl()->getDefinition()); in VisitClassTemplateDecl()
4467 CXXRecordDecl *D2Templated = cast_or_null<CXXRecordDecl>( in VisitClassTemplateDecl()
4519 = cast_or_null<ClassTemplateDecl>(Importer.Import( in VisitClassTemplateSpecializationDecl()
4599 cast_or_null<VarDecl>(D->getTemplatedDecl()->getDefinition()); in VisitVarTemplateDecl()
4715 VarTemplateDecl *VarTemplate = cast_or_null<VarTemplateDecl>( in VisitVarTemplateSpecializationDecl()
4837 StringLiteral *Clobber = cast_or_null<StringLiteral>( in VisitGCCAsmStmt()
4846 StringLiteral *Output = cast_or_null<StringLiteral>( in VisitGCCAsmStmt()
4854 StringLiteral *Input = cast_or_null<StringLiteral>( in VisitGCCAsmStmt()
4869 StringLiteral *AsmStr = cast_or_null<StringLiteral>( in VisitGCCAsmStmt()
4948 cast_or_null<LabelDecl>(Importer.Import(S->getDecl())); in VisitLabelStmt()
5152 VarDecl *ToNRVOCandidate = cast_or_null<VarDecl>(Importer.Import(NRVOCandidate)); in VisitReturnStmt()
5372 StringLiteral *SL = cast_or_null<StringLiteral>( in VisitPredefinedExpr()
5382 ValueDecl *ToD = cast_or_null<ValueDecl>(Importer.Import(E->getDecl())); in VisitDeclRefExpr()
5388 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr()
5441 Expr *Init = cast_or_null<Expr>(Importer.Import(DIE->getInit())); in VisitDesignatedInitExpr()
5448 if (Expr *Arg = cast_or_null<Expr>(Importer.Import(DIE->getSubExpr(I)))) in VisitDesignatedInitExpr()
5561 LabelDecl *ToLabel = cast_or_null<LabelDecl>(Importer.Import(E->getLabel())); in VisitAddrLabelExpr()
5597 CompoundStmt *ToSubStmt = cast_or_null<CompoundStmt>( in VisitStmtExpr()
5703 OpaqueValueExpr *OpaqueValue = cast_or_null<OpaqueValueExpr>( in VisitBinaryConditionalOperator()
5970 FieldDecl *ToFD = cast_or_null<FieldDecl>(Importer.Import(FromFD)); in VisitInitListExpr()
5977 InitListExpr *ToSyntForm = cast_or_null<InitListExpr>( in VisitInitListExpr()
6131 if (TagDecl *ToTag = cast_or_null<TagDecl>(Import(*FromTag))) { in Import()
6148 DeclContext *ToDC = cast_or_null<DeclContext>(Import(cast<Decl>(FromDC))); in ImportContext()
6203 return cast_or_null<Expr>(Import(cast<Stmt>(FromE))); in Import()
6288 = cast_or_null<TemplateDecl>(Import(From.getAsTemplateDecl()))) in Import()
6299 if (NamedDecl *To = cast_or_null<NamedDecl>(Import(*I))) in Import()
6315 = cast_or_null<TemplateDecl>(Import(From.getAsTemplateDecl()))) in Import()
6341 = cast_or_null<TemplateTemplateParmDecl>(Import(subst->getParameter())); in Import()
6355 = cast_or_null<TemplateTemplateParmDecl>( in Import()
6457 llvm::cast_or_null<FieldDecl>(Import(From->getMember())); in Import()
6465 IndirectFieldDecl *ToIField = llvm::cast_or_null<IndirectFieldDecl>( in Import()
6483 llvm::cast_or_null<FieldDecl>(Import(From->getMember())); in Import()