clang API Documentation

Public Attributes
clang::DesignatedInitExpr::ArrayOrRangeDesignator Struct Reference

An array or GNU array-range designator, e.g., "[9]" or "[10..15]". More...

#include <Expr.h>

Collaboration diagram for clang::DesignatedInitExpr::ArrayOrRangeDesignator:
Collaboration graph
[legend]

List of all members.

Public Attributes

unsigned Index
unsigned LBracketLoc
 The location of the '[' starting the array range designator.
unsigned EllipsisLoc
unsigned RBracketLoc
 The location of the ']' terminating the array range designator.

Detailed Description

An array or GNU array-range designator, e.g., "[9]" or "[10..15]".

Definition at line 4015 of file Expr.h.


Member Data Documentation

The location of the ellipsis separating the start and end indices. Only valid for GNU array-range designators.

Definition at line 4023 of file Expr.h.

Referenced by clang::DesignatedInitExpr::Designator::Designator(), and clang::DesignatedInitExpr::Designator::getEllipsisLoc().

Location of the first index expression within the designated initializer expression's list of subexpressions.

Definition at line 4018 of file Expr.h.

Referenced by clang::DesignatedInitExpr::Designator::Designator(), clang::DesignatedInitExpr::getArrayIndex(), clang::DesignatedInitExpr::getArrayRangeEnd(), clang::DesignatedInitExpr::getArrayRangeStart(), and clang::DesignatedInitExpr::Designator::getFirstExprIndex().

The location of the '[' starting the array range designator.

Definition at line 4020 of file Expr.h.

Referenced by clang::DesignatedInitExpr::Designator::Designator(), clang::DesignatedInitExpr::Designator::getLBracketLoc(), and clang::DesignatedInitExpr::getLocStart().

The location of the ']' terminating the array range designator.

Definition at line 4025 of file Expr.h.

Referenced by clang::DesignatedInitExpr::Designator::Designator(), and clang::DesignatedInitExpr::Designator::getRBracketLoc().


The documentation for this struct was generated from the following file: