diff options
author | Zachary Turner <zturner@google.com> | 2018-06-09 22:44:44 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-06-09 22:44:44 +0000 |
commit | 48c3341cfe47b5c4d0dca8fac80bfcf1ecaefb88 (patch) | |
tree | b7009636fb500f384daed7a630ca91c107c71541 /llvm/lib/Support/Unix/Program.inc | |
parent | 7ff6a8a3168afce70632d45aa3559e2cdeb348be (diff) | |
download | llvm-48c3341cfe47b5c4d0dca8fac80bfcf1ecaefb88.zip llvm-48c3341cfe47b5c4d0dca8fac80bfcf1ecaefb88.tar.gz llvm-48c3341cfe47b5c4d0dca8fac80bfcf1ecaefb88.tar.bz2 |
[Support] Expose flattenWindowsCommandLine.
This function was internal to Program.inc, but I've needed this
on several occasions when I've had to use CreateProcess without
llvm's sys::Execute functions. In doing so, I noticed that the
function was written using unsafe C-string access and was pretty
hard to understand / make sense of, so I've also re-written the
functions to use more modern LLVM constructs.
llvm-svn: 334353
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
0 files changed, 0 insertions, 0 deletions