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

Member predicate Expr::hasExplicitConversion

Holds if this expression has an explicit conversion.

For example in (MyClass *)ptr, the ptr has an explicit conversion to type MyClass *.

predicate hasExplicitConversion()