[Webkit-unassigned] [Bug 150396] New: check-webkit-style complains about missing operator whitespace inside character literal

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 10:09:57 PDT 2015


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

            Bug ID: 150396
           Summary: check-webkit-style complains about missing operator
                    whitespace inside character literal
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fred.wang at free.fr
                CC: lforschler at apple.com
            Blocks: 150394

Bug 150394, contains a patch that loads the OS/2 table as follows:

  CFDataRef os2Table = CGFontCopyTableForTag(m_platformData.cgFont(), 'OS/2')

Here 'OS/2' is a character literal (32 bit integer) used as a tag representing the TrueType table. The slash is not used as an operator, however check-webkit-style complains with the following message:

  ERROR: Source/WebCore/platform/graphics/cocoa/FontCocoa.mm:179:  Missing spaces around /  [whitespace/operators] [3]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151021/579f8037/attachment.html>


More information about the webkit-unassigned mailing list