[PATCH] D129504: [libclang][ObjC] Inherit availability attribute from containing decls or interface decls
Ben Langmuir via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 11 15:34:48 PDT 2022
benlangmuir added inline comments.
================
Comment at: clang/tools/libclang/CIndex.cpp:8271
+ else if (auto *IMD = dyn_cast<ObjCCategoryImplDecl>(D))
+ CD = IMD->getCategoryDecl();
+ else if (auto *ID = dyn_cast<ObjCInterfaceDecl>(DC))
----------------
So this goes Impl -> Class, and CategoryImpl -> Category. Should it also do Category -> Class?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129504/new/
https://reviews.llvm.org/D129504
More information about the cfe-commits
mailing list