From 41baa98478d0372f4b5150ab8626b1333b2c7885 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 5 Nov 2003 05:15:42 +0000 Subject: [PATCH] Make code gcc 3.4 clean llvm-svn: 9719 --- llvm/lib/VMCore/BasicBlock.cpp | 2 +- llvm/lib/VMCore/Function.cpp | 4 ++-- llvm/lib/VMCore/Module.cpp | 4 ++-- 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 3110b4dd8269..2458cda20361 100644 --- a/llvm/lib/VMCore/BasicBlock.cpp +++ b/llvm/lib/VMCore/BasicBlock.cpp @@ -56,7 +56,7 @@ iplist &ilist_traits::getList(BasicBlock *BB) { // Explicit instantiation of SymbolTableListTraits since some of the methods // are not in the public header file... -template SymbolTableListTraits; +template class SymbolTableListTraits; // 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 b86abfe905ed..f47ecea7af3d 100644 --- a/llvm/lib/VMCore/Function.cpp +++ b/llvm/lib/VMCore/Function.cpp @@ -43,8 +43,8 @@ iplist &ilist_traits::getList(Function *F) { // Explicit instantiations of SymbolTableListTraits since some of the methods // are not in the public header file... -template SymbolTableListTraits; -template SymbolTableListTraits; +template class SymbolTableListTraits; +template class SymbolTableListTraits; //===----------------------------------------------------------------------===// // Argument Implementation diff --git a/llvm/lib/VMCore/Module.cpp b/llvm/lib/VMCore/Module.cpp index af28bec8acce..e62c83f67a65 100644 --- a/llvm/lib/VMCore/Module.cpp +++ b/llvm/lib/VMCore/Module.cpp @@ -47,8 +47,8 @@ iplist &ilist_traits::getList(Module *M) { // Explicit instantiations of SymbolTableListTraits since some of the methods // are not in the public header file... -template SymbolTableListTraits; -template SymbolTableListTraits; +template class SymbolTableListTraits; +template class SymbolTableListTraits; // Define the GlobalValueRefMap as a struct that wraps a map so that we don't // have Module.h depend on diff --git a/llvm/lib/VMCore/PassManagerT.h b/llvm/lib/VMCore/PassManagerT.h index 157f806651a3..a715f5148e5e 100644 --- a/llvm/lib/VMCore/PassManagerT.h +++ b/llvm/lib/VMCore/PassManagerT.h @@ -141,7 +141,7 @@ class PassManagerT : public PassManagerTraits,public AnalysisResolver{ friend class PassManagerTraits::PassClass; friend class PassManagerTraits::SubPassClass; - friend class Traits; + friend class PassManagerTraits; friend class ImmutablePass; std::vector Passes; // List of passes to run