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
This commit is contained in:
Jonathan Wakely 2018-05-15 13:43:44 +01:00 committed by Jonathan Wakely
parent 6cda876da2
commit b0e0168246
23 changed files with 35 additions and 22 deletions

View file

@ -1,5 +1,40 @@
2018-05-15 Jonathan Wakely <jwakely@redhat.com> 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 PR libstdc++/84159
* include/bits/fs_path.h (path::operator/=, path::append): Construct * include/bits/fs_path.h (path::operator/=, path::append): Construct
temporary path before calling _M_append. temporary path before calling _M_append.

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <filesystem> #include <filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>

View file

@ -22,7 +22,6 @@
// 8.4.9 path decomposition [path.decompose] // 8.4.9 path decomposition [path.decompose]
#include <experimental/filesystem> #include <experimental/filesystem>
#include <vector>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_fs.h> #include <testsuite_fs.h>