Implement N4100 File System TS

Programming / Compilers / GCC - redi [138bc75d-0d04-0410-961f-82ee72b054a4] - 30 April 2015 14:11 UTC

- acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define. (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
- config.h.in: Regenerate.
- configure: Regenerate.
- configure.ac: Enable filesystem TS and check its dependencies.
- include/Makefile.am: Add new headers.
- include/Makefile.in: Regenerate.
- include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in, __str_codecvt_out): Move code conversion logic from wstring_convert into new global functions. (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new functions. (wstring_convert::_M_conv): Remove.
- include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
- include/experimental/filesystem: New.
- include/experimental/fs_dir.h: New.
- include/experimental/fs_fwd.h: New.
- include/experimental/fs_ops.h: New.
- include/experimental/fs_path.h: New.
- include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
- python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
- src/Makefile.am (SUBDIRS): Add filesystem.
- src/Makefile.in: Regenerate.
- src/filesystem/Makefile.am: New.
- src/filesystem/Makefile.in: New.
- src/filesystem/dir.cc: New.
- src/filesystem/ops.cc: New.
- src/filesystem/path.cc: New.
- testsuite/experimental/filesystem/operations/absolute.cc: New.
- testsuite/experimental/filesystem/operations/copy.cc: New.
- testsuite/experimental/filesystem/operations/current_path.cc: New.
- testsuite/experimental/filesystem/path/append/path.cc: New.
- testsuite/experimental/filesystem/path/assign/assign.cc: New.
- testsuite/experimental/filesystem/path/assign/copy.cc: New.
- testsuite/experimental/filesystem/path/compare/compare.cc: New.
- testsuite/experimental/filesystem/path/compare/path.cc: New.
- testsuite/experimental/filesystem/path/compare/strings.cc: New.
- testsuite/experimental/filesystem/path/concat/path.cc: New.
- testsuite/experimental/filesystem/path/concat/strings.cc: New.
- testsuite/experimental/filesystem/path/construct/copy.cc: New.
- testsuite/experimental/filesystem/path/construct/default.cc: New.
- testsuite/experimental/filesystem/path/construct/locale.cc: New.
- testsuite/experimental/filesystem/path/construct/range.cc: New.
- testsuite/experimental/filesystem/path/decompose/extension.cc: New.
- testsuite/experimental/filesystem/path/decompose/filename.cc: New.
- testsuite/experimental/filesystem/path/decompose/parent_path.cc: New.
- testsuite/experimental/filesystem/path/decompose/relative_path.cc: New.
- testsuite/experimental/filesystem/path/decompose/root_directory.cc: New.
- testsuite/experimental/filesystem/path/decompose/root_name.cc: New.
- testsuite/experimental/filesystem/path/decompose/root_path.cc: New.
- testsuite/experimental/filesystem/path/decompose/stem.cc: New.
- testsuite/experimental/filesystem/path/generic/generic_string.cc: New.
- testsuite/experimental/filesystem/path/itr/traversal.cc: New.
- testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
- testsuite/experimental/filesystem/path/modifiers/make_preferred.cc: New.
- testsuite/experimental/filesystem/path/modifiers/remove_filename.cc: New.
- testsuite/experimental/filesystem/path/modifiers/replace_extension.cc: New.
- testsuite/experimental/filesystem/path/modifiers/replace_filename.cc: New.
- testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
- testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
- testsuite/experimental/filesystem/path/query/empty.cc: New.
- testsuite/experimental/filesystem/path/query/has_extension.cc: New.
- testsuite/experimental/filesystem/path/query/has_filename.cc: New.
- testsuite/experimental/filesystem/path/query/has_parent_path.cc: New.
- testsuite/experimental/filesystem/path/query/has_relative_path.cc: New.
- testsuite/experimental/filesystem/path/query/has_root_directory.cc: New.
- testsuite/experimental/filesystem/path/query/has_root_name.cc: New.
- testsuite/experimental/filesystem/path/query/has_root_path.cc: New.
- testsuite/experimental/filesystem/path/query/has_stem.cc: New.
- testsuite/experimental/filesystem/path/query/is_relative.cc: New.
- testsuite/util/testsuite_fs.h: New.

5924b28 Implement N4100 File System TS
libstdc++-v3/ChangeLog | 90 ++
libstdc++-v3/acinclude.m4 | 95 +-
libstdc++-v3/config.h.in | 34 +
libstdc++-v3/configure | 562 +++++++++-
libstdc++-v3/configure.ac | 6 +
libstdc++-v3/include/Makefile.am | 15 +-
libstdc++-v3/include/Makefile.in | 12 +-
libstdc++-v3/include/bits/locale_conv.h | 173 ++-
libstdc++-v3/include/bits/quoted_string.h | 164 +++
libstdc++-v3/include/experimental/filesystem | 77 ++
libstdc++-v3/include/experimental/fs_dir.h | 326 ++++++
libstdc++-v3/include/experimental/fs_fwd.h | 289 +++++
libstdc++-v3/include/experimental/fs_ops.h | 291 +++++
libstdc++-v3/include/experimental/fs_path.h | 1014 +++++++++++++++++
libstdc++-v3/include/std/iomanip | 123 +-
libstdc++-v3/python/libstdcxx/v6/printers.py | 21 +
libstdc++-v3/scripts/testsuite_flags.in | 3 +-
libstdc++-v3/src/Makefile.am | 11 +-
libstdc++-v3/src/Makefile.in | 7 +-
libstdc++-v3/src/filesystem/Makefile.am | 100 ++
libstdc++-v3/src/filesystem/Makefile.in | 661 +++++++++++
libstdc++-v3/src/filesystem/dir.cc | 396 +++++++
libstdc++-v3/src/filesystem/ops.cc | 1169 ++++++++++++++++++++
libstdc++-v3/src/filesystem/path.cc | 464 ++++++++
.../experimental/filesystem/operations/absolute.cc | 55 +
.../experimental/filesystem/operations/copy.cc | 55 +
.../filesystem/operations/current_path.cc | 57 +
.../experimental/filesystem/path/append/path.cc | 63 ++
.../experimental/filesystem/path/assign/assign.cc | 89 ++
.../experimental/filesystem/path/assign/copy.cc | 55 +
.../filesystem/path/compare/compare.cc | 50 +
.../experimental/filesystem/path/compare/path.cc | 50 +
.../filesystem/path/compare/strings.cc | 48 +
.../experimental/filesystem/path/concat/path.cc | 68 ++
.../experimental/filesystem/path/concat/strings.cc | 51 +
.../experimental/filesystem/path/construct/copy.cc | 54 +
.../filesystem/path/construct/default.cc | 50 +
.../filesystem/path/construct/locale.cc | 39 +
.../filesystem/path/construct/range.cc | 60 +
.../filesystem/path/decompose/extension.cc | 61 +
.../filesystem/path/decompose/filename.cc | 58 +
.../filesystem/path/decompose/parent_path.cc | 61 +
.../filesystem/path/decompose/relative_path.cc | 65 ++
.../filesystem/path/decompose/root_directory.cc | 60 +
.../filesystem/path/decompose/root_name.cc | 42 +
.../filesystem/path/decompose/root_path.cc | 55 +
.../experimental/filesystem/path/decompose/stem.cc | 53 +
.../filesystem/path/generic/generic_string.cc | 48 +
.../experimental/filesystem/path/itr/traversal.cc | 86 ++
.../filesystem/path/modifiers/clear.cc | 45 +
.../filesystem/path/modifiers/make_preferred.cc | 63 ++
.../filesystem/path/modifiers/remove_filename.cc | 53 +
.../filesystem/path/modifiers/replace_extension.cc | 52 +
.../filesystem/path/modifiers/replace_filename.cc | 52 +
.../experimental/filesystem/path/modifiers/swap.cc | 44 +
.../filesystem/path/nonmember/hash_value.cc | 51 +
.../experimental/filesystem/path/query/empty.cc | 43 +
.../filesystem/path/query/has_extension.cc | 43 +
.../filesystem/path/query/has_filename.cc | 43 +
.../filesystem/path/query/has_parent_path.cc | 43 +
.../filesystem/path/query/has_relative_path.cc | 43 +
.../filesystem/path/query/has_root_directory.cc | 43 +
.../filesystem/path/query/has_root_name.cc | 43 +
.../filesystem/path/query/has_root_path.cc | 43 +
.../experimental/filesystem/path/query/has_stem.cc | 43 +
.../filesystem/path/query/is_relative.cc | 43 +
libstdc++-v3/testsuite/lib/dg-options.exp | 9 +
libstdc++-v3/testsuite/lib/libstdc++.exp | 47 +
libstdc++-v3/testsuite/util/testsuite_fs.h | 67 ++
69 files changed, 8252 insertions(+), 197 deletions(-)

Upstream: gcc.gnu.org


  • Share