Skip to content

Commit c3abfcd

Browse files
committed
more OS.indent()
1 parent 4e9e20f commit c3abfcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ void MatchTable::emitDeclaration(raw_ostream &OS) const {
302302
OS.indent(BaseIndent);
303303
std::string IdxStr = llvm::to_string(CurIndex);
304304
// Pad the string with spaces to keep the size of the prefix consistent.
305-
OS << " /* " << std::string(NumColsForIdx - IdxStr.size(), ' ') << IdxStr
306-
<< " */ ";
305+
OS << " /* ";
306+
OS.indent(NumColsForIdx - IdxStr.size()) << IdxStr << " */ ";
307307
OS.indent(Indentation);
308308
};
309309

0 commit comments

Comments
 (0)