Make check-clang depend on the clang-check binary always
authorNico Weber <nicolasweber@gmx.de>
Wed, 1 May 2019 19:34:00 +0000 (19:34 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 1 May 2019 19:34:00 +0000 (19:34 +0000)
commit18add160c25b906abf53d36f7f9ca9c0eb351848
tree7d77de78844c416a3e500bc37eff0136dc9bf244
parent147ce2334c96b4e2dc0bbcd9ff15c4754a5248e0
Make check-clang depend on the clang-check binary always

check-clang (the target that runs all clang tests) used to
only depend on clang-check (a binary like clang-tidy,
clang-refactor, etc) if the static analyzer is enabled.
However, several lit tests call clang-check unconditionally,
so always depend on it.

Fixes a "could not find clang-check" lit warning in clean builds with
the static analyzer disabled.

Also sort the deps in the CMake file and put just one dep on each line.

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

llvm-svn: 359717
clang/test/CMakeLists.txt
llvm/utils/gn/secondary/clang/test/BUILD.gn