/Users/buildslave/jenkins/workspace/coverage/llvm-project/lldb/include/lldb/Interpreter/OptionGroupUUID.h
Line | Count | Source |
1 | | //===-- OptionGroupUUID.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_OPTIONGROUPUUID_H |
10 | | #define LLDB_INTERPRETER_OPTIONGROUPUUID_H |
11 | | |
12 | | #include "lldb/Interpreter/OptionValueUUID.h" |
13 | | #include "lldb/Interpreter/Options.h" |
14 | | |
15 | | namespace lldb_private { |
16 | | |
17 | | // OptionGroupUUID |
18 | | |
19 | | class OptionGroupUUID : public OptionGroup { |
20 | | public: |
21 | 18.2k | OptionGroupUUID() = default; |
22 | | |
23 | 18.2k | ~OptionGroupUUID() override = default; |
24 | | |
25 | | llvm::ArrayRef<OptionDefinition> GetDefinitions() override; |
26 | | |
27 | | Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, |
28 | | ExecutionContext *execution_context) override; |
29 | | |
30 | | void OptionParsingStarting(ExecutionContext *execution_context) override; |
31 | | |
32 | 38 | const OptionValueUUID &GetOptionValue() const { return m_uuid; } |
33 | | |
34 | | protected: |
35 | | OptionValueUUID m_uuid; |
36 | | }; |
37 | | |
38 | | } // namespace lldb_private |
39 | | |
40 | | #endif // LLDB_INTERPRETER_OPTIONGROUPUUID_H |