Commit 42ab04ea authored by Dominik Charousset's avatar Dominik Charousset Committed by Marian Triebe

Fix Clang warnings

parent 184e0866
Subproject commit f13969fb63a1eb6c6f6c06dc178f18a0bcc7bca2
Subproject commit d824310d2c0354c9d41fd0458eab88629dc29a94
......@@ -41,9 +41,9 @@ struct parse_ini_t {
/// Parse the given input stream as INI formatted data and
/// calls the consumer with every key-value pair.
/// @param raw_data Input stream of INI formatted text.
/// @param input Input stream of INI formatted text.
/// @param consumer_fun Callback consuming generated key-value pairs.
/// @param errors Output stream for parser errors.
/// @param consumer Callback consuming generated key-value pairs.
void operator()(std::istream& input,
const config_consumer& consumer_fun,
opt_err errors = none) const;
......
......@@ -198,9 +198,9 @@ public:
/// }
/// ~~~
/// @param xs List of argument descriptors.
/// @param help_generator Optional factory function to generate help text
/// @param f Optional factory function to generate help text
/// (overrides the default generator).
/// @param suppress_help Suppress generation of default-generated help option.
/// @param no_help Suppress generation of default-generated help option.
/// @returns A struct containing remainder
/// (i.e. unmatched elements), a set containing the names of all
/// used arguments, and the generated help text.
......
......@@ -69,13 +69,13 @@ public:
using host_id_type = std::array<uint8_t, host_id_size>;
/// Creates a node ID from `process_id` and `hash`.
/// @param process_id System-wide unique process identifier.
/// @param procid System-wide unique process identifier.
/// @param hash Unique node id as hexadecimal string representation.
node_id(uint32_t procid, const std::string& hash);
/// Creates a node ID from `process_id` and `hash`.
/// @param process_id System-wide unique process identifier.
/// @param node_id Unique node id.
/// @param procid System-wide unique process identifier.
/// @param hid Unique node id.
node_id(uint32_t procid, const host_id_type& hid);
/// Identifies the running process.
......
......@@ -138,7 +138,7 @@ public:
/// Modifies the receive policy for given connection.
/// @param hdl Identifies the affected connection.
/// @param config Contains the new receive policy.
/// @param cfg Contains the new receive policy.
void configure_read(connection_handle hdl, receive_policy::config cfg);
/// Enables or disables write notifications for given connection.
......
Subproject commit 968fe9dbc04ae9f66f1a37f8cfbf65f8d0471532
Subproject commit cc4e4ef5ad92e3ee78e2f2897027e5f48cbc8e93
Subproject commit 259449c3717bbd974f09369aa57a5cd0f2aff956
Subproject commit a754a79f193463fcbb712bafac098f8e2d85931e
......@@ -31,6 +31,9 @@ bool operator==(const message& x, const T& y) {
namespace {
// dummy function to force ADL later on
//int inspect(int, int);
template <class T>
struct has_outer_type {
template <class U>
......@@ -256,7 +259,7 @@ private:
void with_content(std::integral_constant<bool, true>, const U& x) {
elementwise_compare_inspector<U> inspector{x};
auto xs = this->template peek<typename T::outer_type>();
CAF_CHECK(inspector(get<0>(xs)));
CAF_CHECK(inspect(inspector, const_cast<T&>(get<T>(get<0>(xs)))));
}
};
......
......@@ -246,7 +246,7 @@ public:
static void max_runtime(int value);
/// Adds a test to the engine.
/// @param name The name of the suite.
/// @param cstr_name The name of the suite.
/// @param ptr The test to register.
static void add(const char* cstr_name, std::unique_ptr<test> ptr);
......@@ -254,10 +254,12 @@ public:
/// @param colorize Whether to colorize the output.
/// @param log_file The filename of the log output. The empty string means
/// that no log file will be written.
/// @param verbosity_console The log verbosity on the console.
/// @param verbosity_file The log verbosity in the log file.
/// @param suites The regular expression of the tests to run.
/// @param not_suites Whether to colorize the output.
/// @param verbosity_console The log verbosity level on the console.
/// @param verbosity_file The log verbosity level in the log file.
/// @param suites_str Regular expression for including test suites.
/// @param not_suites_str Regular expression for excluding test suites.
/// @param tests_str Regular expression for individually selecting tests.
/// @param not_tests_str Regular expression for individually disabling tests.
/// @returns `true` iff all tests succeeded.
static bool run(bool colorize,
const std::string& log_file,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment