Skip to content

Commit

Permalink
[update_test_checks] Fix option name in warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Jan 28, 2022
1 parent c7bb366 commit de37912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/utils/UpdateTestChecks/common.py
Expand Up @@ -605,7 +605,7 @@ def transform_line_vars(match):
var = get_name_from_ir_value_match(match)
for nameless_value in nameless_values:
if may_clash_with_default_check_prefix_name(nameless_value.check_prefix, var):
warn("Change IR value name '%s' or use -prefix-ir-filecheck-name to prevent possible conflict"
warn("Change IR value name '%s' or use --prefix-filecheck-ir-name to prevent possible conflict"
" with scripted FileCheck name." % (var,))
key = (var, get_check_key_from_ir_value_match(match))
is_local_def = is_local_def_ir_value_match(match)
Expand Down

0 comments on commit de37912

Please sign in to comment.