apache / apache/arrow-adbc

c: annotate with `[[lifetimebound]]` attributes

Open
#1,402 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
627
Forks
217
Avg merge
17h
Merged PRs (30d)
57

Description

https://clang.llvm.org/docs/AttributeReference.html#lifetimebound

Seems useful for simple accessors.

Abseil uses them: https://github.com/abseil/abseil-cpp/blob/8184f16e898fcb13b310b40430e13ba40679cf0e/absl/base/attributes.h#L797-L817

Some others that might be useful: https://clang.llvm.org/docs/AttributeReference.html#handle-attributes

Contributor guide

Open the contributing guide

Research direction

Start with Clang’s AttributeReference lifetimebound documentation and the linked Abseil attributes.h example. Identify which simple accessors in arrow-adbc are suitable and define the annotation scope; done means the selected accessors are consistently annotated and the project’s relevant checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.