Module Call
Provides classes for modeling call expressions including direct calls to functions, constructor and destructor calls, and calls made through function pointers.
Import path
import semmle.code.cpp.exprs.CallImports
Classes
| Call | A C/C++ call. |
| ConstructorBaseInit | A call to a constructor of a base class as part of a constructor’s initializer list or compiler-generated actions. |
| ConstructorCall | A call to a constructor. |
| ConstructorDelegationInit | A call to a constructor of the same class as part of a constructor’s initializer list, which delegates object construction (C++11 only). |
| ConstructorDirectInit | A call to a constructor of a direct non-virtual base class as part of a constructor’s initializer list or compiler-generated actions. |
| ConstructorFieldInit | An initialization of a member variable performed as part of a constructor’s explicit initializer list or implicit actions. In the example below, member variable |
| ConstructorInit | An initialization of a base class or member variable performed as part of a constructor’s explicit initializer list or implicit actions. |
| ConstructorVirtualInit | A call to a constructor of a virtual base class as part of a constructor’s initializer list or compiler-generated actions. |
| DestructorBaseDestruction | A call to a destructor of a base class as part of a destructor’s compiler-generated actions. |
| DestructorCall | A call to a destructor. |
| DestructorDestruction | A call to a destructor of a base class or field as part of a destructor’s compiler-generated actions. |
| DestructorDirectDestruction | A call to a destructor of a direct non-virtual base class as part of a destructor’s compiler-generated actions. |
| DestructorFieldDestruction | A destruction of a member variable performed as part of a destructor’s compiler-generated actions. |
| DestructorVirtualDestruction | A call to a destructor of a direct virtual base class as part of a destructor’s compiler-generated actions. |
| ExprCall | A C/C++ call which is performed through a function pointer. |
| FunctionCall | A C/C++ function call where the name of the target function is known at compile-time. |
| OverloadedArrayExpr | An instance of a user-defined binary |
| OverloadedPointerDereferenceExpr | An instance of a user-defined unary |
| OverloadedPointerDereferenceFunction | A user-defined unary |
| VacuousDestructorCall | An expression that looks like a destructor call, but has no effect. |
| VariableCall | A C/C++ call which is performed through a variable of function pointer type. |