Searched hist:11402 (Results 1 - 1 of 1) sorted by relevance

/gem5/util/
H A Dhgstyle.py11402:ac9e1a3bed79 Wed Mar 30 10:30:00 EDT 2016 Andreas Sandberg <andreas.sandberg@arm.com> style: Change include sorter to yield one line at a time

The include sorter class normally yields one string per line and
relies on the caller to merge lines into a block of text separated by
newlines. However, there are cases when this isn't true. This makes
diffing using Python's difflib hard. This changeset updates the
include sorter to never do this and always yield one line at a time.

Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-by: Steve Reinhardt <steve.reinhardt@amd.com>

Completed in 4 milliseconds