summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2017-12-30 09:15:59 +0000
committerSerge Pavlov <sepavloff@gmail.com>2017-12-30 09:15:59 +0000
commit13da8667d3979b36553a671f8f4b4c87d0a5d94a (patch)
treebccfb7457562b6a7e37a6ed8b8155eab5f3e809c /include
parent0c5f92eb6a3bd47ffa05d75681ae10bc53ca92c6 (diff)
Reverted 321580: Added support for reading configuration files
It caused buildbot fails. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321582 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/CommandLine.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index f043c112861..d1901db7c68 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/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