|
clang
5.0.0
|
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 "clang/AST/Decl.h"
Public Member Functions | |
| EvaluatedStmt () | |
Public Attributes | |
| bool | WasEvaluated: 1 |
| Whether this statement was already evaluated. More... | |
| bool | IsEvaluating: 1 |
| Whether this statement is being evaluated. More... | |
| bool | CheckedICE: 1 |
| Whether we already checked whether this statement was an integral constant expression. More... | |
| bool | CheckingICE: 1 |
| Whether we are checking whether this statement is an integral constant expression. More... | |
| bool | IsICE: 1 |
| Whether this statement is an integral constant expression, or in C++11, whether the statement is a constant expression. More... | |
| 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).
| bool clang::EvaluatedStmt::CheckedICE |
Whether we already checked whether this statement was an integral constant expression.
Definition at line 741 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE(), clang::VarDecl::evaluateValue(), clang::ASTDeclReader::UpdateDecl(), clang::ASTNodeImporter::VisitVarDecl(), and clang::ASTDeclReader::VisitVarDeclImpl().
| bool clang::EvaluatedStmt::CheckingICE |
Whether we are checking whether this statement is an integral constant expression.
Definition at line 745 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE().
| APValue clang::EvaluatedStmt::Evaluated |
Definition at line 753 of file Decl.h.
Referenced by clang::VarDecl::evaluateValue().
| bool clang::EvaluatedStmt::IsEvaluating |
Whether this statement is being evaluated.
Definition at line 737 of file Decl.h.
Referenced by clang::VarDecl::evaluateValue().
| bool clang::EvaluatedStmt::IsICE |
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 750 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE(), clang::VarDecl::evaluateValue(), clang::ASTDeclReader::UpdateDecl(), clang::ASTNodeImporter::VisitVarDecl(), and clang::ASTDeclReader::VisitVarDeclImpl().
| Stmt* clang::EvaluatedStmt::Value |
Definition at line 752 of file Decl.h.
Referenced by clang::VarDecl::checkInitIsICE(), clang::VarDecl::ensureEvaluatedStmt(), clang::VarDecl::evaluateValue(), IsVariableNonDependentAndAConstantExpression(), and VariableCanNeverBeAConstantExpression().
| bool clang::EvaluatedStmt::WasEvaluated |
Whether this statement was already evaluated.
Definition at line 734 of file Decl.h.
Referenced by clang::VarDecl::evaluateValue().
1.8.6