forked from OSchip/llvm-project
Apply clang-tidy fixes for readability-redundant-member-init in YAMLParser.cpp (NFC)
This commit is contained in:
parent
ef19de52ed
commit
c45d369ced
|
@ -1897,11 +1897,11 @@ bool Scanner::fetchMoreTokens() {
|
||||||
|
|
||||||
Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors,
|
Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors,
|
||||||
std::error_code *EC)
|
std::error_code *EC)
|
||||||
: scanner(new Scanner(Input, SM, ShowColors, EC)), CurrentDoc() {}
|
: scanner(new Scanner(Input, SM, ShowColors, EC)) {}
|
||||||
|
|
||||||
Stream::Stream(MemoryBufferRef InputBuffer, SourceMgr &SM, bool ShowColors,
|
Stream::Stream(MemoryBufferRef InputBuffer, SourceMgr &SM, bool ShowColors,
|
||||||
std::error_code *EC)
|
std::error_code *EC)
|
||||||
: scanner(new Scanner(InputBuffer, SM, ShowColors, EC)), CurrentDoc() {}
|
: scanner(new Scanner(InputBuffer, SM, ShowColors, EC)) {}
|
||||||
|
|
||||||
Stream::~Stream() = default;
|
Stream::~Stream() = default;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue