[llvm] r185573 - Move typedefs inside the class that they belong to.
Eric Christopher
echristo at gmail.com
Wed Jul 3 13:36:36 PDT 2013
Author: echristo
Date: Wed Jul 3 15:36:36 2013
New Revision: 185573
URL: http://llvm.org/viewvc/llvm-project?rev=185573&view=rev
Log:
Move typedefs inside the class that they belong to.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=185573&r1=185572&r2=185573&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Wed Jul 3 15:36:36 2013
@@ -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;
More information about the llvm-commits
mailing list