[PATCH] D55212: Handle alloc_size attribute on function pointers
Alexander Richardson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 3 08:07:22 PST 2018
arichardson updated this revision to Diff 176413.
arichardson added a comment.
- address review comments
- add test that we can assign between function pointers with and without alloc_size attribute.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55212/new/
https://reviews.llvm.org/D55212
Files:
include/clang/Basic/Attr.td
lib/AST/ExprConstant.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/alloc-size-fnptr.c
test/CodeGen/alloc-size.c
test/Sema/alloc-size.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55212.176413.patch
Type: text/x-patch
Size: 17163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181203/be937721/attachment-0001.bin>
More information about the cfe-commits
mailing list