Hi @JanKlemensEPG, thank you for your report!
This issue is linked to CLion 2024.1 when the ReSharper engine is enabled. You can read more about it on this thread. In the meantime, you can disable the ReSharper engine or wait for the next version of SonarLint that will include a fix for this. It will be released next week. Thank you for your patience.