1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-29 20:23:55 +00:00

Fixing namespace endings

This commit is contained in:
Henry Fredrick Schreiner 2017-05-31 10:50:16 -04:00
parent 44f43bd621
commit c94aa406a6
11 changed files with 19 additions and 16 deletions

View File

@ -1,5 +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: '-*,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'
HeaderFilterRegex: '.*hpp'
CheckOptions:
- key: readability-braces-around-statements.ShortStatementLines

View File

@ -1,7 +1,9 @@
#include "CLI/CLI.hpp"
#include "CLI/Timer.hpp"
int main (int argc, char** argv) {
CLI::AutoTimer("This is a timer");
CLI::App app("K3Pi goofit fitter");

View File

@ -29,7 +29,7 @@ namespace CLI {
namespace detail {
enum class Classifer {NONE, POSITIONAL_MARK, SHORT, LONG, SUBCOMMAND};
struct AppFriend;
}
} // namespace detail
class App;
@ -1178,7 +1178,7 @@ struct AppFriend {
}
};
}
} // namespace detail
}
} // namespace CLI

View File

@ -166,4 +166,4 @@ struct OptionNotFound : public Error {
/// @}
}
} // namespace CLI

View File

@ -113,5 +113,5 @@ inline std::vector<ini_ret_t> parse_ini(const std::string &name) {
}
}
}
} // namespace detail
} // namespace CLI

View File

@ -493,4 +493,4 @@ public:
}
} // namespace CLI

View File

@ -89,5 +89,5 @@ inline std::tuple<std::vector<std::string>,std::vector<std::string>, std::string
}
}
}
} // namespace detail
} // namespace CLI

View File

@ -197,5 +197,5 @@ inline std::vector<std::string> split_up(std::string str) {
return output;
}
}
}
} // namespace detail
} // namespace CLI

View File

@ -123,7 +123,7 @@ public:
}
};
}
} // namespace CLI
/// This prints out the time if shifted into a std::cout like stream.
inline std::ostream & operator<< (std::ostream& in, const CLI::Timer& timer) {

View File

@ -135,5 +135,5 @@ namespace detail {
}
}
}
} // namespace detail
} // namespace CLI

View File

@ -86,4 +86,4 @@ std::function<bool(std::string)> Range(T max) {
/// @}
}
} // namespace CLI