Skip to content

Commit

Permalink
[clang] Update fcp plugin
Browse files Browse the repository at this point in the history
Reviewed By: dulmarod

Differential Revision: D4591101

fbshipit-source-id: babcaea
  • Loading branch information
Andrzej Kotulski authored and facebook-github-bot committed Feb 22, 2017
1 parent 0df765a commit 957b67f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion facebook-clang-plugins
4 changes: 3 additions & 1 deletion infer/src/clang/CType_decl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ let get_translate_as_friend_decl decl_list =
Option.value_map ~f:is_translate_as_friend_name ~default:false named_decl_tuple_opt
| None -> false in
match get_friend_decl_opt (List.find_exn ~f:is_translate_as_friend_decl decl_list) with
| Some (Clang_ast_t.ClassTemplateSpecializationDecl (_, _, _, _, _, _, _, _, [`Type t_ptr])) ->
| Some
(Clang_ast_t.ClassTemplateSpecializationDecl
(_, _, _, _, _, _, _, _, {tsi_specialization_args=[`Type t_ptr]})) ->
Some t_ptr
| _ -> None
| exception Not_found -> None
Expand Down

0 comments on commit 957b67f

Please sign in to comment.