clang 17.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::dataflow::TopBoolValue Class Referencefinal

Models the trivially true formula, which is Top in the lattice of boolean formulas. More...

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

Inheritance diagram for clang::dataflow::TopBoolValue:
Inheritance graph
[legend]
Collaboration diagram for clang::dataflow::TopBoolValue:
Collaboration graph
[legend]

Public Member Functions

 TopBoolValue ()
 
- Public Member Functions inherited from clang::dataflow::BoolValue
 BoolValue (Kind ValueKind)
 
- 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.
 

Static Public Member Functions

static bool classof (const Value *Val)
 
- Static Public Member Functions inherited from clang::dataflow::BoolValue
static bool classof (const Value *Val)
 

Additional Inherited Members

- Public Types inherited from clang::dataflow::Value
enum class  Kind {
  Integer , Reference , Pointer , Struct ,
  TopBool , AtomicBool , Conjunction , Disjunction ,
  Negation , Implication , Biconditional
}
 

Detailed Description

Models the trivially true formula, which is Top in the lattice of boolean formulas.

Definition at line 110 of file Value.h.

Constructor & Destructor Documentation

◆ TopBoolValue()

clang::dataflow::TopBoolValue::TopBoolValue ( )
inline

Definition at line 112 of file Value.h.

Member Function Documentation

◆ classof()

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

Definition at line 114 of file Value.h.

References clang::dataflow::Value::getKind(), and clang::dataflow::Value::TopBool.


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