Skip to content

Commit 4a2d4c6

Browse files
committed
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
1 parent 4da6001 commit 4a2d4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/llvm/Support/raw_ostream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ class raw_pwrite_stream : public raw_ostream {
345345
explicit raw_pwrite_stream(bool Unbuffered = false)
346346
: raw_ostream(Unbuffered) {}
347347
void pwrite(const char *Ptr, size_t Size, uint64_t Offset) {
348-
#ifndef NDBEBUG
348+
#ifndef NDEBUG
349349
uint64_t Pos = tell();
350350
// /dev/null always reports a pos of 0, so we cannot perform this check
351351
// in that case.

0 commit comments

Comments
 (0)