From e860e0d69c9c155704cd3c4b2533410a8c782d9e 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9719 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/BasicBlock.cpp | 2 +- lib/VMCore/Function.cpp | 4 ++-- lib/VMCore/Module.cpp | 4 ++-- 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 3110b4dd826..2458cda2036 100644 --- a/lib/VMCore/BasicBlock.cpp +++ b/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/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index b86abfe905e..f47ecea7af3 100644 --- a/lib/VMCore/Function.cpp +++ b/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/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index af28bec8acc..e62c83f67a6 100644 --- a/lib/VMCore/Module.cpp +++ b/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/lib/VMCore/PassManagerT.h b/lib/VMCore/PassManagerT.h index 157f806651a..a715f5148e5 100644 --- a/lib/VMCore/PassManagerT.h +++ b/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 -- 2.34.1