Restore translating C++ methods only in cxx experimental mode

Reviewed By: ddino

Differential Revision: D3048117

fb-gh-sync-id: bf12437
shipit-source-id: bf12437
master
Dulma Rodriguez 9 years ago committed by Facebook Github Bot 3
parent ae8a32ab37
commit 7ffb635719

@ -169,7 +169,7 @@ struct
| Some (ClassTemplateSpecializationDecl _ as d) ->
let class_name = CTypes_decl.get_record_name d in
let curr_class = CContext.ContextCls(class_name, None, []) in
if !CFrontend_config.testing_mode then
if !CFrontend_config.cxx_experimental then
process_methods tenv cg cfg curr_class [dec]
| Some dec -> Printing.log_stats "Methods of %s skipped\n" (Ast_utils.string_of_decl dec)
| None -> ())

Loading…
Cancel
Save