Restore not translating header in testing mode

Reviewed By: akotulski

Differential Revision: D3047221

fb-gh-sync-id: aaa5a75
shipit-source-id: aaa5a75
master
Dulma Rodriguez 9 years ago committed by Facebook Github Bot 6
parent 3c4013d363
commit 3d4942a748

@ -106,7 +106,8 @@ let should_translate (loc_start, loc_end) =
|| map_file_of equal_current_source loc_end || map_file_of equal_current_source loc_end
|| map_file_of equal_current_source loc_start || map_file_of equal_current_source loc_start
|| file_in_models || file_in_models
|| (!CFrontend_config.cxx_experimental && file_in_project) || (!CFrontend_config.cxx_experimental && file_in_project
&& not (!CFrontend_config.testing_mode))
let should_translate_lib source_range = let should_translate_lib source_range =
not !CFrontend_config.no_translate_libs not !CFrontend_config.no_translate_libs

Loading…
Cancel
Save