Closed snizovtsev closed 4 years ago
Thank you for the PR.
FWIW, this was done on purpose, because resolving all the compiler headers could be a bit difficult:
-include
I used the compilation database mostly to have compile commands for the headers of my projects.
These headers are often specified by -I
as they are not third party code, so omitting -isystem
was easy to implement, and was filtering these things out.
Some projects use
-I
alternatives like-isystem
to add directory into search path. Currently compdb skip this information and so miss some headers . That options are almost identical to-I
except some nuances not relevant to compdb. So i handle them just in parser.