LLDB  mainline
CommandOptionValidators.h
Go to the documentation of this file.
1 //===-- CommandOptionValidators.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_COMMANDOPTIONVALIDATORS_H
10 #define LLDB_INTERPRETER_COMMANDOPTIONVALIDATORS_H
11 
13 
14 namespace lldb_private {
15 
16 class Platform;
17 class ExecutionContext;
18 
20  bool IsValid(Platform &platform,
21  const ExecutionContext &target) const override;
22  const char *ShortConditionString() const override;
23  const char *LongConditionString() const override;
24 };
25 
26 } // namespace lldb_private
27 
28 #endif // LLDB_INTERPRETER_COMMANDOPTIONVALIDATORS_H
lldb_private::ExecutionContext
Definition: ExecutionContext.h:292
lldb-private-types.h
lldb_private::PosixPlatformCommandOptionValidator::IsValid
bool IsValid(Platform &platform, const ExecutionContext &target) const override
Definition: CommandOptionValidators.cpp:17
lldb_private::PosixPlatformCommandOptionValidator::LongConditionString
const char * LongConditionString() const override
Definition: CommandOptionValidators.cpp:34
lldb_private::PosixPlatformCommandOptionValidator::ShortConditionString
const char * ShortConditionString() const override
Definition: CommandOptionValidators.cpp:30
lldb_private::PosixPlatformCommandOptionValidator
Definition: CommandOptionValidators.h:19
lldb_private::Platform
Definition: Platform.h:71
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
OptionValidator