fabic974 random (binary) wanderings in the philament empires…

C/C++: dump includes dependency command

Nice command for dumping out the #include <...> dependency graph for a given header; found at building Neovim :

echo '#include "./src/nvim/buffer.h"' \
  | clang -I.deps/usr/include -Isrc -std=c99 -P -E -H - 2>&1 >/dev/null \
  | grep -v /usr/

Wrapped up in that command of yours: dump-headers-include-depgraph.sh