Improve comment.
authorBill Wendling <isanbard@gmail.com>
Wed, 6 Feb 2013 20:05:44 +0000 (20:05 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 6 Feb 2013 20:05:44 +0000 (20:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174536 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Attributes.h

index e73be5db22fddbf6cfc14362a40aef84cce1de98..4aee10fab3d13c4d41ac835076dafad8e094dc8f 100644 (file)
@@ -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 {