From eed80e23751ecc50c1fa5604f67be4b826d5b417 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Fri, 23 Jul 2004 01:30:49 +0000 Subject: * Convert "\n" -> '\n' * Print out another '\n' after printing out program execution status * Make sure code wraps at 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15123 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/bugpoint/BugDriver.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/bugpoint/BugDriver.cpp') diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index ee602b3692..1bac8da243 100644 --- a/tools/bugpoint/BugDriver.cpp +++ b/tools/bugpoint/BugDriver.cpp @@ -79,7 +79,7 @@ Module *llvm::ParseInputFile(const std::string &InputFilename) { << InputFilename << "'!\n"; } } catch (const ParseException &E) { - std::cerr << "bugpoint: " << E.getMessage() << "\n"; + std::cerr << "bugpoint: " << E.getMessage() << '\n'; Result = 0; } return Result; @@ -107,7 +107,7 @@ bool BugDriver::addSources(const std::vector &Filenames) { std::string ErrorMessage; if (LinkModules(Program, M.get(), &ErrorMessage)) { std::cerr << ToolName << ": error linking in '" << Filenames[i] << "': " - << ErrorMessage << "\n"; + << ErrorMessage << '\n'; return true; } } @@ -143,7 +143,7 @@ bool BugDriver::run() { std::cout << "Running the code generator to test for a crash: "; try { compileProgram(Program); - std::cout << "\n"; + std::cout << '\n'; } catch (ToolExecutionError &TEE) { std::cout << TEE.what(); return debugCodeGeneratorCrash(); @@ -160,7 +160,7 @@ bool BugDriver::run() { try { ReferenceOutputFile = executeProgramWithCBE("bugpoint.reference.out"); CreatedOutput = true; - std::cout << "Reference output is: " << ReferenceOutputFile << "\n"; + std::cout << "Reference output is: " << ReferenceOutputFile << '\n'; } catch (ToolExecutionError &TEE) { std::cerr << TEE.what(); if (Interpreter != cbe) { -- cgit v1.2.3-70-g09d2