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

Member predicate C11GenericExpr::getControllingExpr

Gets the controlling expression of the generic selection.

For example, for

_Generic(e, int: "a", default: "b")

the result is e.

Expr getControllingExpr()