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 | 08ebdc73de5e3396bc17b928ad16af523837e660 (patch) | |
tree | cf4cb93682ff614c8edf228aeb27ceb652e15371 | |
parent | 40488cf13973dc5364f017c1a403fe93e6c46d6f (diff) | |
download | external_llvm-08ebdc73de5e3396bc17b928ad16af523837e660.zip external_llvm-08ebdc73de5e3396bc17b928ad16af523837e660.tar.gz external_llvm-08ebdc73de5e3396bc17b928ad16af523837e660.tar.bz2 |
Move typedefs inside the class that they belong to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185573 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index 179db39..cbe0fc8 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/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; |