From: Jonathan Wakely Date: Tue, 15 May 2018 12:43:44 +0000 (+0100) Subject: Remove unused headers from tests X-Git-Tag: upstream/12.2.0~31847 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0e01682467a22a00530704669d8c253e6dac522;p=platform%2Fupstream%2Fgcc.git 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. From-SVN: r260256 --- 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 + * 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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#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 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 -#include #include #include