aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/YAMLParser.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-04-03 08:04:11 -0700
committerKazu Hirata <kazu@google.com>2022-04-03 08:04:11 -0700
commitc45d369cedaea8fc5c2aa3372e265990ca0e8710 (patch)
tree08e4c90f0ea70b4d12f08fa13e09d73dfb3cc373 /llvm/lib/Support/YAMLParser.cpp
parentef19de52ed59a739b0381f2b9b41604e7fa49b59 (diff)
downloadllvm-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.cpp4
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;