clang 20.0.0git
|
#include "clang/Sema/DeclSpec.h"
Public Member Functions | |
void | destroy () |
Public Attributes | |
unsigned | TypeQuals: 5 |
The type qualifiers for the array: const/volatile/restrict/__unaligned/_Atomic. | |
unsigned | hasStatic: 1 |
True if this dimension included the 'static' keyword. | |
unsigned | isStar: 1 |
True if this dimension was [*]. In this case, NumElts is null. | |
Expr * | NumElts |
This is the size of the array, or null if [] or [*] was specified. | |
Definition at line 1304 of file DeclSpec.h.
|
inline |
Definition at line 1323 of file DeclSpec.h.
Referenced by clang::DeclaratorChunk::destroy().
unsigned clang::DeclaratorChunk::ArrayTypeInfo::hasStatic |
True if this dimension included the 'static' keyword.
Definition at line 1312 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNew(), clang::DeclaratorChunk::getArray(), and GetFullTypeForDeclarator().
unsigned clang::DeclaratorChunk::ArrayTypeInfo::isStar |
True if this dimension was [*]. In this case, NumElts is null.
Definition at line 1316 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 1321 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/__unaligned/_Atomic.
Definition at line 1308 of file DeclSpec.h.
Referenced by clang::DeclaratorChunk::getArray(), and GetFullTypeForDeclarator().