Inherit FunctionPass directly from Pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33513 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2007-01-26 00:23:00 +00:00
parent a0bf794eb6
commit a65f5fd21b

View File

@ -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.