[libcxx-commits] [libcxx] Remove incorrect forward-declaration of lgamma_r header (PR #80979)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 7 11:40:18 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 89ad31fd9356e2f999eb63fbac88d1338b8b3592 af4e77127d5c46edfa953ed9a76949b867535c31 -- libcxx/include/__random/binomial_distribution.h libcxx/include/math.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/include/math.h b/libcxx/include/math.h
index 89cb942f25..5a07448130 100644
--- a/libcxx/include/math.h
+++ b/libcxx/include/math.h
@@ -298,7 +298,7 @@ long double    truncl(long double x);
 #  endif
 
 #  if defined(__APPLE__)
-#	 define _REENTRANT
+#    define _REENTRANT
 #  endif
 
 #  if __has_include_next(<math.h>)

``````````

</details>


https://github.com/llvm/llvm-project/pull/80979


More information about the libcxx-commits mailing list