diff options
author | Serge Pavlov <sepavloff@gmail.com> | 2017-12-30 09:15:59 +0000 |
---|---|---|
committer | Serge Pavlov <sepavloff@gmail.com> | 2017-12-30 09:15:59 +0000 |
commit | c15a438a219967135d334a0bee12115d5c5b17b3 (patch) | |
tree | dc0e8e26fd111a52b31dcb0d58ae7ea815982308 /llvm/include/llvm/Support/CommandLine.h | |
parent | 3208588e7afcc8566d683d4efadd80e1b849529d (diff) | |
download | bcm5719-llvm-c15a438a219967135d334a0bee12115d5c5b17b3.tar.gz bcm5719-llvm-c15a438a219967135d334a0bee12115d5c5b17b3.zip |
Reverted 321580: Added support for reading configuration files
It caused buildbot fails.
llvm-svn: 321582
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
-rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index f043c112861..d1901db7c68 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -1862,33 +1862,6 @@ using TokenizerCallback = void (*)(StringRef Source, StringSaver &Saver, SmallVectorImpl<const char *> &NewArgv, bool MarkEOLs); -/// Tokenizes content of configuration file. -/// -/// \param [in] Source The string representing content of config file. -/// \param [in] Saver Delegates back to the caller for saving parsed strings. -/// \param [out] NewArgv All parsed strings are appended to NewArgv. -/// \param [in] MarkEOLs Added for compatibility with TokenizerCallback. -/// -/// It works like TokenizeGNUCommandLine with ability to skip comment lines. -/// -void tokenizeConfigFile(StringRef Source, StringSaver &Saver, - SmallVectorImpl<const char *> &NewArgv, - bool MarkEOLs = false); - -/// Reads command line options from the given configuration file. -/// -/// \param [in] CfgFileName Path to configuration file. -/// \param [in] Saver Objects that saves allocated strings. -/// \param [out] Argv Array to which the read options are added. -/// \return true if the file was successfully read. -/// -/// 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. -/// -bool readConfigFile(StringRef CfgFileName, StringSaver &Saver, - SmallVectorImpl<const char *> &Argv); - /// \brief Expand response files on a command line recursively using the given /// StringSaver and tokenization strategy. Argv should contain the command line /// before expansion and will be modified in place. If requested, Argv will |