diff options
author | Zinovy Nis <zinovy.nis@gmail.com> | 2018-04-10 18:05:24 +0000 |
---|---|---|
committer | Zinovy Nis <zinovy.nis@gmail.com> | 2018-04-10 18:05:24 +0000 |
commit | e68c7fa1e55af8ccde6a00f54b980f9f38f549a7 (patch) | |
tree | 53b81b348040194540b160fed3cd63ace78db46b /clang/lib/Frontend/ASTMerge.cpp | |
parent | e3a59e2e91e628a289b74174f3adc4e133855dfa (diff) | |
download | llvm-e68c7fa1e55af8ccde6a00f54b980f9f38f549a7.zip llvm-e68c7fa1e55af8ccde6a00f54b980f9f38f549a7.tar.gz llvm-e68c7fa1e55af8ccde6a00f54b980f9f38f549a7.tar.bz2 |
[clang-tidy] [modernize-use-auto] Add a threshold for minimal type name length to be replaced with 'auto'
The threshold option is 'MinTypeNameLength' with default value '5'.
With MinTypeNameLength == 5 'int'/'bool' and 'const int'/'const bool'
will not be converted to 'auto', while 'unsigned' will be.
Differential Revision: https://reviews.llvm.org/D45405
llvm-svn: 329730
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions