[pulse] skip `folly::Optional::reset()`

Summary:
Similar to D16005395: `folly::Optional` has a boolean field to know if
it needs to destroy the wrapped object and pulse ignores that
completely, causing false positives each time an `Optional` is created
around something with a non-trivial destructor.

Reviewed By: mbouaziz

Differential Revision: D16030149

fbshipit-source-id: aeed4a0b3
master
Jules Villard 6 years ago committed by Facebook Github Bot
parent 3a3c93140e
commit cb9ee662c8

@ -194,6 +194,7 @@ module ProcNameDispatcher = struct
let open ProcnameDispatcher.ProcName in let open ProcnameDispatcher.ProcName in
make_dispatcher make_dispatcher
[ -"folly" &:: "DelayedDestruction" &:: "destroy" &--> Misc.skip [ -"folly" &:: "DelayedDestruction" &:: "destroy" &--> Misc.skip
; -"folly" &:: "Optional" &:: "reset" &--> Misc.skip
; -"folly" &:: "SocketAddress" &:: "~SocketAddress" &--> Misc.skip ; -"folly" &:: "SocketAddress" &:: "~SocketAddress" &--> Misc.skip
; -"std" &:: "function" &:: "~function" &--> Cplusplus.delete ; -"std" &:: "function" &:: "~function" &--> Cplusplus.delete
; -"std" &:: "function" &:: "operator()" &--> StdFunction.operator_call ; -"std" &:: "function" &:: "operator()" &--> StdFunction.operator_call

Loading…
Cancel
Save