summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/pseudo_iwyu.c
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Comment why we ignore the include-what-you-use return codeBrad King2016-11-181-1/+2
| | | | | | | | 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.
* Add options to run include-what-you-use with the compilerBrad King2015-05-191-0/+7
Create a <LANG>_INCLUDE_WHAT_YOU_USE target property (initialized by a CMAKE_<LANG>_INCLUDE_WHAT_YOU_USE variable) to specify an IWYU command line to be run along with the compiler.