[llvm] [GitHub] Skip undefcheck if no relevant files changed (PR #126749)

Nuno Lopes via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 09:30:17 PST 2025


================
@@ -379,10 +381,6 @@ def format_run(self, changed_files: List[str], args: FormatArgs) -> Optional[str
         # Each file is prefixed like:
         # diff --git a/file b/file
         for file in re.split("^diff --git ", stdout, 0, re.MULTILINE):
-            # We skip checking in MIR files as undef is a valid token and not
-            # going away.
-            if file.endswith(".mir"):
----------------
nunoplopes wrote:

ah you are right, thanks for clarifying!

https://github.com/llvm/llvm-project/pull/126749


More information about the llvm-commits mailing list