class DesignatedInitExpr::Designator

Declaration

class DesignatedInitExpr::Designator { /* full declaration omitted */ };

Description

Represents a single C99 designator.

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

Member Variables

private enum(unnamed enum at / home / hdoc / tmp / llvm - project / clang / include / clang / AST / Expr.h : 5106 : 5) Kind
private anonymous struct / union

Method Overview

Methods

Designator(const clang::IdentifierInfo* FieldName,
           clang::SourceLocation DotLoc,
           clang::SourceLocation FieldLoc)

Description

Initializes a field designator.

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

Parameters

const clang::IdentifierInfo* FieldName
clang::SourceLocation DotLoc
clang::SourceLocation FieldLoc

Designator(unsigned int Index,
           clang::SourceLocation LBracketLoc,
           clang::SourceLocation RBracketLoc)

Description

Initializes an array designator.

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

Parameters

unsigned int Index
clang::SourceLocation LBracketLoc
clang::SourceLocation RBracketLoc

Designator(unsigned int Index,
           clang::SourceLocation LBracketLoc,
           clang::SourceLocation EllipsisLoc,
           clang::SourceLocation RBracketLoc)

Description

Initializes a GNU array-range designator.

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

Parameters

unsigned int Index
clang::SourceLocation LBracketLoc
clang::SourceLocation EllipsisLoc
clang::SourceLocation RBracketLoc

Designator()

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

clang::SourceLocation getBeginLoc() const

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

clang::SourceLocation getDotLoc() const

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

clang::SourceLocation getEllipsisLoc() const

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

clang::SourceLocation getEndLoc() const

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

clang::FieldDecl* getField() const

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

clang::SourceLocation getFieldLoc() const

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

clang::IdentifierInfo* getFieldName() const

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

unsigned int getFirstExprIndex() const

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

clang::SourceLocation getLBracketLoc() const

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

clang::SourceLocation getRBracketLoc() const

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

clang::SourceRange getSourceRange() const

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

bool isArrayDesignator() const

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

bool isArrayRangeDesignator() const

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

bool isFieldDesignator() const

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

void setField(clang::FieldDecl* FD)

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

Parameters

clang::FieldDecl* FD