blob: 28756f5ab0710edf3a1fc1545de679c53dbf1db1 [file] [log] [blame]
{{/*
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
*/}}
#include <fidl/test.benchmarkfidl/cpp/wire.h>
namespace benchmark_suite {
{{ range .Benchmarks }}
[[maybe_unused]] {{ .Type }} Build_{{ .Name }}(fidl::AnyArena& allocator) {
{{ .ValueBuild }}
auto obj = {{ .ValueVar }};
return obj;
}
{{ end }}
} // namespace benchmark_suite