diff --git a/facebook-clang-plugins b/facebook-clang-plugins index 11fd3f213..476112cbc 160000 --- a/facebook-clang-plugins +++ b/facebook-clang-plugins @@ -1 +1 @@ -Subproject commit 11fd3f213599a839df6fe3868116ff65e85bd543 +Subproject commit 476112cbc79aa320afdb4dbf46b79c21432b4717 diff --git a/infer/src/clang/CType_decl.ml b/infer/src/clang/CType_decl.ml index f125a2cfe..72d6f7907 100644 --- a/infer/src/clang/CType_decl.ml +++ b/infer/src/clang/CType_decl.ml @@ -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