diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:58 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:58 +0000 | 
| commit | b76161e41bc2c07cd47f9c61f875d1be95e26d10 (patch) | |
| tree | d03c19ce10dec6419f97df1d4dac9d47eb88982f /source/Interpreter/OptionGroupBoolean.cpp | |
| parent | 8b4000f13b303cc154136abc74c55670673e2a96 (diff) | |
Notes
Diffstat (limited to 'source/Interpreter/OptionGroupBoolean.cpp')
| -rw-r--r-- | source/Interpreter/OptionGroupBoolean.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/source/Interpreter/OptionGroupBoolean.cpp b/source/Interpreter/OptionGroupBoolean.cpp index 4956b83c8f7a..5fd4ce7aecfa 100644 --- a/source/Interpreter/OptionGroupBoolean.cpp +++ b/source/Interpreter/OptionGroupBoolean.cpp @@ -40,10 +40,10 @@ OptionGroupBoolean::OptionGroupBoolean(uint32_t usage_mask, bool required,  OptionGroupBoolean::~OptionGroupBoolean() {} -Error OptionGroupBoolean::SetOptionValue(uint32_t option_idx, -                                         llvm::StringRef option_value, -                                         ExecutionContext *execution_context) { -  Error error; +Status OptionGroupBoolean::SetOptionValue(uint32_t option_idx, +                                          llvm::StringRef option_value, +                                          ExecutionContext *execution_context) { +  Status error;    if (m_option_definition.option_has_arg == OptionParser::eNoArgument) {      // Not argument, toggle the default value and mark the option as having been      // set  | 
