clang 20.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::GraphTraits< clang::CallGraph * > Struct Reference

#include "clang/Analysis/CallGraph.h"

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

Public Types

using nodes_iterator = mapped_iterator< clang::CallGraph::iterator, decltype(&CGGetValue)>
 
- 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 263 of file CallGraph.h.

Member Typedef Documentation

◆ nodes_iterator

using llvm::GraphTraits< clang::CallGraph * >::nodes_iterator = mapped_iterator<clang::CallGraph::iterator, decltype(&CGGetValue)>

Definition at line 275 of file CallGraph.h.

Member Function Documentation

◆ CGGetValue()

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

Definition at line 270 of file CallGraph.h.

References P.

◆ getEntryNode()

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

Definition at line 265 of file CallGraph.h.

References clang::CallGraph::getRoot().

◆ nodes_begin()

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

Definition at line 278 of file CallGraph.h.

References clang::CallGraph::begin().

◆ nodes_end()

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

Definition at line 282 of file CallGraph.h.

References clang::CallGraph::end().

◆ size()

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

Definition at line 286 of file CallGraph.h.

References clang::CallGraph::size().


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