[llvm] [Offload] Correctly regenerate API files if modified (PR #141679)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 3 07:51:04 PDT 2025
================
@@ -2,8 +2,8 @@
# include directory. These files are checked in with the rest of the source,
# therefore it is only needed when making changes to the API.
-find_program(CLANG_FORMAT clang-format PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH)
-if (CLANG_FORMAT)
+find_program(clang_format clang-format PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH)
----------------
Meinersbur wrote:
find_program creates an entry into the `CMakeCache.txt`. By convention, those are upper case.
https://github.com/llvm/llvm-project/pull/141679
More information about the llvm-commits
mailing list