[PATCH] D156724: [StaticAnalyzer] Fix incorrect link to "note" diagnostics in HTML output

Guruprasad Hegde via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 1 05:27:51 PDT 2023


gruuprasad added a comment.

I went through the build logs, but failed test (Clang :: Driver/fsanitize.c) seems to be irrelevant to the changes in this patch.



================
Comment at: clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp:596-599
         os << "<tr><td class=\"rowname\">Note:</td><td>"
            << "<a href=\"#Note" << NumExtraPieces << "\">line "
            << LineNumber << ", column " << ColumnNumber << "</a><br />"
            << P->getString() << "</td></tr>";
----------------
`git clang-format` suggests formatting this block of code, but kept them as is since I didn't modify this part. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156724/new/

https://reviews.llvm.org/D156724



More information about the cfe-commits mailing list