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

Piotr Padlewski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 8 13:47:52 PST 2016


Prazek added a reviewer: staronj.
Prazek added a comment.

gosh, I found it too late. Jakub started to work on the same problem and he have made initial check for it.
One of the problems he got was multideclarations.
Does it work for cases like?

  long a = lexical_cast<long>(z), b = lexical_cast<int>(y);

Other test:

  Base *p = dyn_cast<Derived>(b);


https://reviews.llvm.org/D27166





More information about the cfe-commits mailing list