Skip to content

Add support for custom DropImpl in CRUBIT_OWNED_POINTEE and refactor IR.#860

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_894250803
Open

Add support for custom DropImpl in CRUBIT_OWNED_POINTEE and refactor IR.#860
copybara-service[bot] wants to merge 1 commit intomainfrom
test_894250803

Conversation

@copybara-service
Copy link
Copy Markdown

Add support for custom DropImpl in CRUBIT_OWNED_POINTEE and refactor IR.

  • Support an optional second argument in CRUBIT_OWNED_POINTEE to specify
    a custom DropImpl method name.
  • Refactor Crubit IR to group owned_ptr_type and drop_impl into a single
    OwnedPtrConfig struct.
  • Apply default value of "DropImpl" at annotation parsing time.
  • Add GetAnnotationWithStringArgs helper in common/annotation_reader.h
    and use it in cxx_record.cc.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Apr 18, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service Bot force-pushed the test_894250803 branch 5 times, most recently from 9b11ce1 to 980df82 Compare April 24, 2026 21:34
- Support an optional second argument in CRUBIT_OWNED_POINTEE to specify
  a custom DropImpl method name.
- Refactor Crubit IR to group owned_ptr_type and drop_impl into a single
  OwnedPtrConfig struct.
- Apply default value of "DropImpl" at annotation parsing time.
- Add GetAnnotationWithStringArgs helper in common/annotation_reader.h
  and use it in cxx_record.cc.

PiperOrigin-RevId: 894250803
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.

0 participants