OLD | NEW |
1 //===- ClangAttrEmitter.h - Generate Clang attribute handling =-*- C++ -*--===// | 1 //===- ClangAttrEmitter.h - Generate Clang attribute handling =-*- C++ -*--===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // These tablegen backends emit Clang attribute processing code | 10 // These tablegen backends emit Clang attribute processing code |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 RecordKeeper &Records; | 102 RecordKeeper &Records; |
103 | 103 |
104 public: | 104 public: |
105 explicit ClangAttrLateParsedListEmitter(RecordKeeper &R) | 105 explicit ClangAttrLateParsedListEmitter(RecordKeeper &R) |
106 : Records(R) | 106 : Records(R) |
107 {} | 107 {} |
108 | 108 |
109 void run(raw_ostream &OS); | 109 void run(raw_ostream &OS); |
110 }; | 110 }; |
111 | 111 |
| 112 /// ClangAttrTemplateInstantiateEmitter emits code to instantiate dependent |
| 113 /// attributes on templates. |
| 114 class ClangAttrTemplateInstantiateEmitter : public TableGenBackend { |
| 115 RecordKeeper &Records; |
| 116 |
| 117 public: |
| 118 explicit ClangAttrTemplateInstantiateEmitter(RecordKeeper &R) |
| 119 : Records(R) |
| 120 {} |
| 121 |
| 122 void run(raw_ostream &OS); |
| 123 }; |
| 124 |
112 } | 125 } |
113 | 126 |
114 #endif | 127 #endif |
OLD | NEW |