projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: lttng: utils: coding style fix
[lttng-tools.git]
/
src
/
common
/
filter
/
filter-ir.hpp
diff --git
a/src/common/filter/filter-ir.hpp
b/src/common/filter/filter-ir.hpp
index 068d3aa5c4e5920437ed5c5b61149b046b7efbd7..715f78eaa8b8ab8be975687da506cd8999a2262a 100644
(file)
--- a/
src/common/filter/filter-ir.hpp
+++ b/
src/common/filter/filter-ir.hpp
@@
-14,25
+14,26
@@
#include "filter-ast.hpp"
#include "filter-ast.hpp"
+#include <cstdlib>
+
enum ir_op_signedness {
IR_SIGN_UNKNOWN = 0,
IR_SIGNED,
IR_UNSIGNED,
enum ir_op_signedness {
IR_SIGN_UNKNOWN = 0,
IR_SIGNED,
IR_UNSIGNED,
- IR_SIGN_DYN,
/* signedness determined dynamically */
+ IR_SIGN_DYN, /* signedness determined dynamically */
};
enum ir_data_type {
IR_DATA_UNKNOWN = 0,
IR_DATA_STRING,
};
enum ir_data_type {
IR_DATA_UNKNOWN = 0,
IR_DATA_STRING,
- IR_DATA_NUMERIC,
/* numeric and boolean */
+ IR_DATA_NUMERIC, /* numeric and boolean */
IR_DATA_FLOAT,
IR_DATA_FIELD_REF,
IR_DATA_GET_CONTEXT_REF,
IR_DATA_EXPRESSION,
};
IR_DATA_FLOAT,
IR_DATA_FIELD_REF,
IR_DATA_GET_CONTEXT_REF,
IR_DATA_EXPRESSION,
};
-static inline
-const char *ir_data_type_str(enum ir_data_type type)
+static inline const char *ir_data_type_str(enum ir_data_type type)
{
switch (type) {
case IR_DATA_UNKNOWN:
{
switch (type) {
case IR_DATA_UNKNOWN:
@@
-63,8
+64,7
@@
enum ir_op_type {
IR_OP_LOGICAL,
};
IR_OP_LOGICAL,
};
-static inline
-const char *ir_op_type_str(enum ir_op_type type)
+static inline const char *ir_op_type_str(enum ir_op_type type)
{
switch (type) {
case IR_OP_UNKNOWN:
{
switch (type) {
case IR_OP_UNKNOWN:
@@
-115,8
+115,7
@@
enum ir_load_expression_type {
IR_LOAD_EXPRESSION_LOAD_FIELD,
};
IR_LOAD_EXPRESSION_LOAD_FIELD,
};
-static inline
-const char *ir_load_expression_type_str(enum ir_load_expression_type type)
+static inline const char *ir_load_expression_type_str(enum ir_load_expression_type type)
{
switch (type) {
case IR_LOAD_EXPRESSION_GET_CONTEXT_ROOT:
{
switch (type) {
case IR_LOAD_EXPRESSION_GET_CONTEXT_ROOT:
This page took
0.023492 seconds
and
4
git commands to generate.