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

#include <CallGraph.h>

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

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
 
- Public Types inherited from llvm::GraphTraits< const clang::CallGraphNode * >
typedef const clang::CallGraphNode NodeType
 
typedef NodeType::const_iterator ChildIteratorType
 

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)
 
- Static Public Member Functions inherited from llvm::GraphTraits< const clang::CallGraphNode * >
static NodeTypegetEntryNode (const clang::CallGraphNode *CGN)
 
static ChildIteratorType child_begin (NodeType *N)
 
static ChildIteratorType child_end (NodeType *N)
 

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)
inlinestatic

Definition at line 242 of file CallGraph.h.

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

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)
inlinestatic

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)
inlinestatic

Definition at line 239 of file CallGraph.h.

References clang::CallGraph::end().

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

Definition at line 246 of file CallGraph.h.

References clang::CallGraph::size().


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