Skip to content

Support private member field access in inline_cpp! via template friend loophole - #1727

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_961884616
Open

Support private member field access in inline_cpp! via template friend loophole#1727
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_961884616

Conversation

@copybara-service

Copy link
Copy Markdown

Support private member field access in inline_cpp! via template friend loophole

Generate template friend loophole accessors and explicit template instantiations for private and protected member fields.
Rewrite AST member field accesses in extracted C++ member methods to access private fields via loophole get_member_ptr calls.

…d loophole

Generate template friend loophole accessors and explicit template instantiations for private and protected member fields.
Rewrite AST member field accesses in extracted C++ member methods to access private fields via loophole get_member_ptr calls.

PiperOrigin-RevId: 961884616
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant