[UpdatesTestChecks] Fix typo in common.py
authorSam Parker <sam.parker@arm.com>
Tue, 25 Aug 2020 10:12:26 +0000 (11:12 +0100)
committerSam Parker <sam.parker@arm.com>
Tue, 25 Aug 2020 10:13:33 +0000 (11:13 +0100)
global_vars_see_dict -> global_vars_seen_dict

llvm/utils/UpdateTestChecks/common.py

index 057e496..6adbebc 100644 (file)
@@ -532,7 +532,7 @@ def add_ir_checks(output_lines, comment_marker, prefix_list, func_dict,
 
 def add_analyze_checks(output_lines, comment_marker, prefix_list, func_dict, func_name):
   check_label_format = '{} %s-LABEL: \'%s%s\''.format(comment_marker)
-  global_vars_see_dict = {}
+  global_vars_seen_dict = {}
   add_checks(output_lines, comment_marker, prefix_list, func_dict, func_name,
              check_label_format, False, True, global_vars_seen_dict)