hanchenye-llvm-project/libcxx/test
Eric Fiselier 279663c1b4 Prevent ill-formed instantiation of __invoke_of<...> during the evaluation of a bind expression. Fixes PR22003.
The SFINAE on the function __mu(Fn, Args...) that evaluates nested bind
expressions always tries to deduce the return type for Fn(Args...) even when Fn
is not a nested bind expression. This can cause hard compile errors when the
instantation of Fn(Args...) is ill-formed. This patch prevents the instantation
of __invoke_of<Fn, Args...> unless Fn is actually a bind expression.

Bug reportand patch from Michel Morin.

http://llvm.org/bugs/show_bug.cgi?id=22003

llvm-svn: 224753
2014-12-23 05:54:34 +00:00
..
std Prevent ill-formed instantiation of __invoke_of<...> during the evaluation of a bind expression. Fixes PR22003. 2014-12-23 05:54:34 +00:00
support [libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers. 2014-12-22 22:38:59 +00:00
CMakeLists.txt [libcxx] Teach libcxx's lit configuration new ways to find lit.site.cfg 2014-12-20 03:16:55 +00:00
lit.cfg [libcxx] Add numerous options to libc++ LIT test suite configuration. 2014-12-22 20:49:45 +00:00
lit.site.cfg.in [libcxx] Add numerous options to libc++ LIT test suite configuration. 2014-12-22 20:49:45 +00:00
nothing_to_do.pass.cpp
testit