blob: 342c889ca47a651a7e4e25d8e75c4f8b7f25637e [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
Benjamin Kramer12152ab2014-08-08 13:24:19 +000016#ifndef LLVM_CLANG_UTILS_TABLEGEN_TABLEGENBACKENDS_H
17#define LLVM_CLANG_UTILS_TABLEGEN_TABLEGENBACKENDS_H
18
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000019#include <string>
20
21namespace llvm {
22 class raw_ostream;
23 class RecordKeeper;
24}
25
26using llvm::raw_ostream;
27using llvm::RecordKeeper;
28
29namespace clang {
30
31void EmitClangDeclContext(RecordKeeper &RK, raw_ostream &OS);
32void EmitClangASTNodes(RecordKeeper &RK, raw_ostream &OS,
33 const std::string &N, const std::string &S);
34
Aaron Ballman35db2b32014-01-29 22:13:45 +000035void EmitClangAttrParserStringSwitches(RecordKeeper &Records, raw_ostream &OS);
Alex Lorenz9e7bf162017-04-18 14:33:39 +000036void EmitClangAttrSubjectMatchRulesParserStringSwitches(RecordKeeper &Records,
37 raw_ostream &OS);
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000038void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS);
39void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS);
40void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS);
Alex Lorenz9e7bf162017-04-18 14:33:39 +000041void EmitClangAttrSubjectMatchRuleList(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000042void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS);
43void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS);
Aaron Ballman2fbf9942014-03-31 13:14:44 +000044void EmitClangAttrHasAttrImpl(RecordKeeper &Records, raw_ostream &OS);
Michael Han99315932013-01-24 16:46:58 +000045void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS);
DeLesley Hutchinsc4a82432013-12-30 17:24:36 +000046void EmitClangAttrASTVisitor(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000047void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS);
48void EmitClangAttrParsedAttrList(RecordKeeper &Records, raw_ostream &OS);
Aaron Ballman8ee40b72013-09-09 23:33:17 +000049void EmitClangAttrParsedAttrImpl(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000050void EmitClangAttrParsedAttrKinds(RecordKeeper &Records, raw_ostream &OS);
Alexander Kornienko5bc364e2013-01-07 17:53:08 +000051void EmitClangAttrDump(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000052
53void EmitClangDiagsDefs(RecordKeeper &Records, raw_ostream &OS,
54 const std::string &Component);
55void EmitClangDiagGroups(RecordKeeper &Records, raw_ostream &OS);
56void EmitClangDiagsIndexName(RecordKeeper &Records, raw_ostream &OS);
57
58void EmitClangSACheckers(RecordKeeper &Records, raw_ostream &OS);
59
Dmitri Gribenko3ca956f2012-08-31 02:21:44 +000060void EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS);
61void EmitClangCommentHTMLTagsProperties(RecordKeeper &Records, raw_ostream &OS);
Dmitri Gribenko28800da2013-01-30 14:29:28 +000062void EmitClangCommentHTMLNamedCharacterReferences(RecordKeeper &Records, raw_ostream &OS);
Dmitri Gribenko3ca956f2012-08-31 02:21:44 +000063
Dmitri Gribenko7acbf002012-09-10 20:32:42 +000064void EmitClangCommentCommandInfo(RecordKeeper &Records, raw_ostream &OS);
Dmitri Gribenko2e72dd42013-02-01 20:23:57 +000065void EmitClangCommentCommandList(RecordKeeper &Records, raw_ostream &OS);
Dmitri Gribenko7acbf002012-09-10 20:32:42 +000066
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000067void EmitNeon(RecordKeeper &Records, raw_ostream &OS);
68void EmitNeonSema(RecordKeeper &Records, raw_ostream &OS);
69void EmitNeonTest(RecordKeeper &Records, raw_ostream &OS);
James Molloydee4ab02014-06-17 13:11:27 +000070void EmitNeon2(RecordKeeper &Records, raw_ostream &OS);
71void EmitNeonSema2(RecordKeeper &Records, raw_ostream &OS);
72void EmitNeonTest2(RecordKeeper &Records, raw_ostream &OS);
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000073
Aaron Ballman97dba042014-02-17 15:27:10 +000074void EmitClangAttrDocs(RecordKeeper &Records, raw_ostream &OS);
Richard Smithb6a3b4b2016-09-12 05:58:29 +000075void EmitClangDiagDocs(RecordKeeper &Records, raw_ostream &OS);
Richard Smith081ad4d2017-01-24 19:39:46 +000076void EmitClangOptDocs(RecordKeeper &Records, raw_ostream &OS);
Aaron Ballman97dba042014-02-17 15:27:10 +000077
Johannes Altmanninger1509da02017-09-06 13:20:51 +000078void EmitClangDataCollectors(RecordKeeper &Records, raw_ostream &OS);
79
Alex Lorenz9e7bf162017-04-18 14:33:39 +000080void EmitTestPragmaAttributeSupportedAttributes(RecordKeeper &Records,
81 raw_ostream &OS);
82
Jakob Stoklund Olesen995e0e12012-06-13 05:12:41 +000083} // end namespace clang
Benjamin Kramer12152ab2014-08-08 13:24:19 +000084
85#endif