clang 23.0.0git
PointerFlowFormat.h File Reference

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::ssaf

Functions

llvm::json::Array clang::ssaf::edgeSetToJSON (llvm::iterator_range< EdgeSet::const_iterator > Edges, JSONFormat::EntityIdToJSONFn IdToJSON)
 Serialize an EdgeSet {(src1, dest1), (src1, dest2), (src2, dest3), (src2, dest4), ...} to an array of arrays of EntityPointerLevels: [ [src1, dest1, dest2, ...], [src2, dest3, dest4, ...], ... ].
llvm::Expected< EdgeSetclang::ssaf::edgeSetFromJSON (const llvm::json::Array &EdgesData, JSONFormat::EntityIdFromJSONFn IdFromJSON)
 Deserialize an EdgeSet from the array format produced by edgeSetToJSON.