[llvm-bugs] [Bug 47739] New: Support for unsigned bitfields

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 6 00:37:07 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47739

            Bug ID: 47739
           Summary: Support for unsigned bitfields
           Product: clang
           Version: trunk
          Hardware: All
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: robert.dumitru at cyberthorstudios.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Hi, 

As we can see inside Clang.cpp - -fsigned-bitfields is default, and clang
doesn't yet support -funsigned-bitfields.

-fsigned-bitfields
-funsigned-bitfields
-fno-signed-bitfields
-fno-unsigned-bitfields

These options control whether a bit-field is signed or unsigned, when the
declaration does not use either signed or unsigned.


Is there a plan to support -funsigned-bitfields? 
I could not find a ticket for it. 

Best regards, 
Robert

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201006/27b85f8f/attachment.html>


More information about the llvm-bugs mailing list