clang API Documentation

Public Types | Static Public Member Functions
llvm::GraphTraits< const clang::CallGraph * > Struct Template Reference

#include <CallGraph.h>

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

List of all members.

Public Types

typedef std::pair< const
clang::Decl
*, clang::CallGraphNode * > 
PairTy
typedef
std::pointer_to_unary_function
< PairTy, clang::CallGraphNode & > 
DerefFun
typedef mapped_iterator
< clang::CallGraph::const_iterator,
DerefFun
nodes_iterator

Static Public Member Functions

static NodeTypegetEntryNode (const clang::CallGraph *CGN)
static nodes_iterator nodes_begin (const clang::CallGraph *CG)
static nodes_iterator nodes_end (const clang::CallGraph *CG)
static clang::CallGraphNodeCGdereference (PairTy P)
static unsigned size (const clang::CallGraph *CG)

Detailed Description

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

Definition at line 225 of file CallGraph.h.


Member Typedef Documentation

typedef std::pointer_to_unary_function<PairTy, clang::CallGraphNode&> llvm::GraphTraits< const clang::CallGraph * >::DerefFun

Definition at line 231 of file CallGraph.h.

typedef mapped_iterator<clang::CallGraph::const_iterator, DerefFun> llvm::GraphTraits< const clang::CallGraph * >::nodes_iterator

Definition at line 234 of file CallGraph.h.

typedef std::pair<const clang::Decl*, clang::CallGraphNode*> llvm::GraphTraits< const clang::CallGraph * >::PairTy

Definition at line 230 of file CallGraph.h.


Member Function Documentation

static clang::CallGraphNode& llvm::GraphTraits< const clang::CallGraph * >::CGdereference ( PairTy  P) [inline, static]

Definition at line 242 of file CallGraph.h.

static NodeType* llvm::GraphTraits< const clang::CallGraph * >::getEntryNode ( const clang::CallGraph CGN) [inline, static]

Definition at line 227 of file CallGraph.h.

References clang::CallGraph::getRoot().

static nodes_iterator llvm::GraphTraits< const clang::CallGraph * >::nodes_begin ( const clang::CallGraph CG) [inline, static]

Definition at line 236 of file CallGraph.h.

References clang::CallGraph::begin().

static nodes_iterator llvm::GraphTraits< const clang::CallGraph * >::nodes_end ( const clang::CallGraph CG) [inline, static]

Definition at line 239 of file CallGraph.h.

References clang::CallGraph::end().

static unsigned llvm::GraphTraits< const clang::CallGraph * >::size ( const clang::CallGraph CG) [inline, static]

Definition at line 246 of file CallGraph.h.

References clang::CallGraph::size().


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