clang 22.0.0git
llvm::GraphTraits< const clang::CallGraph * > Struct Reference

#include "clang/Analysis/CallGraph.h"

Inheritance diagram for llvm::GraphTraits< const clang::CallGraph * >:
[legend]

Public Types

using nodes_iterator
Public Types inherited from llvm::GraphTraits< const clang::CallGraphNode * >
using NodeType = const clang::CallGraphNode
using NodeRef = const clang::CallGraphNode *
using ChildIteratorType = NodeType::const_iterator

Static Public Member Functions

static NodeTypegetEntryNode (const clang::CallGraph *CGN)
static clang::CallGraphNodeCGGetValue (clang::CallGraph::const_iterator::value_type &P)
static nodes_iterator nodes_begin (const clang::CallGraph *CG)
static nodes_iterator nodes_end (const clang::CallGraph *CG)
static unsigned size (const clang::CallGraph *CG)
Static Public Member Functions inherited from llvm::GraphTraits< const clang::CallGraphNode * >
static NodeTypegetEntryNode (const clang::CallGraphNode *CGN)
static ChildIteratorType child_begin (NodeType *N)
static ChildIteratorType child_end (NodeType *N)

Detailed Description

Definition at line 286 of file CallGraph.h.

Member Typedef Documentation

◆ nodes_iterator

using llvm::GraphTraits< const clang::CallGraph * >::nodes_iterator
Initial value:
mapped_iterator<clang::CallGraph::const_iterator, decltype(&CGGetValue)>
FunctionMapTy::const_iterator const_iterator
Definition CallGraph.h:83
static clang::CallGraphNode * CGGetValue(clang::CallGraph::const_iterator::value_type &P)
Definition CallGraph.h:267

Definition at line 298 of file CallGraph.h.

Member Function Documentation

◆ CGGetValue()

clang::CallGraphNode * llvm::GraphTraits< const clang::CallGraph * >::CGGetValue ( clang::CallGraph::const_iterator::value_type & P)
inlinestatic

Definition at line 293 of file CallGraph.h.

Referenced by nodes_begin(), and nodes_end().

◆ getEntryNode()

NodeType * llvm::GraphTraits< const clang::CallGraph * >::getEntryNode ( const clang::CallGraph * CGN)
inlinestatic

Definition at line 288 of file CallGraph.h.

References clang::CallGraph::getRoot().

◆ nodes_begin()

nodes_iterator llvm::GraphTraits< const clang::CallGraph * >::nodes_begin ( const clang::CallGraph * CG)
inlinestatic

Definition at line 301 of file CallGraph.h.

References clang::CallGraph::begin(), and CGGetValue().

◆ nodes_end()

nodes_iterator llvm::GraphTraits< const clang::CallGraph * >::nodes_end ( const clang::CallGraph * CG)
inlinestatic

Definition at line 305 of file CallGraph.h.

References CGGetValue(), and clang::CallGraph::end().

◆ size()

unsigned llvm::GraphTraits< const clang::CallGraph * >::size ( const clang::CallGraph * CG)
inlinestatic

Definition at line 309 of file CallGraph.h.

References clang::CallGraph::size().


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