Skip to content

Commit

Permalink
Restore translating C++ methods only in cxx experimental mode
Browse files Browse the repository at this point in the history
Reviewed By: ddino

Differential Revision: D3048117

fb-gh-sync-id: bf12437
shipit-source-id: bf12437
  • Loading branch information
dulmarod authored and Facebook Github Bot 3 committed Mar 14, 2016
1 parent ae8a32a commit 7ffb635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infer/src/clang/cFrontend_decl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -> ())
Expand Down

0 comments on commit 7ffb635

Please sign in to comment.