================ @@ -609,6 +676,16 @@ LValue CIRGenFunction::emitDeclRefLValue(const DeclRefExpr *e) { return emitLValue(bd->getBinding()); } + if (const auto *FD = dyn_cast<FunctionDecl>(nd)) { + LValue LV = emitFunctionDeclLValue(*this, e, FD); ---------------- mmha wrote:
```suggestion if (const auto *fd = dyn_cast<FunctionDecl>(nd)) { LValue lv = emitFunctionDeclLValue(*this, e, fd); ``` https://github.com/llvm/llvm-project/pull/154060 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits