[libcxx-commits] [PATCH] D107755: [libcxx] [test] Generalize defines for skipping allocation checks

Nancy Wang via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 9 14:33:06 PDT 2021


NancyWang2222 added inline comments.


================
Comment at: libcxx/test/support/test_macros.h:418
+// don't work though.
+#define ASSERT_WITH_OPERATOR_NEW_FALLBACKS(...) ((void)(__VA_ARGS__))
 #else
----------------
NancyWang2222 wrote:
> those __VA_ARGS__ set 0 on WIN32 only but still set on __MVS__. 
nvm. I guess it is just checking condition and doesn't trigger assert


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107755



More information about the libcxx-commits mailing list