clang 23.0.0git
PointerFlowFormat.cpp File Reference

Go to the source code of this file.

Typedefs

using Object = llvm::json::Object
using Array = llvm::json::Array
using Value = llvm::json::Value

Functions

static llvm::json::Object summaryToJSON (const EntitySummary &ES, JSONFormat::EntityIdToJSONFn EntityId2JSON)
static llvm::Expected< std::unique_ptr< EntitySummary > > summaryFromJSON (const Object &Data, EntityIdTable &, JSONFormat::EntityIdFromJSONFn EntityIdFromJSON)
static llvm::Registry< JSONFormat::FormatInfo >::Add< PointerFlowJSONFormatInfo > RegisterPointerFlowJSONFormatInfo ("PointerFlow", "JSON Format info for PointerFlowEntitySummary")

Variables

volatile int PointerFlowSSAFJSONFormatAnchorSource = 0

Typedef Documentation

◆ Array

◆ Object

using Object = llvm::json::Object

Definition at line 20 of file PointerFlowFormat.cpp.

◆ Value

using Value = llvm::json::Value

Definition at line 22 of file PointerFlowFormat.cpp.

Function Documentation

◆ RegisterPointerFlowJSONFormatInfo()

llvm::Registry< JSONFormat::FormatInfo >::Add< PointerFlowJSONFormatInfo > RegisterPointerFlowJSONFormatInfo ( "PointerFlow" ,
"JSON Format info for PointerFlowEntitySummary"  )
static

◆ summaryFromJSON()

◆ summaryToJSON()

llvm::json::Object summaryToJSON ( const EntitySummary & ES,
JSONFormat::EntityIdToJSONFn EntityId2JSON )
static

Definition at line 85 of file PointerFlowFormat.cpp.

References clang::Data, and clang::ssaf::edgeSetToJSON().

Variable Documentation

◆ PointerFlowSSAFJSONFormatAnchorSource

volatile int PointerFlowSSAFJSONFormatAnchorSource = 0

Definition at line 130 of file PointerFlowFormat.cpp.