Skip to content

Commit 97f43c4

Browse files
committed
use underlying string directly
1 parent 9e881d3 commit 97f43c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/MachineCFGPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ MachineCFGPrinterPass::run(MachineFunction &MF,
6262
std::string Name;
6363
raw_string_ostream SS(Name);
6464
MF.getFunction().printAsOperand(SS, /*PrintType=*/false);
65-
OS << "Writing Machine CFG for function " << SS.str();
65+
OS << "Writing Machine CFG for function " << Name;
6666
writeMCFGToDotFile(MF);
6767
return PreservedAnalyses::all();
6868
}

0 commit comments

Comments
 (0)