Nikolas Klauser

Results 6 issues of Nikolas Klauser

libc++ is currently non-conforming in `basic_string::substr()`, because it returns `basic_string(*this, __pos, __n, __alloc())` while the standard says it should return `basic_string(*this, __pos, __n)`. See https://wg21.link/LWG3752.

libc++

GCC calls the virtual destructor for ```cpp struct S { [[gnu::const]] virtual ~S(); }; void destroy(S* s) { s->~S(); } ``` ([Godbolt](https://godbolt.org/z/sbx4fz68M)) while clang optimizes it away. Since `[[gnu::const]]` is...

new issue

### Is your feature request related to a problem? Please describe There are some clang-specific extension (e.g. `__attribute__((enable_if))`) that GCC's `c++filt` can't demangle. ### Describe the solution you'd like Change...

request

Clang has a nice view of the memory layouts of structs when passing `-Xclang -fdump-record-layouts`. Unfortunately, it also contains a lot of noise. It would be great if clangd could...

enhancement

| | old time | new time | | ------------------ | -------- | -------- | | functional - c++23 | 416ms | 225ms | | random - c++23 | 513ms...

libc++