| 396 | //----------------------------------------------------------------------------- |
| 397 | |
| 398 | static std::string GetQualifiedName(const NamedDecl& decl, |
| 399 | const RemoveCurrentScope removeCurrentScope = RemoveCurrentScope::Yes) |
| 400 | { |
| 401 | std::string scope{GetDeclContext(decl.getDeclContext())}; |
| 402 | |
| 403 | scope += decl.getName(); |
| 404 | |
| 405 | if(RemoveCurrentScope::Yes == removeCurrentScope) { |
| 406 | return ScopeHandler::RemoveCurrentScope(scope); |
| 407 | } |
| 408 | |
| 409 | return scope; |
| 410 | } |
| 411 | //----------------------------------------------------------------------------- |
| 412 | |
| 413 | static std::string GetScope(const DeclContext* declCtx, |
no test coverage detected