diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-14 06:39:53 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-14 06:39:53 +0000 |
commit | 5886b7bfc82385dfd35b7602304c86075e1d72e6 (patch) | |
tree | b818eb58d9335787f839a6e1757f5350185bb157 /lib/VMCore/Function.cpp | |
parent | a19a53065fcaa6fafce902efde38fcae7b0bdea4 (diff) | |
download | external_llvm-5886b7bfc82385dfd35b7602304c86075e1d72e6.zip external_llvm-5886b7bfc82385dfd35b7602304c86075e1d72e6.tar.gz external_llvm-5886b7bfc82385dfd35b7602304c86075e1d72e6.tar.bz2 |
Remove the bitwise NOT operator from the Attributes class. Replace it with the equivalent from the builder class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 5c2a03c..15e9f7c 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -255,7 +255,7 @@ void Function::addAttribute(unsigned i, Attributes attr) { void Function::removeAttribute(unsigned i, Attributes attr) { AttrListPtr PAL = getAttributes(); - PAL = PAL.removeAttr(i, attr); + PAL = PAL.removeAttr(getContext(), i, attr); setAttributes(PAL); } |