This is an archive of the discontinued LLVM Phabricator instance.

Add LLVM_MARK_AS_BITMASK_ENUM to HoistingKind enum
ClosedPublic

Authored by xiaoleis on Aug 22 2023, 11:08 PM.

Details

Summary

This revision adds LLVM_MARK_AS_BITMASK_ENUM to HoistingKind to avoid static_cast when performing bitwise operations.

Diff Detail

Event Timeline

xiaoleis created this revision.Aug 22 2023, 11:08 PM
Herald added a project: Restricted Project. · View Herald Transcript
xiaoleis requested review of this revision.Aug 22 2023, 11:08 PM
xiaoleis edited the summary of this revision. (Show Details)Aug 22 2023, 11:10 PM
xiaoleis added a reviewer: mehdi_amini.
mehdi_amini accepted this revision.Aug 22 2023, 11:21 PM
This revision is now accepted and ready to land.Aug 22 2023, 11:21 PM
This revision was landed with ongoing or failed builds.Aug 22 2023, 11:22 PM
This revision was automatically updated to reflect the committed changes.