On 09/10/2013 01:46 PM, Timon Gehr wrote:
On 09/10/2013 02:28 AM, Andrei Alexandrescu wrote:
...

After I've seen a pretty cool demo of clang-modernize
(http://clang.llvm.org/extra/ModernizerUsage.html), I think the best way
to attack this and similar problems is to add a class hierarchy
analyzer: a command-line utility that is fed an entire project and adds
as many 'final' as possible without changing semantics.

Time has come to migrate such functionality to tools. We keep on telling
that "nobody uses the tools" but it seems experience contradicts that
belief.


Andrei


This is of course a valid possibility, but if this kind of tooling is
available, making the change becomes a rather trivial issue in the first
place, since old code can just be fixed up automatically.

(None of this is closely related to the OT though.)

Reply via email to