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 5ffbdd9ed5fb719b354e4a46acc8737c5b624f94 
78c5f2e9526cdafe2ef89fa059b7a710ae77ff22 -- libc/src/math/acos.h 
libc/src/math/acosh.h libc/src/math/asin.h libc/src/math/asinh.h 
libc/src/math/atan.h libc/src/math/atan2.h libc/src/math/atan2f.h 
libc/src/math/atanh.h libc/src/math/erf.h libc/src/math/expm1.h 
libc/src/math/gpu/log10f.cpp libc/src/math/gpu/log2f.cpp 
libc/src/math/gpu/logf.cpp libc/src/math/gpu/lrint.cpp 
libc/src/math/gpu/lrintf.cpp libc/src/math/gpu/lround.cpp 
libc/src/math/gpu/lroundf.cpp libc/src/math/gpu/vendor/acos.cpp 
libc/src/math/gpu/vendor/acosh.cpp libc/src/math/gpu/vendor/asin.cpp 
libc/src/math/gpu/vendor/asinh.cpp libc/src/math/gpu/vendor/atan.cpp 
libc/src/math/gpu/vendor/atan2.cpp libc/src/math/gpu/vendor/atan2f.cpp 
libc/src/math/gpu/vendor/atanh.cpp libc/src/math/gpu/vendor/erf.cpp 
libc/src/math/gpu/vendor/erff.cpp libc/src/math/gpu/vendor/exp.cpp 
libc/src/math/gpu/vendor/exp10.cpp libc/src/math/gpu/vendor/exp2.cpp 
libc/src/math/gpu/vendor/expm1.cpp libc/src/math/gpu/vendor/log.cpp 
libc/src/math/gpu/vendor/log10.cpp libc/src/math/gpu/vendor/log1p.cpp 
libc/src/math/gpu/vendor/log1pf.cpp libc/src/math/gpu/vendor/log2.cpp 
libc/src/math/gpu/vendor/logb.cpp libc/src/math/gpu/vendor/logbf.cpp 
libc/src/math/gpu/vendor/tgamma.cpp libc/src/math/gpu/vendor/tgammaf.cpp 
libc/src/math/sincos.h libc/src/math/tgamma.h libc/src/math/tgammaf.h 
libc/src/math/gpu/vendor/amdgpu/amdgpu.h 
libc/src/math/gpu/vendor/amdgpu/declarations.h 
libc/src/math/gpu/vendor/nvptx/declarations.h 
libc/src/math/gpu/vendor/nvptx/nvptx.h libc/src/math/gpu/llrint.cpp 
libc/src/math/gpu/llrintf.cpp libc/src/math/gpu/llround.cpp 
libc/src/math/gpu/llroundf.cpp
``````````

</details>

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

``````````diff
diff --git a/libc/src/math/gpu/llrint.cpp b/libc/src/math/gpu/llrint.cpp
index f6d70cf69875..26acdda8a727 100644
--- a/libc/src/math/gpu/llrint.cpp
+++ b/libc/src/math/gpu/llrint.cpp
@@ -15,4 +15,4 @@ LLVM_LIBC_FUNCTION(long long, llrint, (double x)) {
   return __builtin_llrint(x);
 }
 
-} // namespace LIBC_NAMESPACE
+} // namespace __llvm_libc
diff --git a/libc/src/math/gpu/llrintf.cpp b/libc/src/math/gpu/llrintf.cpp
index 2f78ebd4cd8d..50516f3940a1 100644
--- a/libc/src/math/gpu/llrintf.cpp
+++ b/libc/src/math/gpu/llrintf.cpp
@@ -15,4 +15,4 @@ LLVM_LIBC_FUNCTION(long long, llrintf, (float x)) {
   return __builtin_llrintf(x);
 }
 
-} // namespace LIBC_NAMESPACE
+} // namespace __llvm_libc
diff --git a/libc/src/math/gpu/llround.cpp b/libc/src/math/gpu/llround.cpp
index d58b14645d28..f41852f52023 100644
--- a/libc/src/math/gpu/llround.cpp
+++ b/libc/src/math/gpu/llround.cpp
@@ -15,4 +15,4 @@ LLVM_LIBC_FUNCTION(long long, llround, (double x)) {
   return __builtin_llround(x);
 }
 
-} // namespace LIBC_NAMESPACE
+} // namespace __llvm_libc
diff --git a/libc/src/math/gpu/llroundf.cpp b/libc/src/math/gpu/llroundf.cpp
index ba09976c568f..86d060e6e57b 100644
--- a/libc/src/math/gpu/llroundf.cpp
+++ b/libc/src/math/gpu/llroundf.cpp
@@ -15,4 +15,4 @@ LLVM_LIBC_FUNCTION(long long, llroundf, (float x)) {
   return __builtin_lroundf(x);
 }
 
-} // namespace LIBC_NAMESPACE
+} // namespace __llvm_libc

``````````

</details>


https://github.com/llvm/llvm-project/pull/66034
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to