]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/include/lldb/Interpreter/CommandOptionValidators.h
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / include / lldb / Interpreter / CommandOptionValidators.h
1 //===-- CommandOptionValidators.h -------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef liblldb_CommandOptionValidators_h_
11 #define liblldb_CommandOptionValidators_h_
12
13 #include "lldb/lldb-private-types.h"
14
15 namespace lldb_private {
16
17 class Platform;
18 class ExecutionContext;
19
20 class PosixPlatformCommandOptionValidator : public OptionValidator {
21   bool IsValid(Platform &platform,
22                const ExecutionContext &target) const override;
23   const char *ShortConditionString() const override;
24   const char *LongConditionString() const override;
25 };
26
27 } // namespace lldb_private
28
29 #endif // liblldb_CommandOptionValidators_h_