Details
- Reviewers
philnik Mordante - Group Reviewers
Restricted Project - Commits
- rGbc8f007fe045: [libc++] Get rid of _LIBCPP_HAS_OPEN_WITH_WCHAR in the test suite
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM % comment.
libcxx/test/libcxx/input.output/file.streams/fstreams/wide_temp_file.h | ||
---|---|---|
18 | Since we are in the test suite I'd rather use TEST_DIAGNOSTIC_PUSH, TEST_CLANG_DIAGNOSTIC_IGNORED and TEST_DIAGNOSTIC_POP. |
Remove libc++ macros from tests.
libcxx/test/libcxx/input.output/file.streams/fstreams/wide_temp_file.h | ||
---|---|---|
18 | Thanks, I forgot we had those. |
LGTM modulo one comment.
libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.members/open_wchar_pointer.pass.cpp | ||
---|---|---|
23 | I'm not fond of include paths containing .. since it may include files at unexpected locations. |
libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.members/open_wchar_pointer.pass.cpp | ||
---|---|---|
23 | I can do that, but I'm not sure how this can end up selecting a file at an unexpected location, since the current directory is always the first path that the preprocessor looks in for "" style includes. |
libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.members/open_wchar_pointer.pass.cpp | ||
---|---|---|
23 | I've had issues with .. in the past, but it no longer occur with newer compilers. |
I'm not fond of include paths containing .. since it may include files at unexpected locations.
How about moving this file to the test/support directory instead?