[clang] [clang] Add clang-format-check-format instead to CLANG_TEST_DEPS (PR #204908)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 19 21:46:22 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: owenca (owenca)
<details>
<summary>Changes</summary>
Ensure that clang-format doesn't break the existing format of its own source.
Reverts #<!-- -->199169 and #<!-- -->199638.
---
Full diff: https://github.com/llvm/llvm-project/pull/204908.diff
1 Files Affected:
- (modified) clang/test/CMakeLists.txt (+1-5)
``````````diff
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()
``````````
</details>
https://github.com/llvm/llvm-project/pull/204908
More information about the cfe-commits
mailing list