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

Member predicate MemoryLocation0::canDefineReadOnly

Holds if a definition of this location can be the definition of a read-only use location.

predicate canDefineReadOnly()