|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/CodeGen/CGBlocks.cpp 552 assert(CGF && CGF->CurFuncDecl && isa<CXXMethodDecl>(CGF->CurFuncDecl) &&
552 assert(CGF && CGF->CurFuncDecl && isa<CXXMethodDecl>(CGF->CurFuncDecl) &&
554 QualType thisType = cast<CXXMethodDecl>(CGF->CurFuncDecl)->getThisType();
tools/clang/lib/CodeGen/CGBuiltin.cpp 4020 if (const auto *XRayAttr = CurFuncDecl->getAttr<XRayInstrumentAttr>())
4054 if (const auto *XRayAttr = CurFuncDecl->getAttr<XRayInstrumentAttr>())
tools/clang/lib/CodeGen/CGCUDANV.cpp 234 getDeviceStubName(getDeviceSideName(CGF.CurFuncDecl)) ==
237 EmittedKernels.push_back({CGF.CurFn, CGF.CurFuncDecl});
287 CGM.Error(CGF.CurFuncDecl->getLocation(),
tools/clang/lib/CodeGen/CGClass.cpp 110 assert(CurFuncDecl && "loading 'this' without a func declaration?");
111 assert(isa<CXXMethodDecl>(CurFuncDecl));
118 auto RD = cast<CXXMethodDecl>(CurFuncDecl)->getParent();
tools/clang/lib/CodeGen/CGObjC.cpp 460 if (const auto *CurMD = dyn_cast_or_null<ObjCMethodDecl>(CGF.CurFuncDecl))
528 if (auto *OMD = dyn_cast_or_null<ObjCMethodDecl>(CurFuncDecl))
602 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl);
1607 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl();
1609 /*is enclosing local*/ (CurFuncDecl != CurCodeDecl),
1615 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl);
tools/clang/lib/CodeGen/CGObjCMac.cpp 1577 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurFuncDecl))
tools/clang/lib/CodeGen/CGObjCRuntime.cpp 197 CGF.CurSEHParent = cast<NamedDecl>(CGF.CurFuncDecl);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1672 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(CGF.CurFuncDecl))
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 4160 assert(CGF.CurFuncDecl && "No parent declaration for target region!");
4164 if (const auto *D = dyn_cast<CXXConstructorDecl>(CGF.CurFuncDecl))
4166 else if (const auto *D = dyn_cast<CXXDestructorDecl>(CGF.CurFuncDecl))
4170 CGM.getMangledName(GlobalDecl(cast<FunctionDecl>(CGF.CurFuncDecl)));
tools/clang/lib/CodeGen/CGVTables.cpp 279 CurFuncDecl = MD;
286 CurFuncDecl = nullptr;
tools/clang/lib/CodeGen/CodeGenFunction.cpp 472 if (!CurFuncDecl || CurFuncDecl->hasAttr<NoInstrumentFunctionAttr>())
472 if (!CurFuncDecl || CurFuncDecl->hasAttr<NoInstrumentFunctionAttr>())
655 CurFuncDecl = (D ? D->getNonClosureContext() : nullptr);
885 if (!CurFuncDecl || !CurFuncDecl->hasAttr<NoInstrumentFunctionAttr>()) {
885 if (!CurFuncDecl || !CurFuncDecl->hasAttr<NoInstrumentFunctionAttr>()) {
1034 if (CurFuncDecl)
1035 if (const auto *VecWidth = CurFuncDecl->getAttr<MinVectorWidthAttr>())
tools/clang/lib/CodeGen/CodeGenFunction.h 1478 : CGF(CGF), OldCurGD(CGF.CurGD), OldCurFuncDecl(CGF.CurFuncDecl),
1489 CGF.CurFuncDecl = CGF.CurCodeDecl =
1502 CGF.CurFuncDecl = OldCurFuncDecl;
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 1574 if (CGF.CurFuncDecl && CGF.CurFuncDecl->hasAttr<NakedAttr>())
1574 if (CGF.CurFuncDecl && CGF.CurFuncDecl->hasAttr<NakedAttr>())
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1479 if (CGF.CurFuncDecl && CGF.CurFuncDecl->hasAttr<NakedAttr>())
1479 if (CGF.CurFuncDecl && CGF.CurFuncDecl->hasAttr<NakedAttr>())