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

Member predicate Constructor::isDefault

Holds if this constructor serves as a default constructor.

This holds for constructors with zero formal parameters. It also holds for constructors which have a non-zero number of formal parameters, provided that every parameter has a default value.

predicate isDefault()