[llvm] r174536 - Improve comment.

Bill Wendling isanbard at gmail.com
Wed Feb 6 12:05:44 PST 2013


Author: void
Date: Wed Feb  6 14:05:44 2013
New Revision: 174536

URL: http://llvm.org/viewvc/llvm-project?rev=174536&view=rev
Log:
Improve comment.

Modified:
    llvm/trunk/include/llvm/IR/Attributes.h

Modified: llvm/trunk/include/llvm/IR/Attributes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Attributes.h?rev=174536&r1=174535&r2=174536&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Attributes.h (original)
+++ llvm/trunk/include/llvm/IR/Attributes.h Wed Feb  6 14:05:44 2013
@@ -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 {





More information about the llvm-commits mailing list