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

#include "clang/Analysis/CallGraph.h"

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

Public Types

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

Static Public Member Functions

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

Detailed Description

Definition at line 260 of file CallGraph.h.

Member Typedef Documentation

◆ nodes_iterator

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

Definition at line 272 of file CallGraph.h.

Member Function Documentation

◆ CGGetValue()

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

Definition at line 267 of file CallGraph.h.

Referenced by nodes_begin(), and nodes_end().

◆ getEntryNode()

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

Definition at line 262 of file CallGraph.h.

References clang::CallGraph::getRoot().

◆ nodes_begin()

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

Definition at line 275 of file CallGraph.h.

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

◆ nodes_end()

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

Definition at line 279 of file CallGraph.h.

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

◆ size()

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

Definition at line 283 of file CallGraph.h.

References clang::CallGraph::size().


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