Skip to content

misc: fix clang warnings: deprecated,bitwise-logic#4776

Merged
Keenuts merged 1 commit intomicrosoft:mainfrom
Keenuts:clang-warning
Nov 16, 2022
Merged

misc: fix clang warnings: deprecated,bitwise-logic#4776
Keenuts merged 1 commit intomicrosoft:mainfrom
Keenuts:clang-warning

Conversation

@Keenuts
Copy link
Copy Markdown
Collaborator

@Keenuts Keenuts commented Nov 8, 2022

Fixing some clang warnings about mixing logical and bitwise and the use of one deprecated CPP type (Removed in cpp17, same change as seen in #4761).

Some are using those bitwise operation to avoid operator laziness. It was fixed upstream by an int cast, applying the same fixes.

@AppVeyorBot
Copy link
Copy Markdown

Fixing some clang warnings about mixing logical and bitwise and
the use of one deprecated CPP type (Removed in cpp17, same change
as seen in microsoft#4761).

Some are using those bitwise operation to avoid operator laziness. It
was fixed upstream by an int cast, applying the same fixes.

Signed-off-by: Nathan Gauër <brioche@google.com>
@AppVeyorBot
Copy link
Copy Markdown

@Keenuts Keenuts marked this pull request as ready for review November 8, 2022 15:58
@Keenuts Keenuts requested a review from pow2clk November 10, 2022 14:19
@Keenuts
Copy link
Copy Markdown
Collaborator Author

Keenuts commented Nov 16, 2022

@pow2clk would you be the correct reviewer for this?

Copy link
Copy Markdown
Collaborator

@pow2clk pow2clk left a comment

Choose a reason for hiding this comment

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

Looks good

@Keenuts Keenuts merged commit 4670813 into microsoft:main Nov 16, 2022
@Keenuts Keenuts deleted the clang-warning branch November 22, 2022 17:42
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.

3 participants