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 > | |
static void | swapIterators (T &First, T &FirstEnd, T &Second, T &SecondEnd) |
static 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 2050 of file RangeConstraintManager.cpp.
#define ASSIGN | ( | CLASS, | |
TO, | |||
SYM, | |||
CONSTRAINT | |||
) |
Definition at line 2003 of file RangeConstraintManager.cpp.
#define CONSTRAINT_DISPATCH | ( | Id | ) |
Definition at line 2032 of file RangeConstraintManager.cpp.
#define DEFAULT_ASSIGN | ( | Id | ) |
Definition at line 2021 of file RangeConstraintManager.cpp.
#define DISPATCH | ( | CLASS | ) | return assign##CLASS##Impl(cast<CLASS>(Sym), Constraint) |
Definition at line 2001 of file RangeConstraintManager.cpp.
Definition at line 2044 of file RangeConstraintManager.cpp.
Definition at line 2044 of file RangeConstraintManager.cpp.
|
static |
Definition at line 2642 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().
|
static |
Definition at line 161 of file RangeConstraintManager.cpp.
References clang::First.
|
static |
Definition at line 3291 of file RangeConstraintManager.cpp.
References clang::ento::SymExpr::dumpToStream().
|
static |
Definition at line 3344 of file RangeConstraintManager.cpp.
References clang::Class, and toString().