ΒΆvoid TokenizeWindowsCommandLine(
    llvm::StringRef Source,
    llvm::StringSaver& Saver,
    SmallVectorImpl<const char*>& NewArgv,
    bool MarkEOLs = false)

Description

Tokenizes a Windows command line which may contain quotes and escaped quotes. See MSDN docs for CommandLineToArgvW for information on the quoting rules. http://msdn.microsoft.com/en-us/library/windows/desktop/17w5ykft(v=vs.85).aspx

Declared at: llvm/include/llvm/Support/CommandLine.h:2027

Parameters

llvm::StringRef Source
The string to be split on whitespace with quotes.
llvm::StringSaver& Saver
Delegates back to the caller for saving parsed strings.
SmallVectorImpl<const char*>& NewArgv
All parsed strings are appended to NewArgv.
bool MarkEOLs = false
true if tokenizing a response file and you want end of lines and end of the response file to be marked with a nullptr string.