summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/FindBugs.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-07-20 01:19:58 +0000
committerOwen Anderson <resistor@mac.com>2010-07-20 01:19:58 +0000
commite7c5fe586aa8cce9f5cb6bb03c8552ae95f3ae9d (patch)
tree61328ffece7923f99ea146c8846260c68500ae50 /llvm/tools/bugpoint/FindBugs.cpp
parent3ff13affda01f263b87eee0dfad166b6dcf11523 (diff)
downloadbcm5719-llvm-e7c5fe586aa8cce9f5cb6bb03c8552ae95f3ae9d.tar.gz
bcm5719-llvm-e7c5fe586aa8cce9f5cb6bb03c8552ae95f3ae9d.zip
Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).
llvm-svn: 108794
Diffstat (limited to 'llvm/tools/bugpoint/FindBugs.cpp')
-rw-r--r--llvm/tools/bugpoint/FindBugs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/FindBugs.cpp b/llvm/tools/bugpoint/FindBugs.cpp
index 224c71747a6..5c1bedebf19 100644
--- a/llvm/tools/bugpoint/FindBugs.cpp
+++ b/llvm/tools/bugpoint/FindBugs.cpp
@@ -29,7 +29,8 @@ using namespace llvm;
/// If the passes did not compile correctly, output the command required to
/// recreate the failure. This returns true if a compiler error is found.
///
-bool BugDriver::runManyPasses(const std::vector<const PassInfo*> &AllPasses,
+bool
+BugDriver::runManyPasses(const std::vector<const StaticPassInfo*> &AllPasses,
std::string &ErrMsg) {
setPassesToRun(AllPasses);
outs() << "Starting bug finding procedure...\n\n";
OpenPOWER on IntegriCloud