[clang] e11ffb2 - [clang-format] Add a dependent build target to check-clang-format (#199169)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 22 16:54:27 PDT 2026
Author: owenca
Date: 2026-05-22T16:54:23-07:00
New Revision: e11ffb21df47d5d221e00f13086ee5a70056e128
URL: https://github.com/llvm/llvm-project/commit/e11ffb21df47d5d221e00f13086ee5a70056e128
DIFF: https://github.com/llvm/llvm-project/commit/e11ffb21df47d5d221e00f13086ee5a70056e128.diff
LOG: [clang-format] Add a dependent build target to check-clang-format (#199169)
This makes check-clang-format automatically builds
clang-format-check-format, which checks that the new clang-format
doesn't break the existing format of the clang-format source.
Added:
Modified:
clang/test/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/test/CMakeLists.txt b/clang/test/CMakeLists.txt
index dbd1fafae7f3e..235e9d0ba4c0a 100644
--- a/clang/test/CMakeLists.txt
+++ b/clang/test/CMakeLists.txt
@@ -255,3 +255,5 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/debuginfo-tests)
endif()
add_subdirectory(Analysis/LifetimeSafety)
+
+add_dependencies(check-clang-format clang-format-check-format)
More information about the cfe-commits
mailing list