From 5fc21d122b496bf45d959cdf8d000fc0a3780d9c Mon Sep 17 00:00:00 2001 From: Puyan Lotfi Date: Wed, 20 Feb 2019 18:30:44 +0000 Subject: [PATCH] Fixing NDEBUG typo in include/llvm/Support/raw_ostream.h NDEBUG is misspelled as NDBEBUG in include/llvm/Support/raw_ostream.h. llvm-svn: 354495 --- include/llvm/Support/raw_ostream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.