Skip to content

Conversation

@dmikushin
Copy link
Contributor

Emphasize && operator precedence with extra brackets, as suggested by clang warning

} else {
/* Optimization - Pass by value for scalar */
if (TY_ISSCALAR(DTY(param_dtype)) && (targetinfo->symbols[i].map_type & OMP_TGT_MAPTYPE_IMPLICIT) || isMidnum || isThis ) {
if ((TY_ISSCALAR(DTY(param_dtype)) && (targetinfo->symbols[i].map_type & OMP_TGT_MAPTYPE_IMPLICIT)) || isMidnum || isThis ) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would you mind wrapping the line to 80 columns as well?

@pawosm-arm pawosm-arm self-requested a review September 6, 2023 14:17
@bryanpkc
Copy link
Collaborator

@dmikushin gentle ping

@dmikushin
Copy link
Contributor Author

OK, I will

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