Implement review feedback.
authorReid Spencer <rspencer@reidspencer.com>
Sun, 8 Apr 2007 22:05:44 +0000 (22:05 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 8 Apr 2007 22:05:44 +0000 (22:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35777 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ParameterAttributes.h

index 226438c92f935438e2a9d0c3dab7404ac8f85bce..7ef2c42c2459b29b9f93b2fb43104e663c35a588 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef LLVM_PARAMETER_ATTRIBUTES_H
 #define LLVM_PARAMETER_ATTRIBUTES_H
 
-#include <llvm/ADT/SmallVector.h>
+#include "llvm/ADT/SmallVector.h"
 
 namespace llvm {
 
@@ -121,11 +121,10 @@ class ParamAttrsList {
   /// @{
   public:
     /// This adds a pair to the list of parameter index and attribute pairs 
-    /// represented by this class. No check is made to determine whether 
-    /// param_index exists already. This pair is just added to the end. It is
-    /// the user's responsibility to insert the pairs wisely.
+    /// represented by this class. If the parameter index already exists then
+    /// its attributes are overwritten. Otherwise it is added to the list.
     /// @brief Insert ParameterAttributes for an index
-    void insert(uint16_t param_index, uint16_t attrs);
+    void setAttributes(uint16_t param_index, uint16_t attrs);
 
   /// @}
   /// @name Data