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