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

#include <CallGraph.h>

Inheritance diagram for llvm::GraphTraits< clang::CallGraph * >:
[legend]
Collaboration diagram for llvm::GraphTraits< 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::iterator,
DerefFun
nodes_iterator
 
- Public Types inherited from llvm::GraphTraits< clang::CallGraphNode * >
typedef clang::CallGraphNode NodeType
 
typedef
clang::CallGraphNode::CallRecord 
CallRecordTy
 
typedef
std::pointer_to_unary_function
< CallRecordTy,
clang::CallGraphNode * > 
CGNDerefFun
 
typedef mapped_iterator
< NodeType::iterator,
CGNDerefFun
ChildIteratorType
 

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)
 
- 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)
 
static clang::CallGraphNodeCGNDeref (CallRecordTy P)
 

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

Definition at line 216 of file CallGraph.h.

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

Definition at line 202 of file CallGraph.h.

References clang::CallGraph::getRoot().

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

Definition at line 210 of file CallGraph.h.

References clang::CallGraph::begin().

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

Definition at line 213 of file CallGraph.h.

References clang::CallGraph::end().

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

Definition at line 220 of file CallGraph.h.

References clang::CallGraph::size().


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