[PATCH] D45405: [clang-tidy] [modernize-use-auto] Add a threshold for minimal type name length to be replaced with 'auto'
Alexander Kornienko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 9 04:29:48 PDT 2018
alexfh added inline comments.
================
Comment at: clang-tidy/modernize/UseAutoCheck.cpp:290
+ : ClangTidyCheck(Name, Context), RemoveStars(Options.get("RemoveStars", 0)),
+ MinTypeNameLength(Options.get("MinTypeNameLength", 0)) {}
----------------
Maybe make the default 5? Or does anyone really want to replace `int/long/char/bool/...` with `auto`?
https://reviews.llvm.org/D45405
More information about the cfe-commits
mailing list