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 | 41baa98478d0372f4b5150ab8626b1333b2c7885 (patch) | |
tree | 64b10da74a8000bbb486ce0eb23f3e92290c1629 /llvm/lib | |
parent | d4741c5ee9e240ce00f2ffd0ece17a9cc7d838c4 (diff) | |
download | bcm5719-llvm-41baa98478d0372f4b5150ab8626b1333b2c7885.tar.gz bcm5719-llvm-41baa98478d0372f4b5150ab8626b1333b2c7885.zip |
Make code gcc 3.4 clean
llvm-svn: 9719
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/VMCore/BasicBlock.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/VMCore/Function.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/VMCore/Module.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/VMCore/PassManagerT.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/VMCore/BasicBlock.cpp b/llvm/lib/VMCore/BasicBlock.cpp index 3110b4dd826..2458cda2036 100644 --- a/llvm/lib/VMCore/BasicBlock.cpp +++ b/llvm/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/llvm/lib/VMCore/Function.cpp b/llvm/lib/VMCore/Function.cpp index b86abfe905e..f47ecea7af3 100644 --- a/llvm/lib/VMCore/Function.cpp +++ b/llvm/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/llvm/lib/VMCore/Module.cpp b/llvm/lib/VMCore/Module.cpp index af28bec8acc..e62c83f67a6 100644 --- a/llvm/lib/VMCore/Module.cpp +++ b/llvm/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/llvm/lib/VMCore/PassManagerT.h b/llvm/lib/VMCore/PassManagerT.h index 157f806651a..a715f5148e5 100644 --- a/llvm/lib/VMCore/PassManagerT.h +++ b/llvm/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 |