Skip to content
Commit c6a2f214 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

A signed bitfield's range is [-1,0], so assigning 1 is technically an...

A signed bitfield's range is [-1,0], so assigning 1 is technically an overflow. However, the other bitfield requires a signed value (it supports negative offsets), so it is slightly better to retain a signed 1-bit bitfield and use -1 instead of 1. Silences an MSVC warning.

llvm-svn: 260973
parent fc64ef1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment