diff options
author | Ted Kremenek <kremenek@apple.com> | 2013-10-14 23:48:27 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2013-10-14 23:48:27 +0000 |
commit | b0cba4ce7570727d30510946b38588265a14efb1 (patch) | |
tree | 956dc5780c2294fed65cf2f3037b90c9c9b44a60 /clang | |
parent | 94fe74542b03a38f45908522fa716a62abfa3707 (diff) | |
download | bcm5719-llvm-b0cba4ce7570727d30510946b38588265a14efb1.tar.gz bcm5719-llvm-b0cba4ce7570727d30510946b38588265a14efb1.zip |
Add has_feature support for reflecting the presence of refined Objective-C ABI mangling for qualified id<...>. Fixes <rdar://problem/14799110>.
llvm-svn: 192643
Diffstat (limited to 'clang')
-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 2717846c58b..9c998eac2a5 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -897,6 +897,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { .Case("objc_modules", LangOpts.ObjC2 && LangOpts.Modules) .Case("objc_nonfragile_abi", LangOpts.ObjCRuntime.isNonFragile()) .Case("objc_property_explicit_atomic", true) // Does clang support explicit "atomic" keyword? + .Case("objc_protocol_qualifier_mangling", true) .Case("objc_weak_class", LangOpts.ObjCRuntime.hasWeakClassImport()) .Case("ownership_holds", true) .Case("ownership_returns", true) |