Bug 136663

Summary: check-webkit-style thinks @try and @catch are function definitions
Product: WebKit Reporter: David Farler <dfarler>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

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
Note You need to log in before you can comment on or make changes to this bug.