[Bug libstdc++/108035] libstdc++ implementation of std::source_location::function_name() provides an empty string when used with clang++

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 9 18:31:05 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108035

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That looks solely like a clang issue.  It implements the builtin gcc has added
for <source_location> - __builtin_source_location () - but fills in
_M_function_name
with just "" rather than a pretty name.


More information about the Gcc-bugs mailing list