[libcxx-commits] [libcxx] [libcxx] Port to Haiku (PR #196271)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 8 21:42:48 PDT 2026
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 origin/main HEAD --extensions ,h -- libcxx/include/__locale_dir/support/haiku.h libcxx/include/__config libcxx/include/__locale_dir/locale_base_api.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__locale_dir/support/haiku.h b/libcxx/include/__locale_dir/support/haiku.h
index 55cdd65d2..f491eb2ae 100644
--- a/libcxx/include/__locale_dir/support/haiku.h
+++ b/libcxx/include/__locale_dir/support/haiku.h
@@ -129,7 +129,7 @@ inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_ATTRIBUTE_FORMAT(__strftime__, 3, 0) size_t
return ::strftime_l(__s, __max, __format, __tm, __loc);
}
-#endif // _LIBCPP_BUILDING_LIBRARY
+#endif // _LIBCPP_BUILDING_LIBRARY
} // namespace __locale
_LIBCPP_END_NAMESPACE_STD
``````````
</details>
https://github.com/llvm/llvm-project/pull/196271
More information about the libcxx-commits
mailing list