From: Frederic Riss Date: Wed, 4 Mar 2015 22:07:30 +0000 (+0000) Subject: Make the DWARFAbbreviationDeclaration::AttributeSpec type public. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c7e4df3846a7368b395ca3a530fd830345b1334b;p=oota-llvm.git Make the DWARFAbbreviationDeclaration::AttributeSpec type public. It was already exposed through the iterators anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231297 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h b/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h index bb05c302be9..6ab5d5ce6f6 100644 --- a/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h +++ b/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h @@ -18,18 +18,14 @@ namespace llvm { class raw_ostream; class DWARFAbbreviationDeclaration { - uint32_t Code; - uint32_t Tag; - bool HasChildren; - +public: struct AttributeSpec { AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {} uint16_t Attr; uint16_t Form; }; typedef SmallVector AttributeSpecVector; - AttributeSpecVector AttributeSpecs; -public: + DWARFAbbreviationDeclaration(); uint32_t getCode() const { return Code; } @@ -53,6 +49,12 @@ public: private: void clear(); + + uint32_t Code; + uint32_t Tag; + bool HasChildren; + + AttributeSpecVector AttributeSpecs; }; }