1//===- 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 EmitClangAttrIdentifierArgList(RecordKeeper &Records, raw_ostream &OS); 34void EmitClangAttrTypeArgList(RecordKeeper &Records, raw_ostream &OS); 35void 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); 40void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS); 41void EmitClangAttrLateParsedList(RecordKeeper &Records, raw_ostream &OS); 42void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS); 43void EmitClangAttrParsedAttrList(RecordKeeper &Records, raw_ostream &OS); 44void EmitClangAttrParsedAttrImpl(RecordKeeper &Records, raw_ostream &OS); 45void EmitClangAttrParsedAttrKinds(RecordKeeper &Records, raw_ostream &OS); 46void EmitClangAttrDump(RecordKeeper &Records, raw_ostream &OS); 47 48void EmitClangDiagsDefs(RecordKeeper &Records, raw_ostream &OS, 49 const std::string &Component); 50void EmitClangDiagGroups(RecordKeeper &Records, raw_ostream &OS); 51void EmitClangDiagsIndexName(RecordKeeper &Records, raw_ostream &OS); 52 53void EmitClangSACheckers(RecordKeeper &Records, raw_ostream &OS); 54 55void EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS); 56void EmitClangCommentHTMLTagsProperties(RecordKeeper &Records, raw_ostream &OS); 57void EmitClangCommentHTMLNamedCharacterReferences(RecordKeeper &Records, raw_ostream &OS); 58 59void EmitClangCommentCommandInfo(RecordKeeper &Records, raw_ostream &OS); 60void EmitClangCommentCommandList(RecordKeeper &Records, raw_ostream &OS); 61 62void EmitNeon(RecordKeeper &Records, raw_ostream &OS); 63void EmitNeonSema(RecordKeeper &Records, raw_ostream &OS); 64void EmitNeonTest(RecordKeeper &Records, raw_ostream &OS); 65 66} // end namespace clang 67