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:
@@ -12,7 +12,7 @@
|
||||
// const charT& back() const;
|
||||
// charT& back();
|
||||
|
||||
#ifdef _LIBCPP_DEBUG2
|
||||
#ifdef _LIBCPP_DEBUG
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
#endif
|
||||
|
||||
@@ -46,7 +46,7 @@ int main()
|
||||
test(S("1234567890123456789012345678901234567890"));
|
||||
}
|
||||
#endif
|
||||
#ifdef _LIBCPP_DEBUG2
|
||||
#ifdef _LIBCPP_DEBUG
|
||||
{
|
||||
std::string s;
|
||||
char c = s.back();
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
// Call back() on empty container.
|
||||
|
||||
#if _LIBCPP_DEBUG2 >= 1
|
||||
#if _LIBCPP_DEBUG >= 1
|
||||
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
// Call back() on empty const container.
|
||||
|
||||
#if _LIBCPP_DEBUG2 >= 1
|
||||
#if _LIBCPP_DEBUG >= 1
|
||||
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
// Call front() on empty const container.
|
||||
|
||||
#if _LIBCPP_DEBUG2 >= 1
|
||||
#if _LIBCPP_DEBUG >= 1
|
||||
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
// Index const string out of bounds.
|
||||
|
||||
#if _LIBCPP_DEBUG2 >= 1
|
||||
#if _LIBCPP_DEBUG >= 1
|
||||
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
// Call front() on empty container.
|
||||
|
||||
#if _LIBCPP_DEBUG2 >= 1
|
||||
#if _LIBCPP_DEBUG >= 1
|
||||
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
// Index string out of bounds.
|
||||
|
||||
#if _LIBCPP_DEBUG2 >= 1
|
||||
#if _LIBCPP_DEBUG >= 1
|
||||
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
// const charT& front() const;
|
||||
// charT& front();
|
||||
|
||||
#ifdef _LIBCPP_DEBUG2
|
||||
#ifdef _LIBCPP_DEBUG
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
#endif
|
||||
|
||||
@@ -46,7 +46,7 @@ int main()
|
||||
test(S("1234567890123456789012345678901234567890"));
|
||||
}
|
||||
#endif
|
||||
#ifdef _LIBCPP_DEBUG2
|
||||
#ifdef _LIBCPP_DEBUG
|
||||
{
|
||||
std::string s;
|
||||
char c = s.front();
|
||||
|
@@ -12,7 +12,7 @@
|
||||
// const_reference operator[](size_type pos) const;
|
||||
// reference operator[](size_type pos);
|
||||
|
||||
#ifdef _LIBCPP_DEBUG2
|
||||
#ifdef _LIBCPP_DEBUG
|
||||
#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
|
||||
#endif
|
||||
|
||||
@@ -51,7 +51,7 @@ int main()
|
||||
assert(s2[0] == '\0');
|
||||
}
|
||||
#endif
|
||||
#ifdef _LIBCPP_DEBUG2
|
||||
#ifdef _LIBCPP_DEBUG
|
||||
{
|
||||
std::string s;
|
||||
char c = s[0];
|
||||
|
Reference in New Issue
Block a user