Clion (MacOS, every version I have tried) fails to recognize a simple std::shared_ptr in our 100000+ LOC project (which can by the way bring Clion to a grinding halt during code analysis for several minutes -- compared e.g. to Resharper C++ this seems very slow).
To my understanding, Clion parses the CMakeLists.txt and checks the coding standard. Depending on the chosen standard it then parses the code differently.
However, we give users the choice between different C++ standards (currently only C+11 and C++14, we have now deprecated C++03). The choice happens through a Define, which is given to the cmake call. There is no "open" -std=c++11/14 in the CMake code, as the call to cmake actually happens through a wrapper script. It appears as if Clion, when it doesn't understand which standard was chosen, then defaults to some old standard and does not recognize current C++ Standard Library calls.
Hence, is there a way to force Clion to use a specific standard for parsing ?
Thanks and best Regards,