[llvm] r354495 - Fixing NDEBUG typo in include/llvm/Support/raw_ostream.h

Puyan Lotfi via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 20 10:30:45 PST 2019


Author: zer0
Date: Wed Feb 20 10:30:44 2019
New Revision: 354495

URL: http://llvm.org/viewvc/llvm-project?rev=354495&view=rev
Log:
Fixing NDEBUG typo in include/llvm/Support/raw_ostream.h

NDEBUG is misspelled as NDBEBUG in include/llvm/Support/raw_ostream.h.

Modified:
    llvm/trunk/include/llvm/Support/raw_ostream.h

Modified: llvm/trunk/include/llvm/Support/raw_ostream.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/raw_ostream.h?rev=354495&r1=354494&r2=354495&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/raw_ostream.h (original)
+++ llvm/trunk/include/llvm/Support/raw_ostream.h Wed Feb 20 10:30:44 2019
@@ -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.




More information about the llvm-commits mailing list