clang API Documentation

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

#include <CallGraph.h>

Inheritance diagram for llvm::GraphTraits< clang::CallGraph * >:
Inheritance graph
[legend]
Collaboration diagram for llvm::GraphTraits< 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::iterator,
DerefFun
nodes_iterator

Static Public Member Functions

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

Detailed Description

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

Definition at line 199 of file CallGraph.h.


Member Typedef Documentation

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

Definition at line 206 of file CallGraph.h.

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

Definition at line 208 of file CallGraph.h.

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

Definition at line 205 of file CallGraph.h.


Member Function Documentation

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

Definition at line 216 of file CallGraph.h.

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

Definition at line 202 of file CallGraph.h.

References clang::CallGraph::getRoot().

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

Definition at line 210 of file CallGraph.h.

References clang::CallGraph::begin().

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

Definition at line 213 of file CallGraph.h.

References clang::CallGraph::end().

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

Definition at line 220 of file CallGraph.h.

References clang::CallGraph::size().


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