[clang] [clang-format] Fix `check-format-depends` CMake for Windows (PR #209205)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 31 23:48:12 PDT 2026


================
@@ -43,12 +43,15 @@ file(GLOB_RECURSE files
 
 set(check_format_depends clang-format)
 find_program(DIFF_EXE diff)
-if(DIFF_EXE)
+find_program(TOUCH_EXE touch)
----------------
owenca wrote:

Is there a real-world setup that has `diff` but not `touch`?

https://github.com/llvm/llvm-project/pull/209205


More information about the cfe-commits mailing list