From: Puyan Lotfi Date: Wed, 20 Feb 2019 18:30:44 +0000 (+0000) Subject: Fixing NDEBUG typo in include/llvm/Support/raw_ostream.h X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a2d4c6d6cd7144aa02256a421e8abe9bafa31fe;p=llvm Fixing NDEBUG typo in include/llvm/Support/raw_ostream.h NDEBUG is misspelled as NDBEBUG in include/llvm/Support/raw_ostream.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354495 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index 1eb13c78d93..48bb623b063 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -345,7 +345,7 @@ public: explicit raw_pwrite_stream(bool Unbuffered = false) : raw_ostream(Unbuffered) {} void pwrite(const char *Ptr, size_t Size, uint64_t Offset) { -#ifndef NDBEBUG +#ifndef NDEBUG uint64_t Pos = tell(); // /dev/null always reports a pos of 0, so we cannot perform this check // in that case.