Skip to content

Conversation

@wgtmac
Copy link
Member

@wgtmac wgtmac commented May 8, 2025

No description provided.

namespace {

// Helper function to join a list of field names with a dot
std::string JoinByDot(std::span<const std::string> parts) {
Copy link
Member

Choose a reason for hiding this comment

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

I guess you can use join_view for this too

Copy link
Member Author

Choose a reason for hiding this comment

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

I tried it but it seems that Clang does not yet implement this.

@@ -0,0 +1,61 @@
/*
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we install this header by removing the internal suffix? I don't see it being used in this PR, but in #94, it's included in visit_type.h, which is meant to be installed for type manipulation. If we don't install this header, it might lead to compilation issues.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was using it for the visitor but not it is not required. Let me remove it for now. I saw that you have added that in your PR.

transform.cc
transform_function.cc
type.cc
snapshot.cc
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a CPP guy, but why is snapshot.cc removed here? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

It is duplicate at line 32 :)

@Fokko Fokko merged commit 11667a9 into apache:main May 12, 2025
6 checks passed
@Fokko
Copy link
Contributor

Fokko commented May 12, 2025

Thanks @wgtmac for adding this, and @lidavidm @zhjwpku for the reviews 🙌

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.

4 participants