diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-05-15 12:43:44 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-05-15 12:43:44 +0000 |
commit | fe18397563780ef5c090544ff3046b985721eb5e (patch) | |
tree | 890ef83322e1f52078d79eabf2263c5d11be2748 | |
parent | e4e906964702358428854a88d9f22245021ec49e (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260256 138bc75d-0d04-0410-961f-82ee72b054a4
23 files changed, 35 insertions, 22 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 22eeaa3da72d..a68e719fbc85 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 2a314f245484..9084318aac08 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 dd04ac14c15c..1b0118f79d22 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 1624d0cab158..fd93f9337a0d 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 eda08c7c94b6..1eba6913474e 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 7ffe48c87399..6908046989ca 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 51d823205838..0381be102221 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 24eca17a7ca3..f509f4d52fdc 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 e2763dd07545..0fa834ad6dfb 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 a66b54dfaa35..edb63b03fa60 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 3ee31d26fa1e..9686e2ab83b8 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 d1017730803a..a647e8e831f4 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 ab828dd16556..f9a020f45b45 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 26104533b1d3..cc8c74bb4789 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 1afe4cfce3f5..cf5e0769abfa 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 b1eaabeeffb2..a8b4b3252de7 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 d5272181b024..a754e50e887b 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 bd40d831b6a4..e52745954c32 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 e2910673de1d..d1444f7a5a80 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 80cf98a34a06..a3da27add2c2 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 a2207311e66c..81e39a13d5de 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 32f16133b3f6..8522996e0afa 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 6c8c60b43cb6..ce8255e402fc 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> |