]> granicus.if.org Git - clang/commitdiff
Add has_feature support for reflecting the presence of refined Objective-C ABI mangli...
authorTed Kremenek <kremenek@apple.com>
Mon, 14 Oct 2013 23:48:27 +0000 (23:48 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 14 Oct 2013 23:48:27 +0000 (23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192643 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/PPMacroExpansion.cpp

index 2717846c58b87808961346c3a5e3e86961773248..9c998eac2a572f73b1e6411800343bd192fd4d99 100644 (file)
@@ -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)