summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/IR/Attributes.h8
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.
OpenPOWER on IntegriCloud