From: Ted Kremenek Date: Mon, 14 Oct 2013 23:48:27 +0000 (+0000) Subject: Add has_feature support for reflecting the presence of refined Objective-C ABI mangli... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89ca1fb13849f6e12dddc1ee562c5cd21ed9dd7a;p=clang Add has_feature support for reflecting the presence of refined Objective-C ABI mangling for qualified id<...>. Fixes . git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192643 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Lex/PPMacroExpansion.cpp b/lib/Lex/PPMacroExpansion.cpp index 2717846c58..9c998eac2a 100644 --- a/lib/Lex/PPMacroExpansion.cpp +++ b/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)