blob: d9256d89b7f7614fcaf7e7153ce6d64777a4b441 [file] [log] [blame]
Jakob Stoklund Olesen995e0e12012-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);
Richard Smith66e71682013-10-24 01:07:54 +000033void EmitClangAttrIdentifierArgList(RecordKeeper &Records, raw_ostream &OS);
Aaron Ballman4768b312013-11-04 12:55:56 +000034void EmitClangAttrTypeArgList(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000035void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS);
36void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS);
37void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS);
38void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS);
39void EmitClangAttrSpellingList(RecordKeeper &Records, raw_ostream &OS);
Michael Han99315932013-01-24 16:46:58 +000040void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS);
DeLesley Hutchinsc4a82432013-12-30 17:24:36 +000041void EmitClangAttrASTVisitor(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000042void EmitClangAttrLateParsedList(RecordKeeper &Records, raw_ostream &OS);
43void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS);
44void EmitClangAttrParsedAttrList(RecordKeeper &Records, raw_ostream &OS);
Aaron Ballman8ee40b72013-09-09 23:33:17 +000045void EmitClangAttrParsedAttrImpl(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000046void EmitClangAttrParsedAttrKinds(RecordKeeper &Records, raw_ostream &OS);
Alexander Kornienko5bc364e2013-01-07 17:53:08 +000047void EmitClangAttrDump(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000048
49void EmitClangDiagsDefs(RecordKeeper &Records, raw_ostream &OS,
50 const std::string &Component);
51void EmitClangDiagGroups(RecordKeeper &Records, raw_ostream &OS);
52void EmitClangDiagsIndexName(RecordKeeper &Records, raw_ostream &OS);
53
54void EmitClangSACheckers(RecordKeeper &Records, raw_ostream &OS);
55
Dmitri Gribenko3ca956f2012-08-31 02:21:44 +000056void EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS);
57void EmitClangCommentHTMLTagsProperties(RecordKeeper &Records, raw_ostream &OS);
Dmitri Gribenko28800da2013-01-30 14:29:28 +000058void EmitClangCommentHTMLNamedCharacterReferences(RecordKeeper &Records, raw_ostream &OS);
Dmitri Gribenko3ca956f2012-08-31 02:21:44 +000059
Dmitri Gribenko7acbf002012-09-10 20:32:42 +000060void EmitClangCommentCommandInfo(RecordKeeper &Records, raw_ostream &OS);
Dmitri Gribenko2e72dd42013-02-01 20:23:57 +000061void EmitClangCommentCommandList(RecordKeeper &Records, raw_ostream &OS);
Dmitri Gribenko7acbf002012-09-10 20:32:42 +000062
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000063void EmitNeon(RecordKeeper &Records, raw_ostream &OS);
64void EmitNeonSema(RecordKeeper &Records, raw_ostream &OS);
65void EmitNeonTest(RecordKeeper &Records, raw_ostream &OS);
66
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000067} // end namespace clang