[PATCH] D74467: [analyzer] Teach scan-build how to rebuild index.html without analyzing.

Csaba Dabis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 23 15:43:51 PST 2020


Charusso added a comment.

That is very unfortunate, but may if you could introduce a bullet-proof `ls` we could see if the `scan-build` sub-directory removal is non-alphabetical. I think the latter smells more badly.



================
Comment at: clang/test/Analysis/scan-build/rebuild_index/rebuild_index.test:16
+
+RUN: ls %t.output_dir | FileCheck -check-prefix CHECK-FILES %s
+
----------------
If you think that the `ls` is the problem may we need `ls -R` to print out every folder. (https://explainshell.com/explain?cmd=ls+-R)

There are more exotic ways to sort the order, like `LANG=C ls`: https://stackoverflow.com/questions/878249/unixs-ls-sort-by-name/878269


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74467





More information about the cfe-commits mailing list