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

Reuse pattern already in use for __has_attribute for __has_feature. #1449

Closed
wants to merge 2 commits into from

Conversation

JasonLunn
Copy link
Contributor

No description provided.

@JasonLunn JasonLunn requested a review from fowles August 4, 2023 16:34
@JasonLunn JasonLunn requested a review from fowles August 4, 2023 17:11
@@ -63,6 +63,7 @@
#undef UPB_UNPOISON_MEMORY_REGION
#undef UPB_ASAN
#undef UPB_ASAN_GUARD_SIZE
#undef UPB_HAS_FEATURE
Copy link
Member

Choose a reason for hiding this comment

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

is UPB_HAS_ATTRIBUTE missing from this list?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, though it is undef'd here.

Copy link
Member

Choose a reason for hiding this comment

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

let's be consistent and undef these in the same place (your call which)

@acozzette
Copy link
Member

I'm going to close this as we discussed offline, since we have moved upb development into the protobuf repo and this PR is not quite ready to merge as-is.

@acozzette acozzette closed this Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants