mirror of
https://github.com/intel/llvm.git
synced 2026-02-04 11:38:04 +08:00
Add '__has_feature' support for weak ObjC classes.
llvm-svn: 102588
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user