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