struct DesignatedInitExpr::ArrayOrRangeDesignator

Declaration

struct DesignatedInitExpr::ArrayOrRangeDesignator { /* full declaration omitted */ };

Description

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

Declared at: clang/include/clang/AST/Expr.h:5085

Member Variables

public unsigned int Index
Location of the first index expression within the designated initializer expression's list of subexpressions.
public clang::SourceLocation LBracketLoc
The location of the '[' starting the array range designator.
public clang::SourceLocation EllipsisLoc
The location of the ellipsis separating the start and end indices. Only valid for GNU array-range designators.
public clang::SourceLocation RBracketLoc
The location of the ']' terminating the array range designator.