r226983 - in /branches/gcc-5-branch/libstdc++-v...
redi@gcc.gnu.org
redi@gcc.gnu.org
Tue Aug 18 17:58:00 GMT 2015
Author: redi
Date: Tue Aug 18 17:58:22 2015
New Revision: 226983
URL: https://gcc.gnu.org/viewcvs?rev=226983&root=gcc&view=rev
Log:
Backport Filesystem TS from mainline
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS,
GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
* configure.ac: Use them.
* configure: Regenerate.
* config.h.in: Regenerate.
* include/Makefile.am: Add filesystem headers. Fix order of headers.
* include/Makefile.in: Regenerate.
* include/bits/locale_conv.h (__do_str_codecvt, __str_codecvt_in,
__str_codecvt_out, wstring_convert): Refactor to move all conversion
logic to non-member functions.
* include/bits/quoted_string.h (_Quoted_string, operator<<,
operator>>): Move from <iomanip> to new header.
* 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, operator<<, operator>>): Move
to <bits/quoted_string.h>.
* libstdcxx/v6/printers.py (StdExpPathPrinter): Define.
* scripts/testsuite_flags.in: Add filesystem dir to ldflags.
* src/Makefile.am: Add filesystem sub-dir.
* 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/operations/exists.cc: New.
* testsuite/experimental/filesystem/operations/file_size.cc: New.
* testsuite/experimental/filesystem/operations/status.cc: New.
* testsuite/experimental/filesystem/operations/temp_directory_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/lib/dg-options.exp (dg-require-filesystem-ts): Define.
* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Define.
* testsuite/util/testsuite_fs.h: New.
Added:
branches/gcc-5-branch/libstdc++-v3/include/bits/quoted_string.h
branches/gcc-5-branch/libstdc++-v3/include/experimental/filesystem
branches/gcc-5-branch/libstdc++-v3/include/experimental/fs_dir.h
branches/gcc-5-branch/libstdc++-v3/include/experimental/fs_fwd.h
branches/gcc-5-branch/libstdc++-v3/include/experimental/fs_ops.h
branches/gcc-5-branch/libstdc++-v3/include/experimental/fs_path.h
branches/gcc-5-branch/libstdc++-v3/src/filesystem/
branches/gcc-5-branch/libstdc++-v3/src/filesystem/Makefile.am
branches/gcc-5-branch/libstdc++-v3/src/filesystem/Makefile.in
- copied, changed from r226982, branches/gcc-5-branch/libstdc++-v3/src/Makefile.in
branches/gcc-5-branch/libstdc++-v3/src/filesystem/dir.cc
branches/gcc-5-branch/libstdc++-v3/src/filesystem/ops.cc
branches/gcc-5-branch/libstdc++-v3/src/filesystem/path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/append/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/append/path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/assign/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/assign/copy.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/compare/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/compare/compare.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/compare/path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/concat/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/concat/path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/construct/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/construct/copy.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/construct/default.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/construct/locale.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/filename.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/parent_path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/relative_path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_directory.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_name.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/stem.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/factory/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/factory/TODO
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/generic/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/io/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/io/TODO
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/itr/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/clear.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/make_preferred.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/remove_filename.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_extension.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_filename.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/swap.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/native/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/native/TODO
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/hash_value.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc
branches/gcc-5-branch/libstdc++-v3/testsuite/util/testsuite_fs.h
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/acinclude.m4
branches/gcc-5-branch/libstdc++-v3/config.h.in
branches/gcc-5-branch/libstdc++-v3/configure
branches/gcc-5-branch/libstdc++-v3/configure.ac
branches/gcc-5-branch/libstdc++-v3/include/Makefile.am
branches/gcc-5-branch/libstdc++-v3/include/Makefile.in
branches/gcc-5-branch/libstdc++-v3/include/bits/locale_conv.h
branches/gcc-5-branch/libstdc++-v3/include/std/iomanip
branches/gcc-5-branch/libstdc++-v3/python/libstdcxx/v6/printers.py
branches/gcc-5-branch/libstdc++-v3/scripts/testsuite_flags.in
branches/gcc-5-branch/libstdc++-v3/src/Makefile.am
branches/gcc-5-branch/libstdc++-v3/src/Makefile.in
branches/gcc-5-branch/libstdc++-v3/testsuite/lib/dg-options.exp
branches/gcc-5-branch/libstdc++-v3/testsuite/lib/libstdc++.exp
More information about the Gcc-cvs
mailing list