summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-06 23:01:18 +0000
committerChris Lattner <sabre@nondot.org>2003-08-06 23:01:18 +0000
commiteac56ac0da8afc0648e6eed28f59ce18eceb79d4 (patch)
tree5def7fb636f4477ef77e5ecdf26982fc9848bde6 /utils
parent6514a326cf94ab6f11eab80cebf13544a343b55f (diff)
downloadllvm-eac56ac0da8afc0648e6eed28f59ce18eceb79d4.tar.gz
llvm-eac56ac0da8afc0648e6eed28f59ce18eceb79d4.tar.bz2
llvm-eac56ac0da8afc0648e6eed28f59ce18eceb79d4.tar.xz
Ick, add the RIGHT accessor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/Record.h2
1 files changed, 1 insertions, 1 deletions
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;
};