Searched refs:CurCodeDecl (Results 1 – 11 of 11) sorted by relevance
40 StoredCurCodeDecl(CGF.CurCodeDecl) { in InlinedOpenMPRegion()41 CGF.CurCodeDecl = cast<CapturedStmt>(S)->getCapturedDecl(); in InlinedOpenMPRegion()47 CGF.CurCodeDecl = StoredCurCodeDecl; in ~InlinedOpenMPRegion()
26 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()), in ErrorUnsupportedABI()
307 const CXXRecordDecl *RD = cast<CXXMethodDecl>(CurCodeDecl)->getParent(); in GetVTTParameter()358 cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent(); in Emit()1460 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit()1483 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit()2227 if (cast<CXXMethodDecl>(CurCodeDecl)->isVariadic()) { in EmitLambdaToBlockPointerBody()2230 CGM.ErrorUnsupported(CurCodeDecl, "lambda conversion to variadic function"); in EmitLambdaToBlockPointerBody()
1661 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) in EmitFunctionProlog()1669 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl)) { in EmitFunctionProlog()1796 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(), in EmitFunctionProlog()1870 dyn_cast_or_null<CXXMethodDecl>(CurCodeDecl)) { in EmitFunctionProlog()2115 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl); in tryRemoveRetainOfSelf()2208 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) { in EmitFunctionEpilog()3317 if (CurCodeDecl && CurCodeDecl->hasAttr<FlattenAttr>() && in EmitCall()
269 EmitEndEHSpec(CurCodeDecl); in FinishFunction()581 CurCodeDecl = D; in StartFunction()696 EmitStartEHSpec(CurCodeDecl); in StartFunction()
1233 doImplicitRethrow = isa<CXXDestructorDecl>(CurCodeDecl) || in ExitCXXTryStmt()1234 isa<CXXConstructorDecl>(CurCodeDecl); in ExitCXXTryStmt()
383 LocalDeclMap[cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()]; in EmitObjCMessageExpr()413 LocalDeclMap[cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()]; in EmitObjCMessageExpr()431 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CGF.CurCodeDecl); in Emit()1403 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl), in LoadObjCSelf()
1934 assert(isa<BlockDecl>(CurCodeDecl)); in EmitDeclRefLValue()2090 if (CurCodeDecl && isa<BlockDecl>(CurCodeDecl)) { in EmitPredefinedLValue()2633 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent()->isLambda()); in EmitLValueForLambdaField()2634 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent() == Field->getParent()); in EmitLValueForLambdaField()
1721 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CurCodeDecl); in EmitParmDecl()
146 const Decl *CurCodeDecl; variable
657 if (isa<ObjCMethodDecl>(CGF.CurCodeDecl)) { in LookupIMP()