Remove mention of {ADD,SUB}_PARTS. They were removed in r26255.
[oota-llvm.git] / include / llvm / TableGen / Main.h
index deaef4a9908a5d24536bee979712856ae439f079..866b9868deb557a7a364d738a0fff7192993f8ce 100644 (file)
 
 namespace llvm {
 
-class TableGenAction;
-
-/// Run the table generator, performing the specified Action on parsed records.
-int TableGenMain(char *argv0, TableGenAction &Action);
+class RecordKeeper;
+class raw_ostream;
+/// \brief Perform the action using Records, and write output to OS.
+/// \returns true on error, false otherwise
+typedef bool TableGenMainFn(raw_ostream &OS, RecordKeeper &Records);
 
+int TableGenMain(char *argv0, TableGenMainFn *MainFn);
 }
 
 #endif