[clang-reorder-fields] Switch to add_clang_tool
authorShoaib Meenai <smeenai@fb.com>
Thu, 2 Nov 2017 01:10:05 +0000 (01:10 +0000)
committerShoaib Meenai <smeenai@fb.com>
Thu, 2 Nov 2017 01:10:05 +0000 (01:10 +0000)
commitc40419d94b1d00d66a977c9e37e853b9a54c5663
tree25bfcc91d6c400509f506f72a237788b4de17a8a
parent909f5c9b7c81c600ba8a80c45f60717a61b31dc0
[clang-reorder-fields] Switch to add_clang_tool

`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`.

Differential Revision: https://reviews.llvm.org/D39523

llvm-svn: 317149
clang-tools-extra/clang-reorder-fields/tool/CMakeLists.txt