[PATCH] D75574: RFC: Implement objc_direct_protocol attribute to remove protocol metadata
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 7 12:28:18 PST 2020
rjmccall added a comment.
I'm fine with people developing a proposal for this openly, but it needs to be said that language changes cannot just be made in open-source; they have to go through the official language review process, which for Objective-C is an internal committee within Apple.
The summary calls this `objc_direct_protocol`, but it's `objc_static_protocol` in the patch. I agree that "direct" isn't a great name for this. `static` is complicated, because while we use "static" vs. "dynamic" this way when we're talking *about* languages, I'm not sure any of the umpteen language uses of `static` ever use it in exactly this way, and it's possibly quite confusing to add one. Throwing out other names here: `objc_non_runtime_protocol`? `objc_compiler_only_protocol`?
The technical content of the patch seems fine.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75574/new/
https://reviews.llvm.org/D75574
More information about the cfe-commits
mailing list