clang API Documentation
Structure used to store a statement, the constant value to which it was evaluated (if any), and whether or not the statement is an integral constant expression (if known). More...
#include <Decl.h>
Public Member Functions | |
EvaluatedStmt () | |
Public Attributes | |
bool | WasEvaluated: 1 |
Whether this statement was already evaluated. | |
bool | IsEvaluating: 1 |
Whether this statement is being evaluated. | |
bool | CheckedICE: 1 |
Whether we already checked whether this statement was an integral constant expression. | |
bool | CheckingICE: 1 |
Whether we are checking whether this statement is an integral constant expression. | |
bool | IsICE: 1 |
Whether this statement is an integral constant expression, or in C++11, whether the statement is a constant expression. Only valid if CheckedICE is true. | |
Stmt * | Value |
APValue | Evaluated |
Structure used to store a statement, the constant value to which it was evaluated (if any), and whether or not the statement is an integral constant expression (if known).
clang::EvaluatedStmt::EvaluatedStmt | ( | ) | [inline] |
Whether we already checked whether this statement was an integral constant expression.
Definition at line 649 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE(), clang::VarDecl::evaluateValue(), clang::ASTNodeImporter::VisitVarDecl(), and clang::ASTDeclReader::VisitVarDeclImpl().
Whether we are checking whether this statement is an integral constant expression.
Definition at line 653 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE().
Definition at line 661 of file Decl.h.
Referenced by clang::VarDecl::evaluateValue().
Whether this statement is being evaluated.
Definition at line 645 of file Decl.h.
Referenced by clang::VarDecl::evaluateValue().
Whether this statement is an integral constant expression, or in C++11, whether the statement is a constant expression. Only valid if CheckedICE is true.
Definition at line 658 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE(), clang::VarDecl::evaluateValue(), clang::ASTNodeImporter::VisitVarDecl(), and clang::ASTDeclReader::VisitVarDeclImpl().
Definition at line 660 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE(), clang::VarDecl::evaluateValue(), IsVariableNonDependentAndAConstantExpression(), and VariableCanNeverBeAConstantExpression().
Whether this statement was already evaluated.
Definition at line 642 of file Decl.h.
Referenced by clang::VarDecl::evaluateValue().