[llvm-branch-commits] [lit] Add support for deleting symlinks to directories without -r (PR #158464)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Sep 14 00:35:54 PDT 2025


https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/158464

Before this change, rm would assume that a symlink to a directory was
actually a directory and require the recursive flag to be passed,
differing from other shells. Given the change in lit is about the same
length as the test change would be (minus tests), I think it makes sense
to just support this in the internal shell.





More information about the llvm-branch-commits mailing list