[LLVMdev] clarify comment in BugDriver.cpp

Brian R. Gaeke gaeke at uiuc.edu
Fri May 23 00:36:01 PDT 2003


Clarify BugDriver.cpp:BugDriver::ParseInputFile()'s return values in its
explanatory comment.  Committed as an obvious fix.

-- 
gaeke at uiuc.edu

Index: BugDriver.cpp
===================================================================
RCS file: /home/vadve/vadve/Research/DynOpt/CVSRepository/llvm/tools/bugpoint/BugDriver.cpp,v
retrieving revision 1.6
diff -u -a -d -p -r1.6 BugDriver.cpp
--- BugDriver.cpp	3 May 2003 02:16:43 -0000	1.6
+++ BugDriver.cpp	23 May 2003 05:33:20 -0000
@@ -60,7 +60,9 @@ Module *BugDriver::ParseInputFile(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!");



More information about the llvm-dev mailing list