diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bugpoint/BugDriver.h | 2 | ||||
-rw-r--r-- | tools/bugpoint/ListReducer.h | 4 | ||||
-rw-r--r-- | tools/bugpoint/ToolRunner.h | 2 | ||||
-rw-r--r-- | tools/opt/opt.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/tools/bugpoint/BugDriver.h b/tools/bugpoint/BugDriver.h index 4681ac4ab5..4f6bae5d5a 100644 --- a/tools/bugpoint/BugDriver.h +++ b/tools/bugpoint/BugDriver.h @@ -269,7 +269,7 @@ public: /// recreate the failure. This returns true if a compiler error is found. /// bool runManyPasses(const std::vector<const PassInfo*> &AllPasses, - std::string &ErrMsg); + std::string &ErrMsg); /// writeProgramToFile - This writes the current "Program" to the named /// bitcode file. If an error occurs, true is returned. diff --git a/tools/bugpoint/ListReducer.h b/tools/bugpoint/ListReducer.h index 5e9cff0efa..bd1c5da65c 100644 --- a/tools/bugpoint/ListReducer.h +++ b/tools/bugpoint/ListReducer.h @@ -183,8 +183,8 @@ Backjump: --i; // Don't skip an element of the list Changed = true; } - if (!Error.empty()) - return true; + if (!Error.empty()) + return true; } // This can take a long time if left uncontrolled. For now, don't // iterate. diff --git a/tools/bugpoint/ToolRunner.h b/tools/bugpoint/ToolRunner.h index d966fc0ea4..cda0ddfa71 100644 --- a/tools/bugpoint/ToolRunner.h +++ b/tools/bugpoint/ToolRunner.h @@ -64,7 +64,7 @@ public: FileType fileType, const std::string &InputFile, const std::string &OutputFile, - std::string *Error = 0, + std::string *Error = 0, const std::vector<std::string> &GCCArgs = std::vector<std::string>(), unsigned Timeout = 0, diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index cf520de7fc..0878737d34 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -112,7 +112,7 @@ OptLevelO3("O3", static cl::opt<bool> UnitAtATime("funit-at-a-time", cl::desc("Enable IPO. This is same as llvm-gcc's -funit-at-a-time"), - cl::init(true)); + cl::init(true)); static cl::opt<bool> DisableSimplifyLibCalls("disable-simplify-libcalls", |