Decodetalkers wrote:

> I'm not convinced that simply removing these flags would solve the problem. 
> Clangd should be ignoring the flags, so they are noise on top of the behavior 
> of clangd. As such, I would like to see confirmation first that this works 
> without this change. 

I have debugged many times. And have compared the command that clang++ used 
with that gcc is using. Then I found these options are  redundant. In fact, 
clang++ also removes the mapfile in its commands, for example 
@CMakeFiles/.../abc.modmap. So what I have changed is meaningful

https://github.com/llvm/llvm-project/pull/200001
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to