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

Member predicate SwitchCase :: getEndExpr

Gets the end of the range, if this is a GNU case range. Otherwise has no result.

For example, for

case 6 ... 7:

the result is 7, while for

case 5:

and

default:

there is no result.

Expr getEndExpr ( )