forked from OSchip/llvm-project
[Support] Use default member initialization (NFC)
Identified with modernize-use-default-member-init.
This commit is contained in:
parent
07b9937d0c
commit
06dc4028d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue