From d257116a5e287685311940124208a894473d6d9f Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Thu, 5 Apr 2018 09:30:42 +0000 Subject: [PATCH] [UpdateTestChecks] Remove unnecessary return from add_ir_checks llvm-svn: 329262 --- utils/UpdateTestChecks/common.py | 1 - utils/update_test_checks.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/UpdateTestChecks/common.py b/utils/UpdateTestChecks/common.py index 6fb5eef5763..10dade6c50a 100644 --- a/utils/UpdateTestChecks/common.py +++ b/utils/UpdateTestChecks/common.py @@ -213,4 +213,3 @@ def add_ir_checks(output_lines, comment_marker, prefix_list, func_dict, func_nam # line of code in the test function. output_lines.append(comment_marker) break - return output_lines diff --git a/utils/update_test_checks.py b/utils/update_test_checks.py index 9a39746753a..739fe045835 100755 --- a/utils/update_test_checks.py +++ b/utils/update_test_checks.py @@ -146,7 +146,7 @@ def main(): continue # Print out the various check lines here. - output_lines = common.add_ir_checks(output_lines, ';', prefix_list, func_dict, func_name) + common.add_ir_checks(output_lines, ';', prefix_list, func_dict, func_name) is_in_function_start = False if is_in_function: