[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
Wed Dec 14 05:40:33 PST 2016

Prazek added a comment.

Have you run this check on LLVM & Clang to check if it works?
I just runned it and I got this weird behavior

  -    for (const BasicBlock &B : cast<Function>(*I.first))
  +    for (const BasicBlock &B : auto<Function>(*I.first))


More information about the cfe-commits mailing list