Originally reported on Google Code with ID 56
Say, file sys/cdefs.h contains:
#ifdef __ELF__
#include <sys>
#else
#include <sys>
#endif
iwyu suggests removing the #include for sys/cdefs.h and adding an #include <sys>
If the #include is conditional, iwyu should use the top-most ancestor include file
that is unconditional.
</sys></sys></sys>
Reported by MarkoSchuetz on 2011-07-23 15:17:17
该提问来源于开源项目:include-what-you-use/include-what-you-use