X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FClangDiagnosticsEmitter.h;h=edd062a73835b709c69060a8768be414cb585197;hb=8b8515c225c799e9df69bde8ffffa3c72cec9445;hp=93979708b0789f3a464a2f901ba20e724f8d6284;hpb=04a847e70616cba0208c654729736a9d8f4047ac;p=oota-llvm.git diff --git a/utils/TableGen/ClangDiagnosticsEmitter.h b/utils/TableGen/ClangDiagnosticsEmitter.h index 93979708b07..edd062a7383 100644 --- a/utils/TableGen/ClangDiagnosticsEmitter.h +++ b/utils/TableGen/ClangDiagnosticsEmitter.h @@ -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