================ @@ -7513,6 +7516,30 @@ void Sema::checkCall(NamedDecl *FDecl, const FunctionProtoType *Proto, } } + auto *CallerFD = dyn_cast<FunctionDecl>(CurContext); ---------------- dtemirbulatov wrote: Done. https://github.com/llvm/llvm-project/pull/79842