clang API Documentation

Public Member Functions | Public Attributes
clang::Expr::EvalStatus Struct Reference

EvalStatus is a struct with detailed info about an evaluation in progress. More...

#include <Expr.h>

Inheritance diagram for clang::Expr::EvalStatus:
Inheritance graph
[legend]
Collaboration diagram for clang::Expr::EvalStatus:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EvalStatus ()
bool hasSideEffects () const

Public Attributes

bool HasSideEffects
SmallVectorImpl
< PartialDiagnosticAt > * 
Diag

Detailed Description

EvalStatus is a struct with detailed info about an evaluation in progress.

Definition at line 529 of file Expr.h.


Constructor & Destructor Documentation

Definition at line 543 of file Expr.h.


Member Function Documentation


Member Data Documentation

Diag - If this is non-null, it will be filled in with a stack of notes indicating why evaluation failed (or why it failed to produce a constant expression). If the expression is unfoldable, the notes will indicate why it's not foldable. If the expression is foldable, but not a constant expression, the notes will describes why it isn't a constant expression. If the expression *is* a constant expression, no notes will be produced.

Definition at line 541 of file Expr.h.

Referenced by clang::Sema::CheckConvertedConstantExpression(), clang::Expr::EvaluateAsInitializer(), clang::Expr::isCXX11ConstantExpr(), isNullPointerValueTemplateArgument(), clang::Expr::isPotentialConstantExpr(), clang::Expr::isPotentialConstantExprUnevaluated(), and clang::Sema::VerifyIntegerConstantExpression().


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