///
class ClangDiagsDefsEmitter : public TableGenBackend {
RecordKeeper &Records;
+ const std::string& Component;
public:
- explicit ClangDiagsDefsEmitter(RecordKeeper &R) : Records(R) {}
+ explicit ClangDiagsDefsEmitter(RecordKeeper &R, const std::string& component)
+ : Records(R), Component(component) {}
// run - Output the .def file contents
- void run(std::ostream &OS);
+ void run(raw_ostream &OS);
};
+class ClangDiagGroupsEmitter : public TableGenBackend {
+ RecordKeeper &Records;
+public:
+ explicit ClangDiagGroupsEmitter(RecordKeeper &R) : Records(R) {}
+
+ void run(raw_ostream &OS);
+};
+
+
} // End llvm namespace
#endif