1 //==-- proto_to_cxx.h - Protobuf-C++ conversion ----------------------------==//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Defines functions for converting between protobufs and C++.
11 //===----------------------------------------------------------------------===//
17 namespace clang_fuzzer
{
21 std::string
FunctionToString(const Function
&input
);
22 std::string
ProtoToCxx(const uint8_t *data
, size_t size
);
23 std::string
LoopFunctionToString(const LoopFunction
&input
);
24 std::string
LoopProtoToCxx(const uint8_t *data
, size_t size
);