smeenai added a comment. In D64538#1579561 <https://reviews.llvm.org/D64538#1579561>, @rnk wrote:
> An extremely convenient feature of the current escaping pattern is that it > magically works for both the cmd shell and various bash implementations. You > can simply copy paste the commands and run them. This matters, for example, > for the .sh crash reproducer script. On Windows today, you can just run it > with bash, and it works. So, I'd prefer it if we didn't do this. > > If you want -### output to be more FileCheck friendly, then I would recommend > adding a new driver flag for testing that dumps the commands without doing > any escaping. This came up before: > https://reviews.llvm.org/D62493 As long as the backslashes aren't followed by a few special characters (as detailed in my comment), the backslash should still continue to work. I've been testing this with git bash and I'm still able to copy-paste the ouptut command. I'm okay adding a new driver flag which just skips all escaping, but I'd also prefer for stuff running on Windows to follow Windows path conventions. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D64538/new/ https://reviews.llvm.org/D64538 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits