[llvm] a3a8acd - [NFC] Missing argument for the PR issue number in the code format helper

Tobias Hieta via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 00:50:10 PST 2023


Author: Tobias Hieta
Date: 2023-12-11T09:50:04+01:00
New Revision: a3a8acd9a60b762ba0fb1194f7c26d5322b21d03

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

LOG: [NFC] Missing argument for the PR issue number in the code format helper

Added: 
    

Modified: 
    llvm/utils/git/code-format-helper.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/git/code-format-helper.py b/llvm/utils/git/code-format-helper.py
index aa78bc4f0ba9cd..697a27ab82a750 100755
--- a/llvm/utils/git/code-format-helper.py
+++ b/llvm/utils/git/code-format-helper.py
@@ -43,6 +43,7 @@ class FormatArgs:
     changed_files: List[str] = []
     token: str = None
     verbose: bool = True
+    issue_number: int = 0
 
     def __init__(self, args: argparse.Namespace = None) -> None:
         if not args is None:
@@ -51,6 +52,7 @@ def __init__(self, args: argparse.Namespace = None) -> None:
             self.repo = args.repo
             self.token = args.token
             self.changed_files = args.changed_files
+            self.issue_number = args.issue_number
 
 
 class FormatHelper:


        


More information about the llvm-commits mailing list