For some reason <memory_resource> header is located in experimental subfolder while I have Clang 14.0.0. <memory_resource> is C++17 feature and Clang 14.0.0 is more then C++17 capable.
clang -v
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
find /Library/Developer/CommandLineTools/usr/include/c++/v1/ -name memory_resource -type f
/Library/Developer/CommandLineTools/usr/include/c++/v1//experimental/memory_resource