[PATCH] D12922: Add support for function attribute "notail"

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 2 16:30:34 PST 2015


ahatanak updated this revision to Diff 39003.
ahatanak added a comment.

Added test case that produces an error diagnostic if an argument is passed for not_tail_called.


http://reviews.llvm.org/D12922

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/CodeGen/CGCall.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGen/attr-no-tail.c
  test/CodeGenCXX/attr-notail.cpp
  test/Sema/attr-notail.c
  test/SemaCXX/attr-notail.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12922.39003.patch
Type: text/x-patch
Size: 8845 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151103/4920bdb5/attachment-0001.bin>


More information about the cfe-commits mailing list