blob: 3bc4c906c005be887194358e03c200192e6361c5 [file] [log] [blame]
Jakob Stoklund Olesen3cc509b2012-06-13 05:12:41 +00001//===- TableGenBackends.h - Declarations for Clang TableGen Backends ------===//
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// This file contains the declarations for all of the Clang TableGen
11// backends. A "TableGen backend" is just a function. See
12// "$LLVM_ROOT/utils/TableGen/TableGenBackends.h" for more info.
13//
14//===----------------------------------------------------------------------===//
15
16#include <string>
17
18namespace llvm {
19 class raw_ostream;
20 class RecordKeeper;
21}
22
23using llvm::raw_ostream;
24using llvm::RecordKeeper;
25
26namespace clang {
27
28void EmitClangDeclContext(RecordKeeper &RK, raw_ostream &OS);
29void EmitClangASTNodes(RecordKeeper &RK, raw_ostream &OS,
30 const std::string &N, const std::string &S);
31
32void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS);
33void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS);
34void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS);
35void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS);
36void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS);
37void EmitClangAttrSpellingList(RecordKeeper &Records, raw_ostream &OS);
Michael Han51d8c522013-01-24 16:46:58 +000038void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen3cc509b2012-06-13 05:12:41 +000039void EmitClangAttrLateParsedList(RecordKeeper &Records, raw_ostream &OS);
40void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS);
41void EmitClangAttrParsedAttrList(RecordKeeper &Records, raw_ostream &OS);
42void EmitClangAttrParsedAttrKinds(RecordKeeper &Records, raw_ostream &OS);
Alexander Kornienkoc3cd2b02013-01-07 17:53:08 +000043void EmitClangAttrDump(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen3cc509b2012-06-13 05:12:41 +000044
45void EmitClangDiagsDefs(RecordKeeper &Records, raw_ostream &OS,
46 const std::string &Component);
47void EmitClangDiagGroups(RecordKeeper &Records, raw_ostream &OS);
48void EmitClangDiagsIndexName(RecordKeeper &Records, raw_ostream &OS);
49
50void EmitClangSACheckers(RecordKeeper &Records, raw_ostream &OS);
51
Dmitri Gribenkoc24a76e2012-08-31 02:21:44 +000052void EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS);
53void EmitClangCommentHTMLTagsProperties(RecordKeeper &Records, raw_ostream &OS);
Dmitri Gribenko5bd1e5b2013-01-30 14:29:28 +000054void EmitClangCommentHTMLNamedCharacterReferences(RecordKeeper &Records, raw_ostream &OS);
Dmitri Gribenkoc24a76e2012-08-31 02:21:44 +000055
Dmitri Gribenkoe4330a32012-09-10 20:32:42 +000056void EmitClangCommentCommandInfo(RecordKeeper &Records, raw_ostream &OS);
57
Jakob Stoklund Olesen3cc509b2012-06-13 05:12:41 +000058void EmitNeon(RecordKeeper &Records, raw_ostream &OS);
59void EmitNeonSema(RecordKeeper &Records, raw_ostream &OS);
60void EmitNeonTest(RecordKeeper &Records, raw_ostream &OS);
61
62void EmitOptParser(RecordKeeper &Records, raw_ostream &OS, bool GenDefs);
63
64} // end namespace clang