Loading
cvise: explicitly point to `clang-format`
Without the cnage `cvise` fails to normalize sources with
`clang-format` and produces less than ideal intermediate sources to
lines-based pass. That affects reduction speed among other things.
Before the change `cvise` complained as:
$ cvise --command 'grep foo a.c' a.c
00:00:00 INFO Using temporary interestingness test: /tmp/tmp4a_4wut0.sh
00:00:00 ERROR cannot find external program clang-format
00:00:00 ERROR Prereqs not found for pass IndentPass::regular
After the change `clang-format` is found:
$ result/bin/cvise --command 'grep foo a.c' a.c
00:00:00 INFO Using temporary interestingness test: /tmp/tmpudipespb.sh
00:00:00 INFO ===< 1539388 >===
While at it used `--replace-fail`.