[llvm] [LIT] Rename substitution `%basename_s` to `%{s:basename}` (PR #111062)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 14:05:19 PDT 2024


================
@@ -535,7 +535,6 @@ TestRunner.py:
  %{fs-tmp-root}          root component of file system paths pointing to the test's temporary directory
  %{fs-sep}               file system path separator
  %t                      temporary file name unique to the test
- %basename_s             The last path component of %s
  %basename_t             The last path component of %t but without the ``.tmp`` extension
----------------
arichardson wrote:

```suggestion
 %basename_t             The last path component of %t but without the ``.tmp`` extension (deprecated, use ``%{t:stem}`` instead)
```
I wonder if we should also deprecate this inconsistent one?

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


More information about the llvm-commits mailing list