llvm-project
76bc1edd - [AA] Take account of C++23's stricter rules for forward declarations (NFC) (#109416)

Commit
1 year ago
[AA] Take account of C++23's stricter rules for forward declarations (NFC) (#109416) C++23 has stricter rules for forward declarations around std::unique_ptr, this means that the inline declaration of the constructor was failing under clang in C++23 mode, switching to an out-of-line definition of the constructor fixes this. This was fairly major impact as it blocked inclusion of a lot of headers under clang in C++23 mode. Fixes #106597.
Author
Parents
Loading