[clang] [llvm] Reland "[Utils] Add new --update-tests flag to llvm-lit" (PR #153821)

Henrik G. Olsson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 09:16:10 PDT 2025


================
@@ -0,0 +1,39 @@
+import shutil
+
+
+def get_source_and_target(a, b):
+    """
+    Try to figure out which file is the test output and which is the reference.
+    """
+    expected_suffix = ".expected"
----------------
hnrklssn wrote:

Will address in https://github.com/llvm/llvm-project/pull/154147

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


More information about the llvm-commits mailing list