Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1015)

Side by Side Diff: utils/TableGen/ClangAttrEmitter.h

Issue 5556059: Template instantiation of dependent attributes II
Patch Set: Created 13 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b