* 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
This commit is contained in:
Misha Brukman
2004-07-23 01:30:49 +00:00
parent 9accb24c89
commit eed80e2375
5 changed files with 21 additions and 20 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ namespace {
cl::opt<bool>
CheckProgramExitCode("check-exit-code",
cl::desc("Assume nonzero exit code is failure (default on)"),
cl::desc("Assume nonzero exit code is failure (default on)"),
cl::init(true));
cl::opt<std::string>
@@ -279,7 +279,7 @@ bool BugDriver::diffProgram(const std::string &BytecodeFile,
bool FilesDifferent = false;
if (DiffFiles(ReferenceOutputFile, Output, &Error)) {
if (!Error.empty()) {
std::cerr << "While diffing output: " << Error << "\n";
std::cerr << "While diffing output: " << Error << '\n';
exit(1);
}
FilesDifferent = true;