Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 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 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 9 | #ifndef LLDB_INTERPRETER_COMMANDOPTIONVALIDATORS_H |
| 10 | #define LLDB_INTERPRETER_COMMANDOPTIONVALIDATORS_H |
Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 11 | |
| 12 | #include "lldb/lldb-private-types.h" |
| 13 | |
| 14 | namespace lldb_private { |
| 15 | |
| 16 | class Platform; |
| 17 | class ExecutionContext; |
| 18 | |
| 19 | class PosixPlatformCommandOptionValidator : public OptionValidator { |
| 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 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 28 | #endif // LLDB_INTERPRETER_COMMANDOPTIONVALIDATORS_H |