Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add portable nonnull macros #382

Merged
merged 3 commits into from
Oct 13, 2022
Merged

add portable nonnull macros #382

merged 3 commits into from
Oct 13, 2022

Conversation

wjwwood
Copy link
Member

@wjwwood wjwwood commented Aug 29, 2022

I found this useful when implementing a helper header for the new <memory_resource> header in c++17, because some implementations are incomplete so I had to implement a few functions it helped to mark some parameters and return types as non-null for the compiler.

I will link that pr (for the helper header) here when I have it up.

@wjwwood wjwwood requested a review from clalancette August 29, 2022 23:21
@wjwwood wjwwood self-assigned this Aug 29, 2022
@clalancette
Copy link
Contributor

@ros-pull-request-builder retest this please

Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left a few things to think about.

@clalancette
Copy link
Contributor

(also, uncrustify is unhappy)

Signed-off-by: William Woodall <william@osrfoundation.org>
Signed-off-by: William Woodall <william@osrfoundation.org>
Signed-off-by: William Woodall <william@osrfoundation.org>
Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to go.

@wjwwood
Copy link
Member Author

wjwwood commented Oct 12, 2022

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette if you have time to just have glance and comment on the one open thread, that would be good, but I think this is good to go?

Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good with green CI.

@wjwwood wjwwood merged commit 3485f1b into rolling Oct 13, 2022
@delete-merged-branch delete-merged-branch bot deleted the nonnull_macros branch October 13, 2022 23:17
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.

3 participants