mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-29 12:13:52 +00:00
Fixing namespace endings
This commit is contained in:
parent
44f43bd621
commit
c94aa406a6
@ -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
|
||||
|
@ -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");
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -166,4 +166,4 @@ struct OptionNotFound : public Error {
|
||||
|
||||
/// @}
|
||||
|
||||
}
|
||||
} // namespace CLI
|
||||
|
@ -113,5 +113,5 @@ inline std::vector<ini_ret_t> parse_ini(const std::string &name) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace detail
|
||||
} // namespace CLI
|
||||
|
@ -493,4 +493,4 @@ public:
|
||||
|
||||
|
||||
|
||||
}
|
||||
} // namespace CLI
|
||||
|
@ -89,5 +89,5 @@ inline std::tuple<std::vector<std::string>,std::vector<std::string>, std::string
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace detail
|
||||
} // namespace CLI
|
||||
|
@ -197,5 +197,5 @@ inline std::vector<std::string> split_up(std::string str) {
|
||||
return output;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace detail
|
||||
} // namespace CLI
|
||||
|
@ -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) {
|
||||
|
@ -135,5 +135,5 @@ namespace detail {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace detail
|
||||
} // namespace CLI
|
||||
|
@ -86,4 +86,4 @@ std::function<bool(std::string)> Range(T max) {
|
||||
|
||||
/// @}
|
||||
|
||||
}
|
||||
} // namespace CLI
|
||||
|
Loading…
x
Reference in New Issue
Block a user