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

Predicate getOperandType

Gets the type of the operand op.

The boolean isGLValue is true if the operand represents a glvalue. In that case, the returned type should be thought of as a pointer type whose base type is given by this predicate.

Import path

DataFlowType getOperandType(Operand op, boolean isGLValue)