commit | 979aff6399a79d155e98bbbe064f4a183a237f23 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Sun Dec 30 02:22:16 2012 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Sun Dec 30 02:22:16 2012 +0000 |
tree | f56d4513e8f4f7f01799355c129b696891290ebd | |
parent | a51edf0986567bd81e261950f75a72b7462b2274 [diff] |
Add a few more c'tors: * One that accepts a single Attribute::AttrKind. * One that accepts an Attribute::AttrKind plus a list of values. This is for attributes defined like this: #1 = attributes { align = 4 } * One that accepts a string, for target-specific attributes like this: #2 = attributes { "cpu=cortex-a8" } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171249 91177308-0d34-0410-b5e6-96231b3b80d8