Commit c94aa406a65ca8f6b9c6c8c97ed2f7dd4e0e105e
1 parent
44f43bd6
Fixing namespace endings
Showing
11 changed files
with
19 additions
and
16 deletions
.clang-tidy
| 1 | #Checks: '*,-clang-analyzer-alpha.*' | 1 | #Checks: '*,-clang-analyzer-alpha.*' |
| 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*' | 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' | ||
| 3 | HeaderFilterRegex: '.*hpp' | 4 | HeaderFilterRegex: '.*hpp' |
| 4 | CheckOptions: | 5 | CheckOptions: |
| 5 | - key: readability-braces-around-statements.ShortStatementLines | 6 | - key: readability-braces-around-statements.ShortStatementLines |
examples/try2.cpp
include/CLI/App.hpp
| @@ -29,7 +29,7 @@ namespace CLI { | @@ -29,7 +29,7 @@ namespace CLI { | ||
| 29 | namespace detail { | 29 | namespace detail { |
| 30 | enum class Classifer {NONE, POSITIONAL_MARK, SHORT, LONG, SUBCOMMAND}; | 30 | enum class Classifer {NONE, POSITIONAL_MARK, SHORT, LONG, SUBCOMMAND}; |
| 31 | struct AppFriend; | 31 | struct AppFriend; |
| 32 | -} | 32 | +} // namespace detail |
| 33 | 33 | ||
| 34 | class App; | 34 | class App; |
| 35 | 35 | ||
| @@ -1178,7 +1178,7 @@ struct AppFriend { | @@ -1178,7 +1178,7 @@ struct AppFriend { | ||
| 1178 | } | 1178 | } |
| 1179 | 1179 | ||
| 1180 | }; | 1180 | }; |
| 1181 | -} | 1181 | +} // namespace detail |
| 1182 | 1182 | ||
| 1183 | -} | 1183 | +} // namespace CLI |
| 1184 | 1184 |
include/CLI/Error.hpp
include/CLI/Ini.hpp
include/CLI/Option.hpp
include/CLI/Split.hpp
| @@ -89,5 +89,5 @@ inline std::tuple<std::vector<std::string>,std::vector<std::string>, std::string | @@ -89,5 +89,5 @@ inline std::tuple<std::vector<std::string>,std::vector<std::string>, std::string | ||
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | 91 | ||
| 92 | -} | ||
| 93 | -} | 92 | +} // namespace detail |
| 93 | +} // namespace CLI |
include/CLI/StringTools.hpp
include/CLI/Timer.hpp
| @@ -123,7 +123,7 @@ public: | @@ -123,7 +123,7 @@ public: | ||
| 123 | } | 123 | } |
| 124 | }; | 124 | }; |
| 125 | 125 | ||
| 126 | -} | 126 | +} // namespace CLI |
| 127 | 127 | ||
| 128 | /// This prints out the time if shifted into a std::cout like stream. | 128 | /// This prints out the time if shifted into a std::cout like stream. |
| 129 | inline std::ostream & operator<< (std::ostream& in, const CLI::Timer& timer) { | 129 | inline std::ostream & operator<< (std::ostream& in, const CLI::Timer& timer) { |
include/CLI/TypeTools.hpp