Re: [PATCH] libstdc++: Tweak source_location for clang trunk [PR105128]

2022-04-02 Thread Jonathan Wakely via Gcc-patches
On Sat, 2 Apr 2022, 10:32 Jakub Jelinek via Libstdc++, < libstd...@gcc.gnu.org> wrote: > Hi! > > Apparently clang trunk implemented __builtin_source_location(), but the > using __builtin_ret_type = decltype(__builtin_source_location()); > which has been added for it isn't enough, they also need th

[PATCH] libstdc++: Tweak source_location for clang trunk [PR105128]

2022-04-02 Thread Jakub Jelinek via Gcc-patches
Hi! Apparently clang trunk implemented __builtin_source_location(), but the using __builtin_ret_type = decltype(__builtin_source_location()); which has been added for it isn't enough, they also need the std::source_location::__impl class to be defined (but incomplete seems to be good enough) befor