clang 22.0.0git
clang::Sema::ConditionResult Class Reference

#include "clang/Sema/Sema.h"

Public Member Functions

 ConditionResult ()
bool isInvalid () const
std::pair< VarDecl *, Expr * > get () const
std::optional< boolgetKnownValue () const

Friends

class Sema

Detailed Description

Definition at line 7753 of file Sema.h.

Constructor & Destructor Documentation

◆ ConditionResult()

clang::Sema::ConditionResult::ConditionResult ( )
inline

Definition at line 7775 of file Sema.h.

References false.

Member Function Documentation

◆ get()

std::pair< VarDecl *, Expr * > clang::Sema::ConditionResult::get ( ) const
inline

Definition at line 7777 of file Sema.h.

Referenced by clang::Sema::ActOnForStmt().

◆ getKnownValue()

std::optional< bool > clang::Sema::ConditionResult::getKnownValue ( ) const
inline

Definition at line 7781 of file Sema.h.

◆ isInvalid()

bool clang::Sema::ConditionResult::isInvalid ( ) const
inline

Definition at line 7776 of file Sema.h.

Referenced by clang::Sema::ActOnForStmt().

◆ Sema

friend class Sema
friend

Definition at line 7759 of file Sema.h.

References false, and Sema.

Referenced by Sema.


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