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/CrashDebugger.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tools/bugpoint/CrashDebugger.cpp') diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp index 90e2edcfda..92aa996437 100644 --- a/tools/bugpoint/CrashDebugger.cpp +++ b/tools/bugpoint/CrashDebugger.cpp @@ -329,7 +329,7 @@ static bool DebugACrash(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *)) { do { --Simplification; std::cout << "\n*** Attempting to reduce testcase by deleting instruc" - << "tions: Simplification Level #" << Simplification << "\n"; + << "tions: Simplification Level #" << Simplification << '\n'; // Now that we have deleted the functions that are unnecessary for the // program, try to remove instructions that are not necessary to cause the @@ -416,7 +416,7 @@ bool BugDriver::debugOptimizerCrash() { std::cout << "\n*** Found crashing pass" << (PassesToRun.size() == 1 ? ": " : "es: ") - << getPassesString(PassesToRun) << "\n"; + << getPassesString(PassesToRun) << '\n'; EmitProgressBytecode("passinput"); @@ -425,8 +425,9 @@ bool BugDriver::debugOptimizerCrash() { static bool TestForCodeGenCrash(BugDriver &BD, Module *M) { try { - std::cerr << "\n"; + std::cerr << '\n'; BD.compileProgram(M); + std::cerr << '\n'; return false; } catch (ToolExecutionError &TEE) { std::cerr << "\n"; -- cgit v1.2.3-70-g09d2