clang API Documentation

Public Member Functions | Public Attributes
clang::EvaluatedStmt Struct Reference

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>

Collaboration diagram for clang::EvaluatedStmt:
Collaboration graph
[legend]

List of all members.

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.
StmtValue
APValue Evaluated

Detailed Description

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).

Definition at line 637 of file Decl.h.


Constructor & Destructor Documentation

Definition at line 638 of file Decl.h.


Member Data Documentation

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().

Whether this statement was already evaluated.

Definition at line 642 of file Decl.h.

Referenced by clang::VarDecl::evaluateValue().


The documentation for this struct was generated from the following file: