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

Methods

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)

Declared at: clang/include/clang/Sema/Sema.h:12430

Parameters

bool Invalid

ConditionResult()

Declared at: clang/include/clang/Sema/Sema.h:12435

std::pair<VarDecl*, Expr*> get() const

Declared at: clang/include/clang/Sema/Sema.h:12437

llvm::Optional<bool> getKnownValue() const

Declared at: clang/include/clang/Sema/Sema.h:12441

bool isInvalid() const

Declared at: clang/include/clang/Sema/Sema.h:12436