1 //===- ClangAttrEmitter.h - Generate Clang attribute handling =-*- C++ -*--===//
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 // These tablegen backends emit Clang attribute processing code
12 //===----------------------------------------------------------------------===//
14 #ifndef CLANGATTR_EMITTER_H
15 #define CLANGATTR_EMITTER_H
17 #include "TableGenBackend.h"
21 /// ClangAttrClassEmitter - class emits the class defintions for attributes for
23 class ClangAttrClassEmitter : public TableGenBackend {
24 RecordKeeper &Records;
27 explicit ClangAttrClassEmitter(RecordKeeper &R)
31 void run(raw_ostream &OS);
34 /// ClangAttrListEmitter - class emits the enumeration list for attributes for
36 class ClangAttrListEmitter : public TableGenBackend {
37 RecordKeeper &Records;
40 explicit ClangAttrListEmitter(RecordKeeper &R)
44 void run(raw_ostream &OS);