[CMake] Add install-clang-format target by migrating to add_clang_tool

This change migrates clang-format to add_clang_tool which makes a component-based install target. To support component-based installation the extra installed scripts all need to have the "clang-format" component too.

git-svn-id: svn://svn.chromium.org/llvm-project/cfe/trunk/tools/clang-format@261680 0b72dbe1-c17f-4bc7-b9db-2b4152be0356
1 file changed