Cppcheck
|
Go to the source code of this file.
Classes | |
struct | PathAnalysis |
struct | PathAnalysis::Info |
Functions | |
bool | reaches (const Token *start, const Token *dest, const Library &library, ErrorPath *errorPath) |
Returns true if there is a path between the two tokens. More... | |
bool reaches | ( | const Token * | start, |
const Token * | dest, | ||
const Library & | library, | ||
ErrorPath * | errorPath | ||
) |
Returns true if there is a path between the two tokens.
start | Starting point of the path |
dest | The path destination |
errorPath | Adds the path traversal to the errorPath |
Definition at line 185 of file pathanalysis.cpp.
References PathAnalysis::Info::errorPath, and PathAnalysis::Info::tok.
Referenced by CheckStl::invalidContainer().