diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-07-23 01:30:49 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-07-23 01:30:49 +0000 |
commit | 6aa3c83f8d0d68d970ac6c725f3b1a90d8d75821 (patch) | |
tree | d6917f1443190cacbf459584d28305390e9bf600 /llvm/tools/bugpoint/BugDriver.cpp | |
parent | 4fb48609dc0b88d2ced0cdc298a1d0d04e85cd07 (diff) | |
download | bcm5719-llvm-6aa3c83f8d0d68d970ac6c725f3b1a90d8d75821.tar.gz bcm5719-llvm-6aa3c83f8d0d68d970ac6c725f3b1a90d8d75821.zip |
* Convert "\n" -> '\n'
* Print out another '\n' after printing out program execution status
* Make sure code wraps at 80 cols
llvm-svn: 15123
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.cpp')
-rw-r--r-- | llvm/tools/bugpoint/BugDriver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp index ee602b3692e..1bac8da2437 100644 --- a/llvm/tools/bugpoint/BugDriver.cpp +++ b/llvm/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<std::string> &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) { |