Here are three other loose ends I am thinking about:

- Style guide should say that in a class marked final, virtual functions should 
all be marked final, not override and certainly not virtual. Agreed? Can we 
check that with the script? Apply that rule globally like we just did with the 
other rules with do-webcore-rename?

- Style guide should encourage programmers to use final instead of override 
whenever possible. I suspect many of the functions that currently are tagged 
override should be final instead. Agreed?

- Style guide should discourage virtual on destructors where the destructor is 
already virtual due to a base class. This is now more consistent with the use 
of virtual on other member functions, final would be on the class, override 
doesn’t need to be stated. Agreed?

— Darin
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to