[PATCH] D39913: [ObjC] warn about availability attributes missing from a method's declaration when they're specified for a method's definition

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 14 16:49:54 PST 2017


arphaman updated this revision to Diff 122949.
arphaman added a comment.

Remove C++ support for now (it will be in a followup patch along with non-member function support).


Repository:
  rL LLVM

https://reviews.llvm.org/D39913

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/Sema.h
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/SemaObjC/method-attributes.m
  test/SemaObjC/unguarded-availability.m
  test/SemaObjC/warn-missing-method-decl-availability.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39913.122949.patch
Type: text/x-patch
Size: 12522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171115/51bce0c4/attachment.bin>


More information about the cfe-commits mailing list