Nikolas Klauser

Results 11 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++

libc++ has started using the clang-tidy option `--load` and a shared library to be able to run libc++-specific clang-tidy checks. It would be great if one could load the library...

enhancement

For these annotations to do anything you need `-Wthread-safety`, in which case users most likely enable them anyways. This avoids that users have to explictly define a macro just to...

libc++

The use-case for `__is_same_uncvref` seems rather dubious, since not a single use-cases needed the `remove_cvref_t` to be applied to both of the arguments. Removing the alias makes it clearer what...

libc++

Since we've upgraded to GCC 15 now, we can remove a bunch of dead code from ``.

libc++