[componentkit] Whitelist CKComponentContext

Reviewed By: adamjernst

Differential Revision: D4978040

fbshipit-source-id: c93c9ae
master
Ryan Rhee 8 years ago committed by Facebook Github Bot
parent 6680126af9
commit 9f65b0d3fa

@ -96,7 +96,12 @@ let mutable_local_vars_advice context an =
| _ -> None in
let is_of_whitelisted_type qual_type =
let cpp_whitelist = ["CKComponentScope"; "FBTrackingNodeScope"; "FBTrackingCodeScope"] in
let cpp_whitelist = [
"CKComponentScope";
"FBTrackingNodeScope";
"FBTrackingCodeScope";
"CKComponentContext"
] in
let objc_whitelist = ["NSError"] in
match get_referenced_type qual_type with
| Some CXXRecordDecl (_, ndi, _, _, _, _, _, _) ->

Loading…
Cancel
Save