clang API Documentation
A field designator, e.g., ".x". More...
#include <Expr.h>
Public Attributes | |
uintptr_t | NameOrField |
unsigned | DotLoc |
The location of the '.' in the designated initializer. | |
unsigned | FieldLoc |
The location of the field name in the designated initializer. |
The location of the '.' in the designated initializer.
Definition at line 4008 of file Expr.h.
Referenced by clang::DesignatedInitExpr::Designator::Designator(), clang::DesignatedInitExpr::Designator::getDotLoc(), and clang::DesignatedInitExpr::getLocStart().
The location of the field name in the designated initializer.
Definition at line 4011 of file Expr.h.
Referenced by clang::DesignatedInitExpr::Designator::Designator(), clang::DesignatedInitExpr::Designator::getFieldLoc(), and clang::DesignatedInitExpr::getLocStart().
Refers to the field that is being initialized. The low bit of this field determines whether this is actually a pointer to an IdentifierInfo (if 1) or a FieldDecl (if 0). When initially constructed, a field designator will store an IdentifierInfo*. After semantic analysis has resolved that name, the field designator will instead store a FieldDecl*.
Definition at line 4005 of file Expr.h.
Referenced by clang::DesignatedInitExpr::Designator::Designator(), clang::DesignatedInitExpr::Designator::getField(), clang::DesignatedInitExpr::Designator::getFieldName(), and clang::DesignatedInitExpr::Designator::setField().