summaryrefslogtreecommitdiffstats
path: root/clang/utils/TableGen/ClangAttrEmitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/utils/TableGen/ClangAttrEmitter.h')
-rw-r--r--clang/utils/TableGen/ClangAttrEmitter.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/clang/utils/TableGen/ClangAttrEmitter.h b/clang/utils/TableGen/ClangAttrEmitter.h
index 91ec754346a..d119a094c17 100644
--- a/clang/utils/TableGen/ClangAttrEmitter.h
+++ b/clang/utils/TableGen/ClangAttrEmitter.h
@@ -122,6 +122,32 @@ class ClangAttrTemplateInstantiateEmitter : public TableGenBackend {
void run(raw_ostream &OS);
};
+/// ClangAttrParsedAttrListEmitter emits the list of parsed attributes
+/// for clang.
+class ClangAttrParsedAttrListEmitter : public TableGenBackend {
+ RecordKeeper &Records;
+
+public:
+ explicit ClangAttrParsedAttrListEmitter(RecordKeeper &R)
+ : Records(R)
+ {}
+
+ void run(raw_ostream &OS);
+};
+
+/// ClangAttrParsedAttrKindsEmitter emits the kind list of parsed attributes
+/// for clang.
+class ClangAttrParsedAttrKindsEmitter : public TableGenBackend {
+ RecordKeeper &Records;
+
+public:
+ explicit ClangAttrParsedAttrKindsEmitter(RecordKeeper &R)
+ : Records(R)
+ {}
+
+ void run(raw_ostream &OS);
+};
+
}
#endif
OpenPOWER on IntegriCloud