Add a basic .clang-tidy file and fix typedef warnings
[lttng-tools.git] / tests / regression / tools / trigger / name / trigger_name.cpp
index 80bd96c27b9f893d2c340d166ba94a0079c22745..039b7bf3a239f99cf53bdc6d7da22f783119b252 100644 (file)
@@ -26,7 +26,7 @@ enum unregistration_trigger_instance {
        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)
 {
This page took 0.022331 seconds and 4 git commands to generate.