[clang] Update fcp plugin

Reviewed By: dulmarod

Differential Revision: D4591101

fbshipit-source-id: babcaea
master
Andrzej Kotulski 8 years ago committed by Facebook Github Bot
parent 0df765abfb
commit 957b67fa87

@ -1 +1 @@
Subproject commit 11fd3f213599a839df6fe3868116ff65e85bd543 Subproject commit 476112cbc79aa320afdb4dbf46b79c21432b4717

@ -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 Option.value_map ~f:is_translate_as_friend_name ~default:false named_decl_tuple_opt
| None -> false in | None -> false in
match get_friend_decl_opt (List.find_exn ~f:is_translate_as_friend_decl decl_list) with 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 Some t_ptr
| _ -> None | _ -> None
| exception Not_found -> None | exception Not_found -> None

Loading…
Cancel
Save