Rename _LIBCPP_DEBUG2 to _LIBCPP_DEBUG.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@189140 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
// void pop_back();
|
||||
|
||||
#if _LIBCPP_DEBUG2 >= 1
|
||||
#if _LIBCPP_DEBUG >= 1
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
#endif
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "../../../stack_allocator.h"
|
||||
#include "../../../min_allocator.h"
|
||||
|
||||
#if _LIBCPP_DEBUG2 >= 1
|
||||
#if _LIBCPP_DEBUG >= 1
|
||||
#include <cstdlib>
|
||||
#include <exception>
|
||||
|
||||
@@ -34,7 +34,7 @@ int main()
|
||||
assert(c.size() == 1);
|
||||
c.pop_back();
|
||||
assert(c.size() == 0);
|
||||
#if _LIBCPP_DEBUG2 >= 1
|
||||
#if _LIBCPP_DEBUG >= 1
|
||||
c.pop_back();
|
||||
assert(false);
|
||||
#endif
|
||||
@@ -46,7 +46,7 @@ int main()
|
||||
assert(c.size() == 1);
|
||||
c.pop_back();
|
||||
assert(c.size() == 0);
|
||||
#if _LIBCPP_DEBUG2 >= 1
|
||||
#if _LIBCPP_DEBUG >= 1
|
||||
c.pop_back();
|
||||
assert(false);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user