[PATCH] D107366: [analyzer] Adjust JS code of analyzer's HTML report for IE support.

Valeriy Savchenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 5 02:13:29 PDT 2021


vsavchenko added inline comments.


================
Comment at: clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp:1373
+  var array = [];
+  for (var i = lower; i <= upper; ++i) {
+      array.push(i);
----------------
ASDenysPetrov wrote:
> NoQ wrote:
> > Shouldn't it be `i < upper`?
> `[lower, upper).` Sure! Thanks!
And this bug is probably because of this!


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

https://reviews.llvm.org/D107366



More information about the cfe-commits mailing list