[PATCH] D30406: [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output

Vlad Tsyrklevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 2 16:27:28 PST 2017


vlad.tsyrklevich added inline comments.


================
Comment at: lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp:211
+
+      if (I + 1 != E) {
+        os << "<div class=FileNav><a href=\"#File" << (I + 1)->getHashValue()
----------------
Is there a cleaner way to do these two comparisons?


https://reviews.llvm.org/D30406





More information about the cfe-commits mailing list