[PATCH] D28451: [AVR] Add support for the 'interrupt' and 'naked' attributes

Dylan McKay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 5 13:25:13 PST 2017


dylanmckay updated this revision to Diff 87164.
dylanmckay marked 2 inline comments as done.
dylanmckay added a comment.

Verify that no arguments are given to the attributes

Also adds a bunch of tests.


https://reviews.llvm.org/D28451

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  lib/CodeGen/TargetInfo.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGen/avr/attributes/interrupt-no-args.c
  test/CodeGen/avr/attributes/interrupt.c
  test/CodeGen/avr/attributes/interrupt.m
  test/CodeGen/avr/attributes/signal-no-args.c
  test/CodeGen/avr/attributes/signal.c
  test/CodeGen/avr/attributes/signal.m
  test/Sema/avr-interrupt-attr.c
  test/Sema/avr-signal-attr.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28451.87164.patch
Type: text/x-patch
Size: 9195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170205/8ca2997c/attachment.bin>


More information about the cfe-commits mailing list