OptionValueArgs.h 927 B

123456789101112131415161718192021222324252627282930
  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. #ifndef LLDB_INTERPRETER_OPTIONVALUEARGS_H
  9. #define LLDB_INTERPRETER_OPTIONVALUEARGS_H
  10. #include "lldb/Interpreter/OptionValueArray.h"
  11. namespace lldb_private {
  12. class OptionValueArgs : public Cloneable<OptionValueArgs, OptionValueArray> {
  13. public:
  14. OptionValueArgs()
  15. : Cloneable(OptionValue::ConvertTypeToMask(OptionValue::eTypeString)) {}
  16. ~OptionValueArgs() override = default;
  17. size_t GetArgs(Args &args) const;
  18. Type GetType() const override { return eTypeArgs; }
  19. };
  20. } // namespace lldb_private
  21. #endif // LLDB_INTERPRETER_OPTIONVALUEARGS_H