clang API Documentation
#include <CallGraph.h>
Public Types | |
| typedef CallGraphNode * | CallRecord |
| typedef llvm::SmallVector < CallRecord, 5 >::iterator | iterator |
| typedef llvm::SmallVector < CallRecord, 5 > ::const_iterator | const_iterator |
Public Member Functions | |
| CallGraphNode (Decl *D) | |
| iterator | begin () |
| Iterators through all the callees/children of the node. | |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| bool | empty () const |
| unsigned | size () const |
| void | addCallee (CallGraphNode *N, CallGraph *CG) |
| Decl * | getDecl () const |
| StringRef | getName () const |
| void | print (raw_ostream &os) const |
| void | dump () const |
Definition at line 132 of file CallGraph.h.
Definition at line 134 of file CallGraph.h.
| typedef llvm::SmallVector<CallRecord, 5>::const_iterator clang::CallGraphNode::const_iterator |
Definition at line 149 of file CallGraph.h.
| typedef llvm::SmallVector<CallRecord, 5>::iterator clang::CallGraphNode::iterator |
Definition at line 148 of file CallGraph.h.
| clang::CallGraphNode::CallGraphNode | ( | Decl * | D | ) | [inline] |
Definition at line 146 of file CallGraph.h.
| void clang::CallGraphNode::addCallee | ( | CallGraphNode * | N, |
| CallGraph * | CG | ||
| ) | [inline] |
Definition at line 160 of file CallGraph.h.
| iterator clang::CallGraphNode::begin | ( | ) | [inline] |
Iterators through all the callees/children of the node.
Definition at line 152 of file CallGraph.h.
Referenced by llvm::GraphTraits< clang::CallGraphNode * >::child_begin(), and llvm::GraphTraits< const clang::CallGraphNode * >::child_begin().
| const_iterator clang::CallGraphNode::begin | ( | ) | const [inline] |
Definition at line 154 of file CallGraph.h.
| void CallGraphNode::dump | ( | ) | const |
Definition at line 164 of file CallGraph.cpp.
References print().
| bool clang::CallGraphNode::empty | ( | ) | const [inline] |
Definition at line 157 of file CallGraph.h.
| iterator clang::CallGraphNode::end | ( | ) | [inline] |
Definition at line 153 of file CallGraph.h.
Referenced by llvm::GraphTraits< clang::CallGraphNode * >::child_end(), and llvm::GraphTraits< const clang::CallGraphNode * >::child_end().
| const_iterator clang::CallGraphNode::end | ( | ) | const [inline] |
Definition at line 155 of file CallGraph.h.
| Decl* clang::CallGraphNode::getDecl | ( | ) | const [inline] |
Definition at line 165 of file CallGraph.h.
| StringRef CallGraphNode::getName | ( | ) | const |
Definition at line 153 of file CallGraph.cpp.
Referenced by llvm::DOTGraphTraits< const CallGraph * >::getNodeLabel(), and print().
| void CallGraphNode::print | ( | raw_ostream & | os | ) | const |
| unsigned clang::CallGraphNode::size | ( | ) | const [inline] |
Definition at line 158 of file CallGraph.h.