* 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;