]> granicus.if.org Git - clang/commit
Migrate the target attribute parsing code into an extension off of
authorEric Christopher <echristo@gmail.com>
Wed, 2 Sep 2015 00:12:02 +0000 (00:12 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 2 Sep 2015 00:12:02 +0000 (00:12 +0000)
commita4acaa149d4e0fa2ac810da9a658e822a895a19f
tree076b0f7cbd2ae5c042e30bf00bd0ac6a8d755cb3
parentc10233869cba73c43b3db81e2aaecbb40866396d
Migrate the target attribute parsing code into an extension off of
the main attribute and cache the results so we don't have to parse
a single attribute more than once.

This reapplies r246596 with a fix for an uninitialized class member,
and a couple of cleanups and formatting changes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246610 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
lib/CodeGen/CGCall.cpp