CodeQL library for C/C++
codeql/cpp-all 0.12.11 (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()