[PATCH] D50318: Support Swift in platform availability attribute
Michael Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 5 16:07:03 PDT 2018
michaelwu created this revision.
michaelwu added reviewers: manmanren, friss, doug.gregor.
This adds support for Swift platform availability attributes. It's largely a port of the changes made to https://github.com/apple/swift-clang/ for Swift availability attributes. Specifically, https://github.com/apple/swift-clang/commit/84b5a21c31cb5b0d7d958a478bc01964939b6952 and https://github.com/apple/swift-clang/commit/e5b87f265aede41c8381094bbf54e2715c8293b0 . The implementation of attribute_availability_swift is a little different and additional tests in test/Index/availability.c were added.
Repository:
rC Clang
https://reviews.llvm.org/D50318
Files:
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/Features.def
lib/Parse/ParseDecl.cpp
lib/Sema/SemaDeclAttr.cpp
test/Index/availability.c
test/Sema/attr-availability-swift.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50318.159235.patch
Type: text/x-patch
Size: 6425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180805/1ec00fb3/attachment.bin>
More information about the cfe-commits
mailing list