Skip to content

Conversation

@LarryOsterman
Copy link
Member

No description provided.

@LarryOsterman LarryOsterman requested a review from a team as a code owner April 9, 2024 00:01
@LarryOsterman LarryOsterman enabled auto-merge (squash) April 9, 2024 00:10
clang::FriendDecl const* friendDecl,
std::string const& parentNodeNavigationId)
{
std::string navigationId = parentNodeNavigationId + "_friend_";
Copy link
Member

Choose a reason for hiding this comment

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

Can the parentNodeNavigationId be ""? Can we assert these premises.

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 cannot be empty, I'll add an error message if it is.

return navigationId;
}

static std::string GetNavigationId(
Copy link
Member

Choose a reason for hiding this comment

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

Add function comment

friendDecl->dump(llvm::outs());
}
}
return navigationId;
Copy link
Member

Choose a reason for hiding this comment

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

If you end up in the final else of the initial if/else then you could end up with navigationId being <parentNodeId>_friend_. Is a navigationId ending in "_" a valid format?

Copy link
Member Author

Choose a reason for hiding this comment

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

All strings are valid, the only restriction is that the names must be unique.

@LarryOsterman LarryOsterman merged commit e99e474 into Azure:main Apr 9, 2024
@LarryOsterman LarryOsterman deleted the larryo/fixstorageapiview branch October 11, 2025 01:02
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.

2 participants