| 224 | } |
| 225 | |
| 226 | void Annotator::registerInterestingDefinition(clang::SourceRange sourceRange, clang::NamedDecl *decl) { |
| 227 | std::string declName = decl->getQualifiedNameAsString(); |
| 228 | clang::FileID fileId = sourceManager->getFileID(sourceRange.getBegin()); |
| 229 | auto &set = interestingDefinitionsInFile[fileId]; |
| 230 | set.insert(declName); |
| 231 | } |
| 232 | |
| 233 | bool Annotator::generate(clang::Sema &Sema, bool WasInDatabase) |
| 234 | { |
nothing calls this directly
no outgoing calls
no test coverage detected