| 46 | } |
| 47 | |
| 48 | void SetDeclarationName(const std::string& declName) |
| 49 | { |
| 50 | auto decl = GlobalDeclarationManager().findDeclaration(_declType, declName); |
| 51 | |
| 52 | setName(!declName.empty() && decl ? decl->getDeclName() : std::string()); |
| 53 | setPath(!declName.empty() && decl ? decl->getDeclFilePath() : std::string()); |
| 54 | } |
| 55 | |
| 56 | void Clear() |
| 57 | { |
no test coverage detected