aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-diff/lib/DifferenceEngine.h
diff options
context:
space:
mode:
authorAlexandre Ganea <aganea@havenstudios.com>2025-11-01 13:19:21 -0400
committerGitHub <noreply@github.com>2025-11-01 17:19:21 +0000
commit421ba7fbb582f2bedcdf46d5afc03367d229bc31 (patch)
tree50d8505320957f23260ad79d8d0a5814cc1cda15 /llvm/tools/llvm-diff/lib/DifferenceEngine.h
parentbff2aa63624766b1111be0ffec9645c952fc8e38 (diff)
downloadllvm-421ba7fbb582f2bedcdf46d5afc03367d229bc31.zip
llvm-421ba7fbb582f2bedcdf46d5afc03367d229bc31.tar.gz
llvm-421ba7fbb582f2bedcdf46d5afc03367d229bc31.tar.bz2
[llvm-config] Add new flag `--quote-paths` to optionally quote and escape paths (#103397)
If any of the printed paths by llvm-config contain quotes, spaces, backslashes or dollar sign characters, these paths will be quoted and escaped, but only if using `--quote-paths`. The previous behavior is retained for compatibility and `--quote-paths` is there to acknowledge the migration to the new behavior. Following discussion in #76304 Fixes #28117 Superseeds https://github.com/llvm/llvm-project/pull/97305 I could also do what @tothambrus11 suggests in https://github.com/llvm/llvm-project/pull/97305#issuecomment-2282847990 but that makes all Windows paths quoted & escaped since they all contain backslashes.
Diffstat (limited to 'llvm/tools/llvm-diff/lib/DifferenceEngine.h')
0 files changed, 0 insertions, 0 deletions