clang 23.0.0git
UnsafeBufferUsageFormat.cpp File Reference

Go to the source code of this file.

Functions

static Object serialize (const EntitySummary &S, JSONFormat::EntityIdToJSONFn Fn)
static llvm::Expected< std::unique_ptr< EntitySummary > > deserializeImpl (const Object &Data, JSONFormat::EntityIdFromJSONFn Fn)
static llvm::Expected< std::unique_ptr< EntitySummary > > deserialize (const Object &Data, EntityIdTable &, JSONFormat::EntityIdFromJSONFn Fn)
static llvm::Registry< JSONFormat::FormatInfo >::Add< UnsafeBufferUsageJSONFormatInfo > RegisterUnsafeBufferUsageJSONFormatInfo (UnsafeBufferUsageEntitySummary::Name, "JSON Format info for UnsafeBufferUsageEntitySummary")

Variables

static constexpr llvm::StringLiteral SummarySerializationKey = "UnsafeBuffers"
volatile int UnsafeBufferUsageSSAFJSONFormatAnchorSource = 0

Function Documentation

◆ deserialize()

llvm::Expected< std::unique_ptr< EntitySummary > > deserialize ( const Object & Data,
EntityIdTable & ,
JSONFormat::EntityIdFromJSONFn Fn )
static

Definition at line 66 of file UnsafeBufferUsageFormat.cpp.

References clang::Data, and deserializeImpl().

◆ deserializeImpl()

◆ RegisterUnsafeBufferUsageJSONFormatInfo()

llvm::Registry< JSONFormat::FormatInfo >::Add< UnsafeBufferUsageJSONFormatInfo > RegisterUnsafeBufferUsageJSONFormatInfo ( UnsafeBufferUsageEntitySummary::Name ,
"JSON Format info for UnsafeBufferUsageEntitySummary"  )
static

◆ serialize()

Variable Documentation

◆ SummarySerializationKey

llvm::StringLiteral SummarySerializationKey = "UnsafeBuffers"
staticconstexpr

Definition at line 24 of file UnsafeBufferUsageFormat.cpp.

Referenced by deserializeImpl(), and serialize().

◆ UnsafeBufferUsageSSAFJSONFormatAnchorSource

volatile int UnsafeBufferUsageSSAFJSONFormatAnchorSource = 0

Definition at line 86 of file UnsafeBufferUsageFormat.cpp.