| 848 | } |
| 849 | |
| 850 | void Annotator::reportDiagnostic(clang::SourceRange range, const std::string& msg, const std::string &clas) |
| 851 | { |
| 852 | llvm::SmallString<64> buffer; |
| 853 | annotateSourceRange(range, "span", "class='" % clas % "' title=\"" % Generator::escapeAttr(msg, buffer) % "\""); |
| 854 | } |
| 855 | |
| 856 | //basically loosely inspired from clang_getSpecializedCursorTemplate |
| 857 | static clang::NamedDecl *getSpecializedCursorTemplate(clang::NamedDecl *D) { |