]> granicus.if.org Git - llvm/commitdiff
Fixing NDEBUG typo in include/llvm/Support/raw_ostream.h
authorPuyan Lotfi <puyan@puyan.org>
Wed, 20 Feb 2019 18:30:44 +0000 (18:30 +0000)
committerPuyan Lotfi <puyan@puyan.org>
Wed, 20 Feb 2019 18:30:44 +0000 (18:30 +0000)
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

include/llvm/Support/raw_ostream.h

index 1eb13c78d93351fb2c17d1efb65e6b9e04ac5f96..48bb623b0638f7c23018147a50ac2855da027f1d 100644 (file)
@@ -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.