Skip to content

Commit

Permalink
iwyu tooling complete
Browse files Browse the repository at this point in the history
  • Loading branch information
Windfisch committed Jul 23, 2019
1 parent 98cecf9 commit 67b9606
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iwyu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON

echo "Running include-what-you-use. This can take a very long time (5-15 minutes)."
iwyu-tool -p . -- -Xiwyu --mapping_file=../iwyu.imp | tee iwyu.out

echo "Now fixing the includes"
iwyu-fix-includes -m < iwyu.out

0 comments on commit 67b9606

Please sign in to comment.