[PATCH] libc++: Add option to disable access to the global filesystem namespace
Ed Schouten
ed at nuxi.nl
Wed Mar 11 14:14:04 PDT 2015
Hi Jonathan,
As you proposed, I have inverted the logic. We now have a flag _LIBCPP_HAS_GLOBAL_FILESYSTEM_NAMESPACE. I temporarily added -D_LIBCPP_HAS_GLOBAL_FILESYSTEM_NAMESPACE to test/libcxx/test/config.py, so I've been able to mark all the tests that require the global filesystem namespace.
I won't add anything permanent to config.py yet. There may still be a number of other flags I'll need to add. My plan is to tailor config.py as soon as libc++ builds entirely.
http://reviews.llvm.org/D8194
Files:
include/__config
include/cstdio
include/fstream
test/std/input.output/file.streams/c.files/cstdio.pass.cpp
test/std/input.output/file.streams/fstreams/filebuf.assign/member_swap.pass.cpp
test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp
test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap.pass.cpp
test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp
test/std/input.output/file.streams/fstreams/filebuf.members/open_pointer.pass.cpp
test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp
test/std/input.output/file.streams/fstreams/filebuf.virtuals/pbackfail.pass.cpp
test/std/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp
test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp
test/std/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp
test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp
test/std/input.output/file.streams/fstreams/fstream.assign/nonmember_swap.pass.cpp
test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp
test/std/input.output/file.streams/fstreams/fstream.cons/pointer.pass.cpp
test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp
test/std/input.output/file.streams/fstreams/fstream.members/close.pass.cpp
test/std/input.output/file.streams/fstreams/fstream.members/open_pointer.pass.cpp
test/std/input.output/file.streams/fstreams/fstream.members/open_string.pass.cpp
test/std/input.output/file.streams/fstreams/ifstream.assign/member_swap.pass.cpp
test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp
test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp
test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp
test/std/input.output/file.streams/fstreams/ifstream.cons/pointer.pass.cpp
test/std/input.output/file.streams/fstreams/ifstream.cons/string.pass.cpp
test/std/input.output/file.streams/fstreams/ifstream.members/close.pass.cpp
test/std/input.output/file.streams/fstreams/ifstream.members/open_pointer.pass.cpp
test/std/input.output/file.streams/fstreams/ifstream.members/open_string.pass.cpp
test/std/input.output/file.streams/fstreams/ifstream.members/rdbuf.pass.cpp
test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp
test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp
test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp
test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp
test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp
test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp
test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp
test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp
test/std/input.output/file.streams/fstreams/ofstream.members/open_string.pass.cpp
test/std/input.output/file.streams/fstreams/ofstream.members/rdbuf.pass.cpp
test/std/localization/locales/locale.convenience/conversions/conversions.buffer/overflow.pass.cpp
test/std/localization/locales/locale.convenience/conversions/conversions.buffer/pbackfail.pass.cpp
test/std/localization/locales/locale.convenience/conversions/conversions.buffer/seekoff.pass.cpp
test/std/localization/locales/locale.convenience/conversions/conversions.buffer/test.pass.cpp
test/std/localization/locales/locale.convenience/conversions/conversions.buffer/underflow.pass.cpp
test/support/platform_support.h
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8194.21763.patch
Type: text/x-patch
Size: 32532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150311/27f08825/attachment.bin>
More information about the cfe-commits
mailing list