mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
44de615781
The include-what-you-use tool always returns non-zero to indicate that it did not actually produce an object file as Clang would from the same command line. Add a comment explaining that this is why we ignore its return code. Also update our `pseudo_iwyu` test suite tool to always exit with an error too.
9 lines
167 B
C
9 lines
167 B
C
#include <stdio.h>
|
|
|
|
int main(void)
|
|
{
|
|
fprintf(stderr, "should add these lines:\n#include <...>\n");
|
|
/* include-what-you-use always returns failure */
|
|
return 1;
|
|
}
|