llvm-project/libcxx
Eric Fiselier a18ef6f1f9 Fix PR31916 - std::visit rejects visitors accepting lvalue arguments
A static assertion was misfiring since it checked
is_callable<Visitor, decltype(__variant_alt<T>.value)>. However
the decltype expression doesn't capture the value category as
required. This patch applies extra braces to decltype to fix
that.

llvm-svn: 294612
2017-02-09 19:01:22 +00:00
..
benchmarks improve performance of string::find 2016-12-30 18:01:36 +00:00
cmake Improve CMake and LIT support for Windows 2017-01-16 20:47:35 +00:00
docs Fix typo in docs 2017-02-05 01:16:25 +00:00
include Fix PR31916 - std::visit rejects visitors accepting lvalue arguments 2017-02-09 19:01:22 +00:00
lib [libcxx][CMake] Support in-tree libunwind when building as part of runtimes 2017-02-09 02:19:43 +00:00
src Threading support: externalize sleep_for() function. 2017-02-09 09:31:41 +00:00
test Fix PR31916 - std::visit rejects visitors accepting lvalue arguments 2017-02-09 19:01:22 +00:00
utils Allow sym_diff.py to report non-zero for non-breaking ABI changes 2017-01-18 00:05:01 +00:00
www Update info for LWG 2665 in upcoming_meeting.html 2017-02-08 19:04:18 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.clang-format Tweak .clang-format configuration. 2017-01-14 05:43:02 +00:00
.gitignore Implement N4606 optional 2016-10-12 07:46:20 +00:00
CMakeLists.txt [libcxx][CMake] Support in-tree libunwind when building as part of runtimes 2017-02-09 02:19:43 +00:00
CREDITS.TXT Added "Michael Park" to `CREDITS.TXT`. 2017-01-07 10:19:24 +00:00
LICENSE.TXT Update year to 2017 2017-01-03 11:20:43 +00:00
NOTES.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00
TODO.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00