[PATCH] D29599: Clang Changes for alloc_align
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 6 11:33:39 PST 2017
erichkeane created this revision.
GCC has the alloc_align attribute, which is similar to assume_aligned, except the attribute's parameter is the index of the integer parameter that needs aligning to.
https://reviews.llvm.org/D29599
Files:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Sema/Sema.h
lib/CodeGen/CGCall.cpp
lib/CodeGen/CodeGenFunction.h
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/alloc-align-attr.c
test/Sema/alloc-align-attr.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29599.87272.patch
Type: text/x-patch
Size: 11315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170206/23dbe04b/attachment-0001.bin>
More information about the cfe-commits
mailing list