summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/CommandLine.h
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2019-12-04 15:50:27 +0100
committerKadir Cetinkaya <kadircet@google.com>2019-12-04 15:58:01 +0100
commit0f12f9096e1e33d88cb0b5601b0e035a2674c19a (patch)
treeef1bbf1c7c09d5c6d0d282fed514be89f6f37028 /llvm/include/llvm/Support/CommandLine.h
parent95b2e516bd3e4587953e44bf062054ff84f2b057 (diff)
downloadbcm5719-llvm-0f12f9096e1e33d88cb0b5601b0e035a2674c19a.tar.gz
bcm5719-llvm-0f12f9096e1e33d88cb0b5601b0e035a2674c19a.zip
Revert "[llvm][Support] Take in CurrentDirectory as a parameter in ExpandResponseFiles"
This reverts commit 75656005dbc8866e1888932a68a830b0df403560.
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
-rw-r--r--llvm/include/llvm/Support/CommandLine.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h
index 6c0bb6c2fc3..5966febdf2b 100644
--- a/llvm/include/llvm/Support/CommandLine.h
+++ b/llvm/include/llvm/Support/CommandLine.h
@@ -20,8 +20,6 @@
#define LLVM_SUPPORT_COMMANDLINE_H
#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/None.h"
-#include "llvm/ADT/Optional.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
@@ -1968,15 +1966,12 @@ bool readConfigFile(StringRef CfgFileName, StringSaver &Saver,
/// \param [in] RelativeNames true if names of nested response files must be
/// resolved relative to including file.
/// \param [in] FS File system used for all file access when running the tool.
-/// \param [in] CurrentDir Path used to resolve relative rsp files. If set to
-/// None, process' cwd is used instead.
/// \return true if all @files were expanded successfully or there were none.
bool ExpandResponseFiles(
StringSaver &Saver, TokenizerCallback Tokenizer,
SmallVectorImpl<const char *> &Argv, bool MarkEOLs = false,
bool RelativeNames = false,
- llvm::vfs::FileSystem &FS = *llvm::vfs::getRealFileSystem(),
- llvm::Optional<llvm::StringRef> CurrentDir = llvm::None);
+ llvm::vfs::FileSystem &FS = *llvm::vfs::getRealFileSystem());
/// Mark all options not part of this category as cl::ReallyHidden.
///
OpenPOWER on IntegriCloud