X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FValueSymbolTable.h;h=54522df6a15b083b6c83d82e2b3b1b5c6bfaa690;hb=0011dc4738fbe624d44197ef9496517fd093eaa4;hp=2f3da5df06db7a2e2e6b5b25d67ff154897c70b3;hpb=dec628eead87b20773c98a00830580df211acc98;p=oota-llvm.git diff --git a/include/llvm/ValueSymbolTable.h b/include/llvm/ValueSymbolTable.h index 2f3da5df06d..54522df6a15 100644 --- a/include/llvm/ValueSymbolTable.h +++ b/include/llvm/ValueSymbolTable.h @@ -2,10 +2,8 @@ // // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer based on the original SymbolTable.h -// written by the LLVM research group and re-written by Reid Spencer. -// It is distributed under the University of Illinois Open Source License. -// See LICENSE.TXT for details. +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // @@ -18,12 +16,11 @@ #include "llvm/Value.h" #include "llvm/ADT/StringMap.h" +#include "llvm/Support/DataTypes.h" namespace llvm { - template + template class SymbolTableListTraits; - template struct ilist_traits; class BasicBlock; class Function; class Module; @@ -34,16 +31,12 @@ namespace llvm { /// class ValueSymbolTable { friend class Value; - friend class SymbolTableListTraits >; - friend class SymbolTableListTraits >; - friend class SymbolTableListTraits >; - friend class SymbolTableListTraits >; - friend class SymbolTableListTraits >; + friend class SymbolTableListTraits; + friend class SymbolTableListTraits; + friend class SymbolTableListTraits; + friend class SymbolTableListTraits; + friend class SymbolTableListTraits; + friend class SymbolTableListTraits; /// @name Types /// @{ public: @@ -61,7 +54,7 @@ public: /// @{ public: - ValueSymbolTable() : LastUnique(0) {} + ValueSymbolTable() : vmap(0), LastUnique(0) {} ~ValueSymbolTable(); /// @}