[Webkit-unassigned] [Bug 175286] New: check-webkit-style: NS_ERROR_ENUM and NS_OPTIONS should not be handled as function definitions.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 7 14:23:06 PDT 2017


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

            Bug ID: 175286
           Summary: check-webkit-style: NS_ERROR_ENUM and NS_OPTIONS
                    should not be handled as function definitions.
           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: Yoshiaki.Jitsukawa at sony.com
                CC: lforschler at apple.com

For example, the following code in Source/WebCore/platform/spi/cocoa/PassKitSPI.h causes
 a "Place brace on its own line for function definitions.  [whitespace/braces] [4]" error

typedef NS_ERROR_ENUM(PKPaymentErrorDomain, PKPaymentErrorCode) {
    PKPaymentUnknownError = -1,
...

-- 
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/20170807/2e43a811/attachment-0001.html>


More information about the webkit-unassigned mailing list