[libc-commits] [libc] [libc] Fix standalone cross compiling build for the GPU (PR #84042)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Tue Mar 5 09:49:49 PST 2024
================
@@ -281,7 +291,7 @@ if(LLVM_LIBC_ENABLE_LINTING)
result : '${CLANG_TIDY_RESULT}'
")
endif()
- string(REGEX MATCH "[0-9]+" CLANG_TIDY_VERSION "${CLANG_TIDY_OUTPUT}")
+ string(REGEX MATCH "+" CLANG_TIDY_VERSION "${CLANG_TIDY_OUTPUT}")
----------------
jhuber6 wrote:
Wait how did get there.
```suggestion
string(REGEX MATCH "[0-9]+" CLANG_TIDY_VERSION "${CLANG_TIDY_OUTPUT}")
```
https://github.com/llvm/llvm-project/pull/84042
More information about the libc-commits
mailing list