summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-04-28 03:17:56 +0000
committerEric Fiselier <eric@efcs.ca>2016-04-28 03:17:56 +0000
commit7626f778a567767690b279420037b7f11f2e4748 (patch)
tree2a3c5799af5f585efc621a3ff4ec838b2009fd79 /libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind
parentfbe85ae12e03cc95f0ae34cce8357f9cb22f0157 (diff)
downloadbcm5719-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')
-rw-r--r--libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/PR23141_invoke_not_constexpr.pass.cpp2
-rw-r--r--libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/invoke_function_object.pass.cpp4
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
OpenPOWER on IntegriCloud