diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-06 23:01:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-06 23:01:18 +0000 |
commit | eac56ac0da8afc0648e6eed28f59ce18eceb79d4 (patch) | |
tree | 5def7fb636f4477ef77e5ecdf26982fc9848bde6 | |
parent | 6514a326cf94ab6f11eab80cebf13544a343b55f (diff) |
Ick, add the RIGHT accessor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7656 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | support/tools/TableGen/Record.h | 2 | ||||
-rw-r--r-- | utils/TableGen/Record.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/support/tools/TableGen/Record.h b/support/tools/TableGen/Record.h index ab485553c0..b26e13ec8c 100644 --- a/support/tools/TableGen/Record.h +++ b/support/tools/TableGen/Record.h @@ -601,7 +601,7 @@ public: } Record *getNodeType() const { return NodeTypeDef; } - const std::vector<Init*> getArgs() const { return Args; } + const std::vector<Init*> &getArgs() const { return Args; } virtual void print(std::ostream &OS) const; }; diff --git a/utils/TableGen/Record.h b/utils/TableGen/Record.h index ab485553c0..b26e13ec8c 100644 --- a/utils/TableGen/Record.h +++ b/utils/TableGen/Record.h @@ -601,7 +601,7 @@ public: } Record *getNodeType() const { return NodeTypeDef; } - const std::vector<Init*> getArgs() const { return Args; } + const std::vector<Init*> &getArgs() const { return Args; } virtual void print(std::ostream &OS) const; }; |