diff options
author | Chris Lattner <sabre@nondot.org> | 2010-12-13 00:23:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-12-13 00:23:57 +0000 |
commit | 67db883487fca3472fdde51e931657e22d4d0495 (patch) | |
tree | 18ad5bbf8c061c1ed7c732a4af1f864fe7206700 /utils/TableGen/ClangASTNodesEmitter.h | |
parent | 9d6250f52ba4ba0a34d44aa2cc9d3fa14c15a006 (diff) | |
download | llvm-67db883487fca3472fdde51e931657e22d4d0495.tar.gz llvm-67db883487fca3472fdde51e931657e22d4d0495.tar.bz2 llvm-67db883487fca3472fdde51e931657e22d4d0495.tar.xz |
eliminate the Records global variable, patch by Garrison Venn!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/ClangASTNodesEmitter.h')
-rw-r--r-- | utils/TableGen/ClangASTNodesEmitter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/ClangASTNodesEmitter.h b/utils/TableGen/ClangASTNodesEmitter.h index abf9c9a0f1..712333bd2d 100644 --- a/utils/TableGen/ClangASTNodesEmitter.h +++ b/utils/TableGen/ClangASTNodesEmitter.h @@ -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 |