Make the DWARFAbbreviationDeclaration::AttributeSpec type public.
authorFrederic Riss <friss@apple.com>
Wed, 4 Mar 2015 22:07:30 +0000 (22:07 +0000)
committerFrederic Riss <friss@apple.com>
Wed, 4 Mar 2015 22:07:30 +0000 (22:07 +0000)
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

include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h

index bb05c302be9a6d2f20dd0297cf9d6cea7c1ba910..6ab5d5ce6f6e7bd4ff27e94a48d75fa7f0dbd50d 100644 (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;
 };
 
 }