clangd shows multiple imports with -G Xcode
已回答
Hi everyone. I have trouble to use the project generated with Xcode generator on the clion 2019.3. Clandg makes wrong checks and shows multiple symbols for import for std classes.
Here some example code shows the problem:
#include <ctime>
int main()
{
auto var = std::time(nullptr);
return 0;
}
In the clion, this code looks like this:

and this

Can anyone help me to fix this trouble?
Cmake options is: -G "Xcode"
cmake version: 3.15
OSX version: 10.15.3
XCode Version 11.3.1 (11C504)
请先登录再写评论。
Hello!
I've created https://youtrack.jetbrains.com/issue/CPP-19449. Please comment or upvote it in order to get updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.