class Sema::ConditionResult
Declaration
class Sema::ConditionResult { /* full declaration omitted */ };
Declared at: clang/include/clang/Sema/Sema.h:12415
Member Variables
- private clang::Decl* ConditionVar
- private clang::Sema::FullExprArg Condition
- private bool Invalid
- private bool HasKnownValue
- private bool KnownValue
Method Overview
- private ConditionResult(clang::Sema & S, clang::Decl * ConditionVar, clang::Sema::FullExprArg Condition, bool IsConstexpr)
- private ConditionResult(bool Invalid)
- public ConditionResult()
- public std::pair<VarDecl *, Expr *> get() const
- public llvm::Optional<bool> getKnownValue() const
- public bool isInvalid() const
Methods
¶ConditionResult(
clang::Sema& S,
clang::Decl* ConditionVar,
clang::Sema::FullExprArg Condition,
bool IsConstexpr)
ConditionResult(
clang::Sema& S,
clang::Decl* ConditionVar,
clang::Sema::FullExprArg Condition,
bool IsConstexpr)
Declared at: clang/include/clang/Sema/Sema.h:12423
Parameters
- clang::Sema& S
- clang::Decl* ConditionVar
- clang::Sema::FullExprArg Condition
- bool IsConstexpr
¶ConditionResult(bool Invalid)
ConditionResult(bool Invalid)
Declared at: clang/include/clang/Sema/Sema.h:12430
Parameters
- bool Invalid
¶ConditionResult()
ConditionResult()
Declared at: clang/include/clang/Sema/Sema.h:12435
¶std::pair<VarDecl*, Expr*> get() const
std::pair<VarDecl*, Expr*> get() const
Declared at: clang/include/clang/Sema/Sema.h:12437
¶llvm::Optional<bool> getKnownValue() const
llvm::Optional<bool> getKnownValue() const
Declared at: clang/include/clang/Sema/Sema.h:12441
¶bool isInvalid() const
bool isInvalid() const
Declared at: clang/include/clang/Sema/Sema.h:12436