Bug 125434
| Summary: | check-webkit-style thinks that the super-constructor initialization needs "Comma should be at the beginning of the line in a member initialization list." | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | lvidacs.u-szeged |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Filip Pizlo
The following code:
class SSALoweringPhase : public Phase {
static const bool verbose = false;
public:
SSALoweringPhase(Graph& graph)
: Phase(graph, "SSA lowering")
, m_insertionSet(graph)
{
}
Causes check-webkit-style to claim that the ": Phase(graph, ..." line needs a comma.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Laszlo Vidacs
Failed to reproduce the error. No error message issued with r160755, tried on the example code and on DFGSSALoweringPhase.cpp
Laszlo Vidacs
No error message in 166057.