diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-02-01 22:32:30 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-02-01 22:32:30 +0000 |
| commit | 7a33f779b97c8eab1f69766053bf63d3cc1ea813 (patch) | |
| tree | 2fc4c287365a8c19634e39dd75fe5604418e1dff /llvm/include | |
| parent | f5fc08445f9f2f3ca4504efa3abc483b1fb35d5e (diff) | |
| download | bcm5719-llvm-7a33f779b97c8eab1f69766053bf63d3cc1ea813.tar.gz bcm5719-llvm-7a33f779b97c8eab1f69766053bf63d3cc1ea813.zip | |
Change the AttributeImpl to hold a single Constant* for the values.
This Constant could be an aggregate to represent multiple values.
llvm-svn: 174228
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/IR/Attributes.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h index 63fd4fb1edc..ad3f6273a58 100644 --- a/llvm/include/llvm/IR/Attributes.h +++ b/llvm/include/llvm/IR/Attributes.h @@ -128,11 +128,13 @@ public: /// \brief Return true if the attribute is present. bool hasAttribute(AttrKind Val) const; - /// \brief Return the kind of this attribute. + /// \brief Return the kind of this attribute: enum or string. Constant *getAttributeKind() const; - /// \brief Return the value (if present) of the non-target-specific attribute. - ArrayRef<Constant*> getAttributeValues() const; + /// \brief Return the values (if present) of the attribute. This may be a + /// ConstantVector to represent a list of values associated with the + /// attribute. + Constant *getAttributeValues() const; /// \brief Returns the alignment field of an attribute as a byte alignment /// value. |

