CodeQL library for C/C++
Search

Member predicate VariableAccess::isUsedAsLValue

Holds if this variable access is providing an LValue in a meaningful way. For example, this includes accesses on the left-hand side of an assignment. It does not include accesses on the right-hand side of an assignment, even if they could appear on the left-hand side of some assignment.

predicate isUsedAsLValue()