[PATCH] D57662: [clang-tidy] Parallelise clang-tidy-diff.py

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 13 11:59:31 PST 2019


JonasToth added a comment.

In D57662#1392509 <https://reviews.llvm.org/D57662#1392509>, @MyDeveloperDay wrote:

> Just a question.. If clang tidy is running with -fix in parallel, what stops each clang-tidy invocation altering a common header at the same time?


`clang-apply-replacements` does it. The fixes are collected and then deduplicated and applied. If there are conflicts between the fixes at this stage they will be signaled.


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

https://reviews.llvm.org/D57662





More information about the cfe-commits mailing list