summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/complex.number
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-23 23:37:52 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-23 23:37:52 +0000
commitfd838227411f3ce1fa348f1d334266231bbcc84d (patch)
tree204de9a3dad8b79d83bba224d8f6d4775169483f /libcxx/test/std/numerics/complex.number
parent16166a4d71fca27f454a0837465143700dd41e98 (diff)
downloadbcm5719-llvm-fd838227411f3ce1fa348f1d334266231bbcc84d.tar.gz
bcm5719-llvm-fd838227411f3ce1fa348f1d334266231bbcc84d.zip
Fix unused parameters and variables
llvm-svn: 290459
Diffstat (limited to 'libcxx/test/std/numerics/complex.number')
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.transcendentals/cos.pass.cpp1
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.transcendentals/cosh.pass.cpp1
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.transcendentals/log10.pass.cpp1
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_complex_complex.pass.cpp1
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_complex_scalar.pass.cpp1
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_scalar_complex.pass.cpp1
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.transcendentals/sin.pass.cpp1
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.transcendentals/sinh.pass.cpp1
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.transcendentals/tan.pass.cpp1
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp1
10 files changed, 0 insertions, 10 deletions
diff --git a/libcxx/test/std/numerics/complex.number/complex.transcendentals/cos.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.transcendentals/cos.pass.cpp
index e09163a7057..03ed727cab8 100644
--- a/libcxx/test/std/numerics/complex.number/complex.transcendentals/cos.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.transcendentals/cos.pass.cpp
@@ -35,7 +35,6 @@ test()
void test_edges()
{
typedef std::complex<double> C;
- const double pi = std::atan2(+0., -0.);
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
diff --git a/libcxx/test/std/numerics/complex.number/complex.transcendentals/cosh.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.transcendentals/cosh.pass.cpp
index 0fd9cf79bcb..a2c55390f2a 100644
--- a/libcxx/test/std/numerics/complex.number/complex.transcendentals/cosh.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.transcendentals/cosh.pass.cpp
@@ -35,7 +35,6 @@ test()
void test_edges()
{
typedef std::complex<double> C;
- const double pi = std::atan2(+0., -0.);
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
diff --git a/libcxx/test/std/numerics/complex.number/complex.transcendentals/log10.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.transcendentals/log10.pass.cpp
index 58286904ae2..8eb72006a1a 100644
--- a/libcxx/test/std/numerics/complex.number/complex.transcendentals/log10.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.transcendentals/log10.pass.cpp
@@ -34,7 +34,6 @@ test()
void test_edges()
{
- const double pi = std::atan2(+0., -0.);
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
diff --git a/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_complex_complex.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_complex_complex.pass.cpp
index 157246947cf..0d039a159e4 100644
--- a/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_complex_complex.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_complex_complex.pass.cpp
@@ -36,7 +36,6 @@ test()
void test_edges()
{
- const double pi = std::atan2(+0., -0.);
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
diff --git a/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_complex_scalar.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_complex_scalar.pass.cpp
index 0752ea59f55..36a2962218d 100644
--- a/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_complex_scalar.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_complex_scalar.pass.cpp
@@ -36,7 +36,6 @@ test()
void test_edges()
{
- const double pi = std::atan2(+0., -0.);
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
diff --git a/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_scalar_complex.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_scalar_complex.pass.cpp
index aedeec8caac..74a3857e932 100644
--- a/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_scalar_complex.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.transcendentals/pow_scalar_complex.pass.cpp
@@ -36,7 +36,6 @@ test()
void test_edges()
{
- const double pi = std::atan2(+0., -0.);
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
diff --git a/libcxx/test/std/numerics/complex.number/complex.transcendentals/sin.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.transcendentals/sin.pass.cpp
index e1b98ecd067..7ae59980b09 100644
--- a/libcxx/test/std/numerics/complex.number/complex.transcendentals/sin.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.transcendentals/sin.pass.cpp
@@ -35,7 +35,6 @@ test()
void test_edges()
{
typedef std::complex<double> C;
- const double pi = std::atan2(+0., -0.);
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
diff --git a/libcxx/test/std/numerics/complex.number/complex.transcendentals/sinh.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.transcendentals/sinh.pass.cpp
index 20f2e71b140..491f3fac573 100644
--- a/libcxx/test/std/numerics/complex.number/complex.transcendentals/sinh.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.transcendentals/sinh.pass.cpp
@@ -35,7 +35,6 @@ test()
void test_edges()
{
typedef std::complex<double> C;
- const double pi = std::atan2(+0., -0.);
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
diff --git a/libcxx/test/std/numerics/complex.number/complex.transcendentals/tan.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.transcendentals/tan.pass.cpp
index 041a7814d03..9f09ab5827d 100644
--- a/libcxx/test/std/numerics/complex.number/complex.transcendentals/tan.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.transcendentals/tan.pass.cpp
@@ -36,7 +36,6 @@ test()
void test_edges()
{
typedef std::complex<double> C;
- const double pi = std::atan2(+0., -0.);
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
diff --git a/libcxx/test/std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp
index 9a2276a8b75..8fa419c2179 100644
--- a/libcxx/test/std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp
@@ -35,7 +35,6 @@ test()
void test_edges()
{
typedef std::complex<double> C;
- const double pi = std::atan2(+0., -0.);
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
OpenPOWER on IntegriCloud