.clang-tidy: enable cppcoreguidelines-avoid-const-or-ref-data-members
[babeltrace.git] / src / plugins / ctf / common / bfcr / bfcr.cpp
index 7014f10201b5a696d914958c93a89713091d8846..f59f65d0f2f076041982281a1fbd062a2351bcfc 100644 (file)
@@ -7,27 +7,26 @@
  * Babeltrace - CTF binary field class reader (BFCR)
  */
 
+#include <glib.h>
+#include <inttypes.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <string.h>
+
+#include <babeltrace2/babeltrace.h>
+
 #define BT_COMP_LOG_SELF_COMP (bfcr->self_comp)
 #define BT_LOG_OUTPUT_LEVEL   (bfcr->log_level)
 #define BT_LOG_TAG            "PLUGIN/CTF/BFCR"
 #include "logging/comp-logging.h"
 
-#include <stdlib.h>
-#include <stdint.h>
-#include <inttypes.h>
-#include <stdio.h>
-#include <stddef.h>
-#include <stdbool.h>
+#include "common/align.h"
 #include "common/assert.h"
-#include <string.h>
-#include "compat/bitfield.h"
 #include "common/common.h"
-#include <babeltrace2/babeltrace.h>
-#include "common/align.h"
-#include <glib.h>
+#include "compat/bitfield.h"
 
-#include "bfcr.hpp"
 #include "../metadata/ctf-meta.hpp"
+#include "bfcr.hpp"
 
 #define DIV8(_x)                ((_x) >> 3)
 #define BYTES_TO_BITS(_x)       ((_x) *8)
@@ -55,8 +54,6 @@ struct stack_entry
     int64_t index;
 };
 
-struct bt_bfcr;
-
 /* Visit stack */
 struct stack
 {
This page took 0.026595 seconds and 4 git commands to generate.