[libcxx-commits] [libcxx] [libc++][queue] Applied `[[nodiscard]]` (PR #169469)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 26 00:23:45 PST 2025


================
@@ -401,13 +401,11 @@ public:
   template <class... _Args>
   _LIBCPP_HIDE_FROM_ABI
 #    if _LIBCPP_STD_VER >= 17
-  decltype(auto)
-  emplace(_Args&&... __args) {
+  decltype(auto) emplace(_Args&&... __args) {
----------------
frederick-vs-ja wrote:

Let's avoid pure reformatting here. I think it should be possible to revert simply reformatted lines before committing.

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


More information about the libcxx-commits mailing list