ARM VDUPLNfq and VDUPLNfd definitions can just be Pat<>s for VDUPLN32q
[oota-llvm.git] / utils / TableGen / ClangDiagnosticsEmitter.h
index 93979708b0789f3a464a2f901ba20e724f8d6284..edd062a73835b709c69060a8768be414cb585197 100644 (file)
@@ -23,13 +23,24 @@ namespace llvm {
 ///
 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