[llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h

Chris Lattner sabre at nondot.org
Thu May 3 20:13:59 PDT 2007



Changes in directory llvm/include/llvm:

ParameterAttributes.h updated: 1.11 -> 1.12
---
Log message:

add a helper


---
Diffs of the changes:  (+4 -0)

 ParameterAttributes.h |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/include/llvm/ParameterAttributes.h
diff -u llvm/include/llvm/ParameterAttributes.h:1.11 llvm/include/llvm/ParameterAttributes.h:1.12
--- llvm/include/llvm/ParameterAttributes.h:1.11	Sun Apr 22 12:28:03 2007
+++ llvm/include/llvm/ParameterAttributes.h	Thu May  3 22:13:39 2007
@@ -161,6 +161,10 @@
       return attrs[attr_index].index;
     }
 
+    uint16_t getParamAttrsAtIndex(unsigned attr_index) const {
+      return attrs[attr_index].attrs;
+    }
+    
     /// Determines how many parameter attributes are set in this ParamAttrsList.
     /// This says nothing about how many parameters the function has. It also
     /// says nothing about the highest parameter index that has attributes. 






More information about the llvm-commits mailing list