CodeQL library for C/C++
codeql/cpp-all 0.4.0-dev (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()