X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Fcommon%2Fmetadata%2Fvisitor-semantic-validator.cpp;h=4fad1360c12ddab7dcee41a0e2193396918c5db3;hb=507d9140a9f7fba601a53b9ae210f82e8cc3f041;hp=f219a19fecbfb318ea62f723b01cf15046141864;hpb=ecd7492f21a492b70569d5ecc1d3a808241b63f0;p=babeltrace.git diff --git a/src/plugins/ctf/common/metadata/visitor-semantic-validator.cpp b/src/plugins/ctf/common/metadata/visitor-semantic-validator.cpp index f219a19f..4fad1360 100644 --- a/src/plugins/ctf/common/metadata/visitor-semantic-validator.cpp +++ b/src/plugins/ctf/common/metadata/visitor-semantic-validator.cpp @@ -6,31 +6,23 @@ * Common Trace Format Metadata Semantic Validator. */ +#include + #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 -#include -#include -#include -#include "common/assert.h" -#include -#include -#include +#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;