1 //===- TableGenBackends.h - Declarations for Clang TableGen Backends ------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
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.
14 //===----------------------------------------------------------------------===//
23 using llvm::raw_ostream;
24 using llvm::RecordKeeper;
28 void EmitClangDeclContext(RecordKeeper &RK, raw_ostream &OS);
29 void EmitClangASTNodes(RecordKeeper &RK, raw_ostream &OS,
30 const std::string &N, const std::string &S);
32 void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS);
33 void EmitClangAttrExprArgsList(RecordKeeper &Records, raw_ostream &OS);
34 void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS);
35 void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS);
36 void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS);
37 void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS);
38 void EmitClangAttrSpellingList(RecordKeeper &Records, raw_ostream &OS);
39 void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS);
40 void EmitClangAttrLateParsedList(RecordKeeper &Records, raw_ostream &OS);
41 void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS);
42 void EmitClangAttrParsedAttrList(RecordKeeper &Records, raw_ostream &OS);
43 void EmitClangAttrParsedAttrKinds(RecordKeeper &Records, raw_ostream &OS);
44 void EmitClangAttrDump(RecordKeeper &Records, raw_ostream &OS);
46 void EmitClangDiagsDefs(RecordKeeper &Records, raw_ostream &OS,
47 const std::string &Component);
48 void EmitClangDiagGroups(RecordKeeper &Records, raw_ostream &OS);
49 void EmitClangDiagsIndexName(RecordKeeper &Records, raw_ostream &OS);
51 void EmitClangSACheckers(RecordKeeper &Records, raw_ostream &OS);
53 void EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS);
54 void EmitClangCommentHTMLTagsProperties(RecordKeeper &Records, raw_ostream &OS);
55 void EmitClangCommentHTMLNamedCharacterReferences(RecordKeeper &Records, raw_ostream &OS);
57 void EmitClangCommentCommandInfo(RecordKeeper &Records, raw_ostream &OS);
58 void EmitClangCommentCommandList(RecordKeeper &Records, raw_ostream &OS);
60 void EmitNeon(RecordKeeper &Records, raw_ostream &OS);
61 void EmitNeonSema(RecordKeeper &Records, raw_ostream &OS);
62 void EmitNeonTest(RecordKeeper &Records, raw_ostream &OS);
64 void EmitOptParser(RecordKeeper &Records, raw_ostream &OS, bool GenDefs);
66 } // end namespace clang