WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
136663
check-webkit-style thinks @try and @catch are function definitions
https://bugs.webkit.org/show_bug.cgi?id=136663
Summary
check-webkit-style thinks @try and @catch are function definitions
David Farler
Reported
2014-09-08 20:27:03 PDT
ERROR: Tools/LayoutTestRelay/LayoutTestRelay/LTRelayController.m:97: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Tools/LayoutTestRelay/LayoutTestRelay/LTRelayController.m:97: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 5 files @try { NSData *data = [fileHandle availableData]; uint8_t bytes[[data length]]; [data getBytes:bytes length:[data length]]; [[[self relay] outputStream] write:[data bytes] maxLength:[data length]]; } @catch (NSException *e) { // Broken pipe - the dump tool crashed. Time to die. [self didCrashWithMessage:nil]; }
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug