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

Predicate isPRValueConversionOnGLValue

Holds if expr is a conversion that is originally a prvalue-to-prvalue conversion, but which is applied to a prvalue that will actually be consumed as a glvalue.

Import path

import semmle.code.cpp.ir.implementation.raw.internal.TranslatedElement
predicate isPRValueConversionOnGLValue(Conversion conv)