Lines Matching refs:CDecl
223 const Decl *CDecl; member
238 : CDecl(&CD), FuncType(FT) { in CallableInfo()
240 if (auto *FD = dyn_cast<FunctionDecl>(CDecl)) { in CallableInfo()
243 CDecl = FD = Def; in CallableInfo()
249 } else if (auto *BD = dyn_cast<BlockDecl>(CDecl)) { in CallableInfo()
252 } else if (auto *VD = dyn_cast<ValueDecl>(CDecl)) { in CallableInfo()
273 return functionIsVerifiable(dyn_cast<FunctionDecl>(CDecl)); in isVerifiable()
283 if (auto *FD = dyn_cast<FunctionDecl>(CDecl)) in getNameForDiagnostic()
286 else if (auto *BD = dyn_cast<BlockDecl>(CDecl)) in getNameForDiagnostic()
288 else if (auto *VD = dyn_cast<NamedDecl>(CDecl)) in getNameForDiagnostic()
374 effect.effectProhibitingInference(*CInfo.CDecl, CInfo.Effects); in PendingFunctionAnalysis()
382 CInfo.CDecl->getLocation(), nullptr, ProblemCalleeEffect)); in PendingFunctionAnalysis()
676 DeclAnalysis[CInfo.CDecl] = CompletePtr; in completeAnalysis()
716 DeclAnalysis.completedAnalysisForDecl(Callee.CDecl)) { in followCall()
734 llvm::dbgs() << " callee " << Callee.CDecl << " canonical " in followCall()
735 << Callee.CDecl->getCanonicalDecl() << "\n";); in followCall()
748 VSite, CallLoc, Callee.CDecl}); in followCall()
755 PFA.addUnverifiedDirectCall(Callee.CDecl, CallLoc, VSite); in followCall()
854 << GetCallableDeclKind(CInfo.CDecl, &Viol1) << effectName in emitDiagnostics()
856 MaybeAddSiteContext(CInfo.CDecl, Viol1); in emitDiagnostics()
857 MaybeAddTemplateNote(CInfo.CDecl); in emitDiagnostics()
861 << GetCallableDeclKind(CInfo.CDecl, &Viol1) << effectName; in emitDiagnostics()
862 MaybeAddSiteContext(CInfo.CDecl, Viol1); in emitDiagnostics()
863 MaybeAddTemplateNote(CInfo.CDecl); in emitDiagnostics()
871 << GetCallableDeclKind(CInfo.CDecl, &Viol1) << effectName in emitDiagnostics()
872 << GetCallableDeclKind(CalleeInfo.CDecl, nullptr) << CalleeName; in emitDiagnostics()
873 MaybeAddSiteContext(CInfo.CDecl, Viol1); in emitDiagnostics()
874 MaybeAddTemplateNote(CInfo.CDecl); in emitDiagnostics()
881 DeclAnalysis.completedAnalysisForDecl(CalleeInfo.CDecl); in emitDiagnostics()
900 << GetCallableDeclKind(CInfo.CDecl, nullptr) << effectName in emitDiagnostics()
923 << GetCallableDeclKind(CalleeInfo.CDecl, nullptr) << effectName in emitDiagnostics()
936 << GetCallableDeclKind(CalleeInfo.CDecl, &Viol2) << effectName in emitDiagnostics()
938 MaybeAddSiteContext(CalleeInfo.CDecl, Viol2); in emitDiagnostics()
943 << GetCallableDeclKind(CalleeInfo.CDecl, &Viol2) << effectName in emitDiagnostics()
989 if (auto *Dtor = dyn_cast<CXXDestructorDecl>(CurrentCaller.CDecl)) in run()
992 if (auto *FD = dyn_cast<FunctionDecl>(CurrentCaller.CDecl)) { in run()
1009 TraverseDecl(const_cast<Decl *>(CurrentCaller.CDecl)); in run()
1046 if (const auto *FD = dyn_cast<FunctionDecl>(CI.CDecl)) { in followCall()