Add '__has_feature' support for weak ObjC classes.

llvm-svn: 102588
This commit is contained in:
Ted Kremenek 2010-04-29 02:06:46 +00:00
parent 6459939112
commit e506ddc71e
1 changed files with 1 additions and 0 deletions

View File

@ -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)