Skip to content

Commit 7ffb635

Browse files
dulmarodFacebook Github Bot 3
authored andcommitted
Restore translating C++ methods only in cxx experimental mode
Reviewed By: ddino Differential Revision: D3048117 fb-gh-sync-id: bf12437 shipit-source-id: bf12437
1 parent ae8a32a commit 7ffb635

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infer/src/clang/cFrontend_decl.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ struct
169169
| Some (ClassTemplateSpecializationDecl _ as d) ->
170170
let class_name = CTypes_decl.get_record_name d in
171171
let curr_class = CContext.ContextCls(class_name, None, []) in
172-
if !CFrontend_config.testing_mode then
172+
if !CFrontend_config.cxx_experimental then
173173
process_methods tenv cg cfg curr_class [dec]
174174
| Some dec -> Printing.log_stats "Methods of %s skipped\n" (Ast_utils.string_of_decl dec)
175175
| None -> ())

0 commit comments

Comments
 (0)