[Webkit-unassigned] [Bug 217805] New: Open source clang warning: bitwise operation between different enumeration types [-Wenum-enum-conversion]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 15 20:30:45 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=217805

            Bug ID: 217805
           Summary: Open source clang warning: bitwise operation between
                    different enumeration types [-Wenum-enum-conversion]
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: darin at apple.com

Open source clang warning: bitwise operation between different enumeration types [-Wenum-enum-conversion]

WebKitBuild/Release/usr/local/include/wtf/text/StringImpl.h:876:87: warning: bitwise operation between different enumeration types ('WTF::StringImpl::StringKind' and 'WTF::StringImpl::BufferOwnership') [-Wenum-enum-conversion]
    : StringImplShape(s_refCountIncrement, length, tailPointer<UChar>(), StringNormal | BufferInternal)
                                                                         ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
WebKitBuild/Release/usr/local/include/wtf/text/StringImpl.h:903:77: warning: bitwise operation between different enumeration types ('WTF::StringImpl::StringKind' and 'WTF::StringImpl::BufferOwnership') [-Wenum-enum-conversion]
    : StringImplShape(s_refCountIncrement, length, characters, StringNormal | BufferInternal)
                                                               ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
WebKitBuild/Release/usr/local/include/wtf/text/StringImpl.h:922:101: warning: bitwise operation between different enumeration types ('WTF::StringImpl::StringKind' and 'WTF::StringImpl::BufferOwnership') [-Wenum-enum-conversion]
    : StringImplShape(s_refCountIncrement, length, static_cast<const UChar*>(nullptr), StringNormal | BufferOwned)
                                                                                       ~~~~~~~~~~~~ ^ ~~~~~~~~~~~
WebKitBuild/Release/usr/local/include/wtf/text/StringImpl.h:952:77: warning: bitwise operation between different enumeration types ('WTF::StringImpl::StringKind' and 'WTF::StringImpl::BufferOwnership') [-Wenum-enum-conversion]
    : StringImplShape(s_refCountIncrement, length, characters, StringNormal | BufferSubstring)
                                                               ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
WebKitBuild/Release/usr/local/include/wtf/text/StringImpl.h:1156:77: warning: bitwise operation between different enumeration types ('WTF::StringImpl::StringKind' and 'WTF::StringImpl::BufferOwnership') [-Wenum-enum-conversion]
    : StringImplShape(s_refCountIncrement, length, characters, StringSymbol | BufferSubstring)
                                                               ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~

<rdar://problem/70250742>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201016/45f8e29c/attachment-0001.htm>


More information about the webkit-unassigned mailing list