]> granicus.if.org Git - clang/commit
Make alloc_size only applicable to Functions.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 22 Dec 2016 18:48:34 +0000 (18:48 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 22 Dec 2016 18:48:34 +0000 (18:48 +0000)
commit7fb5200a9c78e833f889166f8d2d92cc96aeb607
treeb5d28bf8e7e47c40475d79267f1937022c8ab655
parent3906da9a67fcde6e85c14239f7bacd8aaa0e332e
Make alloc_size only applicable to Functions.

I don't remember why I didn't make alloc_size only applicable to
Functions a year ago, but I can't see any compelling reason not to do
so now.

Fixes PR31453.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290353 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
test/Sema/alloc-size.c