ΒΆbool readConfigFile(
    llvm::StringRef CfgFileName,
    llvm::StringSaver& Saver,
    SmallVectorImpl<const char*>& Argv)

Description

Reads command line options from the given configuration file. It reads content of the specified file, tokenizes it and expands "@file" commands resolving file names in them relative to the directory where CfgFilename resides.

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

Parameters

llvm::StringRef CfgFileName
Path to configuration file.
llvm::StringSaver& Saver
Objects that saves allocated strings.
SmallVectorImpl<const char*>& Argv
Array to which the read options are added.

Returns

true if the file was successfully read.