clang
10.0.0git
|
#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) |
Decl * | getDecl () const |
void | print (raw_ostream &os) const |
void | dump () const |
Definition at line 144 of file CallGraph.h.
Definition at line 146 of file CallGraph.h.
Definition at line 159 of file CallGraph.h.
Definition at line 158 of file CallGraph.h.
|
inline |
Definition at line 156 of file CallGraph.h.
|
inline |
Definition at line 170 of file CallGraph.h.
|
inline |
Iterators through all the callees/children of the node.
Definition at line 162 of file CallGraph.h.
Referenced by llvm::GraphTraits< clang::CallGraphNode * >::child_begin(), llvm::GraphTraits< const clang::CallGraphNode * >::child_begin(), and clang::CallGraph::print().
|
inline |
Definition at line 164 of file CallGraph.h.
LLVM_DUMP_METHOD void CallGraphNode::dump | ( | ) | const |
Definition at line 256 of file CallGraph.cpp.
References print().
|
inline |
Definition at line 167 of file CallGraph.h.
|
inline |
Definition at line 163 of file CallGraph.h.
Referenced by llvm::GraphTraits< clang::CallGraphNode * >::child_end(), llvm::GraphTraits< const clang::CallGraphNode * >::child_end(), and clang::CallGraph::print().
|
inline |
Definition at line 165 of file CallGraph.h.
|
inline |
Definition at line 174 of file CallGraph.h.
References clang::CallGraph::dump(), and clang::CallGraph::print().
Referenced by llvm::DOTGraphTraits< const CallGraph * >::getNodeLabel(), and shouldSkipFunction().
void CallGraphNode::print | ( | raw_ostream & | os | ) | const |
Definition at line 250 of file CallGraph.cpp.
Referenced by clang::CallGraph::print().
|
inline |
Definition at line 168 of file CallGraph.h.