ΒΆvoid TokenizeWindowsCommandLineNoCopy(
llvm::StringRef Source,
llvm::StringSaver& Saver,
SmallVectorImpl<llvm::StringRef>& NewArgv)
void TokenizeWindowsCommandLineNoCopy(
llvm::StringRef Source,
llvm::StringSaver& Saver,
SmallVectorImpl<llvm::StringRef>& NewArgv)
Description
Tokenizes a Windows command line while attempting to avoid copies. If no quoting or escaping was used, this produces substrings of the original string. If a token requires unquoting, it will be allocated with the StringSaver.
Declared at: llvm/include/llvm/Support/CommandLine.h:2021
Parameters
- llvm::StringRef Source
- llvm::StringSaver& Saver
- SmallVectorImpl<llvm::StringRef>& NewArgv