commit | d6b4b10a3950d41cf4422c7fa4a6c5efccaf543a | [log] [tgz] |
---|---|---|
author | Reid Kleckner <rnk@google.com> | Wed Apr 19 17:28:52 2017 +0000 |
committer | Reid Kleckner <rnk@google.com> | Wed Apr 19 17:28:52 2017 +0000 |
tree | aef835c8c801382d5fd3250ec1f5a76025d676bf | |
parent | 8ccdc594587ff374c3726a30a4ce0c29033971e1 [diff] |
Prefer addAttr(Attribute::AttrKind) over the AttributeList overload This should simplify the call sites, which typically want to tweak one attribute at a time. It should also avoid creating ephemeral AttributeLists that live forever. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300718 91177308-0d34-0410-b5e6-96231b3b80d8