diff options
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index f665db2a04..98be4a93fa 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -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)); } |