1 //===-- CommandOptionValidators.h -------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef liblldb_CommandOptionValidators_h_
10 #define liblldb_CommandOptionValidators_h_
12 #include "lldb/lldb-private-types.h"
14 namespace lldb_private {
17 class ExecutionContext;
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;
26 } // namespace lldb_private
28 #endif // liblldb_CommandOptionValidators_h_