Re-format C++ files
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 6 Nov 2023 19:40:56 +0000 (19:40 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 9 Nov 2023 21:06:00 +0000 (16:06 -0500)
The last few commits introduced some formatting errors, re-formating
using `tools/format-cpp`.

Change-Id: Ib9e4075d52b95f505bc6cbe2a2d5cd70d6926f84
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11268
CI-Build: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/ctf/common/metadata/ast.hpp
src/plugins/ctf/common/metadata/ctf-meta-translate.cpp
src/plugins/ctf/common/metadata/visitor-semantic-validator.cpp
src/plugins/ctf/fs-sink/fs-sink.cpp

index 037a1e6a0d9755bb66c0c37db1c7ecab2ebc2190..a7f363385a772390f87e2cddf492f77663b5f9a7 100644 (file)
@@ -415,14 +415,14 @@ error:
 }
 
 #ifndef BT_COMP_LOG_CUR_LVL
-#define BT_AST_LOG_LEVEL_UNUSED_ATTR __attribute__((unused))
+#    define BT_AST_LOG_LEVEL_UNUSED_ATTR __attribute__((unused))
 #else
-#define BT_AST_LOG_LEVEL_UNUSED_ATTR
+#    define BT_AST_LOG_LEVEL_UNUSED_ATTR
 #endif
 
 static inline int ctf_ast_get_unary_uuid(struct bt_list_head *head, bt_uuid_t uuid,
-        int log_level BT_AST_LOG_LEVEL_UNUSED_ATTR,
-        bt_self_component *self_comp BT_AST_LOG_LEVEL_UNUSED_ATTR)
+                                         int log_level BT_AST_LOG_LEVEL_UNUSED_ATTR,
+                                         bt_self_component *self_comp BT_AST_LOG_LEVEL_UNUSED_ATTR)
 {
     int i = 0;
     int ret = 0;
index 6f5d2d58d50fdf1de3f402e51701b2bede5e195c..9082690a7fdb72cd7d9a40893714f3a4ce639eb4 100644 (file)
@@ -139,8 +139,7 @@ static inline bt_field_class *ctf_field_class_string_to_ir(struct ctx *ctx,
 
 static inline void translate_struct_field_class_members(struct ctx *ctx,
                                                         struct ctf_field_class_struct *fc,
-                                                        bt_field_class *ir_fc,
-                                                        bool,
+                                                        bt_field_class *ir_fc, bool,
                                                         struct ctf_field_class_struct *)
 {
     uint64_t i;
index f219a19fecbfb318ea62f723b01cf15046141864..c46e82830a34627ca877f4bf87cafb78721972e1 100644 (file)
@@ -29,8 +29,7 @@
 static int _ctf_visitor_semantic_check(int depth, struct ctf_node *node,
                                        struct meta_log_config *log_cfg);
 
-static int ctf_visitor_unary_expression(int, struct ctf_node *node,
-                                        struct meta_log_config *log_cfg)
+static int ctf_visitor_unary_expression(int, struct ctf_node *node, struct meta_log_config *log_cfg)
 {
     struct ctf_node *iter;
     int is_ctf_exp = 0, is_ctf_exp_left = 0;
index d13f314294c75b5f1253213a7900332c836ee59b..e99f130d9b4ecf78b75ab53a82cdc88089d39646 100644 (file)
@@ -131,10 +131,9 @@ end:
     return;
 }
 
-bt_component_class_initialize_method_status
-ctf_fs_sink_init(bt_self_component_sink *self_comp_sink,
-                 bt_self_component_sink_configuration *, const bt_value *params,
-                 void *)
+bt_component_class_initialize_method_status ctf_fs_sink_init(bt_self_component_sink *self_comp_sink,
+                                                             bt_self_component_sink_configuration *,
+                                                             const bt_value *params, void *)
 {
     bt_component_class_initialize_method_status status;
     bt_self_component_add_port_status add_port_status;
This page took 0.027897 seconds and 4 git commands to generate.