diff options
Diffstat (limited to 'include/clang/Sema/Designator.h')
-rw-r--r-- | include/clang/Sema/Designator.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/clang/Sema/Designator.h b/include/clang/Sema/Designator.h index fe01f4d..55603fe 100644 --- a/include/clang/Sema/Designator.h +++ b/include/clang/Sema/Designator.h @@ -179,18 +179,10 @@ public: /// Designation - Represent a full designation, which is a sequence of /// designators. This class is mostly a helper for InitListDesignations. class Designation { - /// InitIndex - The index of the initializer expression this is for. For - /// example, if the initializer were "{ A, .foo=B, C }" a Designation would - /// exist with InitIndex=1, because element #1 has a designation. - unsigned InitIndex; - /// Designators - The actual designators for this initializer. SmallVector<Designator, 2> Designators; - Designation(unsigned Idx) : InitIndex(Idx) {} public: - Designation() : InitIndex(4000) {} - /// AddDesignator - Add a designator to the end of this list. void AddDesignator(Designator D) { Designators.push_back(D); |