diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-05 05:15:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-05 05:15:42 +0000 |
commit | e860e0d69c9c155704cd3c4b2533410a8c782d9e (patch) | |
tree | f348bcc08285b11106abe23e0b695e9b4bb50c10 | |
parent | 4dcf5e6a8a3d370bf9594632a23c0a858a7c3e7c (diff) |
Make code gcc 3.4 clean
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9719 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/BasicBlock.cpp | 2 | ||||
-rw-r--r-- | lib/VMCore/Function.cpp | 4 | ||||
-rw-r--r-- | lib/VMCore/Module.cpp | 4 | ||||
-rw-r--r-- | lib/VMCore/PassManagerT.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp index 3110b4dd82..2458cda203 100644 --- a/lib/VMCore/BasicBlock.cpp +++ b/lib/VMCore/BasicBlock.cpp @@ -56,7 +56,7 @@ iplist<Instruction> &ilist_traits<Instruction>::getList(BasicBlock *BB) { // Explicit instantiation of SymbolTableListTraits since some of the methods // are not in the public header file... -template SymbolTableListTraits<Instruction, BasicBlock, Function>; +template class SymbolTableListTraits<Instruction, BasicBlock, Function>; // BasicBlock ctor - If the function parameter is specified, the basic block is diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index b86abfe905..f47ecea7af 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -43,8 +43,8 @@ iplist<Argument> &ilist_traits<Argument>::getList(Function *F) { // Explicit instantiations of SymbolTableListTraits since some of the methods // are not in the public header file... -template SymbolTableListTraits<Argument, Function, Function>; -template SymbolTableListTraits<BasicBlock, Function, Function>; +template class SymbolTableListTraits<Argument, Function, Function>; +template class SymbolTableListTraits<BasicBlock, Function, Function>; //===----------------------------------------------------------------------===// // Argument Implementation diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index af28bec8ac..e62c83f67a 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -47,8 +47,8 @@ iplist<GlobalVariable> &ilist_traits<GlobalVariable>::getList(Module *M) { // Explicit instantiations of SymbolTableListTraits since some of the methods // are not in the public header file... -template SymbolTableListTraits<GlobalVariable, Module, Module>; -template SymbolTableListTraits<Function, Module, Module>; +template class SymbolTableListTraits<GlobalVariable, Module, Module>; +template class SymbolTableListTraits<Function, Module, Module>; // Define the GlobalValueRefMap as a struct that wraps a map so that we don't // have Module.h depend on <map> diff --git a/lib/VMCore/PassManagerT.h b/lib/VMCore/PassManagerT.h index 157f806651..a715f5148e 100644 --- a/lib/VMCore/PassManagerT.h +++ b/lib/VMCore/PassManagerT.h @@ -141,7 +141,7 @@ class PassManagerT : public PassManagerTraits<UnitType>,public AnalysisResolver{ friend class PassManagerTraits<UnitType>::PassClass; friend class PassManagerTraits<UnitType>::SubPassClass; - friend class Traits; + friend class PassManagerTraits<UnitType>; friend class ImmutablePass; std::vector<PassClass*> Passes; // List of passes to run |