1 | //===-- OptionValueArgs.h --------------------------------------*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef LLDB_INTERPRETER_OPTIONVALUEARGS_H |
10 | #define LLDB_INTERPRETER_OPTIONVALUEARGS_H |
11 | |
12 | #include "lldb/Interpreter/OptionValueArray.h" |
13 | |
14 | namespace lldb_private { |
15 | |
16 | class OptionValueArgs : public Cloneable<OptionValueArgs, OptionValueArray> { |
17 | public: |
18 | OptionValueArgs() |
19 | : Cloneable(OptionValue::ConvertTypeToMask(type: OptionValue::eTypeString)) {} |
20 | |
21 | ~OptionValueArgs() override = default; |
22 | |
23 | size_t GetArgs(Args &args) const; |
24 | |
25 | Type GetType() const override { return eTypeArgs; } |
26 | }; |
27 | |
28 | } // namespace lldb_private |
29 | |
30 | #endif // LLDB_INTERPRETER_OPTIONVALUEARGS_H |
31 | |