clang  3.7.0
Public Types | Public Member Functions | List of all members
clang::CallGraphNode Class Reference

#include <CallGraph.h>

Public Types

typedef CallGraphNodeCallRecord
 
typedef SmallVectorImpl
< CallRecord >::iterator 
iterator
 
typedef SmallVectorImpl
< CallRecord >::const_iterator 
const_iterator
 

Public Member Functions

 CallGraphNode (Decl *D)
 
iterator begin ()
 Iterators through all the callees/children of the node. More...
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
bool empty () const
 
unsigned size () const
 
void addCallee (CallGraphNode *N, CallGraph *CG)
 
DeclgetDecl () const
 
void print (raw_ostream &os) const
 
void dump () const
 

Detailed Description

Definition at line 133 of file CallGraph.h.

Member Typedef Documentation

Definition at line 135 of file CallGraph.h.

Definition at line 148 of file CallGraph.h.

Definition at line 147 of file CallGraph.h.

Constructor & Destructor Documentation

clang::CallGraphNode::CallGraphNode ( Decl D)
inline

Definition at line 145 of file CallGraph.h.

Member Function Documentation

void clang::CallGraphNode::addCallee ( CallGraphNode N,
CallGraph CG 
)
inline

Definition at line 159 of file CallGraph.h.

Referenced by clang::CallGraph::getOrInsertNode().

iterator clang::CallGraphNode::begin ( )
inline

Iterators through all the callees/children of the node.

Definition at line 151 of file CallGraph.h.

Referenced by llvm::GraphTraits< clang::CallGraphNode * >::child_begin(), llvm::GraphTraits< const clang::CallGraphNode * >::child_begin(), and clang::CallGraph::print().

const_iterator clang::CallGraphNode::begin ( ) const
inline

Definition at line 153 of file CallGraph.h.

void CallGraphNode::dump ( ) const

Definition at line 205 of file CallGraph.cpp.

References print().

bool clang::CallGraphNode::empty ( ) const
inline

Definition at line 156 of file CallGraph.h.

iterator clang::CallGraphNode::end ( )
inline
const_iterator clang::CallGraphNode::end ( ) const
inline

Definition at line 154 of file CallGraph.h.

Decl* clang::CallGraphNode::getDecl ( ) const
inline
void CallGraphNode::print ( raw_ostream &  os) const

Definition at line 199 of file CallGraph.cpp.

Referenced by dump(), and clang::CallGraph::print().

unsigned clang::CallGraphNode::size ( ) const
inline

Definition at line 157 of file CallGraph.h.


The documentation for this class was generated from the following files: