sink.text.pretty: abort on unknown field class type
[babeltrace.git] / src / plugins / ctf / common / metadata / visitor-semantic-validator.cpp
index f219a19fecbfb318ea62f723b01cf15046141864..4fad1360c12ddab7dcee41a0e2193396918c5db3 100644 (file)
@@ -6,31 +6,23 @@
  * Common Trace Format Metadata Semantic Validator.
  */
 
+#include <errno.h>
+
 #define BT_COMP_LOG_SELF_COMP (log_cfg->self_comp)
 #define BT_LOG_OUTPUT_LEVEL   (log_cfg->log_level)
 #define BT_LOG_TAG            "PLUGIN/CTF/META/SEMANTIC-VALIDATOR-VISITOR"
-#include "logging/comp-logging.h"
-
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdlib.h>
-#include "common/assert.h"
-#include <glib.h>
-#include <inttypes.h>
-#include <errno.h>
+#include "logging.hpp"
+
 #include "common/list.h"
-#include "scanner.hpp"
+
 #include "ast.hpp"
-#include "logging.hpp"
 
 #define _bt_list_first_entry(ptr, type, member) bt_list_entry((ptr)->next, type, member)
 
 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;
This page took 0.025785 seconds and 4 git commands to generate.