[flang-commits] [flang] [clang-tools-extra] [compiler-rt] [libcxx] [lld] [clang] [libc] [llvm] [libc++][memory] P2652R2: Disallow Specialization of `allocator_traits` (PR #79978)

via flang-commits flang-commits at lists.llvm.org
Tue Jan 30 23:05:43 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 7565ae6eb99b6d3c5d83d04404a2df1b3785dbfe 252f67bcc25c2caae211ea50bf6836f9f0345f05 -- libcxx/include/__memory/allocation_result.h libcxx/include/__format/buffer.h libcxx/include/__memory/allocate_at_least.h libcxx/include/__memory/allocator.h libcxx/include/__memory/allocator_traits.h libcxx/include/__split_buffer libcxx/include/memory libcxx/include/string libcxx/include/vector libcxx/include/version libcxx/modules/std/memory.inc libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate_at_least.pass.cpp
``````````

</details>

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

``````````diff
diff --git a/libcxx/include/__memory/allocation_result.h b/libcxx/include/__memory/allocation_result.h
index a912d4b90a..2a388e24e5 100644
--- a/libcxx/include/__memory/allocation_result.h
+++ b/libcxx/include/__memory/allocation_result.h
@@ -27,7 +27,7 @@ struct allocation_result {
 };
 _LIBCPP_CTAD_SUPPORTED_FOR_TYPE(allocation_result);
 
-#endif   // _LIBCPP_STD_VER
+#endif // _LIBCPP_STD_VER
 
 _LIBCPP_END_NAMESPACE_STD
 

``````````

</details>


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


More information about the flang-commits mailing list