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
Showing
- include/clang/Basic/Attr.td 2 additions, 0 deletionsinclude/clang/Basic/Attr.td
- include/clang/Basic/DiagnosticSemaKinds.td 0 additions, 3 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- lib/Sema/SemaDeclAttr.cpp 0 additions, 12 deletionslib/Sema/SemaDeclAttr.cpp
- test/Sema/attr-nodebug.c 1 addition, 1 deletiontest/Sema/attr-nodebug.c
- test/SemaObjC/attr-nodebug.m 5 additions, 0 deletionstest/SemaObjC/attr-nodebug.m
Loading
Please register or sign in to comment