[cfe-commits] r102588 - /cfe/trunk/lib/Lex/PPMacroExpansion.cpp
Ted Kremenek
kremenek at apple.com
Wed Apr 28 19:06:46 PDT 2010
Author: kremenek
Date: Wed Apr 28 21:06:46 2010
New Revision: 102588
URL: http://llvm.org/viewvc/llvm-project?rev=102588&view=rev
Log:
Add '__has_feature' support for weak ObjC classes.
Modified:
cfe/trunk/lib/Lex/PPMacroExpansion.cpp
Modified: cfe/trunk/lib/Lex/PPMacroExpansion.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPMacroExpansion.cpp?rev=102588&r1=102587&r2=102588&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PPMacroExpansion.cpp (original)
+++ cfe/trunk/lib/Lex/PPMacroExpansion.cpp Wed Apr 28 21:06:46 2010
@@ -504,6 +504,7 @@
.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)
More information about the cfe-commits
mailing list