================
@@ -4503,7 +4510,7 @@ static CompleteObject findCompleteObject(EvalInfo &Info, 
const Expr *E,
   } else {
     const Expr *Base = LVal.Base.dyn_cast<const Expr*>();
 
-    if (!Frame) {
+    if (AK != clang::AK_ReferenceInitialization && !Frame) {
----------------
erichkeane wrote:

Can we move hte new check here to 4510?

https://github.com/llvm/llvm-project/pull/143667
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to