[PATCH] D55212: Handle alloc_size attribute on function pointers

Alexander Richardson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 6 12:46:03 PST 2018


arichardson updated this revision to Diff 177027.
arichardson added a comment.

Add a C++ test for alloc_size


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
  test/SemaCXX/alloc-size.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55212.177027.patch
Type: text/x-patch
Size: 19323 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181206/5a36d1a6/attachment-0001.bin>


More information about the cfe-commits mailing list