]> granicus.if.org Git - clang/commit
[ObjC] Add some additional test cases around pointer conversions.
authorJames Y Knight <jyknight@google.com>
Thu, 17 Oct 2019 15:18:59 +0000 (15:18 +0000)
committerJames Y Knight <jyknight@google.com>
Thu, 17 Oct 2019 15:18:59 +0000 (15:18 +0000)
commitb15c08d32c072399e59c388bbf6a814831a0bb92
tree917787c626c190a290b67cbf3b33ce5c16236ca1
parent7883b59067a8867685fd67641e515416348fc683
[ObjC] Add some additional test cases around pointer conversions.

This is especially important for Objective-C++, which is entirely
missing this testing at the moment.

This annotates with "FIXME" the cases which I change in the next
patch -- I primarily wanted to document the current state of things so
that the effect of the code change is made clear.

Differential Revision: https://reviews.llvm.org/D67982

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375124 91177308-0d34-0410-b5e6-96231b3b80d8
test/SemaObjC/class-method-self.m
test/SemaObjC/comptypes-1.m
test/SemaObjC/comptypes-7.m
test/SemaObjCXX/class-method-self.mm [new file with mode: 0644]
test/SemaObjCXX/comptypes-1.mm [new file with mode: 0644]
test/SemaObjCXX/comptypes-7.mm [new file with mode: 0644]
test/SemaObjCXX/instancetype.mm