| 799 | } |
| 800 | |
| 801 | bool VariableDeclaration::isConstructorParameter() const |
| 802 | { |
| 803 | if (!isCallableOrCatchParameter()) |
| 804 | return false; |
| 805 | if (auto const* function = dynamic_cast<FunctionDefinition const*>(scope())) |
| 806 | return function->isConstructor(); |
| 807 | return false; |
| 808 | } |
| 809 | |
| 810 | bool VariableDeclaration::isLibraryFunctionParameter() const |
| 811 | { |
no test coverage detected