Skip to content

Add ABSL_ATTRIBUTE_LIFETIME_BOUND to Safe-bindings wrapper APIs.#39

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_943266395
Jul 7, 2026
Merged

Add ABSL_ATTRIBUTE_LIFETIME_BOUND to Safe-bindings wrapper APIs.#39
copybara-service[bot] merged 1 commit into
mainfrom
test_943266395

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jul 6, 2026

Copy link
Copy Markdown

Add ABSL_ATTRIBUTE_LIFETIME_BOUND to Safe-bindings wrapper APIs.

Annotate methods returning non-owning views (NodeView, string_view,
Span) with ABSL_ATTRIBUTE_LIFETIME_BOUND to enable Clang -Wdangling
warnings for use-after-free patterns.

@google-cla

google-cla Bot commented Jul 6, 2026

Copy link
Copy Markdown

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_943266395 branch 2 times, most recently from f3e4b43 to 4f60eca Compare July 7, 2026 16:36
Annotate methods returning non-owning views (NodeView, string_view,
Span) with ABSL_ATTRIBUTE_LIFETIME_BOUND to enable Clang -Wdangling
warnings for use-after-free patterns.

PiperOrigin-RevId: 943944506
@copybara-service copybara-service Bot merged commit 033835e into main Jul 7, 2026
@copybara-service copybara-service Bot deleted the test_943266395 branch July 7, 2026 16:45
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