aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-22 06:29:25 +0000
committerChris Lattner <sabre@nondot.org>2010-01-22 06:29:25 +0000
commit6eeb7345f215217aca4a60098eb1f968c76f700c (patch)
tree98070322e48af3cb781f4c565c38498ba36d9358 /include
parent36fe19837c0c44207d1cbd6040764928409f66d6 (diff)
downloadexternal_llvm-6eeb7345f215217aca4a60098eb1f968c76f700c.zip
external_llvm-6eeb7345f215217aca4a60098eb1f968c76f700c.tar.gz
external_llvm-6eeb7345f215217aca4a60098eb1f968c76f700c.tar.bz2
give PassNameParser a home.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/PassNameParser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h
index ea4fe01..cdca978 100644
--- a/include/llvm/Support/PassNameParser.h
+++ b/include/llvm/Support/PassNameParser.h
@@ -41,7 +41,9 @@ class PassNameParser : public PassRegistrationListener,
cl::Option *Opt;
public:
PassNameParser() : Opt(0) {}
-
+ virtual ~PassNameParser();
+
+
void initialize(cl::Option &O) {
Opt = &O;
cl::parser<const PassInfo*>::initialize(O);