clang API Documentation

Public Member Functions | Public Attributes
clang::DeclaratorChunk::ArrayTypeInfo Struct Reference

#include <DeclSpec.h>

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

List of all members.

Public Member Functions

void destroy ()

Public Attributes

unsigned TypeQuals: 3
 The type qualifiers for the array: const/volatile/restrict.
bool hasStatic: 1
 True if this dimension included the 'static' keyword.
bool isStar: 1
 True if this dimension was [*]. In this case, NumElts is null.
ExprNumElts

Detailed Description

Definition at line 1033 of file DeclSpec.h.


Member Function Documentation

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

Definition at line 1048 of file DeclSpec.h.

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


Member Data Documentation

True if this dimension included the 'static' keyword.

Definition at line 1038 of file DeclSpec.h.

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

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

Definition at line 1041 of file DeclSpec.h.

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

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 1046 of file DeclSpec.h.

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

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

Definition at line 1035 of file DeclSpec.h.

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


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