It's interesting that Jetbrain's CLion Nova is otherwise an excellent IDE, but it can be just glacially slow at times. For instance when bringing up the "fix stuff" popup for a simple "replace with auto" hover suggestion, it can take up to 10 seconds for the popup to show. Clearly the internal structures are broken and/or totally unoptimised. Cmd-clicking on a method can also lead to "Resolving references" for some seconds.
/cc @jetbrains
All the other JB IDE:s that I use do not suffer from similar slowness. In fact I can't think of anything in any of the others that would be as slow (Pycharm, Rider, Goland, RustRover, Android Studio), so it has to be something that's deeply unoptimised in CLion Nova. Or then C++ is just horrible to build an IDE for. Both are probably true.
I sent the above as feedback for the CLion team using some internal Feedback tool. Within half an hour I had a reply with a suggestion.
The fix is to ensure that "Use the ReSharper C++ language engine (CLion Nova)" checkbox in "Advanced Settings" is checked. For me it was unchecked.
I always forget that Jetbrains actually cares about its customers, as opposed to Apple and Xcode.