Skip to content

Conversation

kmr-srbh
Copy link
Contributor

Rename symbol StructType to Struct and ttype Struct to StructType.

Co-authored-by: Thirumalai Shaktivel <[email protected]>
Co-authored-by: Thirumalai Shaktivel <[email protected]>
Copy link
Collaborator

@Thirumalai-Shaktivel Thirumalai-Shaktivel left a comment

Choose a reason for hiding this comment

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

Otherwise looks good to merge, thank you!

}

void visit_Function(const ASR::Function_t &x) {
if( ASRUtils::is_intrinsic_optimization<ASR::Function_t>(&x) ) {
return ;
}
PassUtils::PassVisitor<Struct>::visit_Function(x);
PassUtils::PassVisitor<StructType>::visit_Function(x);
Copy link
Contributor

Choose a reason for hiding this comment

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

This should probably be just a Struct, since it is a template parameter.

Copy link
Contributor

@certik certik left a comment

Choose a reason for hiding this comment

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

I think this is fine. I left a minor comment. I am going to merge it now, to unblock Tanay.

@certik certik merged commit ecd26e2 into lcompilers:main Jun 20, 2024
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