blob: 3338f3954f801e951214d34f4d1e111855db0140 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//===- TableGenBackends.h - Declarations for Flang TableGen Backends ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the declarations for all of the Flang TableGen
// backends. A "TableGen backend" is just a function. See
// "$LLVM_ROOT/utils/TableGen/TableGenBackends.h" for more info.
//
//===----------------------------------------------------------------------===//
#include <string>
namespace llvm {
class raw_ostream;
class RecordKeeper;
}
using llvm::raw_ostream;
using llvm::RecordKeeper;
namespace flang {
void EmitFlangDeclContext(RecordKeeper &RK, raw_ostream &OS);
void EmitFlangASTNodes(RecordKeeper &RK, raw_ostream &OS,
const std::string &N, const std::string &S);
void EmitFlangDiagsDefs(RecordKeeper &Records, raw_ostream &OS,
const std::string &Component);
void EmitFlangDiagGroups(RecordKeeper &Records, raw_ostream &OS);
void EmitFlangDiagsIndexName(RecordKeeper &Records, raw_ostream &OS);
} // end namespace flang
|