Commit 786f99d09c99e0468b3c6a420b17ea6d83ff0a96
1 parent
0ff1f273
Adding all modernize checks
Showing
2 changed files
with
2 additions
and
2 deletions
.clang-tidy
| 1 | 1 | #Checks: '*,-clang-analyzer-alpha.*' |
| 2 | 2 | #Checks: '-*,google-readability-casting,llvm-namespace-comment,performance-unnecessary-value-param,llvm-include-order,misc-throw-by-value-catch-by-reference,readability-container-size-empty,google-runtime-references,modernize*' |
| 3 | -Checks: '-*,llvm-namespace-comment,llvm-include-order,readability-container-size-empty,misc-throw-by-value-catch-by-reference' | |
| 3 | +Checks: '-*,llvm-namespace-comment,llvm-include-order,readability-container-size-empty,misc-throw-by-value-catch-by-reference,modernize*' | |
| 4 | 4 | HeaderFilterRegex: '.*hpp' |
| 5 | 5 | CheckOptions: |
| 6 | 6 | - key: readability-braces-around-statements.ShortStatementLines | ... | ... |
include/CLI/App.hpp
| ... | ... | @@ -76,7 +76,7 @@ protected: |
| 76 | 76 | /// @name Parsing |
| 77 | 77 | ///@{ |
| 78 | 78 | |
| 79 | - typedef std::vector<std::pair<detail::Classifer, std::string>> missing_t; | |
| 79 | + using missing_t = std::vector<std::pair<detail::Classifer, std::string>>; | |
| 80 | 80 | |
| 81 | 81 | /// Pair of classifier, string for missing options. (extra detail is removed on returning from parse) |
| 82 | 82 | /// | ... | ... |