clang 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::dataflow::BoolValue Class Reference

Models a boolean. More...

#include "clang/Analysis/FlowSensitive/Value.h"

Inheritance diagram for clang::dataflow::BoolValue:
Inheritance graph
[legend]

Public Member Functions

 BoolValue (Kind ValueKind, const Formula &F)
 
const Formulaformula () const
 
- Public Member Functions inherited from clang::dataflow::Value
 Value (Kind ValKind)
 
 Value (const Value &)=delete
 
Valueoperator= (const Value &)=delete
 
virtual ~Value ()=default
 
Kind getKind () const
 
ValuegetProperty (llvm::StringRef Name) const
 Returns the value of the synthetic property with the given Name or null if the property isn't assigned a value.
 
void setProperty (llvm::StringRef Name, Value &Val)
 Assigns Val as the value of the synthetic property with the given Name.
 
llvm::iterator_range< llvm::StringMap< Value * >::const_iterator > properties () const
 

Static Public Member Functions

static bool classof (const Value *Val)
 

Additional Inherited Members

- Public Types inherited from clang::dataflow::Value
enum class  Kind {
  Integer , Pointer , TopBool , AtomicBool ,
  FormulaBool
}
 

Detailed Description

Models a boolean.

Definition at line 94 of file Value.h.

Constructor & Destructor Documentation

◆ BoolValue()

clang::dataflow::BoolValue::BoolValue ( Kind  ValueKind,
const Formula F 
)
inlineexplicit

Definition at line 98 of file Value.h.

Member Function Documentation

◆ classof()

static bool clang::dataflow::BoolValue::classof ( const Value Val)
inlinestatic

◆ formula()

const Formula & clang::dataflow::BoolValue::formula ( ) const
inline

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