-
With a In general, how do |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I believe that
The biggest difference is that I would always prefer |
Beta Was this translation helpful? Give feedback.
I believe that
Compiler
from.clangd
file can override the compiler executable specified incompile_commands.json
. This may be useful if, for example, "real" compiler fromcompile_commands.json
does not behave like GCC or clang, has implicit defines, etc.Compiler
allows you to point clangd to a script that will fake the compiler output so that clangd can extract include paths, defines, etc.The biggest difference is that
compile_commands.json
is typically generated by build system (e.g. CMake) or…