<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Phabricator’s arcanist has support for running a linter (arc lint) and unit tests (arc unit) before creating or updating a differential revision. Maybe this can be configured to run on a bot, but by default it just runs on the user’s machine. While I don’t think either of these tools are currently configured for LLVM, the build plan exists [1]. This is why the differentials show up as "buildable". <div class=""><br class=""></div><div class=""><div class="">I think it would be interesting to use this infrastructure to automatically run clang-format when creating a new differential with arcanist. It looks like a plugin already exists for doing exactly that [2].</div><div class=""><br class=""></div><div class="">[1] <a href="https://reviews.llvm.org/harbormaster/plan/1/" class="">https://reviews.llvm.org/harbormaster/plan/1/</a></div><div class="">[2] <a href="https://github.com/vhbit/clang-format-linter" class="">https://github.com/vhbit/clang-format-linter</a></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 9 Nov 2017, at 19:49, Brian Cain via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><br class="Apple-interchange-newline"></div></blockquote></div><br class=""></div></div></body></html>