clang 8.0.0

Public Attributes | List of all members
clang::DesignatedInitExpr::ArrayOrRangeDesignator Struct Reference

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

`#include "clang/AST/Expr.h"`

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

## Public Attributes
unsigned | Index
| Location of the first index expression within the designated initializer expression's list of subexpressions. More...
unsigned | LBracketLoc
| The location of the '[' starting the array range designator. More...
unsigned | EllipsisLoc
| The location of the ellipsis separating the start and end indices. More...
unsigned | RBracketLoc
| The location of the ']' terminating the array range designator. More...

## Detailed Description

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

Definition at line 4475 of file Expr.h.

## Member Data Documentation

## ◆ EllipsisLoc

unsigned clang::DesignatedInitExpr::ArrayOrRangeDesignator::EllipsisLoc

The location of the ellipsis separating the start and end indices.

Only valid for GNU array-range designators.

Definition at line 4483 of file Expr.h.

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

## ◆ Index

unsigned clang::DesignatedInitExpr::ArrayOrRangeDesignator::Index

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

Definition at line 4478 of file Expr.h.

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

## ◆ LBracketLoc

unsigned clang::DesignatedInitExpr::ArrayOrRangeDesignator::LBracketLoc

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

Definition at line 4480 of file Expr.h.

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

## ◆ RBracketLoc

unsigned clang::DesignatedInitExpr::ArrayOrRangeDesignator::RBracketLoc

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

Definition at line 4485 of file Expr.h.

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

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

- include/clang/AST/Expr.h