[libcxx-commits] [PATCH] D135163: [libc++] Get rid of _LIBCPP_HAS_OPEN_WITH_WCHAR in the test suite

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 5 08:27:38 PDT 2022


ldionne added inline comments.


================
Comment at: libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.members/open_wchar_pointer.pass.cpp:23
 #include "test_macros.h"
-#include "platform_support.h"
+#include "../wide_temp_file.h"
 
----------------
Mordante wrote:
> 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?
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.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135163/new/

https://reviews.llvm.org/D135163



More information about the libcxx-commits mailing list