clang  6.0.0svn
Public Types | Static Public Member Functions | List of all members
llvm::GraphTraits< const clang::CallGraph * > Struct Template Reference

#include "clang/Analysis/CallGraph.h"

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

Public Types

using nodes_iterator = mapped_iterator< clang::CallGraph::const_iterator, decltype(&CGGetValue)>
 

Static Public Member Functions

static NodeType * getEntryNode (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)
 

Detailed Description

template<>
struct llvm::GraphTraits< const clang::CallGraph * >

Definition at line 230 of file CallGraph.h.

Member Typedef Documentation

◆ nodes_iterator

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

Definition at line 243 of file CallGraph.h.

Member Function Documentation

◆ CGGetValue()

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

Definition at line 237 of file CallGraph.h.

◆ getEntryNode()

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

Definition at line 232 of file CallGraph.h.

References clang::CallGraph::getRoot().

◆ nodes_begin()

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

Definition at line 245 of file CallGraph.h.

References clang::CallGraph::begin().

◆ nodes_end()

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

Definition at line 249 of file CallGraph.h.

References clang::CallGraph::end().

◆ size()

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

Definition at line 253 of file CallGraph.h.

References clang::CallGraph::size().


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