clang  6.0.0svn
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:
Collaboration graph
[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 4163 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 4171 of file Expr.h.

Referenced by clang::DesignatedInitExpr::Designator::Designator(), and 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 4166 of file Expr.h.

Referenced by clang::DesignatedInitExpr::Designator::Designator(), 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 4168 of file Expr.h.

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

◆ RBracketLoc

unsigned clang::DesignatedInitExpr::ArrayOrRangeDesignator::RBracketLoc

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

Definition at line 4173 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: