Files
llvm/utils
Brian Gesiak ddb4efa8b2 [opt-viewer] Remove positional arg checks (NFC)
Summary:
opt-stats.py and opt-viewer.py's argument parsers both take a positional
argument 'yaml_files'. Positional arguments in Python's argparse module are
required by default, so the subsequent checks for `len(args.yaml_files) == 0`
are unnecessary -- if the length was zero, then the call to
`parser.parse_args()` would have thrown an error already.

Because there is no way for `len(args.yaml_files)` to be zero at these
points, removing the code is NFC.

Reviewers: anemet, davidxl

Reviewed By: anemet

Subscribers: llvm-commits, fhahn

Differential Revision: https://reviews.llvm.org/D34567

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306147 91177308-0d34-0410-b5e6-96231b3b80d8
2017-06-23 20:06:34 +00:00
..
2016-01-26 21:29:08 +00:00
2015-09-10 13:44:28 +00:00
2016-01-26 21:29:08 +00:00
2009-02-20 23:44:54 +00:00
2016-12-01 19:38:48 +00:00
2016-01-26 21:29:08 +00:00
2017-02-10 23:57:11 +00:00
2007-12-29 20:37:13 +00:00
2014-10-16 20:00:02 +00:00
2016-05-05 14:35:40 +00:00
2007-12-29 20:37:13 +00:00
2010-08-04 16:11:24 +00:00
2012-01-26 22:06:23 +00:00
2014-01-24 17:20:08 +00:00