Clarify BugDriver.cpp:BugDriver::ParseInputFile()'s return values in its
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 23 May 2003 05:34:32 +0000 (05:34 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 23 May 2003 05:34:32 +0000 (05:34 +0000)
explanatory comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6308 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/BugDriver.cpp

index 56eb7504926f8098b13fb255a2c372deb34b9429..ed1a13512555a8344fdaff31d7525a4ac13033bf 100644 (file)
@@ -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!");