[llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h
Reid Spencer
reid at x10sys.com
Sun Apr 8 15:06:02 PDT 2007
Changes in directory llvm/include/llvm:
ParameterAttributes.h updated: 1.1 -> 1.2
---
Log message:
Implement review feedback.
---
Diffs of the changes: (+4 -5)
ParameterAttributes.h | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
Index: llvm/include/llvm/ParameterAttributes.h
diff -u llvm/include/llvm/ParameterAttributes.h:1.1 llvm/include/llvm/ParameterAttributes.h:1.2
--- llvm/include/llvm/ParameterAttributes.h:1.1 Sun Apr 8 09:46:50 2007
+++ llvm/include/llvm/ParameterAttributes.h Sun Apr 8 17:05:44 2007
@@ -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 @@
/// @{
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
More information about the llvm-commits
mailing list