clang API Documentation
#include <CFGReachabilityAnalysis.h>
Public Member Functions | |
CFGReverseBlockReachabilityAnalysis (const CFG &cfg) | |
bool | isReachable (const CFGBlock *Src, const CFGBlock *Dst) |
Returns true if the block 'Dst' can be reached from block 'Src'. |
Definition at line 32 of file CFGReachabilityAnalysis.h.
Definition at line 22 of file CFGReachabilityAnalysis.cpp.
bool CFGReverseBlockReachabilityAnalysis::isReachable | ( | const CFGBlock * | Src, |
const CFGBlock * | Dst | ||
) |
Returns true if the block 'Dst' can be reached from block 'Src'.
Definition at line 25 of file CFGReachabilityAnalysis.cpp.
References clang::CFGBlock::getBlockID().
Referenced by clang::sema::AnalysisBasedWarnings::IssueWarnings().