Make the DWARFAbbreviationDeclaration::AttributeSpec type public.

It was already exposed through the iterators anyway.

llvm-svn: 231297
This commit is contained in:
Frederic Riss 2015-03-04 22:07:30 +00:00
parent c7aabbb78e
commit 8874ce8d4b
1 changed files with 8 additions and 6 deletions

View File

@ -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<AttributeSpec, 8> 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;
};
}