[PATCH] D39523: [clang-reorder-fields] Switch to add_clang_tool

2017-11-01 Thread Shoaib Meenai via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL317149: [clang-reorder-fields] Switch to add_clang_tool (authored by smeenai). Repository: rL LLVM https://reviews.llvm.org/D39523 Files: clang-tools-extra/trunk/clang-reorder-fields/tool/CMakeLists

[PATCH] D39523: [clang-reorder-fields] Switch to add_clang_tool

2017-11-01 Thread Shoaib Meenai via Phabricator via cfe-commits
smeenai created this revision. Herald added a subscriber: mgorny. `add_clang_tool` invokes `add_clang_executable` internally, but it also takes care of setting up the install rule. It also adds an `install-*` build target, which is required for `LLVM_DISTRIBUTION_COMPONENTS`. https://reviews.llv