Introduce the DwarfRegAlias class for declaring that two registers have the
[oota-llvm.git] / utils / TableGen / ClangASTNodesEmitter.h
index 55d9a1c58b7871ca9d7412eb7ade8b8beecb486f..712333bd2d251216b83712681e801b89853da917 100644 (file)
@@ -22,7 +22,7 @@
 
 namespace llvm {
 
-/// ClangStmtNodesEmitter - The top-level class emits .inc files containing
+/// ClangASTNodesEmitter - The top-level class emits .inc files containing
 ///  declarations of Clang statements.
 ///
 class ClangASTNodesEmitter : public TableGenBackend {
@@ -57,7 +57,7 @@ class ClangASTNodesEmitter : public TableGenBackend {
 public:
   explicit ClangASTNodesEmitter(RecordKeeper &R, const std::string &N,
                                 const std::string &S)
-    : Records(R), Root(N, SMLoc()), BaseSuffix(S)
+    : Records(R), Root(N, SMLoc(), R), BaseSuffix(S)
     {}
 
   // run - Output the .inc file contents