[libcxx-commits] [libcxx] [libc++] Fix non-conforming member typedef const_reference (PR #121620)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 3 20:16:44 PST 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 7c86ab8a18897c434fdb1ee3cd5ff2a71e6aae5a f6a9d4079773d9a46a4956dd9c5e989ffff5b209 --extensions ,cpp -- libcxx/include/bitset libcxx/test/std/utilities/template.bitset/bitset.members/index_const.pass.cpp libcxx/test/std/utilities/template.bitset/bitset.members/nonstdmem.uglified.compile.pass.cpp
``````````

</details>

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

``````````diff
diff --git a/libcxx/test/std/utilities/template.bitset/bitset.members/nonstdmem.uglified.compile.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.members/nonstdmem.uglified.compile.pass.cpp
index 8327f529cb..068f45b3fe 100644
--- a/libcxx/test/std/utilities/template.bitset/bitset.members/nonstdmem.uglified.compile.pass.cpp
+++ b/libcxx/test/std/utilities/template.bitset/bitset.members/nonstdmem.uglified.compile.pass.cpp
@@ -8,7 +8,7 @@
 
 // <bitset>
 
-// This test ensures that we don't use a non-uglified name 'iterator', 'const_iterator', 
+// This test ensures that we don't use a non-uglified name 'iterator', 'const_iterator',
 // 'base', and `const_reference` in the implementation of bitset.
 //
 // See https://github.com/llvm/llvm-project/issues/111125.

``````````

</details>


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


More information about the libcxx-commits mailing list