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