File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -622,15 +622,14 @@ int ClangTool::run(ToolAction *Action) {
622622 // FIXME: We need a callback mechanism for the tool writer to output a
623623 // customized message for each file.
624624 if (NumOfTotalFiles > 1 || CompileCommandsForFile.size () > 1 ) {
625- llvm::errs () << " [" + std::to_string (CurrentFileIndex) + " /" +
626- std::to_string (NumOfTotalFiles) + " ]" ;
625+ llvm::errs () << " [" << std::to_string (CurrentFileIndex) << " /"
626+ << std::to_string (NumOfTotalFiles) << " ]" ;
627627 if (CompileCommandsForFile.size () > 1 ) {
628- llvm::errs () << " (" + std::to_string (CurrentCommandIndexForFile) +
629- " /" +
630- std::to_string (CompileCommandsForFile.size ()) +
631- " )" ;
628+ llvm::errs () << " (" << std::to_string (CurrentCommandIndexForFile)
629+ << " /" << std::to_string (CompileCommandsForFile.size ())
630+ << " )" ;
632631 }
633- llvm::errs () << " Processing file " + File << " .\n " ;
632+ llvm::errs () << " Processing file " << File << " .\n " ;
634633 }
635634 ToolInvocation Invocation (std::move (CommandLine), Action, Files.get (),
636635 PCHContainerOps);
You can’t perform that action at this time.
0 commit comments