[llvm-branch-commits] [libcxx] [libc++][C++03] Fix a bunch of random tests (PR #144117)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jun 13 09:55:58 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- libcxx/test/libcxx-03/iterators/bounded_iter/comparison.pass.cpp libcxx/test/libcxx-03/numerics/bit.ops.pass.cpp libcxx/test/libcxx-03/type_traits/is_constant_evaluated.pass.cpp libcxx/test/libcxx-03/utilities/meta/is_referenceable.compile.pass.cpp libcxx/test/libcxx-03/utilities/template.bitset/includes.pass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/libcxx-03/utilities/template.bitset/includes.pass.cpp b/libcxx/test/libcxx-03/utilities/template.bitset/includes.pass.cpp
index f6e6960c9..d69a4b3b8 100644
--- a/libcxx/test/libcxx-03/utilities/template.bitset/includes.pass.cpp
+++ b/libcxx/test/libcxx-03/utilities/template.bitset/includes.pass.cpp
@@ -13,15 +13,15 @@
#include "test_macros.h"
#ifndef _LIBCPP___CXX03_STRING
-#error <string> has not been included
+# error <string> has not been included
#endif
#ifndef _LIBCPP___CXX03_STDEXCEPT
-#error <stdexcept> has not been included
+# error <stdexcept> has not been included
#endif
#ifndef _LIBCPP___CXX03_IOSFWD
-#error <iosfwd> has not been included
+# error <iosfwd> has not been included
#endif
int main(int, char**)
``````````
</details>
https://github.com/llvm/llvm-project/pull/144117
More information about the llvm-branch-commits
mailing list