Change 'AttrVal' to 'AttrKind' to better reflect that it's a kind of attribute instea...
[oota-llvm.git] / include / llvm / Function.h
index f665db2a042d8deb9dbc4e54b15031fa279ae2e4..98be4a93fa51f3c30a1edce48bc38498af031dd6 100644 (file)
@@ -176,7 +176,7 @@ public:
 
   /// addFnAttr - Add function attributes to this function.
   ///
-  void addFnAttr(Attribute::AttrVal N) {
+  void addFnAttr(Attribute::AttrKind N) {
     // Function Attribute are stored at ~0 index
     addAttribute(AttributeSet::FunctionIndex, Attribute::get(getContext(), N));
   }