[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.
Cool!
Have you run this check on LLVM & Clang to check if it works?
I just runned it and I got this weird behavior
lib/Analysis/AssumptionCache.cpp:120
- for (const BasicBlock &B : cast<Function>(*I.first))
+ for (const BasicBlock &B : auto<Function>(*I.first))
https://reviews.llvm.org/D27166
More information about the cfe-commits
mailing list