nickdesaulniers wrote:

> I think I'd prefer to avoid calling into ConstExprEmitter at all for cases 
> involving reference binding. I think we've sort of discussed this before. 
> Maybe add a check to tryEmitPrivate()? (We already have a check in 
> tryEmitPrivateForVarInit().)

Done in 
https://github.com/llvm/llvm-project/pull/70366/commits/4cff8f0f1cb4bba84f32d3953a5abfafd13c6b09
 PTAL @efriedma-quic 

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

Reply via email to