[PATCH] D14274: Add alloc_size attribute to clang
George Burgess IV via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 21 17:18:10 PST 2016
george.burgess.iv updated this revision to Diff 45622.
george.burgess.iv added a comment.
- Rebased
- Removed bits that were already upstreamed as part of http://reviews.llvm.org/D14877
- Added support for LLVM's `allocsize` attribute (under review at http://reviews.llvm.org/D14933 )
http://reviews.llvm.org/D14274
Files:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/ExprConstant.cpp
lib/CodeGen/CGCall.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/alloc-size.c
test/CodeGenCXX/global-init.cpp
test/Sema/alloc-size.c
test/SemaCXX/constant-expression-cxx11.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14274.45622.patch
Type: text/x-patch
Size: 59482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160122/8ad8dd68/attachment-0001.bin>
More information about the cfe-commits
mailing list