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 681 of file Decl.h.


Constructor & Destructor Documentation

clang::EvaluatedStmt::EvaluatedStmt ( ) [inline]

Definition at line 682 of file Decl.h.


Member Data Documentation

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


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