Module ClangFrontend.Ast_expressions

This module creates extra ast constructs that are needed for the translation

val create_void_type : ATDGenerated.Clang_ast_t.qual_type
val create_char_star_type : ?quals:IR.Typ.type_quals -> unit -> ATDGenerated.Clang_ast_t.qual_type
val create_class_pointer_qual_type : ?quals:IR.Typ.type_quals -> IR.Typ.Name.t -> ATDGenerated.Clang_ast_t.qual_type
val default_var_decl_info : ATDGenerated.Clang_ast_t.var_decl_info
val create_named_decl_info : string -> ATDGenerated.Clang_ast_t.named_decl_info
val make_obj_c_message_expr_info_class : string -> IR.Typ.Name.t -> ATDGenerated.Clang_ast_t.pointer option -> ATDGenerated.Clang_ast_t.obj_c_message_expr_info

We translate an expression with a conditional x <=> x?1:0

We translate the logical negation of an expression with a conditional !x <=> x?0:1