Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:50

0001 //===-- OptionGroupVariable.h -----------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_INTERPRETER_OPTIONGROUPVARIABLE_H
0010 #define LLDB_INTERPRETER_OPTIONGROUPVARIABLE_H
0011 
0012 #include "lldb/Interpreter/OptionValueString.h"
0013 #include "lldb/Interpreter/Options.h"
0014 
0015 namespace lldb_private {
0016 
0017 // OptionGroupVariable
0018 
0019 class OptionGroupVariable : public OptionGroup {
0020 public:
0021   OptionGroupVariable(bool show_frame_options);
0022 
0023   ~OptionGroupVariable() override = default;
0024 
0025   llvm::ArrayRef<OptionDefinition> GetDefinitions() override;
0026 
0027   Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
0028                         ExecutionContext *execution_context) override;
0029 
0030   void OptionParsingStarting(ExecutionContext *execution_context) override;
0031 
0032   bool include_frame_options : 1,
0033       show_args : 1,    // Frame option only (include_frame_options == true)
0034       show_recognized_args : 1,  // Frame option only (include_frame_options ==
0035                                  // true)
0036       show_locals : 1,  // Frame option only (include_frame_options == true)
0037       show_globals : 1, // Frame option only (include_frame_options == true)
0038       use_regex : 1, show_scope : 1, show_decl : 1;
0039   OptionValueString summary;        // the name of a named summary
0040   OptionValueString summary_string; // a summary string
0041 
0042 private:
0043   OptionGroupVariable(const OptionGroupVariable &) = delete;
0044   const OptionGroupVariable &operator=(const OptionGroupVariable &) = delete;
0045 };
0046 
0047 } // namespace lldb_private
0048 
0049 #endif // LLDB_INTERPRETER_OPTIONGROUPVARIABLE_H