]> granicus.if.org Git - clang/commit
Introduce ObjCRuntime::hasWeakClassImport() and use it in the appropriate
authorJohn McCall <rjmccall@apple.com>
Wed, 20 Jun 2012 21:58:02 +0000 (21:58 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 20 Jun 2012 21:58:02 +0000 (21:58 +0000)
commit0b92fcb1353d2d8b31b6c485e6caa14568aca43b
tree3026711a737a0db3164592f467792fbb4a4aea01
parenta6366f5c7e92466ebad0042afa55c2e5952ebe61
Introduce ObjCRuntime::hasWeakClassImport() and use it in the appropriate
places.  I've turned this off for the GNU runtimes --- I don't know if
they support weak class import, but it's easy enough for them to opt in.

Also tweak a comment per review by Jordan.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158860 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/ObjCRuntime.h
lib/AST/DeclBase.cpp
lib/Basic/ObjCRuntime.cpp
lib/Lex/PPMacroExpansion.cpp