clang  3.7.0
Public Member Functions | Public Attributes | List of all members
clang::DeclaratorChunk::ArrayTypeInfo Struct Reference

#include <DeclSpec.h>

Inheritance diagram for clang::DeclaratorChunk::ArrayTypeInfo:
[legend]
Collaboration diagram for clang::DeclaratorChunk::ArrayTypeInfo:
[legend]

Public Member Functions

void destroy ()
 

Public Attributes

unsigned TypeQuals: 4
 The type qualifiers for the array: const/volatile/restrict/_Atomic. More...
 
bool hasStatic: 1
 True if this dimension included the 'static' keyword. More...
 
bool isStar: 1
 True if this dimension was [*]. In this case, NumElts is null. More...
 
ExprNumElts
 
- Public Attributes inherited from clang::DeclaratorChunk::TypeInfoCommon
AttributeListAttrList
 

Detailed Description

Definition at line 1135 of file DeclSpec.h.

Member Function Documentation

void clang::DeclaratorChunk::ArrayTypeInfo::destroy ( )
inline

Definition at line 1150 of file DeclSpec.h.

Referenced by clang::DeclaratorChunk::destroy().

Member Data Documentation

bool clang::DeclaratorChunk::ArrayTypeInfo::hasStatic

True if this dimension included the 'static' keyword.

Definition at line 1140 of file DeclSpec.h.

Referenced by clang::Sema::ActOnCXXNew(), clang::DeclaratorChunk::getArray(), and GetFullTypeForDeclarator().

bool clang::DeclaratorChunk::ArrayTypeInfo::isStar

True if this dimension was [*]. In this case, NumElts is null.

Definition at line 1143 of file DeclSpec.h.

Referenced by clang::DeclaratorChunk::getArray(), and GetFullTypeForDeclarator().

Expr* clang::DeclaratorChunk::ArrayTypeInfo::NumElts

This is the size of the array, or null if [] or [*] was specified. Since the parser is multi-purpose, and we don't want to impose a root expression class on all clients, NumElts is untyped.

Definition at line 1148 of file DeclSpec.h.

Referenced by clang::Sema::ActOnCXXNew(), clang::Sema::containsUnexpandedParameterPacks(), clang::DeclaratorChunk::getArray(), GetFullTypeForDeclarator(), and clang::Declarator::isArrayOfUnknownBound().

unsigned clang::DeclaratorChunk::ArrayTypeInfo::TypeQuals

The type qualifiers for the array: const/volatile/restrict/_Atomic.

Definition at line 1137 of file DeclSpec.h.

Referenced by clang::DeclaratorChunk::getArray(), and GetFullTypeForDeclarator().


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