diff options
author | Manman Ren <manman.ren@gmail.com> | 2016-04-09 18:59:48 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2016-04-09 18:59:48 +0000 |
commit | 0d00141250371c64952514f999dae973e8a75863 (patch) | |
tree | affa211ac529ec9207a8837cd58589f95f64123a /test/FixIt | |
parent | 4808627b9e90b626564a715b4c1180030c23d720 (diff) |
ObjC kindof: check the context when inserting methods to global pool.
To make kindof lookup work, we need to insert methods with different
context into the global pool, even though they have the same siganture.
Since diagnosis of availability is performed on the best candidate,
which is often the first candidate from the global pool, we prioritize
the methods that are unavaible or deprecated to the head of the list.
Since we now have more methods in the global pool, we need to watch
out for performance impact.
rdar://25635831
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FixIt')
-rw-r--r-- | test/FixIt/typo.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FixIt/typo.m b/test/FixIt/typo.m index 381233f95c..143d026b2b 100644 --- a/test/FixIt/typo.m +++ b/test/FixIt/typo.m @@ -103,7 +103,7 @@ void test2(Collide *a) { @end @interface Sub : Super -- (int)method; +- (int)method; // expected-note{{also found}} @end @implementation Sub |