summaryrefslogtreecommitdiff
path: root/util/hgstyle.py
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-11-25 10:33:15 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2016-11-25 10:33:15 +0000
commitfaaf2d396fb8c1e1b35efc6ef37f7632009fac1e (patch)
treef3dbea4d3244fdc784d7ce99c4c28a68cc5fc69f /util/hgstyle.py
parentac29b6c6fc93330f5de2f2fbea4f45265e70a16b (diff)
downloadgem5-faaf2d396fb8c1e1b35efc6ef37f7632009fac1e.tar.xz
style: Add options to select checkers and apply fixes
Add an option, --checker/-c, to style.py that selects individual style checkers to apply. When this option isn't specified, the script defaults to all available style checkers. The option may be specified multiple times to run multiple style checkers. The option, --fix/-f, can be specified to automatically fix style violations. Change-Id: Id7597fba6b65cecfa17a88b1c87c8a4c8315af59 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Andreas Hansson <andreas.hansson@arm.com>
Diffstat (limited to 'util/hgstyle.py')
0 files changed, 0 insertions, 0 deletions