CodeQL library for C/C++
Search

Member predicate IRVariable::isReadOnly

Holds if this variable’s value cannot be changed within a function. Currently used for string literals, but could also apply to const global and static variables.

predicate isReadOnly()