clang API Documentation
An Embarcadero array type trait, as used in the implementation of __array_rank and __array_extent. More...
#include <ExprCXX.h>


Public Member Functions | |
| ArrayTypeTraitExpr (SourceLocation loc, ArrayTypeTrait att, TypeSourceInfo *queried, uint64_t value, Expr *dimension, SourceLocation rparen, QualType ty) | |
| ArrayTypeTraitExpr (EmptyShell Empty) | |
| virtual | ~ArrayTypeTraitExpr () |
| SourceLocation | getLocStart () const LLVM_READONLY |
| SourceLocation | getLocEnd () const LLVM_READONLY |
| ArrayTypeTrait | getTrait () const |
| QualType | getQueriedType () const |
| TypeSourceInfo * | getQueriedTypeSourceInfo () const |
| uint64_t | getValue () const |
| Expr * | getDimensionExpression () const |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
Friends | |
| class | ASTStmtReader |
An Embarcadero array type trait, as used in the implementation of __array_rank and __array_extent.
Example:
__array_rank(int[10][20]) == 2 __array_extent(int, 1) == 20
| clang::ArrayTypeTraitExpr::ArrayTypeTraitExpr | ( | SourceLocation | loc, |
| ArrayTypeTrait | att, | ||
| TypeSourceInfo * | queried, | ||
| uint64_t | value, | ||
| Expr * | dimension, | ||
| SourceLocation | rparen, | ||
| QualType | ty | ||
| ) | [inline] |
| clang::ArrayTypeTraitExpr::ArrayTypeTraitExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
| virtual clang::ArrayTypeTraitExpr::~ArrayTypeTraitExpr | ( | ) | [inline, virtual] |
| child_range clang::ArrayTypeTraitExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
| static bool clang::ArrayTypeTraitExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 2222 of file ExprCXX.h.
References clang::Stmt::getStmtClass().
| Expr* clang::ArrayTypeTraitExpr::getDimensionExpression | ( | ) | const [inline] |
| SourceLocation clang::ArrayTypeTraitExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
| SourceLocation clang::ArrayTypeTraitExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
| QualType clang::ArrayTypeTraitExpr::getQueriedType | ( | ) | const [inline] |
Definition at line 2214 of file ExprCXX.h.
References clang::TypeSourceInfo::getType().
| TypeSourceInfo* clang::ArrayTypeTraitExpr::getQueriedTypeSourceInfo | ( | ) | const [inline] |
| ArrayTypeTrait clang::ArrayTypeTraitExpr::getTrait | ( | ) | const [inline] |
| uint64_t clang::ArrayTypeTraitExpr::getValue | ( | ) | const [inline] |
Definition at line 2218 of file ExprCXX.h.
References clang::Expr::isTypeDependent().
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.