CodeQL library for C/C++
codeql/cpp-all 3.0.1-dev (changelog, source)
Search

Member predicate ComputedGotoStmt::getExpr

Gets the expression used to compute the target of this ‘goto’ statement.

For example, for

goto *ptr;

the result is ptr.

Expr getExpr()