| 811 | } |
| 812 | |
| 813 | void Annotator::registerMacro(const std::string &ref, clang::SourceLocation refLoc, DeclType declType) |
| 814 | { |
| 815 | references[ref].push_back( { declType, refLoc, std::string() } ); |
| 816 | if (declType == Annotator::Declaration) { |
| 817 | commentHandler.decl_offsets.insert({ refLoc, {ref, true} }); |
| 818 | } |
| 819 | } |
| 820 | |
| 821 | void Annotator::annotateSourceRange(clang::SourceRange range, std::string tag, std::string attributes) |
| 822 | { |
no outgoing calls
no test coverage detected