Bug 125374

Summary: check-webkit-style shouldn't check indent of #define directives within initializer lists
Product: WebKit Reporter: Brian Burg <burg>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: llango.u-szeged, mmaxfield
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Brian Burg 2013-12-06 17:39:45 PST
Test case where it spuriously complains about indentation:

RenderFileUploadControl::RenderFileUploadControl(HTMLInputElement& input, PassRef<RenderStyle> style)
    : RenderBlockFlow(input, std::move(style))
#if ENABLE(DRAG_SUPPORT)
    , m_canReceiveDroppedFiles(input.canReceiveDroppedFiles())
#endif
{
}
Comment 1 Brian Burg 2013-12-08 12:29:34 PST
It appears I was using an old version of the style checker, as I can't reproduce on my other machine and the relevant test cases in cpp_unittest.py seem to pass.