[libcxx] r267843 - Provide member function definitions to avoid warnings. Patch from STL at microsoft.com
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 27 19:18:49 PDT 2016
Author: ericwf
Date: Wed Apr 27 21:18:48 2016
New Revision: 267843
URL: http://llvm.org/viewvc/llvm-project?rev=267843&view=rev
Log:
Provide member function definitions to avoid warnings. Patch from STL at microsoft.com
Modified:
libcxx/trunk/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp
Modified: libcxx/trunk/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp?rev=267843&r1=267842&r2=267843&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp Wed Apr 27 21:18:48 2016
@@ -53,7 +53,7 @@ constexpr bool throws_callable() {
// once implementations have caught up.
void test_noexcept_function_pointers()
{
- struct Dummy { void foo() noexcept; static void bar() noexcept; };
+ struct Dummy { void foo() noexcept {} static void bar() noexcept {} };
#if !defined(__cpp_noexcept_function_type)
{
// Check that PMF's and function pointers *work*. is_nothrow_callable will always
More information about the cfe-commits
mailing list