Fix C++ tests

Summary: Fix pattern matching of the `parameters` field of `DeprecatedAttr`

Reviewed By: akotulski

Differential Revision: D3782788

fbshipit-source-id: df8dd40
master
Martino Luca 9 years ago committed by Facebook Github Bot
parent 377d284cf2
commit 9e3b3c5d77

@ -449,7 +449,7 @@ struct
match IList.find_map_opt get_attr_opt decl_info.di_attributes with
| Some attribute_info ->
(match attribute_info.ai_parameters with
| [_; arg; _] -> Some arg
| [_; arg; _; _; _; _] -> Some arg
| _ ->
(* it's not supposed to happen due to hardcoded exporting logic
coming from ASTExporter.h in facebook-clang-plugins *)

Loading…
Cancel
Save