diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/LineIterator.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Support/LineIterator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/LineIterator.cpp b/contrib/llvm-project/llvm/lib/Support/LineIterator.cpp index 7bdf1271ac25..9874d16d19e1 100644 --- a/contrib/llvm-project/llvm/lib/Support/LineIterator.cpp +++ b/contrib/llvm-project/llvm/lib/Support/LineIterator.cpp @@ -38,7 +38,7 @@ line_iterator::line_iterator(const MemoryBuffer &Buffer, bool SkipBlanks, line_iterator::line_iterator(const MemoryBufferRef &Buffer, bool SkipBlanks, char CommentMarker) : Buffer(Buffer.getBufferSize() ? Optional<MemoryBufferRef>(Buffer) : None), - CommentMarker(CommentMarker), SkipBlanks(SkipBlanks), LineNumber(1), + CommentMarker(CommentMarker), SkipBlanks(SkipBlanks), CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr, 0) { // Ensure that if we are constructed on a non-empty memory buffer that it is |