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).
Whether we already checked whether this statement was an integral constant expression.
Definition at line 693 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE(), clang::VarDecl::evaluateValue(), clang::ASTNodeImporter::VisitVarDecl(), and clang::ASTDeclReader::VisitVarDecl().
Whether we are checking whether this statement is an integral constant expression.
Definition at line 697 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE().
Definition at line 705 of file Decl.h.
Referenced by clang::VarDecl::evaluateValue().
Whether this statement is being evaluated.
Definition at line 689 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 702 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE(), clang::VarDecl::evaluateValue(), clang::ASTNodeImporter::VisitVarDecl(), and clang::ASTDeclReader::VisitVarDecl().
Definition at line 704 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE(), and clang::VarDecl::evaluateValue().
Whether this statement was already evaluated.
Definition at line 686 of file Decl.h.
Referenced by clang::VarDecl::evaluateValue().