projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a basic .clang-tidy file and fix typedef warnings
[lttng-tools.git]
/
tests
/
regression
/
tools
/
trigger
/
name
/
trigger_name.cpp
diff --git
a/tests/regression/tools/trigger/name/trigger_name.cpp
b/tests/regression/tools/trigger/name/trigger_name.cpp
index 80bd96c27b9f893d2c340d166ba94a0079c22745..039b7bf3a239f99cf53bdc6d7da22f783119b252 100644
(file)
--- a/
tests/regression/tools/trigger/name/trigger_name.cpp
+++ b/
tests/regression/tools/trigger/name/trigger_name.cpp
@@
-26,7
+26,7
@@
enum unregistration_trigger_instance {
UNREGISTRATION_TRIGGER_INSTANCE_FROM_LISTING,
};
UNREGISTRATION_TRIGGER_INSTANCE_FROM_LISTING,
};
-
typedef void (*test_function
)(enum unregistration_trigger_instance);
+
using test_function = void (*
)(enum unregistration_trigger_instance);
static const char *get_trigger_name(const struct lttng_trigger *trigger)
{
static const char *get_trigger_name(const struct lttng_trigger *trigger)
{
This page took
0.02351 seconds
and
4
git commands to generate.