Skip to content

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

Open
dmikushin wants to merge 1 commit into
flang-compiler:masterfrom
dmikushin:fix-logical-operator-precedence-warning
Open

Emphasize && operator precedence with extra brackets, as suggested by clang warning#1386
dmikushin wants to merge 1 commit into
flang-compiler:masterfrom
dmikushin:fix-logical-operator-precedence-warning

Conversation

@dmikushin

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator

@dmikushin gentle ping

@dmikushin

Copy link
Copy Markdown
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