[PATCH] D12473: [clang-tidy] Add old style function check

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 31 08:53:09 PDT 2015


alexfh added a comment.

A high-level comment:

It seems that the scope of the check is artificially made too narrow. The check could actually look at any POD variables declared unnecessarily far from their initialization and usages. And here the value of the check would also be much higher, if it can automatically fix the code.

I'll review the code more thoroughly later.


http://reviews.llvm.org/D12473





More information about the cfe-commits mailing list