aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-01-26 00:23:00 +0000
committerDevang Patel <dpatel@apple.com>2007-01-26 00:23:00 +0000
commita65f5fd21b946c33876d87105974ebcce5d37d0a (patch)
tree94617027d19ae6d24abda4900af66b9b718ce0b0
parenta0bf794eb60b6795a121efcb9ff759e9e0955772 (diff)
downloadexternal_llvm-a65f5fd21b946c33876d87105974ebcce5d37d0a.tar.gz
external_llvm-a65f5fd21b946c33876d87105974ebcce5d37d0a.tar.bz2
external_llvm-a65f5fd21b946c33876d87105974ebcce5d37d0a.zip
Inherit FunctionPass directly from Pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33513 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Pass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index d2f717991f..af15516c72 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -247,7 +247,7 @@ public:
/// 2. Optimizing a function does not cause the addition or removal of any
/// functions in the module
///
-class FunctionPass : public ModulePass {
+class FunctionPass : public Pass {
public:
/// doInitialization - Virtual method overridden by subclasses to do
/// any necessary per-module initialization.