[llvm] [lit] Add type hints (PR #200708)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 3 18:54:35 PDT 2026


================
@@ -328,7 +329,7 @@ def addAIXVersion(target_triple):
     """Add the AIX version to the given target triple,
     e.g. powerpc64-ibm-aix7.2.5.6
     """
-    os_cmd = "oslevel -s | awk -F\'-\' \'{printf \"%.1f.%d.%d\", $1/1000, $2, $3}\'"
+    os_cmd = "oslevel -s | awk -F'-' '{printf \"%.1f.%d.%d\", $1/1000, $2, $3}'"
----------------
prasoon054 wrote:

The code formatter made that change. The removed `\`s seem redundant.

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


More information about the llvm-commits mailing list