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

Predicate getRealParent

Gets the “real” parent of expr. This predicate treats conversions as if they were explicit nodes in the expression tree, rather than as implicit nodes as in the regular AST representation.

Import path

import semmle.code.cpp.ir.implementation.raw.internal.TranslatedElement
Element getRealParent(Expr expr)