clang 17.0.0git
|
Base class for all values computed by abstract interpretation. More...
#include "clang/Analysis/FlowSensitive/Value.h"
Public Types | |
enum class | Kind { Integer , Reference , Pointer , Struct , TopBool , AtomicBool , Conjunction , Disjunction , Negation , Implication , Biconditional } |
Public Member Functions | |
Value (Kind ValKind) | |
Value (const Value &)=delete | |
Value & | operator= (const Value &)=delete |
virtual | ~Value ()=default |
Kind | getKind () const |
Value * | getProperty (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 |
Base class for all values computed by abstract interpretation.
Don't use Value
instances by value. All Value
instances are allocated and owned by DataflowAnalysisContext
.
|
strong |
|
delete |
|
virtualdefault |
|
inline |
Definition at line 61 of file Value.h.
Referenced by clang::dataflow::areEquivalentValues(), clang::dataflow::buildBooleanFormula(), clang::dataflow::BoolValue::classof(), clang::dataflow::TopBoolValue::classof(), clang::dataflow::AtomicBoolValue::classof(), clang::dataflow::ConjunctionValue::classof(), clang::dataflow::DisjunctionValue::classof(), clang::dataflow::NegationValue::classof(), clang::dataflow::ImplicationValue::classof(), clang::dataflow::BiconditionalValue::classof(), clang::dataflow::IntegerValue::classof(), clang::dataflow::ReferenceValue::classof(), clang::dataflow::PointerValue::classof(), clang::dataflow::StructValue::classof(), clang::dataflow::compareDistinctValues(), and clang::dataflow::operator<<().
|
inline |
Returns the value of the synthetic property with the given Name
or null if the property isn't assigned a value.
Definition at line 65 of file Value.h.
Referenced by clang::dataflow::UncheckedOptionalAccessModel::widen().
|
inline |
|
inline |