xref: /freebsd/contrib/llvm-project/lldb/utils/TableGen/LLDBTableGenBackends.h (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
1 //===- LLDBTableGenBackends.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 // This file contains the declarations for all of the LLDB TableGen
10 // backends. A "TableGen backend" is just a function.
11 //
12 // See "$LLVM_ROOT/utils/TableGen/TableGenBackends.h" for more info.
13 //
14 //===----------------------------------------------------------------------===//
15 
16 #ifndef LLDB_UTILS_TABLEGEN_LLDBTABLEGENBACKENDS_H
17 #define LLDB_UTILS_TABLEGEN_LLDBTABLEGENBACKENDS_H
18 
19 #include "llvm/ADT/StringRef.h"
20 
21 namespace llvm {
22 class raw_ostream;
23 class RecordKeeper;
24 class Record;
25 } // namespace llvm
26 
27 using llvm::raw_ostream;
28 using llvm::RecordKeeper;
29 
30 namespace lldb_private {
31 
32 void EmitOptionDefs(RecordKeeper &RK, raw_ostream &OS);
33 void EmitPropertyDefs(RecordKeeper &RK, raw_ostream &OS);
34 void EmitPropertyEnumDefs(RecordKeeper &RK, raw_ostream &OS);
35 
36 } // namespace lldb_private
37 
38 #endif
39