mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 21:06:06 +00:00

As mentioned in the LWG issue libc++ has already implemented the optimization. This adds tests and documents the implementation defined behaviour. Drive-by fixes an initialization.