-Vphases takes names to mark, -Vprint is typer #17563
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
-Vphases
optionally takes a list of phase names to highlight in the output.-Vprint
optionally takes a list of phase names for printing, and defaults totyper
.setting.isPresent
if the user supplied the option;setting.userValue
is the optional value supplied by the user.If a setting has an empty default, an explicit argument must be supplied.
A couple of phase names are normalized to camelCase.
-Vprint
loosely matches the phase name (contains
), so do the same for-Vphases
. (Would be nice to ignore upper/lower case.)E.g.,
-Vphases:checkUnused,elimByName
highlights both phases so that it's easy to find the miniphase of interest.