clang: clang::EvaluatedStmt Struct Reference (original) (raw)

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](Decl%5F8h%5Fsource.html)"

Public Attributes
bool WasEvaluated: 1
Whether this statement was already evaluated.
bool IsEvaluating: 1
Whether this statement is being evaluated.
bool HasConstantInitialization: 1
Whether this variable is known to have constant initialization.
bool HasConstantDestruction: 1
Whether this variable is known to have constant destruction.
bool HasICEInit: 1
In C++98, whether the initializer is an ICE.
bool CheckedForICEInit: 1
LazyDeclStmtPtr 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).

Definition at line 847 of file Decl.h.

clang::EvaluatedStmt::EvaluatedStmt ( ) inline

Definition at line 875 of file Decl.h.

CheckedForICEInit

bool clang::EvaluatedStmt::CheckedForICEInit

Evaluated

APValue clang::EvaluatedStmt::Evaluated

HasConstantDestruction

bool clang::EvaluatedStmt::HasConstantDestruction

HasConstantInitialization

bool clang::EvaluatedStmt::HasConstantInitialization

HasICEInit

bool clang::EvaluatedStmt::HasICEInit

IsEvaluating

bool clang::EvaluatedStmt::IsEvaluating

Whether this statement is being evaluated.

Definition at line 852 of file Decl.h.

Value

WasEvaluated

bool clang::EvaluatedStmt::WasEvaluated


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