[llvm] 7502040 - clang: Make changes in 7c8bb409f31e py2.7-compatible
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 18 13:18:51 PDT 2020
Author: Nico Weber
Date: 2020-09-18T16:15:37-04:00
New Revision: 7502040ed25e713546e64fe54a30beb5cfd8d045
URL: https://github.com/llvm/llvm-project/commit/7502040ed25e713546e64fe54a30beb5cfd8d045
DIFF: https://github.com/llvm/llvm-project/commit/7502040ed25e713546e64fe54a30beb5cfd8d045.diff
LOG: clang: Make changes in 7c8bb409f31e py2.7-compatible
Added:
Modified:
llvm/utils/UpdateTestChecks/common.py
Removed:
################################################################################
diff --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py
index 488425db3943..74c923888d02 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -642,7 +642,9 @@ def dump_input_lines(output_lines, test_info, prefix_set, comment_string):
def add_checks_at_end(output_lines, prefix_list, func_order,
comment_string, check_generator):
added = set()
- for prefixes, tool_args, *rest in prefix_list:
+ for prefix in prefix_list:
+ prefixes = prefix[0]
+ tool_args = prefix[1]
for prefix in prefixes:
for func in func_order[prefix]:
if added:
More information about the llvm-commits
mailing list