shared_mutex was introduced in C++17 but its implementation currently doesn't use Clang's thread annotations like regular mutex. This change adds those.
Just making sure; those are only needed on the declarations?
Yes