projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clang-tidy: add Chrome-inspired checks
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
event.cpp
diff --git
a/src/lib/lttng-ctl/event.cpp
b/src/lib/lttng-ctl/event.cpp
index 141fb56842ca5723d71444bf61bfd6d8aac3f99e..b136640dfce031a557cec8a01c98e1d754c17c3c 100644
(file)
--- a/
src/lib/lttng-ctl/event.cpp
+++ b/
src/lib/lttng-ctl/event.cpp
@@
-41,7
+41,7
@@
end:
return event;
error:
free(event);
return event;
error:
free(event);
- event =
NULL
;
+ event =
nullptr
;
goto end;
}
goto end;
}
@@
-80,7
+80,7
@@
int lttng_event_get_filter_expression(struct lttng_event *event, const char **fi
* This can happen since the lttng_event structure is
* used for other tasks where this pointer is never set.
*/
* This can happen since the lttng_event structure is
* used for other tasks where this pointer is never set.
*/
- *filter_expression =
NULL
;
+ *filter_expression =
nullptr
;
goto end;
}
goto end;
}
@@
-157,7
+157,7
@@
end:
const struct lttng_userspace_probe_location *
lttng_event_get_userspace_probe_location(const struct lttng_event *event)
{
const struct lttng_userspace_probe_location *
lttng_event_get_userspace_probe_location(const struct lttng_event *event)
{
- struct lttng_userspace_probe_location *probe_location =
NULL
;
+ struct lttng_userspace_probe_location *probe_location =
nullptr
;
struct lttng_event_extended *event_extended;
if (!event) {
struct lttng_event_extended *event_extended;
if (!event) {
This page took
0.023457 seconds
and
4
git commands to generate.