|
|
|
@ -118,9 +118,8 @@ let should_translate (loc_start, loc_end) decl_trans_context =
|
|
|
|
|
in
|
|
|
|
|
let file_in_project = map_path_of file_in_project loc_end
|
|
|
|
|
|| map_path_of file_in_project loc_start in
|
|
|
|
|
let file_in_models file = Str.string_match (Str.regexp "^.*/infer/models/cpp/include/") file 0 in
|
|
|
|
|
let file_in_models = map_path_of file_in_models loc_end
|
|
|
|
|
|| map_path_of file_in_models loc_start in
|
|
|
|
|
let file_in_models = map_path_of DB.file_is_in_cpp_model loc_end
|
|
|
|
|
|| map_path_of DB.file_is_in_cpp_model loc_start in
|
|
|
|
|
equal_current_source !curr_file
|
|
|
|
|
|| map_file_of equal_current_source loc_end
|
|
|
|
|
|| map_file_of equal_current_source loc_start
|
|
|
|
|