[PATCH] D129504: [libclang][ObjC] Inherit availability attribute from containing decls or interface decls
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 11 10:53:00 PDT 2022
ahatanak created this revision.
ahatanak added reviewers: arphaman, benlangmuir.
ahatanak added a project: clang.
Herald added a project: All.
ahatanak requested review of this revision.
This patch teaches `getCursorPlatformAvailabilityForDecl` to look for availability attributes on the containing decls or interface decls if the current decl doesn't have any availability attributes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129504
Files:
clang/test/Index/availability.mm
clang/tools/libclang/CIndex.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129504.443691.patch
Type: text/x-patch
Size: 4406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220711/c5f734cc/attachment-0001.bin>
More information about the cfe-commits
mailing list