https://github.com/owenca created https://github.com/llvm/llvm-project/pull/204908
Ensure that clang-format doesn't break the existing format of its own source. Reverts #199169 and #199638. >From 44669f0b9e47dc3aba8cb250868e4018bcf483ec Mon Sep 17 00:00:00 2001 From: Owen Pan <[email protected]> Date: Fri, 19 Jun 2026 21:22:19 -0700 Subject: [PATCH] [clang] Add clang-format-check-format instead to CLANG_TEST_DEPS This ensures that clang-format doesn't break the existing format of its own source. --- clang/test/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/clang/test/CMakeLists.txt b/clang/test/CMakeLists.txt index 8dd0084c53224..15170bbc2d1ed 100644 --- a/clang/test/CMakeLists.txt +++ b/clang/test/CMakeLists.txt @@ -93,7 +93,7 @@ list(APPEND CLANG_TEST_DEPS clang clang-fuzzer-dictionary clang-resource-headers - clang-format + clang-format-check-format clang-tblgen clang-offload-bundler clang-import-test @@ -255,7 +255,3 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/debuginfo-tests) endif() add_subdirectory(Analysis/LifetimeSafety) - -if(TARGET check-clang-format) - add_dependencies(check-clang-format clang-format-check-format) -endif() _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
