We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e9e20f commit c3abfcdCopy full SHA for c3abfcd
llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp
@@ -302,8 +302,8 @@ void MatchTable::emitDeclaration(raw_ostream &OS) const {
302
OS.indent(BaseIndent);
303
std::string IdxStr = llvm::to_string(CurIndex);
304
// Pad the string with spaces to keep the size of the prefix consistent.
305
- OS << " /* " << std::string(NumColsForIdx - IdxStr.size(), ' ') << IdxStr
306
- << " */ ";
+ OS << " /* ";
+ OS.indent(NumColsForIdx - IdxStr.size()) << IdxStr << " */ ";
307
OS.indent(Indentation);
308
};
309
0 commit comments