summaryrefslogtreecommitdiff
path: root/tools/bugpoint/BugDriver.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-05-23 05:34:32 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-05-23 05:34:32 +0000
commitdae7f92366311de2bfaff91f6e66ef3da2f2fcbc (patch)
tree9d219975e2411e95c12f232dbae3422268bd1d81 /tools/bugpoint/BugDriver.cpp
parent7594b29c75aa2faf75b93d358e26a705d5e8673d (diff)
downloadllvm-dae7f92366311de2bfaff91f6e66ef3da2f2fcbc.tar.gz
llvm-dae7f92366311de2bfaff91f6e66ef3da2f2fcbc.tar.bz2
llvm-dae7f92366311de2bfaff91f6e66ef3da2f2fcbc.tar.xz
Clarify BugDriver.cpp:BugDriver::ParseInputFile()'s return values in its
explanatory comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6308 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
-rw-r--r--tools/bugpoint/BugDriver.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp
index 56eb750492..ed1a135125 100644
--- a/tools/bugpoint/BugDriver.cpp
+++ b/tools/bugpoint/BugDriver.cpp
@@ -60,7 +60,9 @@ Module *BugDriver::ParseInputFile(const std::string &InputFilename) const {
}
// This method takes the specified list of LLVM input files, attempts to load
-// them, either as assembly or bytecode, then link them together.
+// them, either as assembly or bytecode, then link them together. It returns
+// true on failure (if, for example, an input bytecode file could not be
+// parsed), and false on success.
//
bool BugDriver::addSources(const std::vector<std::string> &Filenames) {
assert(Program == 0 && "Cannot call addSources multiple times!");