From 8911b8640059817c1d73f9f981d4d00c124d5d42 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 6 Feb 2013 20:05:44 +0000 Subject: [PATCH] Improve comment. llvm-svn: 174536 --- llvm/include/llvm/IR/Attributes.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h index e73be5d..4aee10f 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 { -- 2.7.4