diff options
author | Kazu Hirata <kazu@google.com> | 2022-04-03 08:04:11 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-04-03 08:04:11 -0700 |
commit | c45d369cedaea8fc5c2aa3372e265990ca0e8710 (patch) | |
tree | 08e4c90f0ea70b4d12f08fa13e09d73dfb3cc373 /llvm/lib/Support/YAMLParser.cpp | |
parent | ef19de52ed59a739b0381f2b9b41604e7fa49b59 (diff) | |
download | llvm-c45d369cedaea8fc5c2aa3372e265990ca0e8710.zip llvm-c45d369cedaea8fc5c2aa3372e265990ca0e8710.tar.gz llvm-c45d369cedaea8fc5c2aa3372e265990ca0e8710.tar.bz2 |
Apply clang-tidy fixes for readability-redundant-member-init in YAMLParser.cpp (NFC)
Diffstat (limited to 'llvm/lib/Support/YAMLParser.cpp')
-rw-r--r-- | llvm/lib/Support/YAMLParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/YAMLParser.cpp b/llvm/lib/Support/YAMLParser.cpp index 7813022..578ce22 100644 --- a/llvm/lib/Support/YAMLParser.cpp +++ b/llvm/lib/Support/YAMLParser.cpp @@ -1897,11 +1897,11 @@ bool Scanner::fetchMoreTokens() { Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors, 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, std::error_code *EC) - : scanner(new Scanner(InputBuffer, SM, ShowColors, EC)), CurrentDoc() {} + : scanner(new Scanner(InputBuffer, SM, ShowColors, EC)) {} Stream::~Stream() = default; |