[libcxx-commits] [libcxx] [libc++] Avoid including <__config> directly in the test suite (PR #106080)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 26 07:25:53 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 1c48c9cc43dbbbd1751e15d199b4d7d4fc52d828 e63394b940b374ee719d7c04e3fb1500a097efe2 --extensions h -- libcxx/test/support/fp_compare.h
``````````

</details>

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

``````````diff
diff --git a/libcxx/test/support/fp_compare.h b/libcxx/test/support/fp_compare.h
index 63f174e0a2..237ee50d1f 100644
--- a/libcxx/test/support/fp_compare.h
+++ b/libcxx/test/support/fp_compare.h
@@ -11,7 +11,7 @@
 
 #include <algorithm> // for std::max
 #include <cassert>
-#include <cmath>     // for std::abs
+#include <cmath> // for std::abs
 
 #include "test_macros.h"
 

``````````

</details>


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


More information about the libcxx-commits mailing list