clang 22.0.0git
FormulaSerialization.cpp File Reference
#include "clang/Analysis/FlowSensitive/FormulaSerialization.h"
#include "clang/Analysis/FlowSensitive/Arena.h"
#include "clang/Analysis/FlowSensitive/Formula.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::dataflow
 Dataflow Directional Tag Classes.

Functions

static char clang::dataflow::compactSigil (Formula::Kind K)
void clang::dataflow::serializeFormula (const Formula &F, llvm::raw_ostream &OS)
 Prints F to OS in a compact format, optimized for easy parsing (deserialization) rather than human use.
static llvm::Expected< const Formula * > clang::dataflow::parsePrefix (llvm::StringRef &Str, Arena &A, llvm::DenseMap< unsigned, Atom > &AtomMap)
llvm::Expected< const Formula * > clang::dataflow::parseFormula (llvm::StringRef Str, Arena &A, llvm::DenseMap< unsigned, Atom > &AtomMap)
 Parses Str to build a serialized Formula.