Add accessor
authorChris Lattner <sabre@nondot.org>
Wed, 6 Aug 2003 23:00:31 +0000 (23:00 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 6 Aug 2003 23:00:31 +0000 (23:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7655 91177308-0d34-0410-b5e6-96231b3b80d8

support/tools/TableGen/Record.h
utils/TableGen/Record.h

index 8b37dba44b0266b948176303bd2d8b2cecc3fc4a..ab485553c0c1c38e3a3dd343fa6d0cd6e0edb8be 100644 (file)
@@ -601,6 +601,7 @@ public:
   }
 
   Record *getNodeType() const { return NodeTypeDef; }
+  const std::vector<Init*> getArgs() const { return Args; }
 
   virtual void print(std::ostream &OS) const;
 };
index 8b37dba44b0266b948176303bd2d8b2cecc3fc4a..ab485553c0c1c38e3a3dd343fa6d0cd6e0edb8be 100644 (file)
@@ -601,6 +601,7 @@ public:
   }
 
   Record *getNodeType() const { return NodeTypeDef; }
+  const std::vector<Init*> getArgs() const { return Args; }
 
   virtual void print(std::ostream &OS) const;
 };