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

Predicate mkElement

Get the Element that represents this @element. Normally this will simply be a cast of e, but sometimes it is not. For example, for an incomplete struct e the result may be a complete struct with the same name.

Import path

import cpp
Element mkElement(@element e)