| 186 | } |
| 187 | |
| 188 | bool ClassFunctionDeclaration::isDestructor() const |
| 189 | { |
| 190 | DUContext* ctx = context(); |
| 191 | QString id = identifier().toString(); |
| 192 | return ctx && ctx->type() == DUContext::Class && id.startsWith(QLatin1Char('~')) && |
| 193 | QStringView{id}.sliced(1) == ctx->localScopeIdentifier().top().toString(); |
| 194 | } |
| 195 | |
| 196 | uint ClassFunctionDeclaration::additionalIdentity() const |
| 197 | { |
no test coverage detected