clang 23.0.0git
clang::ssaf::CallGraphSummary Struct Referencefinal

Summary of direct call-graph edges for a single function entity. More...

#include "clang/ScalableStaticAnalysisFramework/Analyses/CallGraph/CallGraphSummary.h"

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

Classes

struct  Location

Public Member Functions

SummaryName getSummaryName () const override
Public Member Functions inherited from clang::ssaf::EntitySummary
virtual ~EntitySummary ()=default

Public Attributes

Location Definition = {}
 Represents the location of the function.
std::set< EntityIdDirectCallees
 The set of direct callees of this function.
std::set< EntityIdVirtualCallees
 The set of virtual callees of this function.
std::string PrettyName
 A human-readable name of the function.

Detailed Description

Summary of direct call-graph edges for a single function entity.

Represents a function definition, and information about its callees.

Bug

Indirect calls (e.g. function pointers) are not represented.

ObjCMessageExprs are not represented.

Primary template functions are not represented.

Definition at line 26 of file CallGraphSummary.h.

Member Function Documentation

◆ getSummaryName()

SummaryName clang::ssaf::CallGraphSummary::getSummaryName ( ) const
inlineoverridevirtual

Implements clang::ssaf::EntitySummary.

Definition at line 33 of file CallGraphSummary.h.

Member Data Documentation

◆ Definition

Location clang::ssaf::CallGraphSummary::Definition = {}

Represents the location of the function.

Definition at line 38 of file CallGraphSummary.h.

◆ DirectCallees

std::set<EntityId> clang::ssaf::CallGraphSummary::DirectCallees

The set of direct callees of this function.

Definition at line 41 of file CallGraphSummary.h.

◆ PrettyName

std::string clang::ssaf::CallGraphSummary::PrettyName

A human-readable name of the function.

This is not guaranteed to be accurate or unique.

Definition at line 48 of file CallGraphSummary.h.

◆ VirtualCallees

std::set<EntityId> clang::ssaf::CallGraphSummary::VirtualCallees

The set of virtual callees of this function.

Definition at line 44 of file CallGraphSummary.h.


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