Skip to content

Conversation

@philnik777
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️

You can test this locally with the following command:
git-clang-format --diff origin/main HEAD --extensions  -- libcxx/include/string --diff_from_common_commit

⚠️
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing origin/main to the base branch/commit you want to compare against.
⚠️

View the diff from clang-format here.
diff --git a/libcxx/include/string b/libcxx/include/string
index e4020b46e..bc334257a 100644
--- a/libcxx/include/string
+++ b/libcxx/include/string
@@ -2299,7 +2299,7 @@ private:
       return std::max(__required_size, 2 * __current_cap);
     }();
 
-    __long __buffer = __allocate_long_buffer(__alloc_, __new_cap);
+    __long __buffer  = __allocate_long_buffer(__alloc_, __new_cap);
     __buffer.__size_ = __required_size;
     return __buffer;
   }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant