aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/assign-operator.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2012-11-14 00:49:39 +0000
committerJohn McCall <rjmccall@apple.com>2012-11-14 00:49:39 +0000
commitb8a8de316dade43fff95d7bfd2cfaa367f53faea (patch)
tree02130eaaab39c367c94060eee05d5287299ff97f /test/CodeGenCXX/assign-operator.cpp
parent6f0b00a2e286adc813beb0a55ce3ffcda10cce77 (diff)
Accept and pass arguments to __unknown_anytype in argument
positions of Objective-C methods. It is possible to recover a lot of type information about Objective-C methods from the reflective metadata for their implementations. This information is not rich when it comes to struct types, however, and it is not possible to produce a type in the debugger's round-tripped AST which will really do anything useful during type-checking. Therefore we allow __unknown_anytype in these positions, which essentially disables type-checking for that argument. We infer the parameter type to be the unqualified type of the argument expression unless that expression is an explicit cast, in which case it becomes the type-as-written of that cast. rdar://problem/12565338 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/assign-operator.cpp')
0 files changed, 0 insertions, 0 deletions