summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugAbbrev.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-13 21:47:32 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-13 21:47:32 +0000
commiteaa7433c850c5c71ce9708cd3e62e1e65bb05db9 (patch)
tree75a69272156d0bf672310c893c01bad51ddbaac1 /llvm/lib/DebugInfo/DWARFDebugAbbrev.h
parent3eb2470eedab12a9e0a04c753ec360afac0a077c (diff)
downloadbcm5719-llvm-eaa7433c850c5c71ce9708cd3e62e1e65bb05db9.tar.gz
bcm5719-llvm-eaa7433c850c5c71ce9708cd3e62e1e65bb05db9.zip
Style & indentation tweaks.
llvm-svn: 139646
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugAbbrev.h')
-rw-r--r--llvm/lib/DebugInfo/DWARFDebugAbbrev.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugAbbrev.h b/llvm/lib/DebugInfo/DWARFDebugAbbrev.h
index eaa79a10144..03189b13212 100644
--- a/llvm/lib/DebugInfo/DWARFDebugAbbrev.h
+++ b/llvm/lib/DebugInfo/DWARFDebugAbbrev.h
@@ -47,23 +47,25 @@ class DWARFAbbreviationDeclarationSet {
getAbbreviationDeclaration(uint32_t abbrCode) const;
};
-typedef std::map<uint64_t, DWARFAbbreviationDeclarationSet>
- DWARFAbbreviationDeclarationCollMap;
-typedef DWARFAbbreviationDeclarationCollMap::iterator
- DWARFAbbreviationDeclarationCollMapIter;
-typedef DWARFAbbreviationDeclarationCollMap::const_iterator
- DWARFAbbreviationDeclarationCollMapConstIter;
-
class DWARFDebugAbbrev {
public:
+ typedef std::map<uint64_t, DWARFAbbreviationDeclarationSet>
+ DWARFAbbreviationDeclarationCollMap;
+ typedef DWARFAbbreviationDeclarationCollMap::iterator
+ DWARFAbbreviationDeclarationCollMapIter;
+ typedef DWARFAbbreviationDeclarationCollMap::const_iterator
+ DWARFAbbreviationDeclarationCollMapConstIter;
+
+private:
+ DWARFAbbreviationDeclarationCollMap AbbrevCollMap;
+ mutable DWARFAbbreviationDeclarationCollMapConstIter PrevAbbrOffsetPos;
+
+public:
DWARFDebugAbbrev();
const DWARFAbbreviationDeclarationSet *
getAbbreviationDeclarationSet(uint64_t cu_abbr_offset) const;
void dump(raw_ostream &OS) const;
void parse(DataExtractor data);
-protected:
- DWARFAbbreviationDeclarationCollMap m_abbrevCollMap;
- mutable DWARFAbbreviationDeclarationCollMapConstIter m_prev_abbr_offset_pos;
};
}
OpenPOWER on IntegriCloud