News for hackers. Stuff that matters.
Re:Ask HN: Good practices for my first C project by Conscat on Wednesday October 18, 2023 @06:15PM (#37935500)
Clang itself can do it, as can forks of Clang, so can Xmake, Meson, and Ninja, as well as Clang Power Tools for Visual Studio.
Re:Ask HN: Good practices for my first C project by synergy20 on Wednesday October 18, 2023 @10:04PM (#37937383)
clangd can barely do it in practice, it does not index the whole code base, instead it builds up the index gradually, and it often failed to find function implementation, it can just find those definitions, ctags has no issues to find both.

I would love to stick with clangd if it can do whatever ctags can as far as source indexing goes, it seems can not.

Re:Ask HN: Good practices for my first C project by Conscat on Thursday October 19, 2023 @01:27AM (#37938838)
Clangd consumes the compilation database, it doesn't produce it. Clang is what does that.