Searched refs:CurCodeDecl (Results 1 - 10 of 10) sorted by relevance

/external/clang/lib/CodeGen/
H A DCGCXXABI.cpp26 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()),
H A DCGException.cpp93 return get(CGF.CGM, dyn_cast_or_null<FunctionDecl>(CGF.CurCodeDecl));
933 doImplicitRethrow = isa<CXXDestructorDecl>(CurCodeDecl) ||
934 isa<CXXConstructorDecl>(CurCodeDecl);
1499 const Decl *ParentCodeDecl = ParentCGF.CurCodeDecl;
1544 const Decl *ParentCodeDecl = ParentCGF.CurCodeDecl;
H A DCGCall.cpp1702 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>())
1710 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl)) {
1838 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(),
1912 dyn_cast_or_null<CXXMethodDecl>(CurCodeDecl)) {
2158 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl);
2251 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) {
3369 if (CurCodeDecl && CurCodeDecl
[all...]
H A DCGClass.cpp308 const CXXRecordDecl *RD = cast<CXXMethodDecl>(CurCodeDecl)->getParent();
359 cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent();
1461 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl);
1484 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl);
2361 if (cast<CXXMethodDecl>(CurCodeDecl)->isVariadic()) {
2364 CGM.ErrorUnsupported(CurCodeDecl, "lambda conversion to variadic function");
H A DCodeGenFunction.cpp273 EmitEndEHSpec(CurCodeDecl);
599 CurCodeDecl = D;
714 EmitStartEHSpec(CurCodeDecl);
H A DCGExpr.cpp1961 assert(isa<BlockDecl>(CurCodeDecl));
2116 if (CurCodeDecl && isa<BlockDecl>(CurCodeDecl)) {
2659 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent()->isLambda());
2660 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent() == Field->getParent());
H A DCGObjC.cpp380 LocalDeclMap[cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()];
410 LocalDeclMap[cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()];
428 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CGF.CurCodeDecl);
1399 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl),
H A DCodeGenFunction.h146 /// CurCodeDecl - This is the inner-most code context, which includes blocks.
147 const Decl *CurCodeDecl; member in class:clang::CodeGen::CodeGenFunction
1069 const auto *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl);
H A DCGDecl.cpp1728 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CurCodeDecl);
H A DCGObjCGNU.cpp660 if (isa<ObjCMethodDecl>(CGF.CurCodeDecl)) {

Completed in 121 milliseconds