[PATCH] D12837: [Polly] Revise polly-{update|check}-format targets

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 06:44:39 PDT 2015


Meinersbur created this revision.
Meinersbur added reviewers: jdoerfert, grosser.
Meinersbur added subscribers: llvm-commits, pollydev.
Meinersbur added a project: Polly.

Make clang-format run on each file independently using add_custom_format (instead using a shell script in utils/). The targets polly-{update|check}-format depend on these.

The primary motivation is to make them work on Windows, but also improves them generally:
- Each file update/check can run in parallel (Although they do not take long to run anyway)
- Implicit dependency on clang-format, so it recompiles if necessary
- polly-check-format shows the formatting difference if failing

http://reviews.llvm.org/D12837

Files:
  CMakeLists.txt
  utils/check_format.sh
  utils/update_format.sh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12837.34667.patch
Type: text/x-patch
Size: 2947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150914/385eaf2e/attachment-0001.bin>


More information about the llvm-commits mailing list