[all-commits] [llvm/llvm-project] 20d704: [objc_direct] also go through implementations when...
Pierre Habouzit via All-commits
all-commits at lists.llvm.org
Mon Mar 23 20:49:31 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 20d704a75ed51c7a9a155aa3978d0c02671c3f69
https://github.com/llvm/llvm-project/commit/20d704a75ed51c7a9a155aa3978d0c02671c3f69
Author: Pierre Habouzit <phabouzit at apple.com>
Date: 2020-03-23 (Mon, 23 Mar 2020)
Changed paths:
M clang/lib/Sema/SemaDeclObjC.cpp
M clang/test/SemaObjC/method-direct-one-definition.m
M clang/test/SemaObjC/method-direct.m
Log Message:
-----------
[objc_direct] also go through implementations when looking for clashes
Some methods are sometimes declared in the @implementation blocks which
can cause undiagnosed clashes.
Just write a checkObjCDirectMethodClashes() for this purpose.
Also make sure that "unavailable" selectors do not inherit
objc_direct_members.
Differential Revision: https://reviews.llvm.org/D76643
Signed-off-by: Pierre Habouzit <phabouzit at apple.com>
Radar-ID: rdar://problem/59332804, rdar://problem/59782963
More information about the All-commits
mailing list