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:
Howard Hinnant
2013-08-23 20:10:18 +00:00
parent 5d5f9f9786
commit 5e57142c59
162 changed files with 292 additions and 292 deletions

View File

@@ -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