[llvm] UTC: support debug output from LDist (PR #93208)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 03:40:14 PDT 2024


================
@@ -1635,8 +1636,9 @@ def generalize_check_lines(
         regexp = ginfo.get_regexp()
 
     multiple_braces_re = re.compile(r"({{+)|(}}+)")
+
     def escape_braces(match_obj):
-        return '{{' + re.escape(match_obj.group(0)) + '}}'
+        return "{{" + re.escape(match_obj.group(0)) + "}}"
----------------
artagnon wrote:

Unfortunately, `black` doesn't have a way to format only the diff (as far as I know), and the CI would fail without this change.

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


More information about the llvm-commits mailing list