[libcxx-commits] [libcxx] [libcxx] Make terminal check always false for `print` on GPU (PR #99259)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 16 16:56:40 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 8393ea5d1dd8e8b56a87a6edbca31fb8722cee48 40faf094f1f38c1ab57cf31db0301e04c65f946f --extensions ,cpp -- libcxx/include/__config libcxx/include/print libcxx/src/chrono.cpp libcxx/src/filesystem/filesystem_clock.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 2a45077cdf..473ad2b897 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -1226,7 +1226,7 @@ typedef __char32_t char32_t;
// Clang supports targeting GPU architectures.
# if (defined(__AMDGPU__) || defined(__NVPTX__)) && defined(_LIBCPP_COMPILER_CLANG_BASED)
# define _LIBCPP_TARGETING_GPU
-#endif
+# endif
#endif // __cplusplus
``````````
</details>
https://github.com/llvm/llvm-project/pull/99259
More information about the libcxx-commits
mailing list