clang 20.0.0git
|
#include "clang/Analysis/CallGraph.h"
Classes | |
struct | CallRecord |
Public Types | |
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. | |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
llvm::iterator_range< iterator > | callees () |
Iterator access to callees/children of the node. | |
llvm::iterator_range< const_iterator > | callees () const |
bool | empty () const |
unsigned | size () const |
void | addCallee (CallRecord Call) |
Decl * | getDecl () const |
FunctionDecl * | getDefinition () const |
void | print (raw_ostream &os) const |
void | dump () const |
Definition at line 147 of file CallGraph.h.
using clang::CallGraphNode::const_iterator = SmallVectorImpl<CallRecord>::const_iterator |
Definition at line 174 of file CallGraph.h.
using clang::CallGraphNode::iterator = SmallVectorImpl<CallRecord>::iterator |
Definition at line 173 of file CallGraph.h.
|
inline |
Definition at line 171 of file CallGraph.h.
|
inline |
Definition at line 193 of file CallGraph.h.
References clang::Call.
Referenced by clang::CallGraph::getOrInsertNode().
|
inline |
Iterators through all the callees/children of the node.
Definition at line 177 of file CallGraph.h.
Referenced by callees(), llvm::GraphTraits< clang::CallGraphNode * >::child_begin(), llvm::GraphTraits< const clang::CallGraphNode * >::child_begin(), and clang::CallGraph::print().
|
inline |
Definition at line 179 of file CallGraph.h.
|
inline |
Iterator access to callees/children of the node.
Definition at line 183 of file CallGraph.h.
|
inline |
Definition at line 186 of file CallGraph.h.
LLVM_DUMP_METHOD void CallGraphNode::dump | ( | ) | const |
Definition at line 260 of file CallGraph.cpp.
References print().
|
inline |
Definition at line 190 of file CallGraph.h.
|
inline |
Definition at line 178 of file CallGraph.h.
Referenced by callees(), llvm::GraphTraits< clang::CallGraphNode * >::child_end(), llvm::GraphTraits< const clang::CallGraphNode * >::child_end(), and clang::CallGraph::print().
|
inline |
Definition at line 180 of file CallGraph.h.
|
inline |
Definition at line 195 of file CallGraph.h.
Referenced by getDefinition().
|
inline |
Definition at line 197 of file CallGraph.h.
References clang::Decl::getAsFunction(), getDecl(), and clang::FunctionDecl::getDefinition().
void CallGraphNode::print | ( | raw_ostream & | os | ) | const |
Definition at line 254 of file CallGraph.cpp.
Referenced by dump(), and clang::CallGraph::print().
|
inline |
Definition at line 191 of file CallGraph.h.