[libcxx-commits] [libcxx] [libcxx] Add OHOS support (PR #73114)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 7 01:49:10 PST 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 1b87ebce924e507cbc27c2e0dc623941d16388c9 a88db9d4c5bdacd512f314ca7c126a413663b146 -- libcxx/include/__config libcxx/include/__locale_dir/locale_base_api.h libcxx/src/include/config_elast.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__locale_dir/locale_base_api.h b/libcxx/include/__locale_dir/locale_base_api.h
index 60ac74bc9e..76b2bb5f6e 100644
--- a/libcxx/include/__locale_dir/locale_base_api.h
+++ b/libcxx/include/__locale_dir/locale_base_api.h
@@ -23,9 +23,7 @@
# include <__locale_dir/locale_base_api/openbsd.h>
#elif defined(__Fuchsia__)
# include <__locale_dir/locale_base_api/fuchsia.h>
-#elif defined(__wasi__) || \
- defined(_LIBCPP_HAS_MUSL_LIBC) || \
- defined(__OHOS_FAMILY__)
+#elif defined(__wasi__) || defined(_LIBCPP_HAS_MUSL_LIBC) || defined(__OHOS_FAMILY__)
# include <__locale_dir/locale_base_api/musl.h>
#elif defined(__APPLE__) || defined(__FreeBSD__)
# include <xlocale.h>
``````````
</details>
https://github.com/llvm/llvm-project/pull/73114
More information about the libcxx-commits
mailing list