reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGCXXABI.cpp
   26   Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()),
tools/clang/lib/CodeGen/CGCall.cpp
 2225   if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>())
 2225   if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>())
 2233   if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl)) {
 2360           if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(),
 2678     dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl);
 2802   if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) {
 2802   if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) {
 2899       if (auto *FD = dyn_cast<FunctionDecl>(CurCodeDecl))
 2901       else if (auto *MD = dyn_cast<ObjCMethodDecl>(CurCodeDecl))
 2903       else if (isa<BlockDecl>(CurCodeDecl))
 2971   if (!CurCodeDecl)
 2976     RetNNAttr = CurCodeDecl->getAttr<ReturnsNonNullAttr>();
 2992     if (auto *DD = dyn_cast<DeclaratorDecl>(CurCodeDecl))
 4313   if (CurCodeDecl && CurCodeDecl->hasAttr<FlattenAttr>() &&
 4313   if (CurCodeDecl && CurCodeDecl->hasAttr<FlattenAttr>() &&
tools/clang/lib/CodeGen/CGClass.cpp
  443   const CXXRecordDecl *RD = cast<CXXMethodDecl>(CurCodeDecl)->getParent();
  494         cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent();
 1562       const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl);
 1580     const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl);
 2203     const auto *OuterCtor = cast<CXXConstructorDecl>(CurCodeDecl);
 2883     CGM.ErrorUnsupported(CurCodeDecl, "lambda conversion to variadic function");
tools/clang/lib/CodeGen/CGException.cpp
  230   const auto *FD = CGF.CurCodeDecl;
 1168     doImplicitRethrow = isa<CXXDestructorDecl>(CurCodeDecl) ||
 1169                         isa<CXXConstructorDecl>(CurCodeDecl);
tools/clang/lib/CodeGen/CGExpr.cpp
 2481            dyn_cast_or_null<DeclContext>(CGF.CurCodeDecl);
 2585       assert(isa<BlockDecl>(CurCodeDecl));
 2764   if (auto *BD = dyn_cast_or_null<BlockDecl>(CurCodeDecl)) {
 3899   assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent()->isLambda());
 3900   assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent() == Field->getParent());
tools/clang/lib/CodeGen/CGObjC.cpp
  595       GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl());
  630       GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl());
  647     const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CGF.CurCodeDecl);
 1609                   /*is enclosing local*/ (CurFuncDecl != CurCodeDecl),
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  761       if (isa<ObjCMethodDecl>(CGF.CurCodeDecl)) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2178                dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl)) {
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
   51            (CGF.CurCodeDecl && isa<BlockDecl>(CGF.CurCodeDecl));
   51            (CGF.CurCodeDecl && isa<BlockDecl>(CGF.CurCodeDecl));
  183            (CGF.CurCodeDecl && isa<BlockDecl>(CGF.CurCodeDecl) &&
  183            (CGF.CurCodeDecl && isa<BlockDecl>(CGF.CurCodeDecl) &&
  184             cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD));
  256           (CurCodeDecl && isa<BlockDecl>(CurCodeDecl));
  256           (CurCodeDecl && isa<BlockDecl>(CurCodeDecl));
tools/clang/lib/CodeGen/CGVTables.cpp
  278   CurCodeDecl = MD;
  285   CurCodeDecl = nullptr;
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  358   EmitEndEHSpec(CurCodeDecl);
  651   CurCodeDecl = D;
  809             CurCodeDecl && CurCodeDecl->getAttr<ReturnsNonNullAttr>()))
  809             CurCodeDecl && CurCodeDecl->getAttr<ReturnsNonNullAttr>()))
  938   EmitStartEHSpec(CurCodeDecl);
  943   if (getLangOpts().OpenMP && CurCodeDecl)
  944     CGM.getOpenMPRuntime().emitFunctionProlog(*this, CurCodeDecl);
 2191   const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl);
tools/clang/lib/CodeGen/CodeGenFunction.h
 1479           OldCurCodeDecl(CGF.CurCodeDecl),
 1489       CGF.CurFuncDecl = CGF.CurCodeDecl =
 1503       CGF.CurCodeDecl = OldCurCodeDecl;
 1590             CurCodeDecl && CurCodeDecl->getAttr<ReturnsNonNullAttr>());
 1590             CurCodeDecl && CurCodeDecl->getAttr<ReturnsNonNullAttr>());
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 1592   if (ForVirtualBase && isa<CXXConstructorDecl>(CGF.CurCodeDecl)) {