[clang] [llvm] [Filecheck] Add @PATHSEP Pseudo Variable (PR #238202)

James Henderson via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 01:53:07 PST 2026


https://github.com/jh7370 commented:

I don't think this is the right approach. We already have a mechanism to abstract the path separator using lit, and should be using that to specify to FileCheck. See `%{fs-sep}` and its various usages that already exist. That ensures that the path separator is appropriate for the host environment and any options like the cmake option for configuring the path separator direction on Windows.

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


More information about the cfe-commits mailing list