HomeSort by: relevance | last modified time | path
    Searched defs:RunOnDestruction (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerUtilFuchsia.cpp 352 class RunOnDestruction {
354 explicit RunOnDestruction(Fn fn) : fn_(fn) {}
355 ~RunOnDestruction() { fn_(); }
362 RunOnDestruction<Fn> at_scope_exit(Fn fn) {
363 return RunOnDestruction<Fn>(fn);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_common.h 906 class RunOnDestruction {
908 explicit RunOnDestruction(Fn fn) : fn_(fn) {}
909 ~RunOnDestruction() { fn_(); }
918 RunOnDestruction<Fn> at_scope_exit(Fn fn) {
919 return RunOnDestruction<Fn>(fn);

Completed in 12 milliseconds