summaryrefslogtreecommitdiffstats
path: root/lldb/include/lldb/Interpreter/Args.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/include/lldb/Interpreter/Args.h')
-rw-r--r--lldb/include/lldb/Interpreter/Args.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/lldb/include/lldb/Interpreter/Args.h b/lldb/include/lldb/Interpreter/Args.h
index f161e2b87a2..6570ca13133 100644
--- a/lldb/include/lldb/Interpreter/Args.h
+++ b/lldb/include/lldb/Interpreter/Args.h
@@ -451,17 +451,6 @@ public:
LongestCommonPrefix (std::string &common_prefix);
//------------------------------------------------------------------
- /// Add or replace an environment variable with the given value.
- ///
- /// This command adds the environment variable if it is not already
- /// present using the given value. If the environment variable is
- /// already in the list, it replaces the first such occurrence
- /// with the new value.
- //------------------------------------------------------------------
- void
- AddOrReplaceEnvironmentVariable(const char *env_var_name,
- const char *new_value);
-
/// Return whether a given environment variable exists.
///
/// This command treats Args like a list of environment variables,
@@ -471,18 +460,12 @@ public:
/// @param[in] env_var_name
/// Specifies the name of the environment variable to check.
///
- /// @param[out] argument_index
- /// If non-null, then when the environment variable is found,
- /// the index of the argument position will be returned in
- /// the size_t pointed to by this argument.
- ///
/// @return
/// true if the specified env var name exists in the list in
/// either of the above-mentioned formats; otherwise, false.
//------------------------------------------------------------------
bool
- ContainsEnvironmentVariable(const char *env_var_name,
- size_t *argument_index = nullptr) const;
+ ContainsEnvironmentVariable(const char *env_var_name) const;
protected:
//------------------------------------------------------------------
OpenPOWER on IntegriCloud