Add '__has_feature' support for weak ObjC classes.
llvm-svn: 102588
This commit is contained in:
parent
6459939112
commit
e506ddc71e
|
@ -504,6 +504,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) {
|
|||
.Case("cxx_rtti", LangOpts.RTTI)
|
||||
.Case("cxx_static_assert", LangOpts.CPlusPlus0x)
|
||||
.Case("objc_nonfragile_abi", LangOpts.ObjCNonFragileABI)
|
||||
.Case("objc_weak_class", LangOpts.ObjCNonFragileABI)
|
||||
//.Case("cxx_concepts", false)
|
||||
//.Case("cxx_lambdas", false)
|
||||
//.Case("cxx_nullptr", false)
|
||||
|
|
Loading…
Reference in New Issue