clang 20.0.0git
|
#include "clang/Basic/JsonSupport.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/ImmutableSet.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <iterator>
#include <optional>
#include "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def"
Go to the source code of this file.
Classes | |
class | OperatorRelationsTable |
Macros | |
#define | DISPATCH(CLASS) return assign##CLASS##Impl(cast<CLASS>(Sym), Constraint) |
#define | ASSIGN(CLASS, TO, SYM, CONSTRAINT) |
#define | SYMBOL(Id, Parent) |
#define | DEFAULT_ASSIGN(Id) |
#define | CONSTRAINT_DISPATCH(Id) |
#define | SYMBOL(Id, Parent) |
#define | ABSTRACT_SYMBOL(Id, Parent) SYMBOL(Id, Parent) |
Functions | |
template<typename T > | |
void | swapIterators (T &First, T &FirstEnd, T &Second, T &SecondEnd) |
ProgramStateRef | reAssume (ProgramStateRef State, const RangeSet *Constraint, SVal TheValue) |
static std::string | toString (const SymbolRef &Sym) |
static std::string | toString (ProgramStateRef State, EquivalenceClass Class) |
Definition at line 2036 of file RangeConstraintManager.cpp.
#define ASSIGN | ( | CLASS, | |
TO, | |||
SYM, | |||
CONSTRAINT | |||
) |
Definition at line 1989 of file RangeConstraintManager.cpp.
#define CONSTRAINT_DISPATCH | ( | Id | ) |
Definition at line 2018 of file RangeConstraintManager.cpp.
#define DEFAULT_ASSIGN | ( | Id | ) |
Definition at line 2007 of file RangeConstraintManager.cpp.
#define DISPATCH | ( | CLASS | ) | return assign##CLASS##Impl(cast<CLASS>(Sym), Constraint) |
Definition at line 1987 of file RangeConstraintManager.cpp.
Definition at line 2030 of file RangeConstraintManager.cpp.
Definition at line 2030 of file RangeConstraintManager.cpp.
ProgramStateRef reAssume | ( | ProgramStateRef | State, |
const RangeSet * | Constraint, | ||
SVal | TheValue | ||
) |
Definition at line 2628 of file RangeConstraintManager.cpp.
References clang::ento::SVal::castAs(), clang::ento::RangeSet::encodesFalseRange(), clang::ento::RangeSet::encodesTrueRange(), clang::ento::RangeSet::getMaxValue(), and clang::ento::RangeSet::getMinValue().
void swapIterators | ( | T & | First, |
T & | FirstEnd, | ||
T & | Second, | ||
T & | SecondEnd | ||
) |
Definition at line 161 of file RangeConstraintManager.cpp.
References clang::First.
|
static |
Definition at line 3282 of file RangeConstraintManager.cpp.
References clang::ento::SymExpr::dumpToStream().
|
static |
Definition at line 3335 of file RangeConstraintManager.cpp.
References clang::Class, and toString().