[PATCH] D29599: Clang Changes for alloc_align

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 29 13:29:47 PDT 2017


erichkeane updated this revision to Diff 93404.
erichkeane added a comment.

Made the changes as requested.  checkFunctionOrMethodParameterIndex corrects for 1->0 index and implicit this, which requires undoing, otherwise templates create a big hassle.  Additionally, please note the AttrDocs changes, I think I've got it acceptable but would love a second english-smith.


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
  lib/Sema/SemaTemplateInstantiateDecl.cpp
  test/CodeGen/alloc-align-attr.c
  test/Sema/alloc-align-attr.c
  test/SemaCXX/alloc-align-attr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29599.93404.patch
Type: text/x-patch
Size: 23028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170329/8bcb702e/attachment-0001.bin>


More information about the cfe-commits mailing list