|
|
@ -94,7 +94,6 @@ let modeled_function_attributes = [replace_with_deref_first_arg_attr]
|
|
|
|
let enum_map = ref Clang_ast_main.PointerMap.empty
|
|
|
|
let enum_map = ref Clang_ast_main.PointerMap.empty
|
|
|
|
let global_translation_unit_decls : Clang_ast_t.decl list ref = ref []
|
|
|
|
let global_translation_unit_decls : Clang_ast_t.decl list ref = ref []
|
|
|
|
let ivar_to_property_index = ref Clang_ast_main.PointerMap.empty
|
|
|
|
let ivar_to_property_index = ref Clang_ast_main.PointerMap.empty
|
|
|
|
let json = ref ""
|
|
|
|
|
|
|
|
let log_out = ref Format.std_formatter
|
|
|
|
let log_out = ref Format.std_formatter
|
|
|
|
let pointer_decl_index = ref Clang_ast_main.PointerMap.empty
|
|
|
|
let pointer_decl_index = ref Clang_ast_main.PointerMap.empty
|
|
|
|
let pointer_stmt_index = ref Clang_ast_main.PointerMap.empty
|
|
|
|
let pointer_stmt_index = ref Clang_ast_main.PointerMap.empty
|
|
|
@ -105,7 +104,6 @@ let reset_global_state () =
|
|
|
|
enum_map := Clang_ast_main.PointerMap.empty;
|
|
|
|
enum_map := Clang_ast_main.PointerMap.empty;
|
|
|
|
global_translation_unit_decls := [];
|
|
|
|
global_translation_unit_decls := [];
|
|
|
|
ivar_to_property_index := Clang_ast_main.PointerMap.empty;
|
|
|
|
ivar_to_property_index := Clang_ast_main.PointerMap.empty;
|
|
|
|
json := "";
|
|
|
|
|
|
|
|
log_out := Format.std_formatter;
|
|
|
|
log_out := Format.std_formatter;
|
|
|
|
pointer_decl_index := Clang_ast_main.PointerMap.empty;
|
|
|
|
pointer_decl_index := Clang_ast_main.PointerMap.empty;
|
|
|
|
pointer_stmt_index := Clang_ast_main.PointerMap.empty;
|
|
|
|
pointer_stmt_index := Clang_ast_main.PointerMap.empty;
|
|
|
|