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

Member predicate Expr::getValueCategoryString

Gets a string representation of the value category of the expression. This is intended only for debugging. The possible values are:

  • “lvalue”
  • “xvalue”
  • “prvalue”
  • “prvalue(load)”

The “prvalue(load)” string is used when the expression is a prvalue, but hasLValueToRvalueConversion() holds.

string getValueCategoryString()