]> granicus.if.org Git - clang/commit
In debugger mode, make ObjC message sends to unknown selectors return
authorJohn McCall <rjmccall@apple.com>
Wed, 13 Jul 2011 17:56:40 +0000 (17:56 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 13 Jul 2011 17:56:40 +0000 (17:56 +0000)
commit48218c60d6b53b7880917d1366ee716dec2145ca
tree47b3a24c4ac357c2a13cfb0fdf5e3f6449fc73ad
parent8beb6a2426b5a6b79ecf019316d9fbd30755e087
In debugger mode, make ObjC message sends to unknown selectors return
__unknown_anytype, and rewrite such message sends correctly.

I had to bite the bullet and actually add a debugger support mode for this
one, which is a bit unfortunate, but there really isn't anything else
I could imagine doing;  this is clearly just debugger-specific behavior.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135051 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.h
include/clang/Driver/CC1Options.td
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
test/SemaObjC/debugger-support.m [new file with mode: 0644]