commit | 49f6060f16aec4024d644a6ec4ddd3de9b3e8821 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Mon Jan 28 05:23:28 2013 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Mon Jan 28 05:23:28 2013 +0000 |
tree | 9eb437c836037b61b3c006bee17f556e2131518b | |
parent | 53ff78b2019e96e142986d19dd99f8dd563dc494 [diff] |
Rewrite the addAttr() method. This now uses the AttributeSet object instead of the Attribute / AttributeWithIndex objects. It's fairly simple now. It goes through all of the subsets before the one we're modifying, adds them to the new set. It then adds the modified subset. And then adds the rest of the subsets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173659 91177308-0d34-0410-b5e6-96231b3b80d8