In http://reviews.llvm.org/D8034#133876, @bkramer wrote:

> Not sure if I understand. If the temporary needs dynamic initialization then 
> we can't constant fold the initializer and fall through to the existing 
> CreateMemTemp call.


Sure, but `CreateMemTemp` doesn't perform the initialization; that's done by 
the caller. How does the caller know to not do that?


http://reviews.llvm.org/D8034

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to