[PATCH] D17451: PR26448: [Sema] Fix determined type of ternary operator acting on two xvalue class types

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 18 08:35:05 PDT 2016


rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

LGTM, thanks!


================
Comment at: lib/Sema/SemaExprCXX.cpp:4698
@@ +4697,3 @@
+  //      constraint that in the conversion the reference must bind directly to
+  //      E1.
+  //   -- If E2 is an xvalue: E1 can be converted to match E2 if E1 can be
----------------
This should say: "... must bind directly to an lvalue."


http://reviews.llvm.org/D17451





More information about the cfe-commits mailing list