forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix -Wbitwise-instead-of-logical in 5 files starting w/ fbpcs/emp_gam…
…es/pcf2_attribution/AttributionRule_impl.h (facebook#9310) Summary: Pull Request resolved: facebook#9310 X-link: facebookincubator/dynolog#89 X-link: facebookresearch/fbpcf#462 X-link: facebookresearch/fbpcs#2016 With LLVM-15, `&&` and `||` are required for boolean operands, rather than `&` and `|` which can be confused for bitwise operations. Fixing such ambiguity helps makes our code more readable. - If you approve of this diff, please use the "Accept & Ship" button :-) Differential Revision: D42347735 fbshipit-source-id: 3ec9c8af880cfce6490787662a4c3bc28f990bc7
- Loading branch information
1 parent
f1e8bcb
commit dd4be07
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters