From fe18397563780ef5c090544ff3046b985721eb5e Mon Sep 17 00:00:00 2001 From: redi Date: Tue, 15 May 2018 12:43:44 +0000 Subject: [PATCH] Remove unused headers from tests * testsuite/27_io/filesystem/path/decompose/extension.cc: Remove unused 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260256 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 35 ++++++++++++++++++++++ .../27_io/filesystem/path/decompose/extension.cc | 1 - .../testsuite/27_io/filesystem/path/query/empty.cc | 1 - .../27_io/filesystem/path/query/has_extension.cc | 1 - .../27_io/filesystem/path/query/has_filename.cc | 1 - .../27_io/filesystem/path/query/has_parent_path.cc | 1 - .../filesystem/path/query/has_relative_path.cc | 1 - .../filesystem/path/query/has_root_directory.cc | 1 - .../27_io/filesystem/path/query/has_root_name.cc | 1 - .../27_io/filesystem/path/query/has_root_path.cc | 1 - .../27_io/filesystem/path/query/has_stem.cc | 1 - .../27_io/filesystem/path/query/is_relative.cc | 1 - .../filesystem/path/decompose/extension.cc | 1 - .../experimental/filesystem/path/query/empty.cc | 1 - .../filesystem/path/query/has_extension.cc | 1 - .../filesystem/path/query/has_filename.cc | 1 - .../filesystem/path/query/has_parent_path.cc | 1 - .../filesystem/path/query/has_relative_path.cc | 1 - .../filesystem/path/query/has_root_directory.cc | 1 - .../filesystem/path/query/has_root_name.cc | 1 - .../filesystem/path/query/has_root_path.cc | 1 - .../experimental/filesystem/path/query/has_stem.cc | 1 - .../filesystem/path/query/is_relative.cc | 1 - 23 files changed, 35 insertions(+), 22 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 22eeaa3da72..a68e719fbc8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,40 @@ 2018-05-15 Jonathan Wakely + * testsuite/27_io/filesystem/path/decompose/extension.cc: Remove + unused 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 2a314f24548..9084318aac0 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 -#include #include #include 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 dd04ac14c15..1b0118f79d2 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 -#include #include #include 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 1624d0cab15..fd93f9337a0 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 -#include #include #include 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 eda08c7c94b..1eba6913474 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 -#include #include #include 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 7ffe48c8739..6908046989c 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 -#include #include #include 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 51d82320583..0381be10222 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 -#include #include #include 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 24eca17a7ca..f509f4d52fd 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 -#include #include #include 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 e2763dd0754..0fa834ad6df 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 -#include #include #include 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 a66b54dfaa3..edb63b03fa6 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 -#include #include #include 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 3ee31d26fa1..9686e2ab83b 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 -#include #include #include 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 d1017730803..a647e8e831f 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 -#include #include #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc index ab828dd1655..f9a020f45b4 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 -#include #include #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc index 26104533b1d..cc8c74bb478 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 -#include #include #include 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 1afe4cfce3f..cf5e0769abf 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 -#include #include #include 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 b1eaabeeffb..a8b4b3252de 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 -#include #include #include 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 d5272181b02..a754e50e887 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 -#include #include #include 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 bd40d831b6a..e52745954c3 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 -#include #include #include 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 e2910673de1..d1444f7a5a8 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 -#include #include #include 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 80cf98a34a0..a3da27add2c 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 -#include #include #include 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 a2207311e66..81e39a13d5d 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 -#include #include #include 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 32f16133b3f..8522996e0af 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 -#include #include #include 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 6c8c60b43cb..ce8255e402f 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 -#include #include #include -- 2.11.4.GIT