Skip to content

Commit

Permalink
Emphasize && operator precedence with extra brackets, as suggested by…
Browse files Browse the repository at this point in the history
… clang warning
  • Loading branch information
dmikushin committed Jun 26, 2023
1 parent a3bd452 commit c5ea1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/flang2/flang2exe/tgtutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ tgt_target_fill_params(SPTR arg_base_sptr, SPTR arg_size_sptr, SPTR args_sptr,
chk_block(ilix);
} 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 ) {
iliy = mk_ompaccel_ldsptr(param_sptr);
load_dtype = param_dtype;
} else {
Expand Down

0 comments on commit c5ea1d0

Please sign in to comment.