Issue |
90949
|
Summary |
std::launder builitin incorrectly requires complete type
|
Labels |
new issue
|
Assignees |
|
Reporter |
kelbon
|
I think(hope) not many people use std::launder, but I discovered this by accident:
```cpp
A* p = 0;
(void)std::launder(p); // error, requires full type, but this function only takes ptr and returns ptr
```
https://godbolt.org/z/aaqW4Mb6r
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs