[PATCH] D26231: [Sema] Allow static_cast<T&&>(e) to check explicit conversions for non-reference-related types.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 2 13:30:33 PDT 2016


EricWF updated this revision to Diff 76775.
EricWF added a comment.

- Add tests under `test/CXX`
- Add FIXME regarding the C++1z change from glvalue to lvalue in p3.


https://reviews.llvm.org/D26231

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaCast.cpp
  test/CXX/expr/expr.post/expr.static.cast/p3-p4-0x.cpp
  test/SemaCXX/rval-references.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26231.76775.patch
Type: text/x-patch
Size: 5487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161102/76178d14/attachment.bin>


More information about the cfe-commits mailing list