[llvm] 7549524 - [NFC] Remove spurious '; ' on return line in python code

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 08:42:12 PST 2021


Author: Mircea Trofin
Date: 2021-02-15T08:42:02-08:00
New Revision: 7549524ac541e0366f16d2bb9f37de7607fdde29

URL: https://github.com/llvm/llvm-project/commit/7549524ac541e0366f16d2bb9f37de7607fdde29
DIFF: https://github.com/llvm/llvm-project/commit/7549524ac541e0366f16d2bb9f37de7607fdde29.diff

LOG: [NFC] Remove spurious ';' on return line in python code

Added: 
    

Modified: 
    llvm/utils/UpdateTestChecks/common.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py
index 4befaec651ae..0082c4ecd181 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -396,7 +396,7 @@ def get_idx_from_ir_value_match(match):
         if match.group(i) is not None:
             return i - first_nameless_group_in_ir_value_match
     error("Unable to identify the kind of IR value from the match!")
-    return 0;
+    return 0
 
 # See get_idx_from_ir_value_match
 def get_name_from_ir_value_match(match):


        


More information about the llvm-commits mailing list