summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-06 20:05:44 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-06 20:05:44 +0000
commit8911b8640059817c1d73f9f981d4d00c124d5d42 (patch)
tree02d7150542a94c4727884ffd27df7b0fc6bbb6bd
parent2b853bf65f677341c0d6786546adf9eae1ce9121 (diff)
downloadbcm5719-llvm-8911b8640059817c1d73f9f981d4d00c124d5d42.tar.gz
bcm5719-llvm-8911b8640059817c1d73f9f981d4d00c124d5d42.zip
Improve comment.
llvm-svn: 174536
-rw-r--r--llvm/include/llvm/IR/Attributes.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h
index e73be5db22f..4aee10fab3d 100644
--- a/llvm/include/llvm/IR/Attributes.h
+++ b/llvm/include/llvm/IR/Attributes.h
@@ -185,8 +185,12 @@ public:
//===----------------------------------------------------------------------===//
/// \class
-/// \brief This class manages the ref count for the opaque AttributeSetImpl
-/// object and provides accessors for it.
+/// \brief This class holds the attributes for a function, its return value, and
+/// its parameters. You access the attributes for each of them via an index into
+/// the AttributeSet object. The function attributes are at index
+/// `AttributeSet::FunctionIndex', the return value is at index
+/// `AttributeSet::ReturnIndex', and the attributes for the parameters start at
+/// index `1'.
class AttributeSet {
public:
enum AttrIndex {
OpenPOWER on IntegriCloud