clang 17.0.0git
|
Designation - Represent a full designation, which is a sequence of designators. More...
#include "clang/Sema/Designator.h"
Public Member Functions | |
void | AddDesignator (Designator D) |
AddDesignator - Add a designator to the end of this list. | |
bool | empty () const |
unsigned | getNumDesignators () const |
const Designator & | getDesignator (unsigned Idx) const |
void | ClearExprs (Sema &Actions) |
ClearExprs - Null out any expression references, which prevents them from being 'delete'd later. | |
void | FreeExprs (Sema &Actions) |
FreeExprs - Release any unclaimed memory for the expressions in this designation. | |
Designation - Represent a full designation, which is a sequence of designators.
This class is mostly a helper for InitListDesignations.
Definition at line 185 of file Designator.h.
|
inline |
AddDesignator - Add a designator to the end of this list.
Definition at line 191 of file Designator.h.
|
inline |
ClearExprs - Null out any expression references, which prevents them from being 'delete'd later.
Definition at line 205 of file Designator.h.
Referenced by clang::Sema::ActOnDesignatedInitializer().
|
inline |
Definition at line 195 of file Designator.h.
|
inline |
FreeExprs - Release any unclaimed memory for the expressions in this designation.
Definition at line 209 of file Designator.h.
|
inline |
Definition at line 198 of file Designator.h.
Referenced by clang::Sema::ActOnDesignatedInitializer(), CheckArrayDesignatorSyntax(), and getDesignatedType().
|
inline |
Definition at line 197 of file Designator.h.
Referenced by clang::Sema::ActOnDesignatedInitializer(), CheckArrayDesignatorSyntax(), and getDesignatedType().