projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
format-cpp: run clang-format in parallel
[lttng-tools.git]
/
src
/
common
/
filter.cpp
diff --git
a/src/common/filter.cpp
b/src/common/filter.cpp
index f0b248e88155e51e54773163532a90da3e949cca..39e403dfbafd7132fdee9914a269ea5e35d55593 100644
(file)
--- a/
src/common/filter.cpp
+++ b/
src/common/filter.cpp
@@
-6,6
+6,7
@@
*/
#include "filter.hpp"
*/
#include "filter.hpp"
+
#include <stddef.h>
struct bytecode_symbol_iterator {
#include <stddef.h>
struct bytecode_symbol_iterator {
@@
-14,10
+15,9
@@
struct bytecode_symbol_iterator {
size_t offset, len;
};
size_t offset, len;
};
-struct bytecode_symbol_iterator *bytecode_symbol_iterator_create(
- struct lttng_bytecode *bytecode)
+struct bytecode_symbol_iterator *bytecode_symbol_iterator_create(struct lttng_bytecode *bytecode)
{
{
- struct bytecode_symbol_iterator *it =
NULL
;
+ struct bytecode_symbol_iterator *it =
nullptr
;
if (!bytecode) {
goto end;
if (!bytecode) {
goto end;
@@
-64,12
+64,11
@@
int bytecode_symbol_iterator_get_type(struct bytecode_symbol_iterator *it)
ret = *((uint16_t *) (it->bytecode + it->offset));
end:
return ret;
ret = *((uint16_t *) (it->bytecode + it->offset));
end:
return ret;
-
}
+}
-const char *bytecode_symbol_iterator_get_name(
- struct bytecode_symbol_iterator *it)
+const char *bytecode_symbol_iterator_get_name(struct bytecode_symbol_iterator *it)
{
{
- const char *ret =
NULL
;
+ const char *ret =
nullptr
;
if (!it) {
goto end;
if (!it) {
goto end;
This page took
0.024783 seconds
and
4
git commands to generate.