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

Predicate exprNodeShouldBeOperand

Holds if node is an OperandNode that should map node.asExpr() to e.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
predicate exprNodeShouldBeOperand(OperandNode node, Expr e, int n)