Factory methods for FunctionPasses now return type FunctionPass *.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke
2003-08-13 18:18:15 +00:00
parent fb0ef2e82c
commit 19df3876e6
16 changed files with 25 additions and 24 deletions
+2 -1
View File
@@ -9,6 +9,7 @@
#define LLVM_TRANSFORMS_SCALAR_H
class Pass;
class FunctionPass;
class GetElementPtrInst;
class PassInfo;
class TerminatorInst;
@@ -244,7 +245,7 @@ Pass *createRaiseAllocationsPass();
// This pass converts SwitchInst instructions into a sequence of chained binary
// branch instructions.
//
Pass *createLowerSwitchPass();
FunctionPass *createLowerSwitchPass();
//===----------------------------------------------------------------------===//
//