From 786f99d09c99e0468b3c6a420b17ea6d83ff0a96 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Wed, 31 May 2017 11:09:21 -0400 Subject: [PATCH] Adding all modernize checks --- .clang-tidy | 2 +- include/CLI/App.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index af9bc2b9..5af2fd13 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,6 +1,6 @@ #Checks: '*,-clang-analyzer-alpha.*' #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*' -Checks: '-*,llvm-namespace-comment,llvm-include-order,readability-container-size-empty,misc-throw-by-value-catch-by-reference' +Checks: '-*,llvm-namespace-comment,llvm-include-order,readability-container-size-empty,misc-throw-by-value-catch-by-reference,modernize*' HeaderFilterRegex: '.*hpp' CheckOptions: - key: readability-braces-around-statements.ShortStatementLines diff --git a/include/CLI/App.hpp b/include/CLI/App.hpp index 2f93e623..1ad646ce 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -76,7 +76,7 @@ protected: /// @name Parsing ///@{ - typedef std::vector> missing_t; + using missing_t = std::vector>; /// Pair of classifier, string for missing options. (extra detail is removed on returning from parse) ///