aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/ConvertUTF.c
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-04-14 15:11:46 +0000
committerSteve Naroff <snaroff@apple.com>2009-04-14 15:11:46 +0000
commitd824c9c281c163ba86f3cc10c5572120234a2454 (patch)
tree8b25a0947a1edc24f4914f4faaceab176d73c803 /lib/Basic/ConvertUTF.c
parent7c65e990e9f0dafaf9adbc59b766dcc23eaee845 (diff)
ASTContext::mergeTypes(): Loosen up the type checking for 'Class' (treating it like 'id').
This fixes <rdar://problem/6782722> XCDataTipsManager.m registers, observes notifications in class methods. The radar above is the result of clang typing 'self' in a class method as 'Class', which results in some spurious warnings (GCC types 'self' in a class method as 'id'). I considered changing the type of 'self' to 'id' (to conform to GCC), however this resulted in *many* test cases breaking. In addition, I really prefer a more strongly typed 'self'. All in all, this is the least obtrusive fix I could find for removing the spurious warnings (though we do loose some valid warnings). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/ConvertUTF.c')
0 files changed, 0 insertions, 0 deletions