CppReference says that std::source_location is partially supported by clang-15. However, there's no header 'source_location' present under /usr/include and std::source_location isn't working. https://en.cppreference.com/w/cpp/compiler_support/20
This was only added very recently upstream (as of 2023-01-11), in https://github.com/llvm/llvm-project/commit/73d94b19161355d06f20678d628555719eebbdcc, so it will be in libc++ 16. It appears to depend on the __builtin_source_location() function, which might be pretty new too. That said, I expect this won't be backported to the 15.x branch, so it will only be available for clang/libc++ 16.
This project https://github.com/wwmm/easyeffects can't be ported because of this issue. GCC also fails to build it because of incompatibility with dependencies.
According to the LLVM website https://llvm.org/ LLVM-16 is scheduled to be released on Mar 7th, 2023.