[PATCH] D27166: [clang-tidy] Enhance modernize-use-auto to templated function casts

Malcolm Parsons via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 8 14:33:30 PST 2016


malcolm.parsons added a comment.

In https://reviews.llvm.org/D27166#617621, @Prazek wrote:.

> Does it work for cases like?


Yes; `replaceExpr()` checks that the variable has the same unqualified type as the initializer and the same canonical type as other variables in the declaration.


https://reviews.llvm.org/D27166





More information about the cfe-commits mailing list