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 | 85a64c217f5fec92934ad3a12c5c8ebcc8f1fd9f (patch) | |
| tree | b3996b19ecb4274aa9fc764b58c5a782261bf8f5 /llvm/lib/VMCore/Function.cpp | |
| parent | 1fcc82225aef98314da4939f9c2c22f3a0af754c (diff) | |
| download | bcm5719-llvm-85a64c217f5fec92934ad3a12c5c8ebcc8f1fd9f.tar.gz bcm5719-llvm-85a64c217f5fec92934ad3a12c5c8ebcc8f1fd9f.zip | |
Remove the bitwise NOT operator from the Attributes class. Replace it with the equivalent from the builder class.
llvm-svn: 165892
Diffstat (limited to 'llvm/lib/VMCore/Function.cpp')
| -rw-r--r-- | llvm/lib/VMCore/Function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Function.cpp b/llvm/lib/VMCore/Function.cpp index 5c2a03ce091..15e9f7cfdcd 100644 --- a/llvm/lib/VMCore/Function.cpp +++ b/llvm/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); } |

