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