Package: iwyu Version: 7.0-3 Forwarded: https://github.com/include-what-you-use/include-what-you-use/issues/682 Tags: buster sid X-Debbugs-CC: Kim Grasman <kim.gras...@gmail.com>
Problem can reproduced via (please check the first line): struct foobar; struct foobar *test(struct foobar *asd) { return asd; } And then iwyu tells me: $ iwyu test.c test.c should add these lines: struct foobar; test.c should remove these lines: The full include-list for test.c: struct foobar; --- Something which is already there. Now adding the line again: struct foobar; struct foobar; struct foobar *test(struct foobar *asd) { return asd; } But it tells me now again that I should add this line again: $ iwyu test.c test.c should add these lines: struct foobar; test.c should remove these lines: The full include-list for test.c: struct foobar; --- This currently breaks iwyu for me in Debian Buster