]> granicus.if.org Git - clang/commit
Add a Subjects line to NoDebugAttr [NFC].
authorPaul Robinson <paul.robinson@sony.com>
Fri, 29 Apr 2016 17:03:34 +0000 (17:03 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Fri, 29 Apr 2016 17:03:34 +0000 (17:03 +0000)
commita5cff8c36dff54a6091470e418bd8097a7bf2d49
treea3c1bd3c988689238a1cc42732adafb3eedde595
parente77a677c97a0fe14b1968441b991d8e924974d85
Add a Subjects line to NoDebugAttr [NFC].

The 'nodebug' attribute had hand-coded constraints; replace those with
a Subjects line in Attr.td.
Also add a missing test to verify the attribute is okay on an
Objective-C method.

Differential Revision: http://reviews.llvm.org/D19689

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268065 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclAttr.cpp
test/Sema/attr-nodebug.c
test/SemaObjC/attr-nodebug.m [new file with mode: 0644]