Reproduction:
$ mkdir folder
$ echo ' ' > folder/file.c
$ sudo chown -R root folder
$ clang-format -i root/file.c
Before the clang-format abort now clang-format explain why it fail.
Ask: They are other DiagnosticConsumer without client should we update the other ?
Also we don't know how to create test that play with user permission.
Co-authored-by: "tartine8" <pbpcf8@gmail.com>
clang-format not found in user’s local PATH; not linting file.