diff options
author | Michael Wu <mwu.code@gmail.com> | 2018-11-12 02:44:33 +0000 |
---|---|---|
committer | Michael Wu <mwu.code@gmail.com> | 2018-11-12 02:44:33 +0000 |
commit | 260e962402973093380843a11a7f9172b666af09 (patch) | |
tree | 18997164c0f3f742116c259013ccc01fef601ed0 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 8b48ceac801d5970f7ed9ea75236735c77dcb3b8 (diff) | |
download | llvm-260e962402973093380843a11a7f9172b666af09.zip llvm-260e962402973093380843a11a7f9172b666af09.tar.gz llvm-260e962402973093380843a11a7f9172b666af09.tar.bz2 |
Support Swift in platform availability attribute
Summary: 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.
Reviewers: manmanren, friss, doug.gregor, arphaman, jfb, erik.pilkington, aaron.ballman
Reviewed By: aaron.ballman
Subscribers: aaron.ballman, ColinKinloch, jrmuizel, cfe-commits
Differential Revision: https://reviews.llvm.org/D50318
llvm-svn: 346633
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions