llvm-project/libcxx/test/std/utilities/allocator.adaptor
Stephan T. Lavavej e01b1eff59 [libcxx] [test] Fix recently introduced warnings emitted by MSVC.
These tests were using malloc()'s return value without checking for null,
which MSVC's /analyze rightly warns about. Asserting that the pointer is
non-null both expresses the test's intention and silences the warning.

Fixes D27785.

llvm-svn: 290921
2017-01-04 00:53:31 +00:00
..
allocator.adaptor.cnstr Remove all instances of _LIBCPP_HAS_NO_RVALUE_REFERENCES from test/std/utilities 2016-10-01 10:46:01 +00:00
allocator.adaptor.members [libcxx] [test] Fix recently introduced warnings emitted by MSVC. 2017-01-04 00:53:31 +00:00
allocator.adaptor.types Remove all instances of _LIBCPP_HAS_NO_RVALUE_REFERENCES from test/std/utilities 2016-10-01 10:46:01 +00:00
scoped.adaptor.operators Remove all instances of _LIBCPP_HAS_NO_RVALUE_REFERENCES from test/std/utilities 2016-10-01 10:46:01 +00:00
types.pass.cpp Remove all instances of _LIBCPP_HAS_NO_RVALUE_REFERENCES from test/std/utilities 2016-10-01 10:46:01 +00:00