clang 23.0.0git
clang::ssaf::EntitySummaryEncoding Class Referenceabstract

Represents EntitySummary data in its serialized, format-specific encoding. More...

#include "clang/ScalableStaticAnalysisFramework/Core/EntityLinker/EntitySummaryEncoding.h"

Inheritance diagram for clang::ssaf::EntitySummaryEncoding:
[legend]

Public Member Functions

virtual ~EntitySummaryEncoding ()=default
virtual llvm::Error patch (const std::map< EntityId, EntityId > &EntityResolutionTable)=0
 Updates EntityId references in the encoded data.

Detailed Description

Represents EntitySummary data in its serialized, format-specific encoding.

This abstract base class allows the entity linker to manipulate serialized entity summary data without knowing the exact schema of the EntitySummary subclass. The primary operation is patching EntityId references when entities are merged during linking.

Definition at line 29 of file EntitySummaryEncoding.h.

Constructor & Destructor Documentation

◆ ~EntitySummaryEncoding()

virtual clang::ssaf::EntitySummaryEncoding::~EntitySummaryEncoding ( )
virtualdefault

Member Function Documentation

◆ patch()

virtual llvm::Error clang::ssaf::EntitySummaryEncoding::patch ( const std::map< EntityId, EntityId > & EntityResolutionTable)
pure virtual

Updates EntityId references in the encoded data.

Parameters
EntityResolutionTableMapping from old EntityIds to new EntityIds.

Implemented in clang::ssaf::JSONEntitySummaryEncoding.


The documentation for this class was generated from the following file: