diff options
| author | Julian Blake Kongslie | 2022-06-25 20:56:30 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-06-25 20:56:30 -0700 |
| commit | b71f9a58a9af53b097aeca2d84413544695643ea (patch) | |
| tree | 9038c0dca5c601b5d51a84612556ca73fa0011a0 /tools | |
| parent | Move git tag generation entirely into the Makefile. (diff) | |
| download | issim-b71f9a58a9af53b097aeca2d84413544695643ea.tar.xz | |
Include what you use.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/iwyu-header | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/iwyu-header b/tools/iwyu-header new file mode 100755 index 0000000..cd71456 --- /dev/null +++ b/tools/iwyu-header | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | for ARG in "$@"; do | ||
| 4 | echo "#include \"$ARG\" // IWYU pragma: associated" | ||
| 5 | done | ||
