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

#include "clang/Analysis/CallGraph.h"

Public Types

using CallRecord = CallGraphNode *
 
using iterator = SmallVectorImpl< CallRecord >::iterator
 
using const_iterator = SmallVectorImpl< CallRecord >::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)
 
DeclgetDecl () const
 
void print (raw_ostream &os) const
 
void dump () const
 

Detailed Description

Definition at line 143 of file CallGraph.h.

Member Typedef Documentation

◆ CallRecord

Definition at line 145 of file CallGraph.h.

◆ const_iterator

Definition at line 158 of file CallGraph.h.

◆ iterator

Definition at line 157 of file CallGraph.h.

Constructor & Destructor Documentation

◆ CallGraphNode()

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

Definition at line 155 of file CallGraph.h.

Member Function Documentation

◆ addCallee()

void clang::CallGraphNode::addCallee ( CallGraphNode N)
inline

Definition at line 169 of file CallGraph.h.

◆ begin() [1/2]

iterator clang::CallGraphNode::begin ( )
inline

Iterators through all the callees/children of the node.

Definition at line 161 of file CallGraph.h.

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

◆ begin() [2/2]

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

Definition at line 163 of file CallGraph.h.

◆ dump()

LLVM_DUMP_METHOD void CallGraphNode::dump ( ) const

Definition at line 219 of file CallGraph.cpp.

◆ empty()

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

Definition at line 166 of file CallGraph.h.

◆ end() [1/2]

iterator clang::CallGraphNode::end ( )
inline

◆ end() [2/2]

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

Definition at line 164 of file CallGraph.h.

◆ getDecl()

Decl* clang::CallGraphNode::getDecl ( ) const
inline

◆ print()

void CallGraphNode::print ( raw_ostream &  os) const

Definition at line 213 of file CallGraph.cpp.

◆ size()

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

Definition at line 167 of file CallGraph.h.


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