Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
42ab04ea
Commit
42ab04ea
authored
Jan 06, 2017
by
Dominik Charousset
Committed by
Marian Triebe
Apr 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Clang warnings
parent
184e0866
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
23 additions
and
18 deletions
+23
-18
benchmarks
benchmarks
+1
-1
libcaf_core/caf/detail/parse_ini.hpp
libcaf_core/caf/detail/parse_ini.hpp
+2
-2
libcaf_core/caf/message.hpp
libcaf_core/caf/message.hpp
+3
-3
libcaf_core/caf/node_id.hpp
libcaf_core/caf/node_id.hpp
+3
-3
libcaf_io/caf/io/abstract_broker.hpp
libcaf_io/caf/io/abstract_broker.hpp
+1
-1
libcaf_opencl
libcaf_opencl
+1
-1
libcaf_python
libcaf_python
+1
-1
libcaf_test/caf/test/dsl.hpp
libcaf_test/caf/test/dsl.hpp
+4
-1
libcaf_test/caf/test/unit_test.hpp
libcaf_test/caf/test/unit_test.hpp
+7
-5
No files found.
benchmarks
@
d824310d
Subproject commit
f13969fb63a1eb6c6f6c06dc178f18a0bcc7bca2
Subproject commit
d824310d2c0354c9d41fd0458eab88629dc29a94
libcaf_core/caf/detail/parse_ini.hpp
View file @
42ab04ea
...
@@ -41,9 +41,9 @@ struct parse_ini_t {
...
@@ -41,9 +41,9 @@ struct parse_ini_t {
/// Parse the given input stream as INI formatted data and
/// Parse the given input stream as INI formatted data and
/// calls the consumer with every key-value pair.
/// 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 errors Output stream for parser errors.
/// @param consumer Callback consuming generated key-value pairs.
void
operator
()(
std
::
istream
&
input
,
void
operator
()(
std
::
istream
&
input
,
const
config_consumer
&
consumer_fun
,
const
config_consumer
&
consumer_fun
,
opt_err
errors
=
none
)
const
;
opt_err
errors
=
none
)
const
;
...
...
libcaf_core/caf/message.hpp
View file @
42ab04ea
...
@@ -198,9 +198,9 @@ public:
...
@@ -198,9 +198,9 @@ public:
/// }
/// }
/// ~~~
/// ~~~
/// @param xs List of argument descriptors.
/// @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).
/// (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
/// @returns A struct containing remainder
/// (i.e. unmatched elements), a set containing the names of all
/// (i.e. unmatched elements), a set containing the names of all
/// used arguments, and the generated help text.
/// used arguments, and the generated help text.
...
...
libcaf_core/caf/node_id.hpp
View file @
42ab04ea
...
@@ -69,13 +69,13 @@ public:
...
@@ -69,13 +69,13 @@ public:
using
host_id_type
=
std
::
array
<
uint8_t
,
host_id_size
>
;
using
host_id_type
=
std
::
array
<
uint8_t
,
host_id_size
>
;
/// Creates a node ID from `process_id` and `hash`.
/// Creates a node ID from `process_id` and `hash`.
/// @param proc
ess_
id System-wide unique process identifier.
/// @param procid System-wide unique process identifier.
/// @param hash Unique node id as hexadecimal string representation.
/// @param hash Unique node id as hexadecimal string representation.
node_id
(
uint32_t
procid
,
const
std
::
string
&
hash
);
node_id
(
uint32_t
procid
,
const
std
::
string
&
hash
);
/// Creates a node ID from `process_id` and `hash`.
/// Creates a node ID from `process_id` and `hash`.
/// @param proc
ess_
id System-wide unique process identifier.
/// @param procid System-wide unique process identifier.
/// @param
node_
id Unique node id.
/// @param
h
id Unique node id.
node_id
(
uint32_t
procid
,
const
host_id_type
&
hid
);
node_id
(
uint32_t
procid
,
const
host_id_type
&
hid
);
/// Identifies the running process.
/// Identifies the running process.
...
...
libcaf_io/caf/io/abstract_broker.hpp
View file @
42ab04ea
...
@@ -138,7 +138,7 @@ public:
...
@@ -138,7 +138,7 @@ public:
/// Modifies the receive policy for given connection.
/// Modifies the receive policy for given connection.
/// @param hdl Identifies the affected connection.
/// @param hdl Identifies the affected connection.
/// @param c
onfi
g Contains the new receive policy.
/// @param c
f
g Contains the new receive policy.
void
configure_read
(
connection_handle
hdl
,
receive_policy
::
config
cfg
);
void
configure_read
(
connection_handle
hdl
,
receive_policy
::
config
cfg
);
/// Enables or disables write notifications for given connection.
/// Enables or disables write notifications for given connection.
...
...
libcaf_opencl
@
cc4e4ef5
Subproject commit
968fe9dbc04ae9f66f1a37f8cfbf65f8d0471532
Subproject commit
cc4e4ef5ad92e3ee78e2f2897027e5f48cbc8e93
libcaf_python
@
a754a79f
Subproject commit
259449c3717bbd974f09369aa57a5cd0f2aff956
Subproject commit
a754a79f193463fcbb712bafac098f8e2d85931e
libcaf_test/caf/test/dsl.hpp
View file @
42ab04ea
...
@@ -31,6 +31,9 @@ bool operator==(const message& x, const T& y) {
...
@@ -31,6 +31,9 @@ bool operator==(const message& x, const T& y) {
namespace
{
namespace
{
// dummy function to force ADL later on
//int inspect(int, int);
template
<
class
T
>
template
<
class
T
>
struct
has_outer_type
{
struct
has_outer_type
{
template
<
class
U
>
template
<
class
U
>
...
@@ -256,7 +259,7 @@ private:
...
@@ -256,7 +259,7 @@ private:
void
with_content
(
std
::
integral_constant
<
bool
,
true
>
,
const
U
&
x
)
{
void
with_content
(
std
::
integral_constant
<
bool
,
true
>
,
const
U
&
x
)
{
elementwise_compare_inspector
<
U
>
inspector
{
x
};
elementwise_compare_inspector
<
U
>
inspector
{
x
};
auto
xs
=
this
->
template
peek
<
typename
T
::
outer_type
>();
auto
xs
=
this
->
template
peek
<
typename
T
::
outer_type
>();
CAF_CHECK
(
inspect
or
(
get
<
0
>
(
xs
)));
CAF_CHECK
(
inspect
(
inspector
,
const_cast
<
T
&>
(
get
<
T
>
(
get
<
0
>
(
xs
))
)));
}
}
};
};
...
...
libcaf_test/caf/test/unit_test.hpp
View file @
42ab04ea
...
@@ -246,7 +246,7 @@ public:
...
@@ -246,7 +246,7 @@ public:
static
void
max_runtime
(
int
value
);
static
void
max_runtime
(
int
value
);
/// Adds a test to the engine.
/// 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.
/// @param ptr The test to register.
static
void
add
(
const
char
*
cstr_name
,
std
::
unique_ptr
<
test
>
ptr
);
static
void
add
(
const
char
*
cstr_name
,
std
::
unique_ptr
<
test
>
ptr
);
...
@@ -254,10 +254,12 @@ public:
...
@@ -254,10 +254,12 @@ public:
/// @param colorize Whether to colorize the output.
/// @param colorize Whether to colorize the output.
/// @param log_file The filename of the log output. The empty string means
/// @param log_file The filename of the log output. The empty string means
/// that no log file will be written.
/// that no log file will be written.
/// @param verbosity_console The log verbosity on the console.
/// @param verbosity_console The log verbosity level on the console.
/// @param verbosity_file The log verbosity in the log file.
/// @param verbosity_file The log verbosity level in the log file.
/// @param suites The regular expression of the tests to run.
/// @param suites_str Regular expression for including test suites.
/// @param not_suites Whether to colorize the output.
/// @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.
/// @returns `true` iff all tests succeeded.
static
bool
run
(
bool
colorize
,
static
bool
run
(
bool
colorize
,
const
std
::
string
&
log_file
,
const
std
::
string
&
log_file
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment