MCPcopy Create free account
hub / github.com/KDAB/codebrowser / reportDiagnostic

Method reportDiagnostic

generator/annotator.cpp:850–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848}
849
850void 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
857static clang::NamedDecl *getSpecializedCursorTemplate(clang::NamedDecl *D) {

Callers 1

HandleDiagnosticMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected