xref: /NextBSD/contrib/llvm/tools/lldb/include/lldb/lldb-private-forward.h (revision 84d351007654069f9643c8e4b4802a7f5f08ee42)
1 //===-- lldb-private-forward.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 LLDB_lldb_private_forward_h_
11 #define LLDB_lldb_private_forward_h_
12 
13 #if defined(__cplusplus)
14 
15 #include <memory>
16 
17 namespace lldb_private
18 {
19     // ---------------------------------------------------------------
20     // Class forward decls.
21     // ---------------------------------------------------------------
22     class NativeBreakpoint;
23     class NativeBreakpointList;
24     class NativeProcessProtocol;
25     class NativeRegisterContext;
26     class NativeThreadProtocol;
27     class UnixSignals;
28 
29     // ---------------------------------------------------------------
30     // SP/WP decls.
31     // ---------------------------------------------------------------
32     typedef std::shared_ptr<NativeBreakpoint> NativeBreakpointSP;
33     typedef std::shared_ptr<lldb_private::NativeProcessProtocol> NativeProcessProtocolSP;
34     typedef std::weak_ptr<lldb_private::NativeProcessProtocol> NativeProcessProtocolWP;
35     typedef std::shared_ptr<lldb_private::NativeRegisterContext> NativeRegisterContextSP;
36     typedef std::shared_ptr<lldb_private::NativeThreadProtocol> NativeThreadProtocolSP;
37 }
38 
39 #endif // #if defined(__cplusplus)
40 #endif // #ifndef LLDB_lldb_private_forward_h_
41