llvm-project
1d155412 - [libc++] Remove abandoned __append declaration in vector<bool> (#121673)

Commit
267 days ago
[libc++] Remove abandoned __append declaration in vector<bool> (#121673) The `vector<bool>` implementation in libcxx contains a declaration of a private `__append` function, which is neither defined nor used anywhere in the codebase. This PR aims to remove this abandoned declaration, as its presence is misleading and could lead to confusion during future maintenance. I have no idea why we have a declaration without a definition. My guess is that the declaration might be inherited from the implementation of `vector<T>`, where `__append` is both necessary and properly defined. The declaration may have been inadvertently copied from `vector<T>` to `vector<bool>` and subsequently abandoned, as `vector<bool>` never needs it.
Author
Parents
Loading