ΒΆvoid tokenizeConfigFile(
llvm::StringRef Source,
llvm::StringSaver& Saver,
SmallVectorImpl<const char*>& NewArgv,
bool MarkEOLs = false)
void tokenizeConfigFile(
llvm::StringRef Source,
llvm::StringSaver& Saver,
SmallVectorImpl<const char*>& NewArgv,
bool MarkEOLs = false)
Description
Tokenizes content of configuration file. It works like TokenizeGNUCommandLine with ability to skip comment lines.
Declared at: llvm/include/llvm/Support/CommandLine.h:2056
Parameters
- llvm::StringRef Source
- The string representing content of config file.
- 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
- Added for compatibility with TokenizerCallback.