diff options
author | Bob Wilson <bob.wilson@apple.com> | 2015-03-02 19:01:14 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2015-03-02 19:01:14 +0000 |
commit | b111ec94b3474c4eff15b19a74cd815cdb469aaa (patch) | |
tree | b08c0df24e8e846e1e0a2d7f6a7ec618fd64087e /clang/lib/Lex/PPMacroExpansion.cpp | |
parent | a57d588cb7109c45b63a46ef6598f03745486f98 (diff) | |
download | bcm5719-llvm-b111ec94b3474c4eff15b19a74cd815cdb469aaa.tar.gz bcm5719-llvm-b111ec94b3474c4eff15b19a74cd815cdb469aaa.zip |
Add clang support for Objective-C application extensions.
This adds the -fapplication-extension option, along with the
ios_app_extension and macosx_app_extension availability attributes.
Patch by Ted Kremenek
llvm-svn: 230989
Diffstat (limited to 'clang/lib/Lex/PPMacroExpansion.cpp')
-rw-r--r-- | clang/lib/Lex/PPMacroExpansion.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp index b986ada05a9..80ec3c45ce6 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -868,6 +868,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { .Case("attribute_analyzer_noreturn", true) .Case("attribute_availability", true) .Case("attribute_availability_with_message", true) + .Case("attribute_availability_app_extension", true) .Case("attribute_cf_returns_not_retained", true) .Case("attribute_cf_returns_retained", true) .Case("attribute_deprecated_with_message", true) |