summaryrefslogtreecommitdiff
path: root/include/llvm/IR/Attributes.h
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
commitc3662eeaa4a1a4061fc6d5c81e3eed48c5d9da26 (patch)
treed87473c453f2f2c88b3abbde2e55630f6cbab116 /include/llvm/IR/Attributes.h
parent212af6af024ca358ed109c7b1c3a6b1fd30fd71b (diff)
downloadllvm-c3662eeaa4a1a4061fc6d5c81e3eed48c5d9da26.tar.gz
llvm-c3662eeaa4a1a4061fc6d5c81e3eed48c5d9da26.tar.bz2
llvm-c3662eeaa4a1a4061fc6d5c81e3eed48c5d9da26.tar.xz
Improve comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR/Attributes.h')
-rw-r--r--include/llvm/IR/Attributes.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h
index e73be5db22..4aee10fab3 100644
--- a/include/llvm/IR/Attributes.h
+++ b/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 {