minus-squarethblt@alien.topBtoEmacs@communick.news•How to detect unused includes in C source code?linkfedilinkEnglisharrow-up2·1 year agoclangd and probably other linters can warn about this. False positives are possible, though: an include may very well be unused in a given build configuration, but enabled in another. linkfedilink
clangd
and probably other linters can warn about this. False positives are possible, though: an include may very well be unused in a given build configuration, but enabled in another.