[llvm] c1b1c40 - Revert "[UTC] Generalize version regex"
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 14 13:54:50 PDT 2023
Author: Johannes Doerfert
Date: 2023-07-14T13:53:36-07:00
New Revision: c1b1c40920301bd337e97945cf93b3364b0e2548
URL: https://github.com/llvm/llvm-project/commit/c1b1c40920301bd337e97945cf93b3364b0e2548
DIFF: https://github.com/llvm/llvm-project/commit/c1b1c40920301bd337e97945cf93b3364b0e2548.diff
LOG: Revert "[UTC] Generalize version regex"
This reverts commit 4488ee259064532dda24024a7e96037fe9a3c0d9, as it is
built on top of https://reviews.llvm.org/D148216 which is broken.
See also https://github.com/llvm/llvm-project/issues/63746
Added:
Modified:
llvm/utils/UpdateTestChecks/common.py
Removed:
################################################################################
diff --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py
index 1cc139c37aa6ad..2a5b8e04a4a86c 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -1577,7 +1577,7 @@ def add(var):
# The capture group is kept as is, followed by a {{.*}} glob
METADATA_FILTERS = [
- r"(\w+ version )[\d.]+(?: \([^)]+\))?",
+ r"(\w+ version )[\d.]+ \([\w.:/@-]+\.git \w+\)",
r'(!DIFile\(filename: ".+", directory: )".+"',
]
METADATA_FILTERS_RE = [re.compile(s) for s in METADATA_FILTERS]
More information about the llvm-commits
mailing list