Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Nov 6, 2024
1 parent 471144e commit 1e72f30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/scripts/parse_iwyu_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def post_process_includes(include_modifications):
def write_output(include_modifications, output_stream):
for filename, mods in include_modifications.items():
if mods["remove_includes"]:
# IWYU requires all sections to exist, so we write out this header even
# though we never write out any actual additions.
output_stream.write(f"{filename} should add these lines:\n\n")

output_stream.write(f"{filename} should remove these lines:\n")
Expand Down

0 comments on commit 1e72f30

Please sign in to comment.