diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-04-28 03:17:56 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-04-28 03:17:56 +0000 |
commit | 7626f778a567767690b279420037b7f11f2e4748 (patch) | |
tree | 2a3c5799af5f585efc621a3ff4ec838b2009fd79 /libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind | |
parent | fbe85ae12e03cc95f0ae34cce8357f9cb22f0157 (diff) | |
download | bcm5719-llvm-7626f778a567767690b279420037b7f11f2e4748.tar.gz bcm5719-llvm-7626f778a567767690b279420037b7f11f2e4748.zip |
Remove names of unreferenced parameters. Patch from STL@microsoft.com
llvm-svn: 267852
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind')
2 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/PR23141_invoke_not_constexpr.pass.cpp b/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/PR23141_invoke_not_constexpr.pass.cpp index 163b2d9afea..5e347c4c571 100644 --- a/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/PR23141_invoke_not_constexpr.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/PR23141_invoke_not_constexpr.pass.cpp @@ -23,7 +23,7 @@ struct Fun { template<typename T, typename U> - void operator()(T && t, U && u) const + void operator()(T &&, U &&) const { static_assert(std::is_same<U, int &>::value, ""); } diff --git a/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_function_object.pass.cpp b/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_function_object.pass.cpp index 4577d0bf4d5..a0c686de77b 100644 --- a/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_function_object.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_function_object.pass.cpp @@ -23,7 +23,7 @@ struct DummyUnaryFunction { template <typename S> - int operator()(S const & s) const { return 0; } + int operator()(S const &) const { return 0; } }; struct BadUnaryFunction @@ -39,7 +39,7 @@ struct BadUnaryFunction } }; -int main(int argc, char* argv[]) +int main() { // Check that BadUnaryFunction::operator()(S const &) is not // instantiated when checking if BadUnaryFunction is a nested bind |