From: Chris Lattner Date: Wed, 6 Aug 2003 23:00:31 +0000 (+0000) Subject: Add accessor X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6514a326cf94ab6f11eab80cebf13544a343b55f;p=oota-llvm.git Add accessor git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7655 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/support/tools/TableGen/Record.h b/support/tools/TableGen/Record.h index 8b37dba44b0..ab485553c0c 100644 --- a/support/tools/TableGen/Record.h +++ b/support/tools/TableGen/Record.h @@ -601,6 +601,7 @@ public: } Record *getNodeType() const { return NodeTypeDef; } + const std::vector getArgs() const { return Args; } virtual void print(std::ostream &OS) const; }; diff --git a/utils/TableGen/Record.h b/utils/TableGen/Record.h index 8b37dba44b0..ab485553c0c 100644 --- a/utils/TableGen/Record.h +++ b/utils/TableGen/Record.h @@ -601,6 +601,7 @@ public: } Record *getNodeType() const { return NodeTypeDef; } + const std::vector getArgs() const { return Args; } virtual void print(std::ostream &OS) const; };