diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-22 00:37:52 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-22 00:37:52 +0000 |
commit | 629fb82419d9bfff6ae475363bcce66192dfcc8e (patch) | |
tree | 8ec184d15af2c37f00ead25dd271cdef536e0e22 /include/llvm/Function.h | |
parent | 9679a04da65b33037abac50a54884bb9b7b73698 (diff) |
Change 'AttrVal' to 'AttrKind' to better reflect that it's a kind of attribute instead of the value of the attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170972 91177308-0d34-0410-b5e6-96231b3b80d8
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)); } |