Made a bunch of cleanups, as per Chris' recommendations:
authorMisha Brukman <brukman+llvm@gmail.com>
Thu, 24 Jul 2003 21:59:10 +0000 (21:59 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Thu, 24 Jul 2003 21:59:10 +0000 (21:59 +0000)
commita259c9be2acc9528ec7feb3cfd51dcde36d87bb3
tree33c64624d3bad1ab79d47720ca9e7d66f3f91332
parent4166445b7cde22f81cd1a18b6f33fe94b94bdbb6
Made a bunch of cleanups, as per Chris' recommendations:
* Removed unused global and member variables
* Fixed comments (CodeGeneratorBug.cpp)
* Check for possibly failing GCC::create() and CBE::create()
* Remove generated files after diffing the output (e.g., shared object)
* Instead of using std::for_each, use explicit loops as std::for_each may
  duplicate the functor, and ours carries state
* Changed member var from cl::opt<std::string> to just std::string
* Fixed doxygen comments
* Fixed string comparisons to use [ str.empty() ] instead of [ str == "" ]
* Cache instances of CBE and GCC in BugDriver across compilations and executions
  while testing tools.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7302 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/BugDriver.cpp
tools/bugpoint/BugDriver.h
tools/bugpoint/CodeGeneratorBug.cpp
tools/bugpoint/ExecutionDriver.cpp