[PATCH] D17484: [clang-tidy] introduce modernize-deprecated-headers check

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 21 10:04:26 PST 2016


On Sun, Feb 21, 2016 at 02:26:30AM +0000, Eugene Zelenko via cfe-commits wrote:
> Another idea: to replace limits.h with limits and also replace its
> defines with their C++ counterparts. For example, INT_MIN with numeric_limits<int>::min().

I'm not sure how useful it is to write four times as much text just for
the sake of modernization. I don't understand how this adds value.

Joerg


More information about the cfe-commits mailing list