[clang-tools-extra] [clangd][modules] Remove the options that is for gcc, make modules work for clangd when using gcc (PR #200001)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 5 01:04:28 PDT 2026


Decodetalkers wrote:

> After #201419 was landed, I don't see any problems if we remove unsupported options via `.clangd` config.
> 
> I doubt that it makes sense that every unsupported option should be described in the source code in order to be dropped. I see two options here:
> 
>     * use the config, then everything already works
> 
>     * automatically drop any unsupported command line argument.

At least I want to make every thing ok without extra configs.. These opinion will make command fail, not just warning. So I think it will be better to remove them the first time. 

https://github.com/llvm/llvm-project/pull/200001


More information about the cfe-commits mailing list