I am using srefactor package version 20230504.617 from MELPA.
In this code,
namespace foo {
namespace bar {
class Baz {};
} // namespace bar
} // namespace foo
when I put point on "Baz" and call srefactor-refactor-at-point, the srefactor UI menu opens as expected, offering the "Move" and "Generate Function Implementation" refactorings.
Now, when I concatenate the namespaces (or let clang-tidy apply the corresponding code action), i.e., change the code to the following,
namespace foo::bar {
class Baz {};
} // namespace foo::bar
then calling srefactor-refactor-at-point with point on "Baz" results in a message "No available action" in the modeline.