diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-03 20:36:36 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-03 20:36:36 +0000 |
commit | 18cf0610ef9046bab74e07c5e907433f27da40be (patch) | |
tree | 1caf096bacbb0fa675b0e00f46529c90de7304f5 /llvm/lib | |
parent | 13b586f29873873afdfcd5fa5cc7104760794d94 (diff) | |
download | bcm5719-llvm-18cf0610ef9046bab74e07c5e907433f27da40be.tar.gz bcm5719-llvm-18cf0610ef9046bab74e07c5e907433f27da40be.zip |
Move typedefs inside the class that they belong to.
llvm-svn: 185573
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 179db395d38..cbe0fc8fbab 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -195,16 +195,6 @@ public: DIType getType() const; }; - -// A String->Symbol mapping of strings used by indirect -// references. -typedef StringMap<std::pair<MCSymbol*, unsigned>, - BumpPtrAllocator&> StrPool; - -// A Symbol->unsigned mapping of addresses used by indirect -// references. -typedef DenseMap<const MCExpr *, unsigned> AddrPool; - /// \brief Collects and handles information specific to a particular /// collection of units. class DwarfUnits { @@ -221,11 +211,18 @@ class DwarfUnits { SmallVector<CompileUnit *, 1> CUs; // Collection of strings for this unit and assorted symbols. + // A String->Symbol mapping of strings used by indirect + // references. + typedef StringMap<std::pair<MCSymbol*, unsigned>, + BumpPtrAllocator&> StrPool; StrPool StringPool; unsigned NextStringPoolNumber; std::string StringPref; // Collection of addresses for this unit and assorted labels. + // A Symbol->unsigned mapping of addresses used by indirect + // references. + typedef DenseMap<const MCExpr *, unsigned> AddrPool; AddrPool AddressPool; unsigned NextAddrPoolNumber; |