aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-05-15 13:43:44 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-05-15 13:43:44 +0100
commitb0e01682467a22a00530704669d8c253e6dac522 (patch)
tree890ef83322e1f52078d79eabf2263c5d11be2748
parent6cda876da273e36bb65f843a9bf39576258ebf19 (diff)
downloadgcc-b0e01682467a22a00530704669d8c253e6dac522.zip
gcc-b0e01682467a22a00530704669d8c253e6dac522.tar.gz
gcc-b0e01682467a22a00530704669d8c253e6dac522.tar.bz2
Remove unused headers from tests
* testsuite/27_io/filesystem/path/decompose/extension.cc: Remove unused <vector> header. * testsuite/27_io/filesystem/path/query/empty.cc: Likewise. * testsuite/27_io/filesystem/path/query/has_extension.cc: Likewise. * testsuite/27_io/filesystem/path/query/has_filename.cc: Likewise. * testsuite/27_io/filesystem/path/query/has_parent_path.cc: Likewise. * testsuite/27_io/filesystem/path/query/has_relative_path.cc: Likewise. * testsuite/27_io/filesystem/path/query/has_root_directory.cc: Likewise. * testsuite/27_io/filesystem/path/query/has_root_name.cc: Likewise. * testsuite/27_io/filesystem/path/query/has_root_path.cc: Likewise. * testsuite/27_io/filesystem/path/query/has_stem.cc: Likewise. * testsuite/27_io/filesystem/path/query/is_relative.cc: Likewise. * testsuite/experimental/filesystem/path/decompose/extension.cc: Likewise. * testsuite/experimental/filesystem/path/query/empty.cc: Likewise. * testsuite/experimental/filesystem/path/query/has_extension.cc: Likewise. * testsuite/experimental/filesystem/path/query/has_filename.cc: Likewise. * testsuite/experimental/filesystem/path/query/has_parent_path.cc: Likewise. * testsuite/experimental/filesystem/path/query/has_relative_path.cc: Likewise. * testsuite/experimental/filesystem/path/query/has_root_directory.cc: Likewise. * testsuite/experimental/filesystem/path/query/has_root_name.cc: Likewise. * testsuite/experimental/filesystem/path/query/has_root_path.cc: Likewise. * testsuite/experimental/filesystem/path/query/has_stem.cc: Likewise. * testsuite/experimental/filesystem/path/query/is_relative.cc: Likewise. From-SVN: r260256
-rw-r--r--libstdc++-v3/ChangeLog35
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/decompose/extension.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/query/empty.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/query/has_extension.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/query/has_filename.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/query/has_parent_path.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/query/has_relative_path.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_directory.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_name.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_path.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/query/has_stem.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/query/is_relative.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc1
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc1
23 files changed, 35 insertions, 22 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 22eeaa3..a68e719 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,40 @@
2018-05-15 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/27_io/filesystem/path/decompose/extension.cc: Remove
+ unused <vector> header.
+ * testsuite/27_io/filesystem/path/query/empty.cc: Likewise.
+ * testsuite/27_io/filesystem/path/query/has_extension.cc: Likewise.
+ * testsuite/27_io/filesystem/path/query/has_filename.cc: Likewise.
+ * testsuite/27_io/filesystem/path/query/has_parent_path.cc: Likewise.
+ * testsuite/27_io/filesystem/path/query/has_relative_path.cc:
+ Likewise.
+ * testsuite/27_io/filesystem/path/query/has_root_directory.cc:
+ Likewise.
+ * testsuite/27_io/filesystem/path/query/has_root_name.cc: Likewise.
+ * testsuite/27_io/filesystem/path/query/has_root_path.cc: Likewise.
+ * testsuite/27_io/filesystem/path/query/has_stem.cc: Likewise.
+ * testsuite/27_io/filesystem/path/query/is_relative.cc: Likewise.
+ * testsuite/experimental/filesystem/path/decompose/extension.cc:
+ Likewise.
+ * testsuite/experimental/filesystem/path/query/empty.cc: Likewise.
+ * testsuite/experimental/filesystem/path/query/has_extension.cc:
+ Likewise.
+ * testsuite/experimental/filesystem/path/query/has_filename.cc:
+ Likewise.
+ * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
+ Likewise.
+ * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
+ Likewise.
+ * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
+ Likewise.
+ * testsuite/experimental/filesystem/path/query/has_root_name.cc:
+ Likewise.
+ * testsuite/experimental/filesystem/path/query/has_root_path.cc:
+ Likewise.
+ * testsuite/experimental/filesystem/path/query/has_stem.cc: Likewise.
+ * testsuite/experimental/filesystem/path/query/is_relative.cc:
+ Likewise.
+
PR libstdc++/84159
* include/bits/fs_path.h (path::operator/=, path::append): Construct
temporary path before calling _M_append.
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/extension.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/extension.cc
index 2a314f2..9084318 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/extension.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/extension.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/query/empty.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/query/empty.cc
index dd04ac1..1b0118f 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/query/empty.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/query/empty.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_extension.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_extension.cc
index 1624d0c..fd93f93 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_extension.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_extension.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_filename.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_filename.cc
index eda08c7..1eba691 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_filename.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_filename.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_parent_path.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_parent_path.cc
index 7ffe48c..6908046 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_parent_path.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_parent_path.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_relative_path.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_relative_path.cc
index 51d8232..0381be1 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_relative_path.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_relative_path.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_directory.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_directory.cc
index 24eca17..f509f4d 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_directory.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_directory.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_name.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_name.cc
index e2763dd..0fa834a 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_name.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_name.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_path.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_path.cc
index a66b54d..edb63b0 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_path.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_root_path.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_stem.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_stem.cc
index 3ee31d2..9686e2a 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_stem.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/query/has_stem.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/query/is_relative.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/query/is_relative.cc
index d101773..a647e8e 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/query/is_relative.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/query/is_relative.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc
index ab828dd..f9a020f 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc
index 2610453..cc8c74b 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc
index 1afe4cf..cf5e076 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc
index b1eaabee..a8b4b32 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc
index d527218..a754e50 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc
index bd40d83..e527459 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc
index e291067..d1444f7 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc
index 80cf98a..a3da27a 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc
index a220731..81e39a1 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc
index 32f1613..8522996 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc
index 6c8c60b..ce8255e 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc
@@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem>
-#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_fs.h>