clang-tools 22.0.0git
clang::move::HelperDeclRefGraph Class Reference

#include <HelperDeclRefGraph.h>

Public Member Functions

 HelperDeclRefGraph ()=default
 ~HelperDeclRefGraph ()=default
void addEdge (const Decl *Caller, const Decl *Callee)
CallGraphNode * getNode (const Decl *D) const
llvm::DenseSet< const CallGraphNode * > getReachableNodes (const Decl *D) const
void dump () const

Detailed Description

Definition at line 45 of file HelperDeclRefGraph.h.

Constructor & Destructor Documentation

◆ HelperDeclRefGraph()

clang::move::HelperDeclRefGraph::HelperDeclRefGraph ( )
default

◆ ~HelperDeclRefGraph()

clang::move::HelperDeclRefGraph::~HelperDeclRefGraph ( )
default

Member Function Documentation

◆ addEdge()

void clang::move::HelperDeclRefGraph::addEdge ( const Decl * Caller,
const Decl * Callee )

Definition at line 38 of file HelperDeclRefGraph.cpp.

◆ dump()

void clang::move::HelperDeclRefGraph::dump ( ) const

Definition at line 54 of file HelperDeclRefGraph.cpp.

◆ getNode()

CallGraphNode * clang::move::HelperDeclRefGraph::getNode ( const Decl * D) const

Definition at line 66 of file HelperDeclRefGraph.cpp.

Referenced by getReachableNodes().

◆ getReachableNodes()

llvm::DenseSet< const CallGraphNode * > clang::move::HelperDeclRefGraph::getReachableNodes ( const Decl * D) const

Definition at line 72 of file HelperDeclRefGraph.cpp.

References getNode().


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