#include <string>
#include <iosfwd>
+class Record;
+class RecordKeeper;
struct TableGenBackend {
+ virtual ~TableGenBackend() {}
// run - All TableGen backends should implement the run method, which should
// be the main entry point.
public: // Useful helper routines...
+ /// EmitSourceFileHeader - Output a LLVM style file header to the specified
+ /// ostream.
void EmitSourceFileHeader(const std::string &Desc, std::ostream &OS) const;
+ /// getQualifiedName - Return the name of the specified record, with a
+ /// namespace qualifier if the record contains one.
+ std::string getQualifiedName(Record *R) const;
};
#endif