Skip to content

Commit b11a660

Browse files
committed
[clang-format][NFC] Reformat with 18.1.5
1 parent ce961c5 commit b11a660

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clang/lib/Format/UnwrappedLineParser.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ void printLine(llvm::raw_ostream &OS, const UnwrappedLine &Line,
4747
OS << Prefix;
4848
NewLine = false;
4949
}
50-
OS << I->Tok->Tok.getName() << "[" << "T=" << (unsigned)I->Tok->getType()
50+
OS << I->Tok->Tok.getName() << "["
51+
<< "T=" << (unsigned)I->Tok->getType()
5152
<< ", OC=" << I->Tok->OriginalColumn << ", \"" << I->Tok->TokenText
5253
<< "\"] ";
5354
for (SmallVectorImpl<UnwrappedLine>::const_iterator

clang/tools/clang-format/ClangFormat.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ static void outputReplacementXML(StringRef Text) {
336336

337337
static void outputReplacementsXML(const Replacements &Replaces) {
338338
for (const auto &R : Replaces) {
339-
outs() << "<replacement " << "offset='" << R.getOffset() << "' "
339+
outs() << "<replacement "
340+
<< "offset='" << R.getOffset() << "' "
340341
<< "length='" << R.getLength() << "'>";
341342
outputReplacementXML(R.getReplacementText());
342343
outs() << "</replacement>\n";

0 commit comments

Comments
 (0)