diff --git a/.github/workflows/build-afl.yml b/.github/workflows/build-afl.yml index 58ba36b..c833849 100644 --- a/.github/workflows/build-afl.yml +++ b/.github/workflows/build-afl.yml @@ -9,22 +9,33 @@ on: jobs: build-afl: runs-on: ubuntu-latest - container: - image: ghcr.io/${{ github.repository }}-afl:latest - env: - CCACHE_DIR: /ccache + + # Pin ccache's dir so it matches the path cached below; ccache 4.x otherwise + # defaults to ~/.cache/ccache, which the cache step would miss. + env: + CCACHE_DIR: ~/.ccache steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: submodules: recursive + # Native build — no Docker. AFL++ needs clang + llvm-dev to build its + # LTO/llvm instrumentation passes (afl-clang-fast). + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends \ + build-essential cmake ccache git \ + clang llvm-dev \ + libboost-all-dev + - name: Cache ccache uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: - path: /ccache - key: ccache-ubuntu-afl-${{ github.sha }} - restore-keys: ccache-ubuntu-afl- + path: ~/.ccache + key: ccache-ubuntu-aflrunner-${{ github.sha }} + restore-keys: ccache-ubuntu-aflrunner- # The host build also drives the three external projects: # AFLplusplus, afl-ts, tree-sitter-solidity. So a plain `make` here diff --git a/.github/workflows/build-fuzz.yml b/.github/workflows/build-fuzz.yml index 3c12f78..b0635ab 100644 --- a/.github/workflows/build-fuzz.yml +++ b/.github/workflows/build-fuzz.yml @@ -9,13 +9,43 @@ on: jobs: build-fuzz: runs-on: ubuntu-latest - container: - image: ghcr.io/${{ github.repository }}-ossfuzz:latest + + # Pin ccache's dir so it matches the path cached below; ccache 4.x otherwise + # defaults to ~/.cache/ccache, which the cache step would miss. + env: + CCACHE_DIR: ~/.ccache steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: submodules: recursive + # Native AFL++ build — no Docker, no libc++. The fuzzers are built with + # AFL++'s afl-clang-fast++ against the system libstdc++; boost, protobuf + # and abseil come from the system. Only libprotobuf-mutator is built from + # source (into deps_afl/) by tools/ossfuzz/build_ossfuzz.sh. clang + llvm-dev + # are needed to build AFL++'s LLVM-mode compiler; ninja + pkg-config + + # protoc are used by the build script. + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends \ + build-essential cmake ccache git ninja-build pkg-config \ + clang llvm-dev \ + protobuf-compiler libprotobuf-dev libabsl-dev libboost-all-dev + + - name: Cache ccache + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + with: + path: ~/.ccache + key: ccache-ubuntu-ossfuzz-${{ github.sha }} + restore-keys: ccache-ubuntu-ossfuzz- + + # AFLplusplus is a submodule (checked out above); build its toolchain so + # afl-clang-fast++ and utils/aflpp_driver/libAFLDriver.a exist. Mirrors the + # `aflplusplus` cmake ExternalProject (make source-only NO_NYX=1). + - name: Build AFL++ + run: make -C AFLplusplus source-only NO_NYX=1 -j$(nproc) + - name: Build fuzzers - run: scripts/build_ossfuzz.sh + run: tools/ossfuzz/build_ossfuzz.sh diff --git a/.github/workflows/publish-images.yml b/.github/workflows/publish-images.yml deleted file mode 100644 index cae5852..0000000 --- a/.github/workflows/publish-images.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Publish images - -on: - push: - branches: [ main ] - workflow_dispatch: - -jobs: - build-and-push: - runs-on: ubuntu-latest - - permissions: - contents: read - packages: write - - strategy: - matrix: - include: - - dockerfile: scripts/docker/Dockerfile.ubuntu.clang.ossfuzz - suffix: ossfuzz - - dockerfile: scripts/docker/Dockerfile.ubuntu.clang.afl - suffix: afl - - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - - name: Log in to GHCR - uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0 - - - name: Extract image metadata - id: meta - uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0 - with: - images: ghcr.io/${{ github.repository }}-${{ matrix.suffix }} - tags: | - type=raw,value=latest - type=sha,prefix=sha-,format=short - - - name: Build and push (${{ matrix.suffix }}) - uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0 - with: - context: . - file: ${{ matrix.dockerfile }} - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha,scope=${{ matrix.suffix }} - cache-to: type=gha,mode=max,scope=${{ matrix.suffix }} diff --git a/.gitignore b/.gitignore index 7f999de..f4a6c79 100644 --- a/.gitignore +++ b/.gitignore @@ -10,29 +10,28 @@ compile_commands.json /.ccache sol_debug_out*/ yul_debug_out*/ -/corpuses /tmp /tmp.tar.xz -/my_corpus -/my_corpus_shuffler -/my_corpus_sol_ice_ossfuxx crash-* -/my_corpus_no_ssa -/my_corpus_single_S fuzz-*.log -/my_corpus_sol_roundtrip_ossfuzz -/my_corpus_yul_ast_comparator_fuzz -/my_corpus_yul_proto_ossfuzz_evmone_check_stack_alloc -/my_corpus_sol_proto_ossfuzz_evmone /build_afl /corpus_afl -/findings_afl +/my_corpus* /realworld_cache -/my_run /hang_triage /ice_crash -/perf.data -/perf.data.old +/perf.dat* /corpus_tsgen /corpus_tsgen_raw /corpus_afl_minimized +/shuffler_proto_corpus +/deps/ +/deps_afl/ +/dist +/findings_* + +# Generated protobuf bindings — regenerated on every build by +# tools/ossfuzz/build_ossfuzz.sh (system protoc), so not committed. +/tools/ossfuzz/*.pb.cc +/tools/ossfuzz/*.pb.h +/__pycache__ diff --git a/CLAUDE.md b/CLAUDE.md index 32a2fb0..b18eda7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,27 +6,34 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co This repo produces two sets of binaries from two different build directories. **They are not interchangeable.** -| Build tree | Toolchain | Produces | -| ---------------- | --------------------- | --------------------------------------------------------------------------------- | -| `build/` | Host compiler, cmake | `solc`, `sol_debug_runner`, `yul_debug_runner`, `stackshuffler` — for reproducing | -| `build_ossfuzz/` | clang + libc++ in Docker | libFuzzer fuzzers under `tools/ossfuzz/` — for fuzzing | +| Build tree | Toolchain | Produces | +| ---------- | --------------------------------- | --------------------------------------------------------------------------------- | +| `build/` | Host compiler, cmake | `solc`, `sol_debug_runner`, `yul_debug_runner`, `stackshuffler` — for reproducing | +| `build_afl/` | AFL++ `afl-clang-fast++` + system libstdc++ | the proto fuzzers under `tools/ossfuzz/` (+ `sol_afl_diff_runner`) — for fuzzing | -Fuzzing binaries **must** link against libc++ (MemorySanitizer requires it; libc++ is instrumented). That is why the fuzz build only works inside the OSS-Fuzz Docker image — it pulls in the exact compiler/toolchain OSS-Fuzz uses upstream. +Both trees build natively on the host — **no Docker.** The fuzz build uses AFL++'s `afl-clang-fast++` against the **system libstdc++** (no libc++), so `boost`, `protobuf`+`abseil` come from the system packages and `evmone` is the in-tree static archive built under the AFL toolchain. Only `libprotobuf-mutator` (LPM) is built from source, into `deps_afl/`. AFL++ is a submodule (`AFLplusplus/`) built via the top-level `CMakeLists.txt`; the proto fuzzers link the AFL++ driver (`utils/aflpp_driver/libAFLDriver.a`) as `LIB_FUZZING_ENGINE`. -### Building fuzzers (build_ossfuzz/) — Docker only +The proto grammars are mutated by LPM, not AFL's byte-level havoc: `tools/ossfuzz/build_ossfuzz.sh` builds one AFL++ custom-mutator `.so` per grammar (`tools/ossfuzz/lpm_afl_mutator.cc`), and `tools/ossfuzz/run_ossfuzz_afl.sh` wires the matching `.so` into `afl-fuzz` via `AFL_CUSTOM_MUTATOR_LIBRARY` + `AFL_CUSTOM_MUTATOR_ONLY=1`. + +### Building fuzzers (build_afl/) — native AFL++ ```bash -docker run --rm -v "$(pwd)":/src/solidity-fuzzing -ti solidity-ossfuzz \ - /src/solidity-fuzzing/scripts/build_ossfuzz.sh +# Prereq: build the AFL++ toolchain once (afl-clang-fast++ + libAFLDriver.a): +make -C build aflplusplus # or: make -C AFLplusplus source-only NO_NYX=1 + +tools/ossfuzz/build_ossfuzz.sh ``` -**Never run `cmake`/`make` directly on the host to build anything under `build_ossfuzz/`.** It will link against the wrong libc++/toolchain and either fail or silently produce a broken fuzzer. If the docker image is missing, build it first: +Prerequisites (Arch package names): `clang` + `llvm-dev` (to build AFL++'s LLVM mode), `protobuf` + `abseil` (system, libstdc++), `boost` (static, system), `cmake`, `ninja`, `make`, `git`, `protoc`, `ccache`. The script: -```bash -docker build -t solidity-ossfuzz -f scripts/docker/Dockerfile.ubuntu.clang.ossfuzz . -``` +1. builds `libprotobuf-mutator` static + PIC against the **system** protobuf into `deps_afl/` (skipped if `deps_afl/lib/libprotobuf-mutator.a` exists); +2. regenerates `*.pb.{cc,h}` from the `.proto` files with the **system** `protoc` so they match the linked system libprotobuf — these are **git-ignored** (regenerated on every build, not committed); +3. builds one LPM custom-mutator `.so` per grammar (plain `clang++` — the `.so` is loaded by `afl-fuzz` itself, so it must carry no AFL instrumentation); +4. configures `build_afl/` with `afl-clang-fast{,++}` (`-DOSSFUZZ=ON -DLPM_PREFIX=deps_afl -DLIB_FUZZING_ENGINE=…/libAFLDriver.a`) and builds the `ossfuzz_proto` + `ossfuzz_abiv2` targets. + +`deps_afl/` and `build_afl/` are git-ignored. To force the LPM rebuild, delete `deps_afl/lib/libprotobuf-mutator.a`. -`scripts/build_ossfuzz.sh` regenerates `*.pb.{cc,h}` from the `.proto` files before building. The proto bindings are committed (so that LSP / IDE works) but are refreshed on every fuzz build. +> **Note:** `tools/ossfuzz/CMakeLists.txt` is AFL-only — configuring `OSSFUZZ` with anything other than `afl-clang-fast++` fails fast with a `FATAL_ERROR`. (The old libc++/libFuzzer build flavour has been removed.) ### Building debug runners and `solc` (build/) — host cmake @@ -43,7 +50,7 @@ make -j$(nproc) - `solidity/` — git submodule; built as a subdirectory of the top-level `CMakeLists.txt` with `TESTS=OFF`. All fuzzers and runners link against the resulting `solidity`/`libsolc` libraries. - `evmone/` — git submodule; built as an `ExternalProject`. Runners `dlopen` `libevmone.so` at runtime; its directory is baked into the runner RPATH so `LD_LIBRARY_PATH` is not needed. - `tools/common/EVMHost.{cpp,h}` — fuzz-specific extensions of solidity's EVMHost (`m_subCallOutOfGas`, `m_contractCreationOrder`). Everything links against this copy, not the one in the solidity submodule. -- `tools/ossfuzz/` — libFuzzer harnesses and their proto grammars. See `tools/ossfuzz/README.md` for the per-binary breakdown. +- `tools/ossfuzz/` — the proto-fuzzer harnesses (run under AFL++ + LPM) and their proto grammars, plus `lpm_afl_mutator.cc` (the LPM→AFL custom-mutator bridge). See `tools/ossfuzz/README.md` for the per-binary breakdown. - `tools/property/` — fuzztest-based property tests. Two build modes (see top-level `CMakeLists.txt` for the cmake option): - **Property mode** (default, `build/` tree, any compiler) — each `FUZZ_TEST` runs as a gtest case with a ~1s random-sampling budget. Useful for CI smoke checks. `--fuzz=...` / `--fuzz_for=...` are no-ops here because the binary lacks coverage instrumentation. - **Fuzzing mode** (`build_fuzztest/` tree, clang only) — `cmake -DFUZZTEST_FUZZING_MODE_ENABLED=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..` applies `-fsanitize=fuzzer-no-link` + ASan + coverage flags to the whole tree (yul, solidity submodule, and the property target). The resulting binary supports `--fuzz=. [--fuzz_for=]` for continuous coverage-guided fuzzing with mutator-driven input generation. @@ -61,7 +68,7 @@ Most `*_ossfuzz_*` binaries share a source file and are differentiated by compil - `sol_ice_ossfuzz` — frontend-ICE hunter. **Deliberately** lets `InternalCompilerError`, `solAssert`, and boost assertions escape; only `UnimplementedFeatureError` + `StackTooDeep*` are caught as known non-bugs. Other `sol_proto_*` fuzzers should ignore ICE and leave it to this one. - `sol_recstruct_alias_ossfuzz` — narrow harness for report #1392 (recursive struct storage-copy aliasing). Uses a dedicated grammar (`solRecStructAliasProto.proto` + `protoToSolRecStructAlias.cpp`) that emits three aliasing shapes: DIRECT (`root=root.children[i]`), VIA_POINTER (through a `Node storage p` local), GRANDCHILD (`root=root.children[i].children[j]`). Primitive field types vary across `uint8..256 / int256 / address / bool / bytes32` to stress storage packing. Non-differential — `test()` returns a bitmask of mismatching fields; harness asserts zero. Both legacy and IR carry the bug, so cross-config differential would not flag it. - `sol_roundtrip_ossfuzz` — identity-oracle fuzzer (`solRoundtripProto.proto` + `protoToSolRoundtrip.cpp` + `solRoundtripFuzzer.cpp`). Each proto is a list of probes; each probe picks a type T, an op, and a seed. Ops: ABI round-trip, storage↔memory round-trip, delete-default, integer cast ladder. Same bitmask oracle: any violated identity sets a bit; harness asserts zero. Catches codegen/encoder bugs that corrupt the same way on both codegens (so differential fuzzers miss them). -- `stack_shuffler_invariance_property` (`tools/property/stackShufflerInvariance.cpp`) — fuzztest-based property/regression target asserting that `trace(stack, target, spill) == trace(stack, target, spill')` for any `spill' ⊇ spill` whose extras don't appear in `target.args` or `liveOut`. Two FUZZ_TESTs: `TraceStable` (base = ∅) and `TraceStableUnderSuperset` (general `base ⊆ augmented`). Domain mirrors the existing libFuzzer shuffler harness (V/PHI/LIT/JUNK slot kinds, target top + tail set + padding). Run continuously via the fuzz-mode build: +- `stack_shuffler_invariance_property` (`tools/property/stackShufflerInvariance.cpp`) — fuzztest-based property/regression target asserting that `trace(stack, target, spill) == trace(stack, target, spill')` for any `spill' ⊇ spill` whose extras don't appear in `target.args` or `liveOut`. Two FUZZ_TESTs: `TraceStable` (base = ∅) and `TraceStableUnderSuperset` (general `base ⊆ augmented`). Domain mirrors the existing proto shuffler harness (V/PHI/LIT/JUNK slot kinds, target top + tail set + padding). Run continuously via the fuzz-mode build: ``` mkdir build_fuzztest && cd build_fuzztest cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -84,7 +91,7 @@ Most `*_ossfuzz_*` binaries share a source file and are differentiated by compil 1. Convert the protobuf input to a source string. 2. Call `runOnce()` twice with two different optimizer / viaIR settings. -3. Compare `status_code`, `output_data`, logs, storage, transient storage. Mismatches are reported via `solAssert(…)` — which throws `langutil::InternalCompilerError`, so libFuzzer records the crash. +3. Compare `status_code`, `output_data`, logs, storage, transient storage. Mismatches are reported via `solAssert(…)` — which throws `langutil::InternalCompilerError`, so the fuzzer records the crash. 4. **Compile-path failures that are either known non-bugs or ICE are caught inside `runOnce` and surfaced as `EVMC_INTERNAL_ERROR`, which the caller skips.** These must never be caught at the outer scope — doing so would silently swallow real differential mismatches (they share the `InternalCompilerError` type with `solAssert`). ## Reproducing fuzzer findings @@ -94,19 +101,19 @@ Crash inputs are raw protobuf; to inspect/debug, dump them to text first using e ```bash # Sol: PROTO_FUZZER_DUMP_PATH=bad.sol \ - ./build_ossfuzz/tools/ossfuzz/sol_proto_ossfuzz_evmone crash- + ./build_afl/tools/ossfuzz/sol_proto_ossfuzz_evmone crash- ./build/tools/runners/sol_debug_runner bad.sol # Yul (also supports optimizer sequence dump): PROTO_FUZZER_DUMP_PATH=bad.yul PROTO_FUZZER_DUMP_SEQ_PATH=bad.seq \ - ./build_ossfuzz/tools/ossfuzz/yul_proto_ossfuzz_evmone crash- + ./build_afl/tools/ossfuzz/yul_proto_ossfuzz_evmone crash- ./build/tools/runners/yul_debug_runner bad.yul \ --optimizer-sequence "" \ --optimizer-cleanup-sequence "" # Stack shuffler (dumps to a special .stack format): PROTO_FUZZER_DUMP_PATH=bad.stack \ - ./build_ossfuzz/tools/ossfuzz/shuffler_proto_ossfuzz crash- + ./build_afl/tools/ossfuzz/shuffler_proto_ossfuzz crash- ./build/tools/shuffler-fuzzer/stackshuffler --verbose bad.stack ``` @@ -127,7 +134,7 @@ Both runners accept `--quiet` (used by delta debuggers) and `--output-dir` (writ ./tools/runners/check_diversity_and_errors.sh my_corpus_sol_proto_ossfuzz_evmone 300 # Or specify a non-default fuzzer binary: ./tools/runners/check_diversity_and_errors.sh my_corpus_sol_proto_ossfuzz_evmone_viair 300 \ - ./build_ossfuzz/tools/ossfuzz/sol_proto_ossfuzz_evmone_viair + ./build_afl/tools/ossfuzz/sol_proto_ossfuzz_evmone_viair ``` Wraps `check_sol_proto_files.py` — dumps N random corpus entries via the given fuzzer binary, compiles each with `./build/solidity/solc/solc`, and tallies language-feature coverage. Requires both build trees. diff --git a/CMakeLists.txt b/CMakeLists.txt index aa44678..90761e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,6 +125,12 @@ if (NOT EVMONE_LIB_DIR) BINARY_DIR "${EVMONE_BUILD_DIR}" CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} + # Force lib (not lib64) so evmone's ARCHIVE_OUTPUT_DIRECTORY, + # ${CMAKE_INSTALL_LIBDIR}, matches the ${EVMONE_BUILD_DIR}/lib + # path hardcoded below. GNUInstallDirs picks lib64 on non-Debian + # 64-bit hosts (e.g. NixOS), so without this the standalone + # archive lands in lib64/ and the harness link can't find it. + -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER} @@ -164,7 +170,10 @@ if (EXISTS "${CMAKE_SOURCE_DIR}/AFLplusplus/Makefile") SOURCE_DIR "${CMAKE_SOURCE_DIR}/AFLplusplus" CONFIGURE_COMMAND "" BUILD_IN_SOURCE 1 - BUILD_COMMAND make source-only + # NO_NYX=1 skips the optional Nyx (QEMU/KVM snapshot) backend. We only + # use the standard fork-server path (afl-fuzz + afl-clang-fast), and the + # Nyx sub-build pulls QEMU + Rust and fails noisily on non-Debian libdirs. + BUILD_COMMAND make source-only NO_NYX=1 INSTALL_COMMAND "" BUILD_BYPRODUCTS "${CMAKE_SOURCE_DIR}/AFLplusplus/afl-fuzz" diff --git a/README.md b/README.md index a5e8e0e..603af96 100644 --- a/README.md +++ b/README.md @@ -1,215 +1,94 @@ # Solidity Fuzzing Tools Fuzzing infrastructure for the [Solidity -compiler](https://github.com/argotorg/solidity). Contains OSS-Fuzz harnesses, -fuzzers, and debug runners to debug & reproduce findings. +compiler](https://github.com/argotorg/solidity): AFL++ harnesses, fuzzers, +and debug runners to reproduce findings. -## Three workflows, three build trees +## Two build trees -The repo supports three independent fuzzing workflows. Each uses its own -toolchain and its own out-of-tree build directory; they never share object -files, so you can rebuild any one without touching the others. +Everything builds natively on the host — no Docker, no libc++. -| Tree | Compiler | Workflow / artefacts | -| --- | --- | --- | -| `build/` | host gcc/clang | `solc`, debug runners (`sol_debug_runner`, `yul_debug_runner`), for reproducing crashes | -| `build_ossfuzz/` | clang + libc++ (in Docker) | libFuzzer harnesses (`sol_proto_ossfuzz_*`, `yul_proto_ossfuzz_*`, …) | -| `build_afl/` | `afl-clang-fast` | AFL++ differential fuzzer (`sol_afl_diff_runner`) | +- `build/` — host gcc/clang: `solc`, the `*_debug_runner` crash-repro + tools, and the AFL toolchain (afl-clang-fast, afl-ts, grammar). +- `build_afl/` — `afl-clang-fast++`: the AFL fuzzers — protobuf harnesses + (`*_proto_ossfuzz_*`) and the differential `.sol` fuzzer + (`sol_afl_diff_runner`). -The fuzz build **must** go through Docker — libFuzzer + MemorySanitizer -require an instrumented libc++ that only the OSS-Fuzz Docker image -ships. Sections below cover each tree in turn. +They never share object files; rebuild one without touching the other. -## Cloning and Setup +## Setup ```bash -git clone --recurse-submodules https://github.com/argotorg/solidity-fuzzing.git -cd solidity-fuzzing - -# Or if already cloned without submodules: -git submodule update --init --recursive -``` - -Make sure to have the following installed: -* gcc / g++ (C++20 support required, i.e. GCC 10+) -* cmake (>= 3.13) -* make -* libboost-dev, libboost-program-options-dev, libboost-filesystem-dev -* linux-perf -* gdb -* protobuf-compiler (protoc) -* ccache -* docker - -## Applying EVMHost patches - -These are needed because `EVMHost.cpp` in solidity is lacking some -functionality needed for us to be able to minimize false positives. -```bash -for p in patches/*.patch; do - git apply --reverse --check "$p" 2>/dev/null || git apply "$p" -done +git clone --recurse-submodules \ + https://github.com/argotorg/solidity-fuzzing.git +cd solidity-fuzzing # or: git submodule update --init --recursive ``` -## Building Solidity and the Debug Tools, i.e. "normal build" +Needs: gcc/g++ (C++20), clang/clang++, llvm-dev, cmake (>=3.13), make, +ninja, boost (incl. static libs), protobuf + abseil, protoc, ccache, gdb. -We'll need a full solidity build along with debug tools: +Apply the local solidity patches (EVMHost fixes; idempotent): ```bash -mkdir -p build && cd build -cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ - -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ - -DCMAKE_CXX_FLAGS="-fno-omit-frame-pointer" -DCMAKE_C_FLAGS="-fno-omit-frame-pointer" .. -make -j$(nproc) -cd .. +for p in patches/*.patch; do + git apply --reverse --check "$p" 2>/dev/null || git apply "$p" +done ``` -This builds the following debug tools: -- `sol_debug_runner` — reproduces `sol_proto_ossfuzz_evmone*` findings - and, with `--afl`, AFL crashes from `sol_afl_diff_runner` -- `yul_debug_runner` — reproduces `yul_proto_ossfuzz_evmone*` findings - -## Building libfuzzer Docker Image +## Build ```bash -docker build -t solidity-ossfuzz -f scripts/docker/Dockerfile.ubuntu.clang.ossfuzz . -``` +# 1. solc + debug runners (build/) +mkdir -p build && cd build && cmake .. && make -j$(nproc) && cd .. -## Building libfuzzer-based fuzzers using the Docker Image +# 2. AFL toolchain — afl-clang-fast, afl-ts, grammar (needs llvm-dev) +make -C build -j$(nproc) aflplusplus afl_ts tree_sitter_solidity -```bash -docker run --rm -v "$(pwd)":/src/solidity-fuzzing -ti solidity-ossfuzz \ - /src/solidity-fuzzing/scripts/build_ossfuzz.sh +# 3. AFL fuzzers (build_afl/) +tools/ossfuzz/build_ossfuzz.sh # protobuf fuzzers + LPM mutators +tools/afl/build_instrumented.sh # differential .sol fuzzer ``` -This builds all relevant fuzzer targets under `build_ossfuzz`. -The most important are the libfuzzer-based protobuf targets to be ran standalone: -- `sol_proto_ossfuzz_*` — Solidity differential fuzzers -- `yul_proto_ossfuzz_*` — Yul differential fuzzers -- `shuffler_proto_ossfuzz` - Stack shuffler fuzzer +`tools/ossfuzz/build_ossfuzz.sh` builds libprotobuf-mutator into `deps_afl/` +(against the system protobuf), one LPM custom mutator per grammar, and the +fuzzers into `build_afl/`. See [tools/ossfuzz](tools/ossfuzz/README.md). -## Running a libfuzzer-based fuzzers +## Run ```bash -./build_ossfuzz/tools/ossfuzz/sol_proto_ossfuzz_evmone corpus_dir_sol -./build_ossfuzz/tools/ossfuzz/yul_proto_ossfuzz_evmone corpus_dir_yul -./build_ossfuzz/tools/ossfuzz/shuffler_proto_ossfuzz corpus_dir_shuffler -``` - -## Running the AFL++ differential fuzzer - -`sol_afl_diff_runner` reads a single `.sol` file, compiles + deploys it under -two optimiser settings (`minimal` vs `standard`), calls each with deterministic -calldata, and `solAssert`s that status / output / logs / storage match. On any -mismatch the unhandled exception triggers SIGABRT and AFL++ records a crash. -It works under `afl-fuzz` and standalone (file path or stdin). - -Two binaries get built — same source, different toolchain: - -| Path | Toolchain | When to use | -| --- | --- | --- | -| `build/tools/afl/sol_afl_diff_runner` | host gcc | one-off check on a single `.sol`; reproducing crashes | -| `build_afl/tools/afl/sol_afl_diff_runner` | `afl-clang-fast` | real fuzzing campaigns under `afl-fuzz` | +echo core | sudo tee /proc/sys/kernel/core_pattern # one-time, AFL needs it -AFL++ itself, the `afl-ts` AST-aware custom mutator, and the -`tree-sitter-solidity` grammar are all vendored as submodules — no system -AFL++ install needed. The grammar builds in the default `make` target; -AFL++ + afl-ts are opt-in (they need `clang` + `llvm-dev` that the -regular host build doesn't). +# Protobuf fuzzers — afl-fuzz + the matching LPM grammar mutator: +tools/ossfuzz/run_ossfuzz_afl.sh sol_proto_ossfuzz_evmone corpus_sol +tools/ossfuzz/run_ossfuzz_afl.sh yul_proto_ossfuzz_evmone corpus_yul -```bash -# Build solc + host harness + grammar + AFL toolchain (needs clang + llvm-dev). -sudo apt-get install libprotobuf-dev rustup -rustup toolchain install nightly -mkdir -p build && cd build && cmake .. && make -j$(nproc) && cd .. # Build solc + host harness + grammar. -make -C build -j$(nproc) aflplusplus afl_ts # Build the AFL toolchain (needs clang + llvm-dev). -tools/afl/build_afl.sh - -# Build the AFL-instrumented harness in build_afl/. -tools/afl/build_instrumented.sh - -# Setup: pull ~15 real-world projects + build the merged seed corpus + expand corpus -tools/afl/fetch_realworld.sh # pull real-world projects -tools/afl/build_corpus.sh # writes corpus_afl/ (~8700 files) -tools/afl/build_corpus_tsgen.sh # grammar-driven extra surface via tsgen -cp corpus_tsgen/*.sol corpus_afl/ - -# One-time system setup: AFL++ requires this kernel setting. -echo core | sudo tee /proc/sys/kernel/core_pattern - -# Launch — coverage-guided AFL++ + afl-ts AST mutation, all from submodules: -tools/afl/run_afl_parallel.sh -j 8 # multi-threaded -tools/afl/run_afl.sh # single-threaded - -# Repro a crash still with the exact harness AFL ran -build/tools/afl/sol_afl_diff_runner some.sol; echo $? # 0 = no diff, 134 = mismatch - -# Replay an AFL crash with full per-config diagnostics, must use --afl -build/tools/runners/sol_debug_runner --afl findings_afl/default/crashes/id:000000,... +# Differential .sol fuzzer (afl-ts AST mutator): +tools/afl/run_afl.sh # or run_afl_parallel.sh -j 8 ``` -See [tools/afl/README.md](tools/afl/README.md) for details on the harness, -corpus, mutator integration, and follow-up TODOs. - -### Regression tests for the AFL diff runner +See [tools/ossfuzz](tools/ossfuzz/README.md) and +[tools/afl](tools/afl/README.md) for the fuzzer lists and triage. -`tools/afl/tests/` holds a small suite of `.sol` inputs that pin past -harness false-positive fixes (e.g. self-bytecode introspection via -`extcodecopy(address(),...)` / `extcodesize(address())`). Each input is -expected to complete with exit code 0 — either passes the differential -or is legitimately skipped. A non-zero exit means the runner crashed -via `solAssert` / SIGABRT, i.e. a regression in the skip logic. +## Reproduce a finding ```bash -make -C build -j$(nproc) sol_afl_diff_runner # ensure host runner is built -tools/afl/tests/run.sh # runs every inputs/*.sol +# Dump source from a crash, then replay (debug runners live in build/): +PROTO_FUZZER_DUMP_PATH=bad.sol \ + build_afl/tools/ossfuzz/sol_proto_ossfuzz_evmone crash-file +build/tools/runners/sol_debug_runner bad.sol # 0 ok, 1 diff, 2 compile-fail, 3 ICE + +# Yul equivalent: +PROTO_FUZZER_DUMP_PATH=bad.yul \ + build_afl/tools/ossfuzz/yul_proto_ossfuzz_evmone crash-file +build/tools/runners/yul_debug_runner bad.yul + +# AFL .sol crash (the file embeds calldata) — needs --afl: +build/tools/runners/sol_debug_runner --afl findings_*/default/crashes/id:... ``` -To add a regression input, drop a `.sol` under `tools/afl/tests/inputs/` -with a short header comment explaining what it exercises and why. - -## Running Debug Systems +### AFL diff-runner regression tests ```bash -# Reproduce a sol ProtoBuf EVMOne finding: -./build/sol_debug_runner crash.sol - -# Reproduce an AFL finding (".sol" file contains also calldata): -./build/sol_debug_runner --afl crash.sol - -# Reproduce a Yul Protobuf EVMOne finding: -./build/yul_debug_runner crash.yul +make -C build -j$(nproc) sol_afl_diff_runner +tools/afl/tests/run.sh # every inputs/*.sol must exit 0 ``` - -### Replaying a Yul single-pass crash corpus - -`run_yul_crashes.py -p ` dumps each `crash-` in `_crash/` to -`.yul` and replays through `yul_debug_runner` with the matching single-step -optimizer, writing output to `.out`. Valid passes: `c S L M s r D`. - -### Replaying an ICE crash corpus - -`run_ice_crashes.py` dumps each `crash-` in `ice_crash/` to `.sol` via -`sol_ice_ossfuzz` and recompiles with `solc` (default args: `--via-ir ---optimize`, override with `--solc-args`), writing output to `.out`. - -## FAQ - -### Why the elaborate docker image to build fuzzers? - -- Fuzzing binaries **must** link against libc++ and not libstdc++ - This is [because][2] (1) MemorySanitizer (which flags uses of - uninitialized memory) depends on libc++; and (2) because libc++ is - instrumented (to check for memory and type errors) and libstdc++ not, - the former may find more bugs. - -- Linking against libc++ requires us to compile everything solidity depends - on from source (and link these against libc++ as well) - -- To reproduce the compiler versions used by upstream oss-fuzz bots, we need - to reuse their docker image containing the said compiler versions - -- Some fuzzers depend on libprotobuf, libprotobuf-mutator, libevmone etc. - which may not be available locally; even if they were they might not be the - right versions - diff --git a/cmake/toolchains/default.cmake b/cmake/toolchains/default.cmake deleted file mode 100644 index e69de29..0000000 diff --git a/cmake/toolchains/libfuzzer.cmake b/cmake/toolchains/libfuzzer.cmake deleted file mode 100644 index a215c83..0000000 --- a/cmake/toolchains/libfuzzer.cmake +++ /dev/null @@ -1,13 +0,0 @@ -# Inherit default options -include("${CMAKE_CURRENT_LIST_DIR}/default.cmake") -# Build fuzzing binaries -set(OSSFUZZ ON CACHE BOOL "Enable fuzzer build" FORCE) -# Use libfuzzer as the fuzzing back-end -set(LIB_FUZZING_ENGINE "-fsanitize=fuzzer" CACHE STRING "Use libfuzzer back-end" FORCE) -# clang/libfuzzer specific flags for UBSan instrumentation -# uses the more memory-efficient gold, which allows us to stay with the "large" resource class without OOM errors -set(CMAKE_CXX_FLAGS "-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -I /usr/local/include/c++/v1 -fsanitize=undefined -fsanitize=fuzzer-no-link -fuse-ld=gold -stdlib=libc++" CACHE STRING "Custom compilation flags" FORCE) -# Link statically against boost libraries -set(BOOST_FOUND ON CACHE BOOL "" FORCE) -set(Boost_USE_STATIC_LIBS ON CACHE BOOL "Link against static Boost libraries" FORCE) -set(Boost_USE_STATIC_RUNTIME ON CACHE BOOL "Link against static Boost runtime library" FORCE) diff --git a/patches/0003-libsolidity-YulArity-operator-less.patch b/patches/0003-libsolidity-YulArity-operator-less.patch new file mode 100644 index 0000000..afe764c --- /dev/null +++ b/patches/0003-libsolidity-YulArity-operator-less.patch @@ -0,0 +1,15 @@ +diff --git a/solidity/libsolidity/codegen/ir/Common.h b/solidity/libsolidity/codegen/ir/Common.h +index cf5bc69c7..2fe4f6a38 100644 +--- a/solidity/libsolidity/codegen/ir/Common.h ++++ b/solidity/libsolidity/codegen/ir/Common.h +@@ -42,6 +42,10 @@ struct YulArity + + bool operator==(YulArity const& _other) const { return in == _other.in && out == _other.out; } + bool operator!=(YulArity const& _other) const { return !(*this == _other); } ++ // Matches the std::less specialization below. Some standard-library ++ // map internals compare keys with operator< directly (via the transparent ++ // std::less comparator) instead of std::less, so define it. ++ bool operator<(YulArity const& _other) const { return in < _other.in || (in == _other.in && out < _other.out); } + + size_t in; /// Number of input parameters + size_t out; /// Number of output parameters diff --git a/run_ice_crashes.py b/run_ice_crashes.py index 6b61a19..2a957f9 100755 --- a/run_ice_crashes.py +++ b/run_ice_crashes.py @@ -20,9 +20,21 @@ from concurrent.futures import ThreadPoolExecutor, as_completed from pathlib import Path -DUMPER = Path("./build_ossfuzz/tools/ossfuzz/sol_ice_ossfuzz").resolve() +DUMPER = Path("./build_afl/tools/ossfuzz/sol_ice_ossfuzz").resolve() SOLC = Path("./build/solidity/solc/solc").resolve() + +def is_crash_file(name: str) -> bool: + """True for a raw fuzzer crash input, not our generated artifacts. + + Accepts both libFuzzer ("crash-") and AFL++ ("id:000000,sig:...") + naming. The "." guard excludes the per-crash .sol/.out/.bt files we write + alongside, plus AFL's crashes/README.txt. + """ + if "." in name: + return False + return name.startswith("crash-") or name.startswith("id:") + ICE_MARKER = "Internal compiler error" # solc prints e.g. "Dynamic exception type: boost::wrapexcept" EXC_TYPE_RE = re.compile(r"Dynamic exception type:\s*(?:boost::wrapexcept<)?([\w:]+)") @@ -160,7 +172,7 @@ def main() -> int: return 1 crashes = sorted(f for f in crash_dir.iterdir() - if f.is_file() and f.name.startswith("crash-") and "." not in f.name) + if f.is_file() and is_crash_file(f.name)) if args.limit is not None: crashes = crashes[:args.limit] total = len(crashes) diff --git a/run_sol_crashes.py b/run_sol_crashes.py index 2657812..ee0ab0e 100755 --- a/run_sol_crashes.py +++ b/run_sol_crashes.py @@ -24,7 +24,11 @@ The fuzzer binary is inferred from the crash-dir name by stripping a leading "NNN-" prefix (so `488-sol_proto_ossfuzz_evmone_viair` -> that binary); override -with --fuzzer. Exit-code meanings (both runners): +with --fuzzer. NOTE: an AFL++ crash dir is `findings_/default/crashes`, +whose basename is just "crashes" — pass --fuzzer explicitly for those. Crash +inputs are matched by both libFuzzer ("crash-*") and AFL++ ("id:*") naming, and +the fuzzers now live in build_afl/ (was build_ossfuzz/). Exit-code meanings (both +runners): 0 = all match 1 = mismatch (differential bug) 2 = compile fail 3 = internal compiler error """ @@ -38,12 +42,24 @@ from concurrent.futures import ThreadPoolExecutor, as_completed from pathlib import Path -OSSFUZZ_DIR = Path("./build_ossfuzz/tools/ossfuzz") +OSSFUZZ_DIR = Path("./build_afl/tools/ossfuzz") SOL_RUNNER = Path("./build/tools/runners/sol_debug_runner").resolve() YUL_RUNNER = Path("./build/tools/runners/yul_debug_runner").resolve() ANSI_RE = re.compile(r"\x1b\[[0-9;]*m") + +def is_crash_file(name: str) -> bool: + """True for a raw fuzzer crash input, not our generated artifacts. + + Accepts both libFuzzer ("crash-") and AFL++ ("id:000000,sig:...") + naming. The "." guard excludes the per-crash .sol/.yul/.out/.dump.txt/.seq + files we write alongside, plus AFL's crashes/README.txt. + """ + if "." in name: + return False + return name.startswith("crash-") or name.startswith("id:") + # rc -> short verdict; both runners share this scheme (see --help / CLAUDE.md). VERDICT = {0: "OK", 1: "MISMATCH", 2: "COMPILE_FAIL", 3: "INTERNAL_ERR"} @@ -250,8 +266,7 @@ def main(): return 1 crashes = sorted(f for f in crash_dir.iterdir() - if f.is_file() and f.name.startswith("crash-") - and "." not in f.name) + if f.is_file() and is_crash_file(f.name)) if args.limit is not None: crashes = crashes[:args.limit] total = len(crashes) diff --git a/run_yul_crashes.py b/run_yul_crashes.py index a71c319..e82ac57 100755 --- a/run_yul_crashes.py +++ b/run_yul_crashes.py @@ -22,6 +22,18 @@ RUNNER = Path("./build/tools/runners/yul_debug_runner").resolve() +def is_crash_file(name: str) -> bool: + """True for a raw fuzzer crash input, not our generated artifacts. + + Accepts both libFuzzer ("crash-") and AFL++ ("id:000000,sig:...") + naming. The "." guard excludes the per-crash .yul/.out files we write + alongside, plus AFL's crashes/README.txt. + """ + if "." in name: + return False + return name.startswith("crash-") or name.startswith("id:") + + def process_one(crash: Path, crash_dir: Path, dumper: Path, opt: str, work_root: Path): yul_out = (crash_dir / f"{crash.name}.yul").resolve() run_out = (crash_dir / f"{crash.name}.out").resolve() @@ -64,7 +76,7 @@ def main() -> int: opt = args.opt_pass crash_dir = Path(args.crash_dir) if args.crash_dir else Path(f"{opt}_crash") - dumper = Path(f"./build_ossfuzz/tools/ossfuzz/yul_proto_ossfuzz_evmone_single_pass_{opt}").resolve() + dumper = Path(f"./build_afl/tools/ossfuzz/yul_proto_ossfuzz_evmone_single_pass_{opt}").resolve() for p in (dumper, RUNNER): if not (p.is_file() and os.access(p, os.X_OK)): @@ -75,7 +87,7 @@ def main() -> int: return 1 crashes = sorted(f for f in crash_dir.iterdir() - if f.is_file() and f.name.startswith("crash-") and "." not in f.name) + if f.is_file() and is_crash_file(f.name)) total = len(crashes) done = 0 threads = max(1, args.threads) diff --git a/scripts/build_ossfuzz.sh b/scripts/build_ossfuzz.sh deleted file mode 100755 index 7a94ed3..0000000 --- a/scripts/build_ossfuzz.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -set -ex - -ROOTDIR="$(realpath "$(dirname "$0")/..")" -BUILDDIR="${ROOTDIR}/build_ossfuzz" -mkdir -p "${BUILDDIR}" && mkdir -p "$BUILDDIR/deps" - -function generate_protobuf_bindings -{ - cd "${ROOTDIR}"/tools/ossfuzz - # Generate protobuf C++ bindings - for protoName in yul abiV2 sol sol2 shuffler solRecStructAlias solRoundtrip; - do - protoc "${protoName}"Proto.proto --cpp_out . - done -} - -function build_fuzzers -{ - cd "${BUILDDIR}" - export CCACHE_DIR="$ROOTDIR/.ccache" - export CCACHE_BASEDIR="$ROOTDIR" - export CCACHE_NOHASHDIR=1 - CMAKE_OPTIONS="${CMAKE_OPTIONS:-} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" - mkdir -p "$CCACHE_DIR" - # shellcheck disable=SC2086 - cmake .. -DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:-Release}" \ - -DCMAKE_TOOLCHAIN_FILE="${ROOTDIR}"/cmake/toolchains/libfuzzer.cmake \ - $CMAKE_OPTIONS - ccache -z - make ossfuzz ossfuzz_proto ossfuzz_abiv2 -j 8 - ccache -s -} - -generate_protobuf_bindings -build_fuzzers diff --git a/scripts/docker/Dockerfile.ubuntu.clang.afl b/scripts/docker/Dockerfile.ubuntu.clang.afl deleted file mode 100644 index 24ae055..0000000 --- a/scripts/docker/Dockerfile.ubuntu.clang.afl +++ /dev/null @@ -1,51 +0,0 @@ -# vim:syntax=dockerfile -#------------------------------------------------------------------------------ -# Dockerfile for building and testing Solidity AFL fuzzers on CI -# Target: Ubuntu AFL Clang variant -# -# solidity-fuzzing is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# solidity-fuzzing is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with solidity-fuzzing. If not, see -# -# (c) 2026 solidity-fuzzing contributors. -#------------------------------------------------------------------------------ -FROM ubuntu:24.04 - -ARG DEBIAN_FRONTEND=noninteractive - -RUN apt-get update && apt-get install -y --no-install-recommends \ - build-essential \ - ca-certificates \ - ccache \ - clang \ - cmake \ - gdb \ - git \ - libboost-all-dev \ - lld \ - llvm \ - llvm-dev \ - pkg-config \ - rustup \ - && rm -rf /var/lib/apt/lists/* - -RUN git clone --depth 1 -b v0.26.8 https://github.com/tree-sitter/tree-sitter /tmp/tree-sitter \ - && test "$(git -C /tmp/tree-sitter rev-parse HEAD)" = "cd5b087cd9f45ca6d93ab1954f6b7c8534f324d2" \ - && make -C /tmp/tree-sitter -j"$(nproc)" install \ - && ldconfig \ - && rm -rf /tmp/tree-sitter - -# tsgen's Cargo.toml declares edition = "2024" (rustc >= 1.85). Ubuntu's -# apt rustc is currently 1.75; rustup tracks current stable. -# See: https://github.com/jubnzv/tsgen/blob/d8a4d419bdf4c6e668f18c8b72743f33018e9d9a/Cargo.toml#L4 -RUN rustup set profile minimal && rustup default stable -ENV PATH="/root/.cargo/bin:${PATH}" diff --git a/scripts/docker/Dockerfile.ubuntu.clang.ossfuzz b/scripts/docker/Dockerfile.ubuntu.clang.ossfuzz deleted file mode 100644 index 8b29a6f..0000000 --- a/scripts/docker/Dockerfile.ubuntu.clang.ossfuzz +++ /dev/null @@ -1,192 +0,0 @@ -# vim:syntax=dockerfile -#------------------------------------------------------------------------------ -# Dockerfile for building and testing Solidity Compiler on CI -# Target: Ubuntu ossfuzz Clang variant -# -# This file is part of solidity. -# -# solidity is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# solidity is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with solidity. If not, see -# -# (c) 2016-2021 solidity contributors. -#------------------------------------------------------------------------------ -FROM gcr.io/oss-fuzz-base/base-builder AS base - -ARG DEBIAN_FRONTEND=noninteractive - -RUN apt-get update; \ - apt-get -qqy install --no-install-recommends \ - automake \ - bison \ - build-essential \ - ccache \ - curl \ - git \ - jq \ - libbz2-dev \ - libc++-18-dev \ - libc++abi-18-dev \ - liblzma-dev \ - libtool \ - lsof \ - m4 \ - mlton \ - ninja-build \ - openjdk-8-jdk \ - pkg-config \ - python3-pip \ - python3-dev \ - software-properties-common \ - sudo \ - texinfo \ - unzip \ - uuid-dev \ - wget \ - zlib1g-dev; \ - pip3 install \ - codecov \ - colorama \ - deepdiff \ - parsec \ - pygments-lexer-solidity \ - pylint \ - requests \ - tabulate; - -FROM base AS libraries - -# Boost -RUN set -ex; \ - cd /usr/src; \ - wget -q 'https://archives.boost.io/release/1.83.0/source/boost_1_83_0.tar.bz2' -O boost.tar.bz2; \ - test "$(sha256sum boost.tar.bz2)" = "6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e boost.tar.bz2" && \ - tar -xf boost.tar.bz2; \ - rm boost.tar.bz2; \ - cd boost_1_83_0; \ - export CXXFLAGS="$CXXFLAGS -std=c++20 -nostdinc++ -I/usr/local/include/c++/v1 -I/usr/local/include/x86_64-unknown-linux-gnu/c++/v1 -pthread"; \ - export LDFLAGS="$LDFLAGS -stdlib=libc++ -lpthread"; \ - ./bootstrap.sh --with-toolset=clang --prefix=/usr; \ - ./b2 toolset=clang \ - cxxflags="${CXXFLAGS}" \ - linkflags="${LDFLAGS}" \ - headers; \ - ./b2 toolset=clang \ - cxxflags="${CXXFLAGS}" \ - linkflags="${LDFLAGS}" \ - link=static variant=release runtime-link=static \ - system filesystem unit_test_framework program_options \ - install -j $(($(nproc)/2)); \ - rm -rf /usr/src/boost_1_83_0 - -# Z3 -RUN set -ex; \ - z3_version="4.13.3"; \ - z3_archive_name="z3-${z3_version}-x64-glibc-2.35"; \ - wget "https://github.com/Z3Prover/z3/releases/download/z3-${z3_version}/${z3_archive_name}.zip" -O /opt/z3.zip; \ - test "$(sha256sum /opt/z3.zip)" = "32c7377026733c9d7b33c21cd77a68f50ba682367207b031a6bfd80140a8722f /opt/z3.zip"; \ - unzip -j /opt/z3.zip "${z3_archive_name}/bin/z3" -d /usr/bin; \ - rm -f /opt/z3.zip; - -# Eldarica -RUN set -ex; \ - apt-get update; \ - apt-get install -qqy openjdk-11-jre; \ - eldarica_version="2.1"; \ - wget "https://github.com/uuverifiers/eldarica/releases/download/v${eldarica_version}/eldarica-bin-${eldarica_version}.zip" -O /opt/eld_binaries.zip; \ - test "$(sha256sum /opt/eld_binaries.zip)" = "0ac43f45c0925383c9d2077f62bbb515fd792375f3b2b101b30c9e81dcd7785c /opt/eld_binaries.zip"; \ - unzip /opt/eld_binaries.zip -d /opt; \ - rm -f /opt/eld_binaries.zip; - -# CVC5 -RUN set -ex; \ - cvc5_version="1.2.0"; \ - cvc5_archive_name="cvc5-Linux-x86_64-static"; \ - wget "https://github.com/cvc5/cvc5/releases/download/cvc5-${cvc5_version}/${cvc5_archive_name}.zip" -O /opt/cvc5.zip; \ - test "$(sha256sum /opt/cvc5.zip)" = "d18f174ff9a11923c32c3f871f844ed16bd77a28f51050b8e7c8d821c98a1c2e /opt/cvc5.zip"; \ - unzip -j /opt/cvc5.zip "${cvc5_archive_name}/bin/cvc5" -d /usr/bin; \ - rm -f /opt/cvc5.zip; - -# OSSFUZZ: libprotobuf-mutator -# Use commit prior to libprotobuf upgrade that broke solidity build -# See https://github.com/google/oss-fuzz/issues/10237 -RUN set -ex; \ - git clone https://github.com/google/libprotobuf-mutator.git /usr/src/libprotobuf-mutator; \ - cd /usr/src/libprotobuf-mutator; \ - git reset --hard 212a7be1eb08e7f9c79732d2aab9b2097085d936; \ - mkdir build; \ - cd build; \ - cmake .. -GNinja -DLIB_PROTO_MUTATOR_DOWNLOAD_PROTOBUF=ON \ - -DLIB_PROTO_MUTATOR_TESTING=OFF -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX="/usr"; \ - ninja; \ - cp -vpr external.protobuf/bin/* /usr/bin/; \ - cp -vpr external.protobuf/include/* /usr/include/; \ - cp -vpr external.protobuf/lib/* /usr/lib/; \ - ninja install/strip; \ - rm -rf /usr/src/libprotobuf-mutator - -# EVMONE -RUN set -ex; \ - cd /usr/src; \ - git clone --branch="v0.16.0" --recurse-submodules https://github.com/ipsilon/evmone.git; \ - cd evmone; \ - mkdir build; \ - cd build; \ - CXX=clang++ cmake .. -G Ninja \ - -DCMAKE_CXX_STANDARD=20 \ - -DCMAKE_CXX_FLAGS="-stdlib=libc++ -fsanitize=fuzzer-no-link -fsanitize=undefined -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE" \ - -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX="/usr"; \ - ninja; \ - ninja install; \ - rm -rf /usr/src/evmone - -# gmp -RUN set -ex; \ - # Replace system installed libgmp static library - # with sanitized version. Do not perform apt - # remove because it removes mlton as well that - # we need for building libabicoder - cd /usr/src/; \ - git clone --depth 1 --branch gmp-6.2.1 https://github.com/gmp-mirror/gmp-6.2 gmp/; \ - rm -r gmp/.git/; \ - test \ - "$(tar --create gmp/ --sort=name --mtime=1970-01-01Z --owner=0 --group=0 --numeric-owner | sha256sum)" = \ - "d606ff6a4ce98692f9920031e85ea8fcf4a65ce1426f6f0048b8794aefed174b -"; \ - # NOTE: This removes also libgmp.so, which git depends on - rm -f /usr/lib/x86_64-linux-gnu/libgmp.*; \ - rm -f /usr/include/x86_64-linux-gnu/gmp.h; \ - cd gmp/; \ - autoreconf -i; \ - ./configure --prefix=/usr --enable-static=yes --enable-maintainer-mode; \ - make -j; \ - make check; \ - make install; \ - rm -rf /usr/src/gmp/ - -# libabicoder -RUN set -ex; \ - cd /usr/src; \ - git clone https://github.com/ekpyron/Yul-Isabelle; \ - cd Yul-Isabelle; \ - cd libabicoder; \ - CXX=clang++ CXXFLAGS="-stdlib=libc++ -pthread" make; \ - cp libabicoder.a /usr/lib; \ - cp abicoder.hpp /usr/include; \ - rm -rf /usr/src/Yul-Isabelle - -FROM base -COPY --from=libraries /usr/lib /usr/lib -COPY --from=libraries /usr/bin /usr/bin -COPY --from=libraries /usr/include /usr/include -COPY --from=libraries /opt/eldarica /opt/eldarica -ENV PATH="$PATH:/opt/eldarica" diff --git a/scripts/update_solidity.sh b/scripts/update_solidity.sh deleted file mode 100755 index f6f337c..0000000 --- a/scripts/update_solidity.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env bash -# Point the solidity submodule at a ref (branch, tag, commit, or PR number) -# and rebuild both the normal build and the fuzz build. -# -# Usage: -# scripts/update_solidity.sh -# scripts/update_solidity.sh pr/16607 # PR head -# scripts/update_solidity.sh branch/develop # latest tip of origin/develop -# scripts/update_solidity.sh v0.8.33 # tag -# scripts/update_solidity.sh 449363e72 # commit -set -euo pipefail - -if [[ $# -ne 1 ]]; then - echo "usage: $0 " >&2 - exit 1 -fi - -REF="$1" -ROOTDIR="$(realpath "$(dirname "$0")/..")" -cd "${ROOTDIR}/solidity" - -# Refresh all remote branches and tags so branch/tag/commit refs resolve to -# their latest origin state. -git fetch --tags --prune origin - -if [[ "$REF" =~ ^pr/([0-9]+)$ ]]; then - PR="${BASH_REMATCH[1]}" - git fetch origin "pull/${PR}/head:pr-${PR}" - git checkout "pr-${PR}" -elif [[ "$REF" =~ ^branch/(.+)$ ]]; then - BRANCH="${BASH_REMATCH[1]}" - # Checking out a remote-tracking ref detaches HEAD at the freshly-fetched - # remote tip — no local tracking branch gets updated, which is what we want - # for a throwaway fuzzing checkout. - git checkout "origin/${BRANCH}" -else - git checkout "$REF" -fi - -git submodule update --init --recursive -cd "${ROOTDIR}" - -rm -rf build -mkdir build -cd build -cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ - -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ - -DCMAKE_CXX_FLAGS="-fno-omit-frame-pointer" -DCMAKE_C_FLAGS="-fno-omit-frame-pointer" .. -make -j"$(nproc)" -cd "${ROOTDIR}" - -docker run --rm -v "${ROOTDIR}":/src/solidity-fuzzing solidity-ossfuzz \ - /src/solidity-fuzzing/scripts/build_ossfuzz.sh diff --git a/tools/README.md b/tools/README.md deleted file mode 100644 index b86e2b8..0000000 --- a/tools/README.md +++ /dev/null @@ -1,91 +0,0 @@ -# Tools - -## stackshuffler - -Standalone tool for running the SSA stack shuffler on `.stack` test files. The -stack shuffler takes an initial EVM stack layout and target constraints, then -generates a sequence of EVM opcodes (SWAP, DUP, PUSH, POP) to reach an -admissible target layout. - -### Building - -```bash -cd build -cmake .. -make -j$(nproc) stackshuffler -``` - -### Usage - -```bash -# Print the full trace table -./build/stackshuffler --verbose path/to/test.stack - -# Just print status (exit 0 = Admissible, exit 1 = MaxIterationsReached) -./build/stackshuffler path/to/test.stack - -# Read from stdin -echo "initial: [v1, v2] -targetStackTop: [v2, v1]" | ./build/stackshuffler --verbose - -``` - -### .stack file format - -``` -// Comments start with // -initial: [JUNK, v12, phi9, phi13, JUNK, JUNK, v65, v67] -targetStackTop: [lit27, phi13, phi9, v12, v67] -targetStackTailSet: {phi9, v12, phi13, v65} -targetStackSize: 21 -``` - -**Fields:** - -| Field | Required | Description | -|---|---|---| -| `initial` | yes | Initial stack layout, bottom to top | -| `targetStackTop` | yes | Required top portion of the target stack | -| `targetStackTailSet` | no | Set of values that must appear somewhere in the tail (below the top). Defaults to empty | -| `targetStackSize` | no | Total target stack size. Defaults to `len(targetStackTop)` if `targetStackTailSet` is empty | - -**Slot types:** - -- `v` -- SSA variable (e.g. `v12`, `v67`) -- `phi` -- phi node (e.g. `phi9`, `phi13`) -- `lit` -- literal value (e.g. `lit27`) -- `JUNK` -- unused/don't-care slot - -If the file contains a `// ----` delimiter (used by `isoltest` to separate expected output), everything after it is ignored. - -### Output - -With `--verbose`, the tool prints a trace table showing every opcode and the resulting stack state: - -``` - | 0 1 2 3 4 - +----------------------------------- - (initial)| * * * v1 v2 - SWAP1| * * * v2 v1 - +----------------------------------- - (target)| * * * v2 v1 -Status: Admissible -``` - -- `*` represents JUNK slots -- `|` separators mark boundaries between tail and args regions -- The `(target)` row shows the required layout: exact slots for the top (args) - region, set notation `{...}` for tail requirements - -Without `--verbose`, only the status line is printed. - -### Existing test cases - -The `solidity` submodule contains test cases at -`solidity/test/libyul/ssa/stackShuffler/*.stack`. Run them all: - -```bash -for f in solidity/test/libyul/ssa/stackShuffler/*.stack; do - echo -n "$(basename $f): " - ./build/stackshuffler "$f" -done -``` diff --git a/tools/afl/README.md b/tools/afl/README.md index 5694e16..d7c2510 100644 --- a/tools/afl/README.md +++ b/tools/afl/README.md @@ -1,425 +1,77 @@ -# AFL Fuzzers +# AFL differential `.sol` fuzzer -## Executables generated +`sol_afl_diff_runner` reads a `.sol` file, compiles + deploys the last +contract under two optimiser settings (minimal vs standard), calls each +with calldata derived from the source, and `solAssert`s that status / +output / logs / storage match. A mismatch aborts (SIGABRT) and AFL records +a crash. Runs in AFL++ persistent mode; a filename arg replays a single +input for triage (no AFL runtime needed). -- `solfuzzer` (from `solfuzzer.cpp`). Original AFL-based fuzzer that reads - Solidity source from stdin or a file, compiles it, and signals a failure on - internal errors. Supports `--standard-json` (test via JSON interface), - `--const-opt` (test the constant optimizer), and `--without-optimizer` modes. - Built by the normal (non-ossfuzz) cmake build. +Sources containing `assembly` or `gas()` are skipped — they legitimately +differ across optimiser settings. -- `sol_afl_diff_runner` (from `sol_afl_diff_runner.cpp`). AFL++ harness for - *differential* Solidity fuzzing against EVMOne, modelled on - `sol_proto_ossfuzz_evmone`. Runs in AFL++ **persistent + shared-memory - mode** ([README.persistent_mode.md](../../AFLplusplus/instrumentation/README.persistent_mode.md)): - one process handles up to 1000 inputs before AFL re-forks, amortising - libsolc / libevmone startup for a ~10–20× speed-up over fork-per-input. - For each input, the harness compiles the last contract under two - optimiser settings (`minimal` vs `standard`), deploys both, calls each - with calldata bytes derived deterministically from the source - (`keccak256(source)`), and `solAssert`s that status / output / logs / - storage / transient storage match. On any mismatch the unhandled - exception triggers `terminate()` → SIGABRT, which AFL++ records as a - crash and then re-forks the persistent child for the next input. - Sources containing the substring `assembly` or `gas()` are skipped - wholesale — inline-asm blocks regularly violate solc's documented - invariants in ways the differential oracle mistakes for optimiser - mismatches, and gas() observations legitimately differ between - optimiser configurations. +For the protobuf fuzzers (`*_proto_ossfuzz_*`) see +[../ossfuzz](../ossfuzz/README.md); this dir is just the `.sol` fuzzer. - **Repro / triage** still works: `./sol_afl_diff_runner path/to/crash` - bypasses the persistent loop entirely (the filename arg short-circuits - before `__AFL_INIT()`), so a host build without an AFL runtime can - still replay a single input for debugging. - -## sol_afl_diff_runner workflow - -The pipeline is inspired by [nowarp.io's compiler-fuzzing -post](https://nowarp.io/blog/compiler-testing-part-1/), with two changes: -that work was crash-only (find ICEs), this is differential (also catches -silent miscompiles between optimiser configurations). - -See [the main README](../../README.md#running-the-afl-differential-fuzzer) -for build / corpus / launch commands and troubleshooting. Three build -trees coexist (`build/` host gcc, `build_afl/` afl-clang-fast, -`build_ossfuzz/` Docker clang+libc++) and never share object files — -rebuild any one without touching the others. The AFL build instruments -libsolc, evmone, and the harness; evmone is built as a static archive -(`libevmone-standalone.a`) and linked directly to sidestep an -afl-clang-fast++ wrapper bug that mangles `-Wl,-soname` when linking -shared libs. - -### Vendored toolchain — everything's a submodule - -The full AFL++ toolchain plus the AST-aware mutator are vendored: - -| Submodule | Source | Built artefact | -| --- | --- | --- | -| `AFLplusplus/` | github.com/AFLplusplus/AFLplusplus | `afl-fuzz`, `afl-clang-fast{,++}`, `afl-cmin` | -| `afl-ts/` | github.com/msooseth/afl-ts (`region-aware`) | `libts.so` (AFL++ custom-mutator library, AST splice) | -| `tree-sitter-solidity/`| github.com/JoranHonig/tree-sitter-solidity | `libtree-sitter-solidity.so` (parser; loaded by afl-ts) | -| `tsgen/` | github.com/jubnzv/tsgen | `tsgen` (Rust; grammar-based corpus generator, on demand) | - -The `afl-ts` submodule is a fork of upstream `jubnzv/afl-ts` carrying one -patch: when the input ends with the magic suffix `[u16 LE source_len][0xCA 0xFE]`, -the mutator parses and splices only the leading source slice through -tree-sitter, leaving the calldata bytes and trailer untouched. AFL's -regular havoc / bit-flipping then mutates the calldata region freely. -See [Input format and afl-ts integration](#input-format-and-afl-ts-integration) -below. - -`tree_sitter_solidity` builds as part of the default `make` target (small, -no extra deps). `aflplusplus` and `afl_ts` are **opt-in** via explicit -targets — building AFL++ takes minutes and needs `clang` + `llvm-dev` -that non-AFL CI / users shouldn't be forced to install: - -```bash -git submodule update --init --recursive -cmake -S . -B build -make -C build -j$(nproc) # solc, host harness, grammar -make -C build -j$(nproc) aflplusplus afl_ts # the AFL toolchain (when ready to fuzz) -``` - -`tools/afl/build_afl.sh` wraps the cmake + make steps above as a single -invocation. `tools/afl/build_instrumented.sh` checks that both binaries -exist and prints the exact command above if not. - -`run_afl.sh` defaults to using all three: the vendored `afl-fuzz` runs the -campaign, `libts.so` is loaded as the custom mutator, and -`libtree-sitter-solidity.so` is the grammar. To disable afl-ts and fall -back to byte-level mutation: - -```bash -AFL_TS_LIB= tools/afl/run_afl.sh -``` - -### Input format and afl-ts integration - -Two input shapes are accepted by `sol_afl_diff_runner`: - -**1. Plain Solidity source.** Whole file is treated as Solidity. Calldata -sent to the deployed contract is `keccak256(source)[:32]` — fixed for a -given source. This is the original format and existing pure-`.sol` -corpus entries continue to work unchanged. - -**2. Region-aware format** (used together with the patched `afl-ts`): - -``` -[ source bytes ][ calldata bytes ][ u16 LE source_len ][ 0xCA 0xFE ] -``` - -The trailing `0xCA 0xFE` magic + length prefix tells both the harness -*and* afl-ts where the source ends. The harness sends the calldata bytes -to the deployed contract directly. The patched afl-ts (in our fork) -parses only the leading `source_len` bytes through tree-sitter and -preserves the trailer verbatim, so AFL's regular havoc / bit-flipping — -which AFL runs in addition to the custom mutator — naturally mutates -the calldata region without afl-ts splicing over it. - -Net effect on a queue entry that uses the format: - -| Mutation pass | Source bytes | Calldata + trailer | -| --- | --- | --- | -| `afl-ts custom` | AST splice | preserved verbatim | -| AFL deterministic | byte-level havoc | byte-level havoc | -| AFL havoc/splice | byte-level havoc | byte-level havoc | - -If AFL deterministic stages happen to flip bits inside the magic itself, -the format check fails on that exec — the harness falls back to plain -mode (calldata = keccak256(source)). That's a feature: those flips -naturally explore the with-calldata / without-calldata axis. Empirically -~90–97% of queue entries retain an intact trailer. - -`tools/afl/build_corpus.sh` seeds `SEED_CALLDATA_COUNT` (default 200) -random entries with the new format using common ERC-style function -selectors (`a9059cbb` transfer, `70a08231` balanceOf, etc.) plus 32 -argument bytes. Set `SEED_CALLDATA_COUNT=0` to skip if you want a -purely pre-existing-shape corpus. - -### Grammar-driven corpus expansion via tsgen - -Real-world contracts cluster around a narrow grammar surface — common -ERC patterns, a handful of statement shapes, a usual small set of type -literals. Whole regions of the Solidity grammar (rare modifiers, exotic -tuple/type-expression shapes, deeply-nested ternaries, …) are entirely -absent from the test-suite + real-world corpus produced by -`build_corpus.sh`. [tsgen](https://github.com/jubnzv/tsgen) (vendored as -a submodule) walks a tree-sitter grammar and emits syntactically-valid -programs to fill that gap. Reference run from -[nowarp.io](https://nowarp.io/blog/compiler-testing-part-1/): ~150 k -generated Solidity files, minimised to ~1300 unique <1 KB seeds. - -```bash -# Default: ~thousands of files, all <= 1 KB, optionally cmin-minimised -# against the AFL-instrumented harness if build_afl/ exists. -tools/afl/build_corpus_tsgen.sh # writes to corpus_tsgen/ - -# Match nowarp.io's run (hard count, no early stop on coverage): -COUNT=150000 COVERAGE_TARGET=0.0 tools/afl/build_corpus_tsgen.sh - -# Merge into the main corpus once you're happy: -cp corpus_tsgen/* corpus_afl/ -``` - -The script: builds tsgen (`cargo build --release` — needs `cargo`), -runs it against `tree-sitter-solidity/src/grammar.json` with the -compiled parser for validation, drops entries over `MAX_BYTES` -(default 1024), then runs `afl-cmin` against -`build_afl/tools/afl/sol_afl_diff_runner` to keep only coverage- -unique entries. If the AFL build isn't present, minimisation is -skipped and the size-filtered set is emitted as-is. Set `SKIP_CMIN=1` -to skip minimisation explicitly. - -`COUNT` is a *floor* — tsgen keeps generating until both that count and -`COVERAGE_TARGET` (default 0.95) are satisfied. Even `COUNT=10` produces -several thousand files because grammar coverage rises slowly. Set -`COVERAGE_TARGET=0.0` to make `COUNT` a hard stop. - -Caveat: tsgen only enforces *parse* validity, not semantic validity — -many emitted programs reference undeclared identifiers, mismatched -types, or non-existent imports and fail at compile time. That's fine for -afl-ts splice material (we want diverse AST fragments, not standalone -deployable contracts) but means tsgen outputs help less when used as -literal seeds without further mutation. The "Identifier renaming" -follow-up below targets the same problem from the other direction. - -### One-time system setup - -AFL++ has two pre-flight checks that fail by default on most modern Linux -distros: - -**1. Kernel `core_pattern` must not pipe to a coredump handler.** Required -(no opt-out for real campaigns): - -```bash -echo core | sudo tee /proc/sys/kernel/core_pattern -``` - -**2. CPU governor should be `performance`.** Both `run_afl.sh` and -`run_afl_parallel.sh` set `AFL_SKIP_CPUFREQ=1` so AFL++ proceeds with -whatever governor you have, but for ~5-10% throughput improvement on a -real campaign: - -```bash -sudo cpupower frequency-set -g performance -# Restore later with: sudo cpupower frequency-set -g schedutil (or whatever you had) -``` - -### Parallel fuzzing - -AFL++ has no built-in `-j N` flag — parallelism means *N separate -afl-fuzz processes* sharing one `-o` directory (corpus syncs -automatically). For one-command multi-core use: - -```bash -tools/afl/run_afl_parallel.sh # auto: nproc - 1 cores -tools/afl/run_afl_parallel.sh -j 8 # specific core count -tools/afl/run_afl_parallel.sh -j 8 my_run # custom findings dir -``` - -This spawns N+1 *windows* (not panes — each gets the full terminal width -so the afl-fuzz TUIs aren't cramped) in a tmux session named `solfuzz`: - -- **Window `dashboard`** — `watch -n 5 afl-whatsup` showing live aggregate - stats (execs/sec across all fuzzers, paths, crashes, hangs). AFL++ has - no built-in unified TUI, only one-shot text snapshots and per-process - TUIs; this fills that gap. -- **Window `main`** — main fuzzer (`-M main`, default schedule). -- **Windows `sec1`, `sec2`, ...** — secondaries rotating through different - power schedules + AFL++ behaviour flags so cores explore different paths - instead of duplicating work. - -Switch between windows with `Ctrl-b n` (next), `Ctrl-b p` (prev), -`Ctrl-b ` (jump to window N), or `Ctrl-b w` (interactive list). The -session opens on the dashboard. +## Build ```bash -tmux attach -t solfuzz # watch the panes -AFLplusplus/afl-whatsup findings_afl # aggregate status -tmux kill-session -t solfuzz # stop the campaign +tools/afl/build_afl.sh # build/: toolchain, mutator, grammar +tools/afl/build_instrumented.sh # build_afl/: instrumented harness ``` -If you'd rather drive the processes by hand, the manual recipe is below -— `run_afl_parallel.sh` does exactly this for you. - -Every `afl-fuzz` invocation needs the afl-ts env vars (they don't inherit -between instances) and uses the vendored binary. Set the env once per -shell so the lines below stay readable: - -```bash -export AFL_CUSTOM_MUTATOR_LIBRARY=$PWD/afl-ts/libts.so -export TS_GRAMMAR=$PWD/tree-sitter-solidity/libtree-sitter-solidity.so -export AFL_CUSTOM_MUTATOR_ONLY=1 -``` +The toolchain is vendored as submodules — no system AFL++ needed: +AFLplusplus (afl-fuzz, afl-clang-fast), afl-ts (`libts.so`, an AST-splice +custom mutator), tree-sitter-solidity (grammar), tsgen (corpus generator). -Then: +## Corpus & run ```bash -# Terminal 1 — main (deterministic + havoc). No `@@`: the harness runs in -# AFL++ persistent + shared-memory mode, so AFL hands inputs over via the -# shared-memory ring rather than via a per-iteration file path. -AFLplusplus/afl-fuzz -M main -i corpus_afl -o findings_afl -t 2000 -m none \ - -- build_afl/tools/afl/sol_afl_diff_runner - -# Terminals 2..N — secondaries (havoc-only). Per-secondary env vars below -# diversify mutation strategies so different cores explore different paths: -AFL_DISABLE_TRIM=1 AFLplusplus/afl-fuzz -S sec1 -i corpus_afl -o findings_afl -t 2000 -m none -- build_afl/tools/afl/sol_afl_diff_runner -AFL_KEEP_TIMEOUTS=1 AFLplusplus/afl-fuzz -S sec2 -i corpus_afl -o findings_afl -t 2000 -m none -- build_afl/tools/afl/sol_afl_diff_runner -AFL_EXPAND_HAVOC_NOW=1 AFLplusplus/afl-fuzz -S sec3 -i corpus_afl -o findings_afl -t 2000 -m none -- build_afl/tools/afl/sol_afl_diff_runner -AFL_CMPLOG_ONLY_NEW=1 AFLplusplus/afl-fuzz -S sec4 -i corpus_afl -o findings_afl -t 2000 -m none -- build_afl/tools/afl/sol_afl_diff_runner -``` +echo core | sudo tee /proc/sys/kernel/core_pattern # one-time -Live aggregate status across all instances: +tools/afl/fetch_realworld.sh # pull real-world projects +tools/afl/build_corpus.sh # -> corpus_afl/ +tools/afl/build_corpus_tsgen.sh # grammar-driven extra surface +cp corpus_tsgen/*.sol corpus_afl/ -```bash -AFLplusplus/afl-whatsup findings_afl +tools/afl/run_afl.sh # single core (afl-ts mutator) +tools/afl/run_afl_parallel.sh -j 8 # tmux: 1 main + N-1 secondaries ``` -A `-j N` flag for `run_afl.sh` that spawns tmux panes for 1 main + N-1 -secondaries (matching `tools/ossfuzz/README.md`'s parallel pattern) is on -the follow-up list below. +`run_afl.sh` loads `libts.so` as the custom mutator plus the grammar; set +`AFL_TS_LIB=` to fall back to plain byte mutation. -### Triaging crashes and hangs +### Input format -Crashes land in `findings_afl//crashes/`, hangs in -`findings_afl//hangs/`. Both follow the AFL++ filename convention: +Plain `.sol` works (calldata = `keccak256(source)`). With afl-ts the +region-aware shape also carries calldata: ``` -id:000003,sig:06,src:000523,time:18342,execs:128193,op:havoc,rep:8 -``` - -`sig:06` = SIGABRT, the only signal the harness raises (one of the -`solAssert`s in the diff oracle fired). - -#### Replaying a crash - -For real debugging use `sol_debug_runner --afl` — it understands the same -input format `sol_afl_diff_runner` does (region-aware trailer + keccak -fallback) and runs all four optimiser × viaIR configurations with -human-readable per-config diffs of status / output / logs / storage / -transient storage, plus written-out bytecodes and Yul IR: - -```bash -build/tools/runners/sol_debug_runner --afl findings_afl/sec1/crashes/id:000003,... -# Exit codes: 0 = all match, 1 = mismatch found, 2 = compile failure, 3 = ICE. -# Per-config bytecode/IR/log files land in sol_debug_output-N/. +[ source ][ calldata ][ u16 LE source_len ][ 0xCA 0xFE ] ``` -`sol_afl_diff_runner` is still useful as a one-line ground-truth check -that the crash *still* reproduces with the exact harness AFL ran. It's -silent on success and aborts on diff (no diagnostic output beyond the -`solAssert` message), so prefer the debug runner once you've confirmed -the crash is real: +afl-ts splices only the source through tree-sitter; AFL's havoc mutates +the calldata. `build_corpus.sh` seeds some entries in this shape. -```bash -build/tools/afl/sol_afl_diff_runner findings_afl/sec1/crashes/id:000003,... -echo "exit=$?" # 134 = SIGABRT (real diff); 0 = no longer reproduces -``` +## Triage -To group crashes by which assertion fired (status / output / logs / -storage / transient / revert data) — useful because AFL syncs the same -crash across secondaries so 9 files often = 1 unique bug: +Crashes land in `findings_afl/*/crashes/`, hangs (slower than `-t`) in +`hangs/`. `sig:06` = the diff oracle fired. Replay with full per-config +diffs (needs `--afl`, since the file embeds calldata): ```bash -for f in findings_afl/*/crashes/id:*; do - { build/tools/afl/sol_afl_diff_runner "$f"; } 2>&1 \ - | grep "Sol AFL diff fuzzer" | head -1 -done | sort | uniq -c | sort -rn +build/tools/runners/sol_debug_runner --afl findings_afl/default/crashes/id:... +# 0 match, 1 mismatch, 2 compile fail, 3 ICE +AFLplusplus/afl-tmin -i -o min.sol \ + -- build_afl/tools/afl/sol_afl_diff_runner ``` -#### Hangs are inputs that exceeded `-t 2000` - -A "hang" doesn't mean an infinite loop — it means **the harness took -longer than the 2-second timeout**. AFL measures against a calibration -baseline taken at fuzzer startup; under varying system load the baseline -drifts, so many hangs don't reproduce when re-run solo. Pathological -inputs (genuine DoS candidates) DO reproduce and are visibly slow. - -To time every hang and find the genuinely slow ones: - -```bash -for f in findings_afl/*/hangs/id:*; do - elapsed=$( { /usr/bin/time -f '%e' \ - timeout 30 build/tools/afl/sol_afl_diff_runner "$f" \ - >/dev/null 2>&1; } 2>&1 ) - sz=$(stat -c%s "$f") - printf "%6s s %6d B %s\n" "$elapsed" "$sz" "$(basename "$f")" -done | sort -rn | head -10 -``` - -Rule of thumb on the resulting times: -- `< 2 s`: borderline, was timing-sensitive. Ignore unless reproducible. -- `2–10 s`: slow optimiser path. Worth a glance, rarely a real bug. -- `> 30 s` (timeout cap): potential DoS. Worth filing. - -#### Profiling a slow input with solc directly - -If `perf record` on the harness shows the time is in the compiler (not in -evmone or the diff oracle), reproduce the same compilation pipeline with -the standalone `solc` — easier to attach a profiler to, and isolates the -slowdown from the deploy/call/diff path. The harness compiles each input -twice with `viaIR=false`, EVM version `current()`, once with -`OptimiserSettings::minimal()` and once with `OptimiserSettings::standard()`: - -```bash -# fast leg (minimal — usually not the culprit): -time build/solidity/solc/solc --bin --evm-version prague - -# slow leg (standard — almost certainly where the time goes): -time build/solidity/solc/solc --bin --optimize --evm-version prague -``` - -Caveats so the comparison is honest: -- `EVMVersion::current()` in the harness is the newest version solc knows - about; solc CLI's default is usually one or two behind. Check - `solc --help | grep -A1 evm-version` and pass that value explicitly. -- `viaIR=false` is the CLI default — do **not** pass `--via-ir`. -- The harness picks only the last contract (`lastContractName()`); the CLI - compiles every contract. If the file has many contracts, strip all but - the last for an apples-to-apples comparison. -- `--optimize-runs` defaults to 200, which matches what - `OptimiserSettings::standard()` uses — no need to tune it. -- If the input is `> 16 KB` the harness exits early - (`s_maxSourceBytes` in `sol_afl_diff_runner.cpp`); solc has no such cap. - -#### Minimising a real reproducer - -When a crash reproduces, shrink it with `afl-tmin` before filing: - -```bash -AFLplusplus/afl-tmin \ - -i findings_afl/sec1/crashes/id:000003,... \ - -o min.sol \ - -- build_afl/tools/afl/sol_afl_diff_runner -build/tools/runners/sol_debug_runner --afl min.sol # human-readable diff -``` - -Without `--afl`, `sol_debug_runner` looks up `test()` on a contract called -`C` (matching the proto fuzzer). With `--afl` it deploys the *last* -contract in the source and sends the AFL calldata raw, matching what -`sol_afl_diff_runner` does — so any AFL crash file (corpus contracts named -arbitrarily, with or without the `0xCA 0xFE` trailer) reproduces directly. - -## Follow-ups (intentionally out of scope for the first cut) - -- **`afl-cmin` corpus minimization.** Once the harness is instrumented, - minimize `corpus_afl/` to drop redundant entries: - `afl-cmin -i corpus_afl -o corpus_min -- ./sol_afl_diff_runner`. - -- **Identifier renaming.** Rewrite identifiers in corpus entries to - deterministic names (`v0`, `v1`, ...) so afl-ts splices don't reliably - generate "undeclared variable" errors, which gate fuzzer progress in the - AST-mutation regime. Requires a tree-sitter pass on each entry. - -- **Exercise multiple methods.** Currently the harness sends one calldata - blob per run. Calling each public method of the deployed contract in - sequence (still under one harness invocation) would multiply coverage per - iteration without changing the corpus. +A hang is just an input slower than the 2 s timeout; many don't +reproduce. Time each with `timeout 30 ... sol_afl_diff_runner `; +only consistently slow ones are real DoS candidates. -- **Cross-viaIR mode.** Mirror the `FUZZER_MODE_VIAIR` axis from the proto - fuzzer: also run with `viaIR=true` vs `viaIR=false` to catch mismatches - between the legacy and IR codegen paths. +## Regression tests -- **Known non-bug filter parity.** Match `sol_proto_ossfuzz_evmone`'s - ICE-swallowing list as it evolves. Current list copied verbatim; rebase - if the proto fuzzer adds new entries. +`tools/afl/tests/inputs/*.sol` pin past false-positive fixes (each must +exit 0): `tools/afl/tests/run.sh`. Add inputs with a header comment +explaining what they exercise. diff --git a/tools/afl/build_corpus_tsgen.sh b/tools/afl/build_corpus_tsgen.sh index 1b33873..a38e96a 100755 --- a/tools/afl/build_corpus_tsgen.sh +++ b/tools/afl/build_corpus_tsgen.sh @@ -112,18 +112,28 @@ mkdir -p "$OUT" # Wipe contents (including dotfiles like a leftover `.traces/` from an # interrupted prior cmin run) without removing the directory itself — # afl-cmin.py errors out if its `-o` is non-empty, and the directory may -# be a bind-mount we must not unlink. -find "$OUT" -mindepth 1 -delete +# be a bind-mount or symlink we must not unlink. The trailing slash makes +# find follow OUT when it's a symlink (fuzz-afl points corpus_tsgen at the +# shared corpus dir); without it find won't descend and the wipe no-ops. +find "$OUT"/ -mindepth 1 -delete if [[ -z "${SKIP_CMIN:-}" && -x "$HARNESS" && -x "$AFL_CMIN" ]]; then echo "Minimizing with afl-cmin (this can take a while)..." + # afl-cmin's -o must be a real dir, not a symlink: it emptiness-checks by + # os.rmdir(-o), which fails on a symlink (ENOTDIR) and then reports "not + # empty" even when the target is empty. fuzz-afl points OUT at a shared + # corpus via symlink, so minimize into a real dir and copy the result in. + CMIN_OUT="${OUT}.cmin" + rm -rf "$CMIN_OUT" # No `@@`: sol_afl_diff_runner runs in AFL++ persistent + shared-memory # mode, so afl-cmin (via afl-showmap) feeds inputs over shared memory. AFL_SKIP_CPUFREQ=1 "$AFL_CMIN" \ -i "$RAW_OUT" \ - -o "$OUT" \ + -o "$CMIN_OUT" \ -t 2000 -m none \ -- "$HARNESS" + find "$CMIN_OUT" -maxdepth 1 -type f -exec cp -t "$OUT"/ {} + + rm -rf "$CMIN_OUT" final=$(find "$OUT" -type f | wc -l) echo echo "Wrote $final unique-coverage seeds to $OUT/" diff --git a/tools/afl/build_instrumented.sh b/tools/afl/build_instrumented.sh index c8ba077..781e617 100755 --- a/tools/afl/build_instrumented.sh +++ b/tools/afl/build_instrumented.sh @@ -2,9 +2,9 @@ # Build sol_afl_diff_runner (and the libsolc / evmone / supporting libs it # links against) with afl-clang-fast so AFL++ gets edge-coverage feedback. # -# Output tree: build_afl/ — separate from build/ (host gcc) and -# build_ossfuzz/ (Docker libFuzzer) so the three toolchains never clobber -# each other's object files. Same source tree, three build trees. +# Output tree: build_afl/ — shared with tools/ossfuzz/build_ossfuzz.sh (the AFL++ +# proto fuzzers), and separate from build/ (host gcc) so the toolchains never +# clobber each other's object files. # # Re-run after toolchain or source changes; cmake handles incremental # rebuilds. ccache is enabled via the same launcher pattern as build/. @@ -58,6 +58,12 @@ cmake -S "$REPO_ROOT" -B "$BUILD_DIR" \ # never carry -soname. Side benefit: evmone gets full AFL instrumentation # on par with solc, and the dlopen + RPATH dance is gone at runtime. +# Build the evmone static archive first. sol_afl_diff_runner links +# libevmone-standalone.a as a plain file path, and the evmone_external +# ExternalProject byproduct has no make rule when the linking target is built +# in isolation — so building it up front avoids a "No rule to make target +# '.../libevmone-standalone.a'" failure. +cmake --build "$BUILD_DIR" -j$(nproc) --target evmone_external cmake --build "$BUILD_DIR" -j$(nproc) --target sol_afl_diff_runner echo diff --git a/tools/ossfuzz/AbiV2IsabelleFuzzer.cpp b/tools/ossfuzz/AbiV2IsabelleFuzzer.cpp deleted file mode 100644 index 2ed8657..0000000 --- a/tools/ossfuzz/AbiV2IsabelleFuzzer.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - This file is part of solidity. - - solidity is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - solidity is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with solidity. If not, see . -*/ -// SPDX-License-Identifier: GPL-3.0 - -#include - -#include - -#include -#include -#include -#include - -using namespace solidity::frontend; -using namespace solidity::test::fuzzer; -using namespace solidity::test::abiv2fuzzer; -using namespace solidity::test; -using namespace solidity::util; -using namespace solidity; - -static constexpr size_t abiCoderHeapSize = 1024 * 512; -static evmc::VM evmone = evmc::VM{evmc_create_evmone()}; - -DEFINE_PROTO_FUZZER(Contract const& _contract) -{ - ProtoConverter converter(_contract.seed()); - std::string contractSource = converter.contractToString(_contract); - - if (const char* dump_path = getenv("PROTO_FUZZER_DUMP_PATH")) - { - // With libFuzzer binary run this to generate the solidity source file x.sol from a proto input: - // PROTO_FUZZER_DUMP_PATH=x.sol ./a.out proto-input - std::ofstream of(dump_path); - of << contractSource; - } - - std::string typeString = converter.isabelleTypeString(); - std::string valueString = converter.isabelleValueString(); - abicoder::ABICoder coder(abiCoderHeapSize); - if (!typeString.empty() && converter.coderFunction()) - { - auto [encodeStatus, encodedData] = coder.encode(typeString, valueString); - solAssert(encodeStatus, "Isabelle abicoder fuzzer: Encoding failed"); - - // We target the default EVM which is the latest - langutil::EVMVersion version; - EVMHost hostContext(version, evmone); - std::string contractName = "C"; - StringMap source({{"test.sol", contractSource}}); - CompilerInput cInput(version, source, contractName, OptimiserSettings::minimal(), {}); - EvmoneUtility evmoneUtil( - hostContext, - cInput, - contractName, - {}, - {} - ); - auto result = evmoneUtil.compileDeployAndExecute(encodedData); - solAssert(result.status_code != EVMC_REVERT, "Proto ABIv2 fuzzer: EVM One reverted."); - if (result.status_code == EVMC_SUCCESS) - solAssert( - EvmoneUtility::zeroWord(result.output_data, result.output_size), - "Proto ABIv2 fuzzer: ABIv2 coding failure found." - ); - } -} diff --git a/tools/ossfuzz/CMakeLists.txt b/tools/ossfuzz/CMakeLists.txt index 06d7c51..1479043 100644 --- a/tools/ossfuzz/CMakeLists.txt +++ b/tools/ossfuzz/CMakeLists.txt @@ -1,76 +1,50 @@ -add_custom_target(ossfuzz) -add_dependencies(ossfuzz - solc_ossfuzz - solc_mutator_ossfuzz - const_opt_ossfuzz - strictasm_opt_ossfuzz - strictasm_assembly_ossfuzz -) - -if (OSSFUZZ) - add_custom_target(ossfuzz_proto) - add_dependencies(ossfuzz_proto - sol_proto_ossfuzz_nondiff - sol_proto_ossfuzz_evmone - sol_proto_ossfuzz_evmone_viair - sol_ice_ossfuzz - yul_proto_ossfuzz_evmone - yul_proto_ossfuzz_evmone_ssacfg - yul_proto_ossfuzz_evmone_check_stack_alloc - yul_proto_ossfuzz_evmone_single_pass_c - yul_proto_ossfuzz_evmone_single_pass_S - yul_proto_ossfuzz_evmone_single_pass_L - yul_proto_ossfuzz_evmone_single_pass_M - yul_proto_ossfuzz_evmone_single_pass_s - yul_proto_ossfuzz_evmone_single_pass_r - yul_proto_ossfuzz_evmone_single_pass_D - yul_proto_ossfuzz_evmone_no_ssa - shuffler_proto_ossfuzz - sol_recstruct_alias_ossfuzz - sol_roundtrip_ossfuzz - ) - - add_custom_target(ossfuzz_abiv2) - add_dependencies(ossfuzz_abiv2 abiv2_proto_ossfuzz abiv2_isabelle_ossfuzz) -endif() +# OSS-Fuzz proto-fuzzer harnesses, built under AFL++ + libprotobuf-mutator. See +# tools/ossfuzz/README.md for the per-binary breakdown. Most proto fuzzers share +# a source file and differ only by a FUZZER_MODE_* compile definition, so +# add_ossfuzz_target() (below) captures the common wiring and each target becomes +# a single declarative call. if (OSSFUZZ) - add_executable(solc_ossfuzz - solc_ossfuzz.cpp - ../common/fuzzer_common.cpp - ${TESTCASEREADER_CPP} - ) - target_link_libraries(solc_ossfuzz PRIVATE libsolc evmasm) - set_target_properties(solc_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - - add_executable(solc_mutator_ossfuzz - solc_ossfuzz.cpp - ../common/fuzzer_common.cpp - ${TESTCASEREADER_CPP} - SolidityGenerator.cpp - SolidityCustomMutatorInterface.cpp - ) - target_link_libraries(solc_mutator_ossfuzz PRIVATE libsolc evmasm) - set_target_properties(solc_mutator_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - - add_executable(const_opt_ossfuzz const_opt_ossfuzz.cpp ../common/fuzzer_common.cpp) - target_link_libraries(const_opt_ossfuzz PRIVATE libsolc evmasm) - set_target_properties(const_opt_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - - add_executable(strictasm_opt_ossfuzz strictasm_opt_ossfuzz.cpp) - target_link_libraries(strictasm_opt_ossfuzz PRIVATE yul) - set_target_properties(strictasm_opt_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - - add_executable(strictasm_assembly_ossfuzz strictasm_assembly_ossfuzz.cpp) - target_link_libraries(strictasm_assembly_ossfuzz PRIVATE yul) - set_target_properties(strictasm_assembly_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - - # The -Wno-* compile options are required for source files that - # are auto-generated by the protobuf compiler because the compiler - # does not generate warning-free C++ bindings with regard to - # upstream Clang builds that are used by ossfuzz. - set( - SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS + # These harnesses build only under AFL++ (afl-clang-fast{,++} + system + # libstdc++); tools/ossfuzz/build_ossfuzz.sh drives the build. boost, protobuf and + # abseil come from the system packages; evmone is the in-tree static archive + # the top-level CMakeLists builds under afl-clang-fast; only LPM is built + # from source (into deps_afl/). Detected the same way the top-level + # CMakeLists detects an AFL build — refuse any other compiler outright. + if (NOT CMAKE_CXX_COMPILER MATCHES "afl-clang-fast") + message(FATAL_ERROR + "tools/ossfuzz: OSSFUZZ requires AFL++ (afl-clang-fast++) — build " + "via tools/ossfuzz/build_ossfuzz.sh.") + endif() + + # libprotobuf-mutator — built from source into deps_afl/ and passed on the + # cmake command line as LPM_PREFIX by the build script. The harnesses include + # from this prefix. + if (NOT LPM_PREFIX) + set(LPM_PREFIX "${CMAKE_SOURCE_DIR}/deps_afl") + endif() + include_directories("${LPM_PREFIX}/include/libprotobuf-mutator") + find_library(LPM_FUZZER_LIB protobuf-mutator-libfuzzer PATHS "${LPM_PREFIX}/lib" REQUIRED) + find_library(LPM_LIB protobuf-mutator PATHS "${LPM_PREFIX}/lib" REQUIRED) + + # Protobuf — the system package (its ABI matches afl-clang-fast's system + # libstdc++). CONFIG mode gives a protobuf::libprotobuf target carrying the + # abseil link deps; fall back to the module for safety. + find_package(Protobuf CONFIG QUIET) + if (NOT Protobuf_FOUND) + find_package(Protobuf MODULE REQUIRED) + endif() + + # evmone — the in-tree static archive (evmone_external), reached by EVMHost + # via the extern "C" factory under -DEVMONE_STATIC; no header staging needed + # beyond the submodule include. + include_directories("${CMAKE_SOURCE_DIR}/evmone/include") + add_compile_definitions(EVMONE_STATIC) + set(EVMONE_STANDALONE_LIB "${EVMONE_LIB_DIR}/libevmone-standalone.a") + + # The protobuf compiler does not emit warning-free C++ bindings; silence the + # known-noisy diagnostics on every harness (they all compile a *.pb.cc). + set(SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS -Wno-sign-conversion -Wno-suggest-destructor-override -Wno-inconsistent-missing-destructor-override @@ -78,362 +52,163 @@ if (OSSFUZZ) -Wno-deprecated ) - add_executable(yul_proto_ossfuzz_evmone - yulProtoFuzzerEvmone.cpp - FuzzerDiffCommon.cpp - protoToYul.cpp - yulProto.pb.cc - ${EVMHOST_CPP} - YulEvmoneInterface.cpp - ) - target_include_directories(yul_proto_ossfuzz_evmone PRIVATE /usr/include/libprotobuf-mutator) - target_link_libraries(yul_proto_ossfuzz_evmone PRIVATE yul - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(yul_proto_ossfuzz_evmone PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(yul_proto_ossfuzz_evmone PUBLIC - ${COMPILE_OPTIONS} - ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS} - ) - - add_executable(yul_proto_ossfuzz_evmone_ssacfg - yulProtoFuzzerEvmone.cpp - FuzzerDiffCommon.cpp - protoToYul.cpp - yulProto.pb.cc - ${EVMHOST_CPP} - YulEvmoneInterface.cpp - ) - target_include_directories(yul_proto_ossfuzz_evmone_ssacfg PRIVATE /usr/include/libprotobuf-mutator) - target_compile_definitions(yul_proto_ossfuzz_evmone_ssacfg PRIVATE FUZZER_MODE_SSACFG) - target_link_libraries(yul_proto_ossfuzz_evmone_ssacfg PRIVATE yul - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(yul_proto_ossfuzz_evmone_ssacfg PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(yul_proto_ossfuzz_evmone_ssacfg PUBLIC - ${COMPILE_OPTIONS} - ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS} - ) - - add_executable(yul_proto_ossfuzz_evmone_check_stack_alloc - yulProtoFuzzerEvmone.cpp - FuzzerDiffCommon.cpp - protoToYul.cpp - yulProto.pb.cc - ${EVMHOST_CPP} - YulEvmoneInterface.cpp - ) - target_include_directories(yul_proto_ossfuzz_evmone_check_stack_alloc PRIVATE /usr/include/libprotobuf-mutator) - target_compile_definitions(yul_proto_ossfuzz_evmone_check_stack_alloc PRIVATE FUZZER_MODE_CHECK_STACK_ALLOC) - target_link_libraries(yul_proto_ossfuzz_evmone_check_stack_alloc PRIVATE yul - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(yul_proto_ossfuzz_evmone_check_stack_alloc PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(yul_proto_ossfuzz_evmone_check_stack_alloc PUBLIC - ${COMPILE_OPTIONS} - ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS} - ) - - # One binary per single-pass mode. The target pass abbreviation is baked - # into the binary at compile time via FUZZER_SINGLE_PASS_CHAR, avoiding - # any env-var plumbing at fuzz time. To add a pass, extend this list. + # Reusable link-library groups. + set(FUZZ_PROTO_LIBS ${LPM_FUZZER_LIB} ${LPM_LIB} protobuf::libprotobuf) + set(FUZZ_EVMONE_LIBS ${EVMONE_STANDALONE_LIB}) + + # Define one ossfuzz harness. SOURCES / LIBS are required; DEFINES is the + # optional FUZZER_MODE_* (etc.) list baked in at compile time. + function(add_ossfuzz_target name) + cmake_parse_arguments(ARG "" "" "SOURCES;LIBS;DEFINES" ${ARGN}) + add_executable(${name} ${ARG_SOURCES}) + target_link_libraries(${name} PRIVATE ${ARG_LIBS}) + set_target_properties(${name} PROPERTIES LINK_FLAGS "${LIB_FUZZING_ENGINE}") + target_compile_options(${name} PRIVATE ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS}) + if (ARG_DEFINES) + target_compile_definitions(${name} PRIVATE ${ARG_DEFINES}) + endif() + # evmone is built in-tree by the evmone_external ExternalProject; make + # sure the archive exists before we link it. + if (TARGET evmone_external) + add_dependencies(${name} evmone_external) + endif() + endfunction() + + # Shared source / library sets for the two big differential families. + set(YUL_EVMONE_SOURCES + yulProtoFuzzerEvmone.cpp FuzzerDiffCommon.cpp protoToYul.cpp + yulProto.pb.cc ${EVMHOST_CPP} YulEvmoneInterface.cpp) + set(YUL_EVMONE_LIBS yul evmc ${FUZZ_EVMONE_LIBS} ${FUZZ_PROTO_LIBS}) + + set(SOL2_EVMONE_SOURCES + solProtoFuzzer2.cpp FuzzerDiffCommon.cpp SolidityEvmoneInterface.cpp + protoToSol2.cpp sol2Proto.pb.cc ${EVMHOST_CPP}) + set(SOL_EVMONE_LIBS solidity libsolc evmc ${FUZZ_EVMONE_LIBS} ${FUZZ_PROTO_LIBS}) + + # --- single-input harnesses (frontend + yul; no proto grammar / evmone) --- + add_ossfuzz_target(solc_ossfuzz + SOURCES solc_ossfuzz.cpp ../common/fuzzer_common.cpp ${TESTCASEREADER_CPP} + LIBS libsolc evmasm) + add_ossfuzz_target(solc_mutator_ossfuzz + SOURCES solc_ossfuzz.cpp ../common/fuzzer_common.cpp ${TESTCASEREADER_CPP} + SolidityGenerator.cpp SolidityCustomMutatorInterface.cpp + LIBS libsolc evmasm) + add_ossfuzz_target(const_opt_ossfuzz + SOURCES const_opt_ossfuzz.cpp ../common/fuzzer_common.cpp + LIBS libsolc evmasm) + add_ossfuzz_target(strictasm_opt_ossfuzz SOURCES strictasm_opt_ossfuzz.cpp LIBS yul) + add_ossfuzz_target(strictasm_assembly_ossfuzz SOURCES strictasm_assembly_ossfuzz.cpp LIBS yul) + + # --- yul differential family (one binary per optimizer mode) --- + add_ossfuzz_target(yul_proto_ossfuzz_evmone + SOURCES ${YUL_EVMONE_SOURCES} LIBS ${YUL_EVMONE_LIBS}) + add_ossfuzz_target(yul_proto_ossfuzz_evmone_ssacfg + SOURCES ${YUL_EVMONE_SOURCES} LIBS ${YUL_EVMONE_LIBS} DEFINES FUZZER_MODE_SSACFG) + add_ossfuzz_target(yul_proto_ossfuzz_evmone_check_stack_alloc + SOURCES ${YUL_EVMONE_SOURCES} LIBS ${YUL_EVMONE_LIBS} DEFINES FUZZER_MODE_CHECK_STACK_ALLOC) + add_ossfuzz_target(yul_proto_ossfuzz_evmone_no_ssa + SOURCES ${YUL_EVMONE_SOURCES} LIBS ${YUL_EVMONE_LIBS} DEFINES FUZZER_MODE_NO_SSA) + + # One binary per single-pass mode; the pass char is baked in at compile time + # via FUZZER_SINGLE_PASS_CHAR (no env-var plumbing at fuzz time). To add a + # pass, extend this list. foreach(pass c S L M s r D) - set(_sp_target "yul_proto_ossfuzz_evmone_single_pass_${pass}") - add_executable(${_sp_target} - yulProtoFuzzerEvmone.cpp - FuzzerDiffCommon.cpp - protoToYul.cpp - yulProto.pb.cc - ${EVMHOST_CPP} - YulEvmoneInterface.cpp - ) - target_include_directories(${_sp_target} PRIVATE /usr/include/libprotobuf-mutator) - target_compile_definitions(${_sp_target} PRIVATE - FUZZER_MODE_SINGLE_PASS - FUZZER_SINGLE_PASS_CHAR="${pass}" - ) - target_link_libraries(${_sp_target} PRIVATE yul - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(${_sp_target} PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(${_sp_target} PUBLIC - ${COMPILE_OPTIONS} - ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS} - ) + add_ossfuzz_target(yul_proto_ossfuzz_evmone_single_pass_${pass} + SOURCES ${YUL_EVMONE_SOURCES} LIBS ${YUL_EVMONE_LIBS} + DEFINES FUZZER_MODE_SINGLE_PASS FUZZER_SINGLE_PASS_CHAR="${pass}") endforeach() - add_executable(yul_proto_ossfuzz_evmone_no_ssa - yulProtoFuzzerEvmone.cpp - FuzzerDiffCommon.cpp - protoToYul.cpp - yulProto.pb.cc - ${EVMHOST_CPP} - YulEvmoneInterface.cpp - ) - target_include_directories(yul_proto_ossfuzz_evmone_no_ssa PRIVATE /usr/include/libprotobuf-mutator) - target_compile_definitions(yul_proto_ossfuzz_evmone_no_ssa PRIVATE FUZZER_MODE_NO_SSA) - target_link_libraries(yul_proto_ossfuzz_evmone_no_ssa PRIVATE yul - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(yul_proto_ossfuzz_evmone_no_ssa PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(yul_proto_ossfuzz_evmone_no_ssa PUBLIC - ${COMPILE_OPTIONS} - ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS} - ) - - add_executable(shuffler_proto_ossfuzz - shufflerProtoFuzzer.cpp - protoToShuffler.cpp - shufflerProto.pb.cc - ) - target_include_directories(shuffler_proto_ossfuzz PRIVATE /usr/include/libprotobuf-mutator) - target_link_libraries(shuffler_proto_ossfuzz PRIVATE yul - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(shuffler_proto_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(shuffler_proto_ossfuzz PUBLIC - ${COMPILE_OPTIONS} - ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS} - ) - - add_executable(abiv2_proto_ossfuzz - ${EVMHOST_CPP} - abiV2ProtoFuzzer.cpp - SolidityEvmoneInterface.cpp - protoToAbiV2.cpp - abiV2Proto.pb.cc - ) - target_include_directories(abiv2_proto_ossfuzz PRIVATE - /usr/include/libprotobuf-mutator - ) - target_link_libraries(abiv2_proto_ossfuzz PRIVATE solidity - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(abiv2_proto_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(abiv2_proto_ossfuzz PUBLIC ${COMPILE_OPTIONS} ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS}) - - add_executable(abiv2_isabelle_ossfuzz - AbiV2IsabelleFuzzer.cpp - SolidityEvmoneInterface.cpp - ${EVMHOST_CPP} - protoToAbiV2.cpp - abiV2Proto.pb.cc - ) - target_include_directories(abiv2_isabelle_ossfuzz PRIVATE - /usr/include/libprotobuf-mutator - ) - target_link_libraries(abiv2_isabelle_ossfuzz PRIVATE solidity - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - abicoder - gmp.a - ) - set_target_properties(abiv2_isabelle_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(abiv2_isabelle_ossfuzz PUBLIC ${COMPILE_OPTIONS} ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS}) - - add_executable(sol_proto_ossfuzz_nondiff - solProtoFuzzer.cpp - SolidityEvmoneInterface.cpp - protoToSol.cpp - solProto.pb.cc - ${EVMHOST_CPP} - ) - target_include_directories(sol_proto_ossfuzz_nondiff PRIVATE - /usr/include/libprotobuf-mutator - ) - target_link_libraries(sol_proto_ossfuzz_nondiff PRIVATE solidity libsolc - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(sol_proto_ossfuzz_nondiff PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(sol_proto_ossfuzz_nondiff PUBLIC ${COMPILE_OPTIONS} ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS}) - - add_executable(sol_proto_ossfuzz_evmone - solProtoFuzzer2.cpp - FuzzerDiffCommon.cpp - SolidityEvmoneInterface.cpp - protoToSol2.cpp - sol2Proto.pb.cc - ${EVMHOST_CPP} - ) - target_include_directories(sol_proto_ossfuzz_evmone PRIVATE - /usr/include/libprotobuf-mutator - ) - target_link_libraries(sol_proto_ossfuzz_evmone PRIVATE solidity libsolc - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(sol_proto_ossfuzz_evmone PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(sol_proto_ossfuzz_evmone PUBLIC ${COMPILE_OPTIONS} ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS}) - - add_executable(sol_proto_ossfuzz_evmone_viair - solProtoFuzzer2.cpp - FuzzerDiffCommon.cpp - SolidityEvmoneInterface.cpp - protoToSol2.cpp - sol2Proto.pb.cc - ${EVMHOST_CPP} - ) - target_include_directories(sol_proto_ossfuzz_evmone_viair PRIVATE - /usr/include/libprotobuf-mutator - ) - target_compile_definitions(sol_proto_ossfuzz_evmone_viair PRIVATE FUZZER_MODE_VIAIR) - target_link_libraries(sol_proto_ossfuzz_evmone_viair PRIVATE solidity libsolc - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(sol_proto_ossfuzz_evmone_viair PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(sol_proto_ossfuzz_evmone_viair PUBLIC ${COMPILE_OPTIONS} ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS}) - - # Frontend-ICE hunter: compile-only, no evmone, no differential. Looks for - # InternalCompilerError and boost assertion failures on any sol2Proto output. - add_executable(sol_ice_ossfuzz - sol_ice_ossfuzz.cpp - protoToSol2.cpp - sol2Proto.pb.cc - ) - target_include_directories(sol_ice_ossfuzz PRIVATE - /usr/include/libprotobuf-mutator - ) - target_link_libraries(sol_ice_ossfuzz PRIVATE solidity libsolc - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(sol_ice_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(sol_ice_ossfuzz PUBLIC ${COMPILE_OPTIONS} ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS}) - - # Narrow-target fuzzer for report #1392: storage-to-storage whole-struct - # assignment where the source aliases a descendant of the destination - # through a recursive `Self[] children` field. Both legacy and IR codegens - # miss the alias check, so this uses an in-contract oracle (test() returns - # a bitmask of mismatched fields), not cross-config differential. - add_executable(sol_recstruct_alias_ossfuzz - solRecStructAliasFuzzer.cpp - SolidityEvmoneInterface.cpp - protoToSolRecStructAlias.cpp - solRecStructAliasProto.pb.cc - ${EVMHOST_CPP} - ) - target_include_directories(sol_recstruct_alias_ossfuzz PRIVATE - /usr/include/libprotobuf-mutator - ) - target_link_libraries(sol_recstruct_alias_ossfuzz PRIVATE solidity libsolc - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a + # --- sol differential family (sol2 grammar) --- + add_ossfuzz_target(sol_proto_ossfuzz_evmone + SOURCES ${SOL2_EVMONE_SOURCES} LIBS ${SOL_EVMONE_LIBS}) + add_ossfuzz_target(sol_proto_ossfuzz_evmone_viair + SOURCES ${SOL2_EVMONE_SOURCES} LIBS ${SOL_EVMONE_LIBS} DEFINES FUZZER_MODE_VIAIR) + + # frontend-ICE hunter: compile-only, no evmone, no differential (see README). + add_ossfuzz_target(sol_ice_ossfuzz + SOURCES sol_ice_ossfuzz.cpp protoToSol2.cpp sol2Proto.pb.cc + LIBS solidity libsolc ${FUZZ_PROTO_LIBS}) + + # legacy non-differential sol fuzzer (older solProto grammar). + add_ossfuzz_target(sol_proto_ossfuzz_nondiff + SOURCES solProtoFuzzer.cpp SolidityEvmoneInterface.cpp protoToSol.cpp + solProto.pb.cc ${EVMHOST_CPP} + LIBS ${SOL_EVMONE_LIBS}) + + # narrow report-#1392 recursive-struct aliasing harness (in-contract oracle). + add_ossfuzz_target(sol_recstruct_alias_ossfuzz + SOURCES solRecStructAliasFuzzer.cpp SolidityEvmoneInterface.cpp + protoToSolRecStructAlias.cpp solRecStructAliasProto.pb.cc ${EVMHOST_CPP} + LIBS ${SOL_EVMONE_LIBS}) + + # identity-oracle round-trip harness. + add_ossfuzz_target(sol_roundtrip_ossfuzz + SOURCES solRoundtripFuzzer.cpp SolidityEvmoneInterface.cpp + protoToSolRoundtrip.cpp solRoundtripProto.pb.cc ${EVMHOST_CPP} + LIBS ${SOL_EVMONE_LIBS}) + + # stack-shuffler proto fuzzer (no solidity / evmone). + add_ossfuzz_target(shuffler_proto_ossfuzz + SOURCES shufflerProtoFuzzer.cpp protoToShuffler.cpp shufflerProto.pb.cc + LIBS yul ${FUZZ_PROTO_LIBS}) + + # ABIv2 proto fuzzer. + add_ossfuzz_target(abiv2_proto_ossfuzz + SOURCES ${EVMHOST_CPP} abiV2ProtoFuzzer.cpp SolidityEvmoneInterface.cpp + protoToAbiV2.cpp abiV2Proto.pb.cc + LIBS solidity evmc ${FUZZ_EVMONE_LIBS} ${FUZZ_PROTO_LIBS}) + + # Aggregate targets driven by tools/ossfuzz/build_ossfuzz.sh. + add_custom_target(ossfuzz_proto) + add_dependencies(ossfuzz_proto + sol_proto_ossfuzz_nondiff + sol_proto_ossfuzz_evmone + sol_proto_ossfuzz_evmone_viair + sol_ice_ossfuzz + yul_proto_ossfuzz_evmone + yul_proto_ossfuzz_evmone_ssacfg + yul_proto_ossfuzz_evmone_check_stack_alloc + yul_proto_ossfuzz_evmone_single_pass_c + yul_proto_ossfuzz_evmone_single_pass_S + yul_proto_ossfuzz_evmone_single_pass_L + yul_proto_ossfuzz_evmone_single_pass_M + yul_proto_ossfuzz_evmone_single_pass_s + yul_proto_ossfuzz_evmone_single_pass_r + yul_proto_ossfuzz_evmone_single_pass_D + yul_proto_ossfuzz_evmone_no_ssa + shuffler_proto_ossfuzz + sol_recstruct_alias_ossfuzz + sol_roundtrip_ossfuzz ) - set_target_properties(sol_recstruct_alias_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(sol_recstruct_alias_ossfuzz PUBLIC ${COMPILE_OPTIONS} ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS}) - # Identity-oracle fuzzer: asserts primitive-type identities - # (abi round-trip, storage-mem round-trip, delete-default, cast ladder) - # hold across Solidity codegen. Non-differential — any nonzero bit in - # test()'s return is a violated identity. - add_executable(sol_roundtrip_ossfuzz - solRoundtripFuzzer.cpp - SolidityEvmoneInterface.cpp - protoToSolRoundtrip.cpp - solRoundtripProto.pb.cc - ${EVMHOST_CPP} - ) - target_include_directories(sol_roundtrip_ossfuzz PRIVATE - /usr/include/libprotobuf-mutator - ) - target_link_libraries(sol_roundtrip_ossfuzz PRIVATE solidity libsolc - evmc - evmone-standalone - protobuf-mutator-libfuzzer.a - protobuf-mutator.a - protobuf.a - ) - set_target_properties(sol_roundtrip_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE}) - target_compile_options(sol_roundtrip_ossfuzz PUBLIC ${COMPILE_OPTIONS} ${SILENCE_PROTOBUF_AUTOGENERATED_WARNINGS}) + add_custom_target(ossfuzz_abiv2) + add_dependencies(ossfuzz_abiv2 abiv2_proto_ossfuzz) else() - add_library(solc_ossfuzz - solc_ossfuzz.cpp - ../common/fuzzer_common.cpp - ) + # Property / host build: the single-input harnesses are built as plain + # libraries (linked into test drivers), not fuzz executables. + add_library(solc_ossfuzz solc_ossfuzz.cpp ../common/fuzzer_common.cpp) target_link_libraries(solc_ossfuzz PRIVATE libsolc evmasm) - add_library(solc_mutator_ossfuzz - solc_ossfuzz.cpp - ../common/fuzzer_common.cpp - ) + add_library(solc_mutator_ossfuzz solc_ossfuzz.cpp ../common/fuzzer_common.cpp) target_link_libraries(solc_mutator_ossfuzz PRIVATE libsolc evmasm) - add_library(const_opt_ossfuzz - const_opt_ossfuzz.cpp - ../common/fuzzer_common.cpp) + add_library(const_opt_ossfuzz const_opt_ossfuzz.cpp ../common/fuzzer_common.cpp) target_link_libraries(const_opt_ossfuzz PRIVATE libsolc evmasm) - add_library(strictasm_opt_ossfuzz - strictasm_opt_ossfuzz.cpp - ) + add_library(strictasm_opt_ossfuzz strictasm_opt_ossfuzz.cpp) target_link_libraries(strictasm_opt_ossfuzz PRIVATE yul) - add_library(strictasm_assembly_ossfuzz - strictasm_assembly_ossfuzz.cpp - ) + add_library(strictasm_assembly_ossfuzz strictasm_assembly_ossfuzz.cpp) target_link_libraries(strictasm_assembly_ossfuzz PRIVATE yul) - -# add_executable(abiv2_proto_ossfuzz -# ${EVMHOST_CPP} -# abiV2ProtoFuzzer.cpp -# abiV2FuzzerCommon.cpp -# protoToAbiV2.cpp -# abiV2Proto.pb.cc -# ) -# target_include_directories(abiv2_proto_ossfuzz PRIVATE -# /src/LPM/external.protobuf/include -# /src/libprotobuf-mutator -# /src/evmone/include -# ) -# target_link_libraries(abiv2_proto_ossfuzz PRIVATE solidity -# evmone intx ethash keccak evmc-instructions evmc -# protobuf-mutator-libfuzzer.a -# protobuf-mutator.a -# protobuf.a -# FuzzingEngine.a -# ) endif() + +# Aggregate "ossfuzz" target: the five single-input harnesses, which exist in +# both build modes (executables under OSSFUZZ, libraries otherwise). +add_custom_target(ossfuzz) +add_dependencies(ossfuzz + solc_ossfuzz + solc_mutator_ossfuzz + const_opt_ossfuzz + strictasm_opt_ossfuzz + strictasm_assembly_ossfuzz +) diff --git a/tools/ossfuzz/README.md b/tools/ossfuzz/README.md index c2a8eb3..0503887 100644 --- a/tools/ossfuzz/README.md +++ b/tools/ossfuzz/README.md @@ -1,457 +1,81 @@ -## Executables generated +# Protobuf fuzzers (AFL++ + libprotobuf-mutator) -This directory contain test harnesses in C/C++ that define the `LLVMFuzzerTestOneInput` API. -All differential fuzzers use the latest EVM version. +LPM harnesses for solc and Yul. Each uses `DEFINE_PROTO_FUZZER`: a +protobuf grammar is converted to Solidity/Yul, compiled, deployed on +evmone, and checked. They run under AFL++ — the harness stays +engine-agnostic (libFuzzer-style `LLVMFuzzerTestOneInput`), and AFL drives +LPM through a per-grammar custom mutator (below). -### Differential fuzzers (LibFuzzer + EVMOne + ProtoBuf) - -These check whether a system generates the same LOGs, STATE, and RETURNDATA when deployed -and ran with a fuzz-generated CALLDATA. Hence, these are differential fuzzers over the -deployed (via EVMOne) bytcode. - -| Executable | Source / Mode | What it compares | -|---|---|---| -| `sol_proto_ossfuzz_evmone` | `solProtoFuzzer2.cpp` | Unopt vs opt (same `viaIR` flag, chosen by input) | -| `sol_proto_ossfuzz_evmone_viair` | `solProtoFuzzer2.cpp` | Legacy unopt (viaIR=false) vs IR opt (viaIR=true) | -| `yul_proto_ossfuzz_evmone` | `yulProtoFuzzerEvmone.cpp` | Unopt Yul vs fully-optimized Yul | -| `yul_proto_ossfuzz_evmone_ssacfg` | `yulProtoFuzzerEvmone.cpp` | Unopt legacy codegen vs opt SSA CFG codegen | -| `yul_proto_ossfuzz_evmone_single_pass_` | `yulProtoFuzzerEvmone.cpp` | Prereq passes only vs prereq + one pass: `c S L M s r D` | -| `yul_proto_ossfuzz_evmone_no_ssa` | `yulProtoFuzzerEvmone.cpp` | Unopt vs full opt w/ SSATransform stripped | -| `yul_proto_ossfuzz_evmone_check_stack_alloc` | `yulProtoFuzzerEvmone.cpp`, | Opt with stack alloc off vs on (legacy codegen) | - -Pass abbreviations currently built: `c` CommonSubexpressionEliminator, `S` -UnusedStoreEliminator, `L` LoadResolver, `M` LoopInvariantCodeMotion, `s` -ExpressionSimplifier, `r` UnusedAssignEliminator, `D` DeadCodeEliminator. - -### Non-differential fuzzers (LibFuzzer + EVMOne) - -| Executable | Source / Mode | What it checks | -|---|---|---| -| `sol_proto_ossfuzz_nondiff` | `solProtoFuzzer.cpp` | Self-checking `test()` must not revert and must return 0 | -| `sol_recstruct_alias_ossfuzz` | `solRecStructAliasFuzzer.cpp` | Aliased storage struct copy (#1392) | -| `sol_roundtrip_ossfuzz` | `solRoundtripFuzzer.cpp` | Primitive-type identity oracles | - - -### Crash-only fuzzers (LibFuzzer, no EVMOne) - -| Executable | Source | What it feeds random bytes to | -|---|---|---| -| `sol_ice_ossfuzz` | `sol_ice_ossfuzz.cpp` | Solidity frontend `sol2Proto` → `CompilerStack::compile` | -| `shuffler_proto_ossfuzz` | `shufflerProtoFuzzer.cpp` | SSA stack shuffler | - - -### Legacy fuzzers - -| Executable | Source | What it feeds random bytes to | -|---|---|---| -| `strictasm_opt_ossfuzz` | `strictasm_opt_ossfuzz.cpp` | Yul optimizer | -| `strictasm_assembly_ossfuzz` | `strictasm_assembly_ossfuzz.cpp` | Yul assembler | -| `const_opt_ossfuzz` | `const_opt_ossfuzz.cpp` | Constant optimizer | -| `solc_ossfuzz` | `solc_ossfuzz.cpp` | Solidity compiler | -| `solc_mutator_ossfuzz` | `solc_ossfuzz.cpp` + custom mutator | Solidity compiler | - - -`solidity.dict` contains Solidity-specific syntactical tokens that are more -likely to guide the fuzzer towards generating parseable and varied Solidity -input. - -## Debugging stack-shuffler crashes with `stackshuffler` - -`shuffler_proto_ossfuzz` finds crashes in the SSA stack shuffler. Each crash -artifact is a raw protobuf — to inspect it by eye, or to feed it to the -standalone `stackshuffler` CLI, dump it to the `.stack` file format first: - -```bash -# 1. Build the standalone shuffler (from a normal, non-ossfuzz build): -mkdir -p build && cd build && cmake .. && make -j$(nproc) stackshuffler && cd .. - -# 2. Dump the crash input to a .stack file. The fuzzer recognises -# PROTO_FUZZER_DUMP_PATH: when set, it writes the converted shuffler input -# (initial, targetStackTop, targetStackTailSet, targetStackSize) to that -# path, then proceeds with the same run that originally crashed. -PROTO_FUZZER_DUMP_PATH=bad.stack \ - ./build_ossfuzz/tools/ossfuzz/shuffler_proto_ossfuzz crash- - -# 3. Reproduce outside the fuzzer with the standalone CLI. --verbose prints -# the full trace table (initial stack, every emitted op, final row). -./build/tools/shuffler-fuzzer/stackshuffler --verbose bad.stack -``` - -Example `bad.stack`: - -``` -initial: [v0, JUNK] -targetStackTop: [] -targetStackTailSet: {lit10} -targetStackSize: 1 -``` - -Exit code `1` + `Status: MaxIterationsReached` means the shuffler gave up; exit -code `0` + `Status: Admissible` means it converged. Note that only a subset of -shuffler bugs surface in the standalone tool — the fuzzer also checks an -independent replay oracle (see `shufflerProtoFuzzer.cpp`) that the standalone -CLI does not run. - -### Stack-too-deep suppression - -The fuzzer currently silences exceptions whose message contains "stack too -deep" (case-insensitive) — those cases are honest shuffler give-ups, not bugs, -until the shuffler learns to handle them. To flip this off and treat every -shuffler-thrown assertion as a crash, add -`-DFUZZER_MODE_STACK_TOO_DEEP_IS_BUG` to `shuffler_proto_ossfuzz` in -`tools/ossfuzz/CMakeLists.txt` (mirroring the pattern used by -`yul_proto_ossfuzz_evmone_ssacfg` etc.) and rebuild. - -## Debugging solidity issues with `sol_debug_runner` - -`sol_debug_runner` is a standalone tool for debugging differential testing -failures and internal compiler crashes from `sol_proto_ossfuzz_evmone`. It -takes a `.sol` file and runs it through the same compile-deploy-execute -pipeline as the fuzzer, across all 4 configurations: -`{noOpt, opt} x {viaIR=true, viaIR=false}`. It prints bytecodes, EVM -execution results, logs, and storage for each, then reports which -differential comparisons pass or fail. - -### Reproducing a fuzzer crash - -1. Dump the Yul/Solidity source from a crash input: - - ```bash - PROTO_FUZZER_DUMP_PATH=tout.yul PROTO_FUZZER_DUMP_SEQ_PATH=tout.seq \ - ./build_ossfuzz/tools/ossfuzz/yul_proto_ossfuzz_evmone crash-bd3e51cef7024834e7a83e27e361a611c7dce954 - ``` - -2. Run the debug tool: - - ```bash - mkdir -p /tmp/debug-output - ./build/yul_debug_runner tout.yul --verbose \ - --optimizer-sequence "" \ - --optimizer-cleanup-sequence "" - ``` - - If the sequences are not given, the default sequences are used - -3. Check the terminal output. The tool prints per-configuration details - (bytecode, status, logs, storage) followed by a differential comparison - section: - - ``` - ========== DIFFERENTIAL COMPARISONS ========== - - --- Comparing noOpt_viaIR=true vs opt_viaIR=true --- - Status: MATCH (SUCCESS vs SUCCESS) - Output: MATCH - Logs: DIFFER - Storage: MATCH - ``` - -4. Inspect files in `--output-dir`: - - `.bytecode.hex` — compiled bytecode in hex - - `.log` — full execution details (status, output, logs, storage) - -### CLI options - -``` -./build/sol_debug_runner [--output-dir ] [--via-ir true|false] [--calldata ] [--quiet] -``` - -- `` — Solidity source file (positional, required) -- `--output-dir ` — write bytecode and log files here (optional) -- `--via-ir true|false` — initial viaIR setting (default: `true`). The tool - always tests both values; this controls which is "primary". -- `--calldata ` — extra calldata in hex (e.g. `a0ffba`), appended after - the `test()` method selector -- `--quiet` — suppress all output except a one-line summary (`OK`, - `MISMATCH`, or `INTERNAL_ERROR`). Used by the delta debugger. - -### Exit codes - -| Code | Meaning | -|------|---------| -| 0 | All match — no bug | -| 1 | Differential mismatch found | -| 2 | Normal compilation failure / file error | -| 3 | Internal compiler error (assertion failure, crash) | - - -## Debugging Yul issues with `yul_debug_runner` - -`yul_debug_runner` is the Yul equivalent of `sol_debug_runner`. It reproduces -the `yul_proto_ossfuzz_evmone`, `yul_proto_ossfuzz_evmone_ssacfg`, and -`yul_proto_ossfuzz_evmone_check_stack_alloc` fuzzers' compile-deploy-execute -flow on a `.yul` file. It runs four configurations (unoptimized, optimized -legacy, optimized SSACFG, optimized legacy without stack allocation), deploys -all on evmone, and compares output, logs, and storage across pairs. Always -uses the latest EVM version. - -### Building - -Build using the normal (non-ossfuzz) cmake build (see the main README for the -full cmake invocation): +## Build & run ```bash -mkdir -p build && cd build -cmake .. -make -j$(nproc) yul_debug_runner -``` - -### Reproducing a fuzzer crash - -1. Dump the Yul source from a crash input: - - ```bash - PROTO_FUZZER_DUMP_PATH=bad.yul \ - ./build_ossfuzz/tools/ossfuzz/yul_proto_ossfuzz_evmone crash- - ``` - -2. Run the debug tool: - - ```bash - ./build/yul_debug_runner bad.yul - ``` - -3. Check the terminal output. The tool prints per-configuration details - (bytecode, status, logs, storage) followed by a differential comparison - section: - - ``` - ========== DIFFERENTIAL COMPARISONS ========== - - --- Comparing unoptimized vs optimized_legacy --- - Status: MATCH (SUCCESS vs SUCCESS) - Output: MATCH - Logs: DIFFER - Storage: MATCH - - --- Comparing unoptimized vs optimized_ssacfg --- - Status: MATCH (SUCCESS vs SUCCESS) - Output: MATCH - Logs: MATCH - Storage: MATCH - - --- Comparing optimized_legacy vs optimized_ssacfg --- - Status: MATCH (SUCCESS vs SUCCESS) - Output: MATCH - Logs: DIFFER - Storage: MATCH - - --- Comparing optimized_legacy_no_stack_alloc vs optimized_legacy --- - Status: MATCH (SUCCESS vs SUCCESS) - Output: MATCH - Logs: MATCH - Storage: MATCH - ``` - -4. Optionally write output files: - - ```bash - ./build/yul_debug_runner bad.yul --output-dir /tmp/debug-output - ``` - -### Failure-frame diagnostic on status mismatches - -When a status code differs between two configs, the runner installs an -evmone tracer and prints the deepest frame that ended with a non-success -non-revert status — i.e. the actual instruction that died, not the outer -CALL that propagated the failure: - +tools/ossfuzz/build_ossfuzz.sh # -> build_afl/ +tools/ossfuzz/run_ossfuzz_afl.sh sol_proto_ossfuzz_evmone seeds_sol_proto ``` ---- Comparing optimized_legacy_no_stack_alloc vs optimized_legacy --- - Status: DIFFER (INVALID_INSTRUCTION vs SUCCESS) - [optimized_legacy_no_stack_alloc] failure at PC=95 (0x5f) opcode=0xfe (INVALID) gas=303673 stack_height=0 status=INVALID_INSTRUCTION - bytecode window [79...111] / 128 bytes: - 20 60 60 5f 39 5f 51 90 5f 52 60 01 60 b4 1b 55 fe 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 - ^^ -``` - -Implementation in `tools/runners/evmone_tracer_facade.hpp` + `LastOpTracer` -in `yul_debug_runner.cpp`. Mnemonic comes from -`solidity::evmasm::instructionInfo`. - -### Reproducing a `single_pass_` crash - -Most single-pass crashes are runtime differentials (Run A vs Run B execution -mismatch wrapped in `solAssert`), not compiler ICEs — so `solc` alone won't -reproduce them, you need to compile *both* configurations and run them on -evmone. The fuzzer's two configs are: -- Run A: `yulOptimiserSteps=""`, cleanup=`""` (prerequisites only) -- Run B: `yulOptimiserSteps=""`, cleanup=`""` +`run_ossfuzz_afl.sh` picks the matching mutator and sets +`AFL_CUSTOM_MUTATOR_ONLY=1`, so only the grammar mutator runs (no byte +havoc on the serialized protobuf). The seed dir needs one non-empty file +in the harness's text-format protobuf — a one-byte seed (empty default +message) is enough; the mutator grows structure from there. Solidity +*source* files (e.g. `corpus_afl/`) are NOT valid seeds for proto fuzzers. -`yul_debug_runner --optimizer-sequence ` is **not** byte-faithful — an -empty `--optimizer-cleanup-sequence` falls back to defaults and the -optimized config uses `optimizeStackAllocation=true` (fuzzer uses `false`). -But the failure-frame diagnostic above usually pinpoints the bad instruction -anyway, so it's the fastest debugging path. Replay the fuzzer binary -directly when you need ground-truth reproduction: +Resume a stopped run from its own findings dir (no corpus dir needed): ```bash -./build_ossfuzz/tools/ossfuzz/yul_proto_ossfuzz_evmone_single_pass_ crash- +tools/ossfuzz/run_ossfuzz_afl.sh --resume sol_proto_ossfuzz_evmone ``` -If the crash is a real compile-time ICE (rare here), `solc --strict-assembly ---optimize --yul-optimizations ":" bad.yul` will trigger it; the empty -string after `:` matches the fuzzer's empty cleanup steps. +## LPM ↔ AFL mutator -### CLI options - -``` -./build/yul_debug_runner [--output-dir ] [--calldata ] [--quiet] -``` +`lpm_afl_mutator.cc` is the bridge: `afl_custom_fuzz` deserializes the +(text-format) protobuf the harness expects, runs +`protobuf_mutator::Mutator` over the message tree, and re-serializes — so +every input stays a valid program and the existing corpus is reused. One +`.so` per grammar is built into `deps_afl/lib/` (the proto type is a +compile-time `-D`). The engine is AFL++'s `libAFLDriver.a` +(`LIB_FUZZING_ENGINE`), replacing libFuzzer. -- `` — Yul source file (positional, required) -- `--output-dir ` — write bytecode and log files here (optional) -- `--calldata ` — calldata in hex (e.g. `a0ffba`), passed to the - deployed contract -- `--quiet` — suppress all output except a one-line summary (`OK`, - `MISMATCH`, or `INTERNAL_ERROR`). Used by delta debuggers. +## Fuzzers -### Exit codes +Differential — unopt vs opt, deployed on evmone, comparing status / +output / logs / storage: -| Code | Meaning | -|------|---------| -| 0 | All match — no bug | -| 1 | Differential mismatch found | -| 2 | Normal compilation failure / file error | -| 3 | Internal compiler error (assertion failure, crash) | +- `sol_proto_ossfuzz_evmone` — Solidity, same viaIR on both sides +- `sol_proto_ossfuzz_evmone_viair` — legacy vs IR +- `sol_proto_ossfuzz_nondiff` — legacy non-differential (older solProto grammar) +- `yul_proto_ossfuzz_evmone[_ssacfg,_no_ssa,_check_stack_alloc]` — Yul +- `yul_proto_ossfuzz_evmone_single_pass_` — one pass +Non-differential / crash-only: -## Checking generated Solidity with check_sol_proto_files.py - -`check_sol_proto_files.py` compiles a directory of generated `.sol` files -with `solc` and reports errors, warnings, and a tally of which language -features appear. It is useful for verifying that the protobuf-to-Solidity -converter (`protoToSol2`) produces valid code and for assessing corpus -coverage. - -### Dumping `.sol` files from a corpus - -First, dump Solidity source from fuzzer corpus entries: - -```bash -rm -rf tmp -mkdir -p tmp -find corpuses/my_corpus_yul_proto_ossfuzz_evmone/ -maxdepth 1 -type f -print0 \ - | shuf -z -n 1000 \ - | while IFS= read -r -d '' file; do - PROTO_FUZZER_DUMP_PATH="tmp/$(basename "$file").yul" \ - ./build_ossfuzz/tools/ossfuzz/yul_proto_ossfuzz_evmone "$file" - done -``` - -or +- `sol_ice_ossfuzz` — frontend ICE hunter +- `sol_recstruct_alias_ossfuzz` — recursive-struct alias copy (#1392) +- `sol_roundtrip_ossfuzz` — primitive identity oracles +- `shuffler_proto_ossfuzz` — SSA stack shuffler +- `abiv2_proto_ossfuzz` — ABIv2 coder -```bash -rm -rf tmp -mkdir -p tmp -find corpuses/my_corpus_sol_proto_ossfuzz_evmone/ -maxdepth 1 -type f -print0 \ - | shuf -z -n 1000 \ - | while IFS= read -r -d '' file; do - PROTO_FUZZER_DUMP_PATH="tmp/$(basename "$file").sol" \ - ./build_ossfuzz/tools/ossfuzz/sol_proto_ossfuzz_evmone "$file" - done -``` +## Reproduce -### Running the checker +Dump the source, then replay with the debug runner (both in `build/`): ```bash -python3 tools/ossfuzz/check_sol_proto_files.py tmp/ \ - --solc ./build/solidity/solc/solc -``` - -### CLI options - -- `` — directory containing `.sol` files (positional, required) -- `--solc ` — path to `solc` binary (default: `solc`) -- `--no-compile` — skip compilation, only tally features -- `--max-files ` — process at most N files (default: all) - -### Output - -The tool prints two sections: - -**Compilation results** — total errors, warnings, and breakdowns by type. -Files with errors are listed with their first few error messages. Example: - +PROTO_FUZZER_DUMP_PATH=bad.sol \ + build_afl/tools/ossfuzz/sol_proto_ossfuzz_evmone crash-file +build/tools/runners/sol_debug_runner bad.sol +# yul: dump bad.yul the same way, then yul_debug_runner bad.yul ``` -============================================================ -COMPILATION RESULTS -============================================================ -Files compiled: 50 -Files with errors: 0 -Total errors: 0 -Total warnings: 104 -Warning types: - This is a pre-release compiler version, ...: 50 - Unused function parameter. ...: 22 -``` +Exit codes: 0 match, 1 differential mismatch, 2 compile fail, 3 ICE. The +debug runners run all configs and print per-config bytecode, logs, and +storage; `--output-dir` writes them. `shuffler_proto_ossfuzz` dumps a +`.stack` file — replay with `stackshuffler` (see ../shuffler-fuzzer). -**Feature tally** — counts of language features grouped by category (contract -structure, functions, state variables, types, events/errors, control flow, -expressions, builtins, and new features). For each feature it shows the total -occurrence count and how many files contain it. Example: - -``` - New Features (this PR): - ether_units (none) - indexed_params total= 1 files= 1/50 - array_push (none) - returns_two total= 2 files= 2/50 - free_functions total= 50 files= 34/50 -``` - -Features showing `(none)` indicate the fuzzer corpus hasn't grown large -enough to produce those protobuf field combinations yet — this is normal for -a young corpus. - -## Quick corpus check with check_diversity_and_errors.sh - -`check_diversity_and_errors.sh` is a convenience wrapper that dumps `.sol` -files from a fuzzer corpus and pipes them through `check_sol_proto_files.py` -in one step. It picks N random corpus entries, runs the fuzzer binary to dump -their Solidity source, compiles them with `solc`, and reports errors + feature -diversity. - -### Usage +## Corpus check ```bash -# Default fuzzer (sol_proto_ossfuzz_evmone), 300 files: -./tools/runners/check_diversity_and_errors.sh my_corpus_sol_proto_ossfuzz_evmone 300 - -# Explicit fuzzer binary: -./tools/runners/check_diversity_and_errors.sh my_corpus_sol_proto_ossfuzz_evmone 300 \ - ./build_ossfuzz/tools/ossfuzz/sol_proto_ossfuzz_evmone - -# viaIR variant: -./tools/runners/check_diversity_and_errors.sh my_corpus_sol_proto_ossfuzz_evmone_viair 300 \ - ./build_ossfuzz/tools/ossfuzz/sol_proto_ossfuzz_evmone_viair +tools/runners/check_diversity_and_errors.sh corpus_dir 300 \ + build_afl/tools/ossfuzz/sol_proto_ossfuzz_evmone ``` -### Arguments - -| Argument | Description | -|----------|-------------| -| `` | Directory containing fuzzer corpus files (required) | -| `` | Number of random corpus entries to sample (required) | -| `[fuzzer_binary]` | Path to fuzzer binary (default: `./build_ossfuzz/tools/ossfuzz/sol_proto_ossfuzz_evmone`) | - -The script expects `./build/solc/solc` for compilation checks and -`./tools/ossfuzz/check_sol_proto_files.py` for the analysis. Dumped -files go into a temporary directory that is cleaned up automatically. - -## OSSFuzz notes - -[oss-fuzz][1] is Google's fuzzing infrastructure that performs continuous -fuzzing. What this means is that, each and every upstream commit is -automatically fetched by the infrastructure and fuzzed on a daily basis. - -We have configuration files:here with the `.options` extension that are -parsed by oss-fuzz. The only option that we use currently is the `dictionary` -option that asks the fuzzing engines behind oss-fuzz to use the specified -dictionary. The specified dictionary happens to be `solidity.dict`. - -[1]: https://github.com/google/oss-fuzz -[2]: https://github.com/google/oss-fuzz/issues/1114#issuecomment-360660201 - +Dumps N entries, compiles each with solc, tallies language features. diff --git a/tools/ossfuzz/abiV2Proto.pb.cc b/tools/ossfuzz/abiV2Proto.pb.cc deleted file mode 100644 index 302d0cd..0000000 --- a/tools/ossfuzz/abiV2Proto.pb.cc +++ /dev/null @@ -1,3556 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: abiV2Proto.proto - -#include "abiV2Proto.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -namespace solidity { -namespace test { -namespace abiv2fuzzer { -PROTOBUF_CONSTEXPR BoolType::BoolType( - ::_pbi::ConstantInitialized) {} -struct BoolTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR BoolTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BoolTypeDefaultTypeInternal() {} - union { - BoolType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoolTypeDefaultTypeInternal _BoolType_default_instance_; -PROTOBUF_CONSTEXPR IntegerType::IntegerType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.is_signed_)*/false - , /*decltype(_impl_.width_)*/0u} {} -struct IntegerTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR IntegerTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IntegerTypeDefaultTypeInternal() {} - union { - IntegerType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntegerTypeDefaultTypeInternal _IntegerType_default_instance_; -PROTOBUF_CONSTEXPR FixedByteType::FixedByteType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.width_)*/0u} {} -struct FixedByteTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR FixedByteTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~FixedByteTypeDefaultTypeInternal() {} - union { - FixedByteType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FixedByteTypeDefaultTypeInternal _FixedByteType_default_instance_; -PROTOBUF_CONSTEXPR AddressType::AddressType( - ::_pbi::ConstantInitialized) {} -struct AddressTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR AddressTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~AddressTypeDefaultTypeInternal() {} - union { - AddressType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AddressTypeDefaultTypeInternal _AddressType_default_instance_; -PROTOBUF_CONSTEXPR ValueType::ValueType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.value_type_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct ValueTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR ValueTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ValueTypeDefaultTypeInternal() {} - union { - ValueType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ValueTypeDefaultTypeInternal _ValueType_default_instance_; -PROTOBUF_CONSTEXPR DynamicByteArrayType::DynamicByteArrayType( - ::_pbi::ConstantInitialized) {} -struct DynamicByteArrayTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR DynamicByteArrayTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~DynamicByteArrayTypeDefaultTypeInternal() {} - union { - DynamicByteArrayType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DynamicByteArrayTypeDefaultTypeInternal _DynamicByteArrayType_default_instance_; -PROTOBUF_CONSTEXPR ArrayType::ArrayType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.t_)*/nullptr - , /*decltype(_impl_.length_)*/0u - , /*decltype(_impl_.is_static_)*/false} {} -struct ArrayTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArrayTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ArrayTypeDefaultTypeInternal() {} - union { - ArrayType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrayTypeDefaultTypeInternal _ArrayType_default_instance_; -PROTOBUF_CONSTEXPR StructType::StructType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.t_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct StructTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR StructTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StructTypeDefaultTypeInternal() {} - union { - StructType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructTypeDefaultTypeInternal _StructType_default_instance_; -PROTOBUF_CONSTEXPR NonValueType::NonValueType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.nonvalue_type_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct NonValueTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR NonValueTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~NonValueTypeDefaultTypeInternal() {} - union { - NonValueType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NonValueTypeDefaultTypeInternal _NonValueType_default_instance_; -PROTOBUF_CONSTEXPR Type::Type( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.type_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct TypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR TypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TypeDefaultTypeInternal() {} - union { - Type _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TypeDefaultTypeInternal _Type_default_instance_; -PROTOBUF_CONSTEXPR VarDecl::VarDecl( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/nullptr} {} -struct VarDeclDefaultTypeInternal { - PROTOBUF_CONSTEXPR VarDeclDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~VarDeclDefaultTypeInternal() {} - union { - VarDecl _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VarDeclDefaultTypeInternal _VarDecl_default_instance_; -PROTOBUF_CONSTEXPR TestFunction::TestFunction( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.local_vars_)*/nullptr - , /*decltype(_impl_.invalid_encoding_length_)*/uint64_t{0u}} {} -struct TestFunctionDefaultTypeInternal { - PROTOBUF_CONSTEXPR TestFunctionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TestFunctionDefaultTypeInternal() {} - union { - TestFunction _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestFunctionDefaultTypeInternal _TestFunction_default_instance_; -PROTOBUF_CONSTEXPR Contract::Contract( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.state_vars_)*/nullptr - , /*decltype(_impl_.testfunction_)*/nullptr - , /*decltype(_impl_.seed_)*/0u - , /*decltype(_impl_.test_)*/1} {} -struct ContractDefaultTypeInternal { - PROTOBUF_CONSTEXPR ContractDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ContractDefaultTypeInternal() {} - union { - Contract _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContractDefaultTypeInternal _Contract_default_instance_; -} // namespace abiv2fuzzer -} // namespace test -} // namespace solidity -static ::_pb::Metadata file_level_metadata_abiV2Proto_2eproto[13]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_abiV2Proto_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_abiV2Proto_2eproto = nullptr; - -const uint32_t TableStruct_abiV2Proto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::BoolType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::IntegerType, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::IntegerType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::IntegerType, _impl_.is_signed_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::IntegerType, _impl_.width_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::FixedByteType, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::FixedByteType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::FixedByteType, _impl_.width_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::AddressType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ValueType, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ValueType, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ValueType, _impl_.value_type_oneof_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::DynamicByteArrayType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ArrayType, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ArrayType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ArrayType, _impl_.t_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ArrayType, _impl_.length_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ArrayType, _impl_.is_static_), - 0, - 1, - 2, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::StructType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::StructType, _impl_.t_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::NonValueType, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::NonValueType, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::NonValueType, _impl_.nonvalue_type_oneof_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Type, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Type, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Type, _impl_.type_oneof_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::VarDecl, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::VarDecl, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::VarDecl, _impl_.type_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::TestFunction, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::TestFunction, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::TestFunction, _impl_.local_vars_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::TestFunction, _impl_.invalid_encoding_length_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _impl_.state_vars_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _impl_.testfunction_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _impl_.test_), - PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _impl_.seed_), - 0, - 1, - 3, - 2, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, -1, sizeof(::solidity::test::abiv2fuzzer::BoolType)}, - { 6, 14, -1, sizeof(::solidity::test::abiv2fuzzer::IntegerType)}, - { 16, 23, -1, sizeof(::solidity::test::abiv2fuzzer::FixedByteType)}, - { 24, -1, -1, sizeof(::solidity::test::abiv2fuzzer::AddressType)}, - { 30, -1, -1, sizeof(::solidity::test::abiv2fuzzer::ValueType)}, - { 41, -1, -1, sizeof(::solidity::test::abiv2fuzzer::DynamicByteArrayType)}, - { 47, 56, -1, sizeof(::solidity::test::abiv2fuzzer::ArrayType)}, - { 59, -1, -1, sizeof(::solidity::test::abiv2fuzzer::StructType)}, - { 66, -1, -1, sizeof(::solidity::test::abiv2fuzzer::NonValueType)}, - { 76, -1, -1, sizeof(::solidity::test::abiv2fuzzer::Type)}, - { 85, 92, -1, sizeof(::solidity::test::abiv2fuzzer::VarDecl)}, - { 93, 101, -1, sizeof(::solidity::test::abiv2fuzzer::TestFunction)}, - { 103, 113, -1, sizeof(::solidity::test::abiv2fuzzer::Contract)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::solidity::test::abiv2fuzzer::_BoolType_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_IntegerType_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_FixedByteType_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_AddressType_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_ValueType_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_DynamicByteArrayType_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_ArrayType_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_StructType_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_NonValueType_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_Type_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_VarDecl_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_TestFunction_default_instance_._instance, - &::solidity::test::abiv2fuzzer::_Contract_default_instance_._instance, -}; - -const char descriptor_table_protodef_abiV2Proto_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\020abiV2Proto.proto\022\031solidity.test.abiv2f" - "uzzer\"\n\n\010BoolType\"/\n\013IntegerType\022\021\n\tis_s" - "igned\030\001 \002(\010\022\r\n\005width\030\002 \002(\r\"\036\n\rFixedByteT" - "ype\022\r\n\005width\030\001 \002(\r\"\r\n\013AddressType\"\200\002\n\tVa" - "lueType\0226\n\004inty\030\001 \001(\0132&.solidity.test.ab" - "iv2fuzzer.IntegerTypeH\000\0228\n\004byty\030\002 \001(\0132(." - "solidity.test.abiv2fuzzer.FixedByteTypeH" - "\000\0226\n\004adty\030\003 \001(\0132&.solidity.test.abiv2fuz" - "zer.AddressTypeH\000\0225\n\006boolty\030\004 \001(\0132#.soli" - "dity.test.abiv2fuzzer.BoolTypeH\000B\022\n\020valu" - "e_type_oneof\"\026\n\024DynamicByteArrayType\"Z\n\t" - "ArrayType\022*\n\001t\030\001 \002(\0132\037.solidity.test.abi" - "v2fuzzer.Type\022\016\n\006length\030\002 \002(\r\022\021\n\tis_stat" - "ic\030\003 \002(\010\"8\n\nStructType\022*\n\001t\030\001 \003(\0132\037.soli" - "dity.test.abiv2fuzzer.Type\"\337\001\n\014NonValueT" - "ype\022G\n\014dynbytearray\030\001 \001(\0132/.solidity.tes" - "t.abiv2fuzzer.DynamicByteArrayTypeH\000\0227\n\007" - "arrtype\030\002 \001(\0132$.solidity.test.abiv2fuzze" - "r.ArrayTypeH\000\0226\n\005stype\030\003 \001(\0132%.solidity." - "test.abiv2fuzzer.StructTypeH\000B\025\n\023nonvalu" - "e_type_oneof\"\206\001\n\004Type\0225\n\005vtype\030\001 \001(\0132$.s" - "olidity.test.abiv2fuzzer.ValueTypeH\000\0229\n\006" - "nvtype\030\002 \001(\0132\'.solidity.test.abiv2fuzzer" - ".NonValueTypeH\000B\014\n\ntype_oneof\"8\n\007VarDecl" - "\022-\n\004type\030\001 \002(\0132\037.solidity.test.abiv2fuzz" - "er.Type\"g\n\014TestFunction\0226\n\nlocal_vars\030\001 " - "\002(\0132\".solidity.test.abiv2fuzzer.VarDecl\022" - "\037\n\027invalid_encoding_length\030\002 \002(\004\"\371\001\n\010Con" - "tract\0226\n\nstate_vars\030\001 \002(\0132\".solidity.tes" - "t.abiv2fuzzer.VarDecl\022=\n\014testfunction\030\002 " - "\002(\0132\'.solidity.test.abiv2fuzzer.TestFunc" - "tion\0226\n\004test\030\003 \002(\0162(.solidity.test.abiv2" - "fuzzer.Contract.Test\022\014\n\004seed\030\004 \002(\r\"0\n\004Te" - "st\022\022\n\016CALLDATA_CODER\020\001\022\024\n\020RETURNDATA_COD" - "ER\020\002" - ; -static ::_pbi::once_flag descriptor_table_abiV2Proto_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_abiV2Proto_2eproto = { - false, false, 1364, descriptor_table_protodef_abiV2Proto_2eproto, - "abiV2Proto.proto", - &descriptor_table_abiV2Proto_2eproto_once, nullptr, 0, 13, - schemas, file_default_instances, TableStruct_abiV2Proto_2eproto::offsets, - file_level_metadata_abiV2Proto_2eproto, file_level_enum_descriptors_abiV2Proto_2eproto, - file_level_service_descriptors_abiV2Proto_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_abiV2Proto_2eproto_getter() { - return &descriptor_table_abiV2Proto_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_abiV2Proto_2eproto(&descriptor_table_abiV2Proto_2eproto); -namespace solidity { -namespace test { -namespace abiv2fuzzer { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Contract_Test_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_abiV2Proto_2eproto); - return file_level_enum_descriptors_abiV2Proto_2eproto[0]; -} -bool Contract_Test_IsValid(int value) { - switch (value) { - case 1: - case 2: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr Contract_Test Contract::CALLDATA_CODER; -constexpr Contract_Test Contract::RETURNDATA_CODER; -constexpr Contract_Test Contract::Test_MIN; -constexpr Contract_Test Contract::Test_MAX; -constexpr int Contract::Test_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -// =================================================================== - -class BoolType::_Internal { - public: -}; - -BoolType::BoolType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.BoolType) -} -BoolType::BoolType(const BoolType& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - BoolType* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.BoolType) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BoolType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BoolType::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata BoolType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[0]); -} - -// =================================================================== - -class IntegerType::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_is_signed(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_width(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -IntegerType::IntegerType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.IntegerType) -} -IntegerType::IntegerType(const IntegerType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IntegerType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.is_signed_){} - , decltype(_impl_.width_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.is_signed_, &from._impl_.is_signed_, - static_cast(reinterpret_cast(&_impl_.width_) - - reinterpret_cast(&_impl_.is_signed_)) + sizeof(_impl_.width_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.IntegerType) -} - -inline void IntegerType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.is_signed_){false} - , decltype(_impl_.width_){0u} - }; -} - -IntegerType::~IntegerType() { - // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.IntegerType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IntegerType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void IntegerType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IntegerType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.IntegerType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.is_signed_, 0, static_cast( - reinterpret_cast(&_impl_.width_) - - reinterpret_cast(&_impl_.is_signed_)) + sizeof(_impl_.width_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IntegerType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required bool is_signed = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_is_signed(&has_bits); - _impl_.is_signed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint32 width = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_width(&has_bits); - _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IntegerType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.IntegerType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required bool is_signed = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_is_signed(), target); - } - - // required uint32 width = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_width(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.IntegerType) - return target; -} - -size_t IntegerType::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.abiv2fuzzer.IntegerType) - size_t total_size = 0; - - if (_internal_has_is_signed()) { - // required bool is_signed = 1; - total_size += 1 + 1; - } - - if (_internal_has_width()) { - // required uint32 width = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_width()); - } - - return total_size; -} -size_t IntegerType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.IntegerType) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required bool is_signed = 1; - total_size += 1 + 1; - - // required uint32 width = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_width()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IntegerType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IntegerType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IntegerType::GetClassData() const { return &_class_data_; } - - -void IntegerType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.IntegerType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.is_signed_ = from._impl_.is_signed_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.width_ = from._impl_.width_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IntegerType::CopyFrom(const IntegerType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.IntegerType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IntegerType::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void IntegerType::InternalSwap(IntegerType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IntegerType, _impl_.width_) - + sizeof(IntegerType::_impl_.width_) - - PROTOBUF_FIELD_OFFSET(IntegerType, _impl_.is_signed_)>( - reinterpret_cast(&_impl_.is_signed_), - reinterpret_cast(&other->_impl_.is_signed_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IntegerType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[1]); -} - -// =================================================================== - -class FixedByteType::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_width(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -FixedByteType::FixedByteType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.FixedByteType) -} -FixedByteType::FixedByteType(const FixedByteType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - FixedByteType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.width_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.width_ = from._impl_.width_; - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.FixedByteType) -} - -inline void FixedByteType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.width_){0u} - }; -} - -FixedByteType::~FixedByteType() { - // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.FixedByteType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void FixedByteType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void FixedByteType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void FixedByteType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.FixedByteType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.width_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* FixedByteType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 width = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_width(&has_bits); - _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* FixedByteType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.FixedByteType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 width = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_width(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.FixedByteType) - return target; -} - -size_t FixedByteType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.FixedByteType) - size_t total_size = 0; - - // required uint32 width = 1; - if (_internal_has_width()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_width()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FixedByteType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - FixedByteType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FixedByteType::GetClassData() const { return &_class_data_; } - - -void FixedByteType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.FixedByteType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_width()) { - _this->_internal_set_width(from._internal_width()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void FixedByteType::CopyFrom(const FixedByteType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.FixedByteType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FixedByteType::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void FixedByteType::InternalSwap(FixedByteType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.width_, other->_impl_.width_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata FixedByteType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[2]); -} - -// =================================================================== - -class AddressType::_Internal { - public: -}; - -AddressType::AddressType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.AddressType) -} -AddressType::AddressType(const AddressType& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - AddressType* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.AddressType) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AddressType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AddressType::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata AddressType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[3]); -} - -// =================================================================== - -class ValueType::_Internal { - public: - static const ::solidity::test::abiv2fuzzer::IntegerType& inty(const ValueType* msg); - static const ::solidity::test::abiv2fuzzer::FixedByteType& byty(const ValueType* msg); - static const ::solidity::test::abiv2fuzzer::AddressType& adty(const ValueType* msg); - static const ::solidity::test::abiv2fuzzer::BoolType& boolty(const ValueType* msg); -}; - -const ::solidity::test::abiv2fuzzer::IntegerType& -ValueType::_Internal::inty(const ValueType* msg) { - return *msg->_impl_.value_type_oneof_.inty_; -} -const ::solidity::test::abiv2fuzzer::FixedByteType& -ValueType::_Internal::byty(const ValueType* msg) { - return *msg->_impl_.value_type_oneof_.byty_; -} -const ::solidity::test::abiv2fuzzer::AddressType& -ValueType::_Internal::adty(const ValueType* msg) { - return *msg->_impl_.value_type_oneof_.adty_; -} -const ::solidity::test::abiv2fuzzer::BoolType& -ValueType::_Internal::boolty(const ValueType* msg) { - return *msg->_impl_.value_type_oneof_.boolty_; -} -void ValueType::set_allocated_inty(::solidity::test::abiv2fuzzer::IntegerType* inty) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_value_type_oneof(); - if (inty) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(inty); - if (message_arena != submessage_arena) { - inty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, inty, submessage_arena); - } - set_has_inty(); - _impl_.value_type_oneof_.inty_ = inty; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.ValueType.inty) -} -void ValueType::set_allocated_byty(::solidity::test::abiv2fuzzer::FixedByteType* byty) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_value_type_oneof(); - if (byty) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(byty); - if (message_arena != submessage_arena) { - byty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, byty, submessage_arena); - } - set_has_byty(); - _impl_.value_type_oneof_.byty_ = byty; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.ValueType.byty) -} -void ValueType::set_allocated_adty(::solidity::test::abiv2fuzzer::AddressType* adty) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_value_type_oneof(); - if (adty) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(adty); - if (message_arena != submessage_arena) { - adty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, adty, submessage_arena); - } - set_has_adty(); - _impl_.value_type_oneof_.adty_ = adty; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.ValueType.adty) -} -void ValueType::set_allocated_boolty(::solidity::test::abiv2fuzzer::BoolType* boolty) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_value_type_oneof(); - if (boolty) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(boolty); - if (message_arena != submessage_arena) { - boolty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, boolty, submessage_arena); - } - set_has_boolty(); - _impl_.value_type_oneof_.boolty_ = boolty; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.ValueType.boolty) -} -ValueType::ValueType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.ValueType) -} -ValueType::ValueType(const ValueType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ValueType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.value_type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_value_type_oneof(); - switch (from.value_type_oneof_case()) { - case kInty: { - _this->_internal_mutable_inty()->::solidity::test::abiv2fuzzer::IntegerType::MergeFrom( - from._internal_inty()); - break; - } - case kByty: { - _this->_internal_mutable_byty()->::solidity::test::abiv2fuzzer::FixedByteType::MergeFrom( - from._internal_byty()); - break; - } - case kAdty: { - _this->_internal_mutable_adty()->::solidity::test::abiv2fuzzer::AddressType::MergeFrom( - from._internal_adty()); - break; - } - case kBoolty: { - _this->_internal_mutable_boolty()->::solidity::test::abiv2fuzzer::BoolType::MergeFrom( - from._internal_boolty()); - break; - } - case VALUE_TYPE_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.ValueType) -} - -inline void ValueType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.value_type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_value_type_oneof(); -} - -ValueType::~ValueType() { - // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.ValueType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ValueType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_value_type_oneof()) { - clear_value_type_oneof(); - } -} - -void ValueType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ValueType::clear_value_type_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.abiv2fuzzer.ValueType) - switch (value_type_oneof_case()) { - case kInty: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.value_type_oneof_.inty_; - } - break; - } - case kByty: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.value_type_oneof_.byty_; - } - break; - } - case kAdty: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.value_type_oneof_.adty_; - } - break; - } - case kBoolty: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.value_type_oneof_.boolty_; - } - break; - } - case VALUE_TYPE_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = VALUE_TYPE_ONEOF_NOT_SET; -} - - -void ValueType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.ValueType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_value_type_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ValueType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.test.abiv2fuzzer.IntegerType inty = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_inty(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.abiv2fuzzer.FixedByteType byty = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_byty(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.abiv2fuzzer.AddressType adty = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_adty(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.abiv2fuzzer.BoolType boolty = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_boolty(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ValueType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.ValueType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (value_type_oneof_case()) { - case kInty: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::inty(this), - _Internal::inty(this).GetCachedSize(), target, stream); - break; - } - case kByty: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::byty(this), - _Internal::byty(this).GetCachedSize(), target, stream); - break; - } - case kAdty: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::adty(this), - _Internal::adty(this).GetCachedSize(), target, stream); - break; - } - case kBoolty: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::boolty(this), - _Internal::boolty(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.ValueType) - return target; -} - -size_t ValueType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.ValueType) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (value_type_oneof_case()) { - // .solidity.test.abiv2fuzzer.IntegerType inty = 1; - case kInty: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_type_oneof_.inty_); - break; - } - // .solidity.test.abiv2fuzzer.FixedByteType byty = 2; - case kByty: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_type_oneof_.byty_); - break; - } - // .solidity.test.abiv2fuzzer.AddressType adty = 3; - case kAdty: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_type_oneof_.adty_); - break; - } - // .solidity.test.abiv2fuzzer.BoolType boolty = 4; - case kBoolty: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_type_oneof_.boolty_); - break; - } - case VALUE_TYPE_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ValueType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ValueType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ValueType::GetClassData() const { return &_class_data_; } - - -void ValueType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.ValueType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.value_type_oneof_case()) { - case kInty: { - _this->_internal_mutable_inty()->::solidity::test::abiv2fuzzer::IntegerType::MergeFrom( - from._internal_inty()); - break; - } - case kByty: { - _this->_internal_mutable_byty()->::solidity::test::abiv2fuzzer::FixedByteType::MergeFrom( - from._internal_byty()); - break; - } - case kAdty: { - _this->_internal_mutable_adty()->::solidity::test::abiv2fuzzer::AddressType::MergeFrom( - from._internal_adty()); - break; - } - case kBoolty: { - _this->_internal_mutable_boolty()->::solidity::test::abiv2fuzzer::BoolType::MergeFrom( - from._internal_boolty()); - break; - } - case VALUE_TYPE_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ValueType::CopyFrom(const ValueType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.ValueType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ValueType::IsInitialized() const { - switch (value_type_oneof_case()) { - case kInty: { - if (_internal_has_inty()) { - if (!_impl_.value_type_oneof_.inty_->IsInitialized()) return false; - } - break; - } - case kByty: { - if (_internal_has_byty()) { - if (!_impl_.value_type_oneof_.byty_->IsInitialized()) return false; - } - break; - } - case kAdty: { - break; - } - case kBoolty: { - break; - } - case VALUE_TYPE_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void ValueType::InternalSwap(ValueType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.value_type_oneof_, other->_impl_.value_type_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ValueType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[4]); -} - -// =================================================================== - -class DynamicByteArrayType::_Internal { - public: -}; - -DynamicByteArrayType::DynamicByteArrayType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.DynamicByteArrayType) -} -DynamicByteArrayType::DynamicByteArrayType(const DynamicByteArrayType& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - DynamicByteArrayType* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.DynamicByteArrayType) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DynamicByteArrayType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DynamicByteArrayType::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata DynamicByteArrayType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[5]); -} - -// =================================================================== - -class ArrayType::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::abiv2fuzzer::Type& t(const ArrayType* msg); - static void set_has_t(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_length(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_is_static(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::test::abiv2fuzzer::Type& -ArrayType::_Internal::t(const ArrayType* msg) { - return *msg->_impl_.t_; -} -ArrayType::ArrayType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.ArrayType) -} -ArrayType::ArrayType(const ArrayType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ArrayType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.t_){nullptr} - , decltype(_impl_.length_){} - , decltype(_impl_.is_static_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_t()) { - _this->_impl_.t_ = new ::solidity::test::abiv2fuzzer::Type(*from._impl_.t_); - } - ::memcpy(&_impl_.length_, &from._impl_.length_, - static_cast(reinterpret_cast(&_impl_.is_static_) - - reinterpret_cast(&_impl_.length_)) + sizeof(_impl_.is_static_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.ArrayType) -} - -inline void ArrayType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.t_){nullptr} - , decltype(_impl_.length_){0u} - , decltype(_impl_.is_static_){false} - }; -} - -ArrayType::~ArrayType() { - // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.ArrayType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ArrayType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.t_; -} - -void ArrayType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ArrayType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.ArrayType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.t_ != nullptr); - _impl_.t_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.length_, 0, static_cast( - reinterpret_cast(&_impl_.is_static_) - - reinterpret_cast(&_impl_.length_)) + sizeof(_impl_.is_static_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ArrayType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.abiv2fuzzer.Type t = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_t(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint32 length = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_length(&has_bits); - _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bool is_static = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_is_static(&has_bits); - _impl_.is_static_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ArrayType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.ArrayType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.abiv2fuzzer.Type t = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::t(this), - _Internal::t(this).GetCachedSize(), target, stream); - } - - // required uint32 length = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_length(), target); - } - - // required bool is_static = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_static(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.ArrayType) - return target; -} - -size_t ArrayType::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.abiv2fuzzer.ArrayType) - size_t total_size = 0; - - if (_internal_has_t()) { - // required .solidity.test.abiv2fuzzer.Type t = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.t_); - } - - if (_internal_has_length()) { - // required uint32 length = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length()); - } - - if (_internal_has_is_static()) { - // required bool is_static = 3; - total_size += 1 + 1; - } - - return total_size; -} -size_t ArrayType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.ArrayType) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.test.abiv2fuzzer.Type t = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.t_); - - // required uint32 length = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length()); - - // required bool is_static = 3; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ArrayType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ArrayType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ArrayType::GetClassData() const { return &_class_data_; } - - -void ArrayType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.ArrayType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_t()->::solidity::test::abiv2fuzzer::Type::MergeFrom( - from._internal_t()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.length_ = from._impl_.length_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.is_static_ = from._impl_.is_static_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ArrayType::CopyFrom(const ArrayType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.ArrayType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArrayType::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_t()) { - if (!_impl_.t_->IsInitialized()) return false; - } - return true; -} - -void ArrayType::InternalSwap(ArrayType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ArrayType, _impl_.is_static_) - + sizeof(ArrayType::_impl_.is_static_) - - PROTOBUF_FIELD_OFFSET(ArrayType, _impl_.t_)>( - reinterpret_cast(&_impl_.t_), - reinterpret_cast(&other->_impl_.t_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ArrayType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[6]); -} - -// =================================================================== - -class StructType::_Internal { - public: -}; - -StructType::StructType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.StructType) -} -StructType::StructType(const StructType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StructType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.t_){from._impl_.t_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.StructType) -} - -inline void StructType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.t_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -StructType::~StructType() { - // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.StructType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StructType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.t_.~RepeatedPtrField(); -} - -void StructType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StructType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.StructType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.t_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StructType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.test.abiv2fuzzer.Type t = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_t(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StructType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.StructType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.test.abiv2fuzzer.Type t = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_t_size()); i < n; i++) { - const auto& repfield = this->_internal_t(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.StructType) - return target; -} - -size_t StructType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.StructType) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.abiv2fuzzer.Type t = 1; - total_size += 1UL * this->_internal_t_size(); - for (const auto& msg : this->_impl_.t_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StructType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructType::GetClassData() const { return &_class_data_; } - - -void StructType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.StructType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.t_.MergeFrom(from._impl_.t_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StructType::CopyFrom(const StructType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.StructType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructType::IsInitialized() const { - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.t_)) - return false; - return true; -} - -void StructType::InternalSwap(StructType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.t_.InternalSwap(&other->_impl_.t_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StructType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[7]); -} - -// =================================================================== - -class NonValueType::_Internal { - public: - static const ::solidity::test::abiv2fuzzer::DynamicByteArrayType& dynbytearray(const NonValueType* msg); - static const ::solidity::test::abiv2fuzzer::ArrayType& arrtype(const NonValueType* msg); - static const ::solidity::test::abiv2fuzzer::StructType& stype(const NonValueType* msg); -}; - -const ::solidity::test::abiv2fuzzer::DynamicByteArrayType& -NonValueType::_Internal::dynbytearray(const NonValueType* msg) { - return *msg->_impl_.nonvalue_type_oneof_.dynbytearray_; -} -const ::solidity::test::abiv2fuzzer::ArrayType& -NonValueType::_Internal::arrtype(const NonValueType* msg) { - return *msg->_impl_.nonvalue_type_oneof_.arrtype_; -} -const ::solidity::test::abiv2fuzzer::StructType& -NonValueType::_Internal::stype(const NonValueType* msg) { - return *msg->_impl_.nonvalue_type_oneof_.stype_; -} -void NonValueType::set_allocated_dynbytearray(::solidity::test::abiv2fuzzer::DynamicByteArrayType* dynbytearray) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_nonvalue_type_oneof(); - if (dynbytearray) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(dynbytearray); - if (message_arena != submessage_arena) { - dynbytearray = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, dynbytearray, submessage_arena); - } - set_has_dynbytearray(); - _impl_.nonvalue_type_oneof_.dynbytearray_ = dynbytearray; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.NonValueType.dynbytearray) -} -void NonValueType::set_allocated_arrtype(::solidity::test::abiv2fuzzer::ArrayType* arrtype) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_nonvalue_type_oneof(); - if (arrtype) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arrtype); - if (message_arena != submessage_arena) { - arrtype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, arrtype, submessage_arena); - } - set_has_arrtype(); - _impl_.nonvalue_type_oneof_.arrtype_ = arrtype; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.NonValueType.arrtype) -} -void NonValueType::set_allocated_stype(::solidity::test::abiv2fuzzer::StructType* stype) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_nonvalue_type_oneof(); - if (stype) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(stype); - if (message_arena != submessage_arena) { - stype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, stype, submessage_arena); - } - set_has_stype(); - _impl_.nonvalue_type_oneof_.stype_ = stype; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.NonValueType.stype) -} -NonValueType::NonValueType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.NonValueType) -} -NonValueType::NonValueType(const NonValueType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - NonValueType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.nonvalue_type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_nonvalue_type_oneof(); - switch (from.nonvalue_type_oneof_case()) { - case kDynbytearray: { - _this->_internal_mutable_dynbytearray()->::solidity::test::abiv2fuzzer::DynamicByteArrayType::MergeFrom( - from._internal_dynbytearray()); - break; - } - case kArrtype: { - _this->_internal_mutable_arrtype()->::solidity::test::abiv2fuzzer::ArrayType::MergeFrom( - from._internal_arrtype()); - break; - } - case kStype: { - _this->_internal_mutable_stype()->::solidity::test::abiv2fuzzer::StructType::MergeFrom( - from._internal_stype()); - break; - } - case NONVALUE_TYPE_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.NonValueType) -} - -inline void NonValueType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.nonvalue_type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_nonvalue_type_oneof(); -} - -NonValueType::~NonValueType() { - // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.NonValueType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void NonValueType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_nonvalue_type_oneof()) { - clear_nonvalue_type_oneof(); - } -} - -void NonValueType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void NonValueType::clear_nonvalue_type_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.abiv2fuzzer.NonValueType) - switch (nonvalue_type_oneof_case()) { - case kDynbytearray: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.nonvalue_type_oneof_.dynbytearray_; - } - break; - } - case kArrtype: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.nonvalue_type_oneof_.arrtype_; - } - break; - } - case kStype: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.nonvalue_type_oneof_.stype_; - } - break; - } - case NONVALUE_TYPE_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = NONVALUE_TYPE_ONEOF_NOT_SET; -} - - -void NonValueType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.NonValueType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_nonvalue_type_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* NonValueType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.test.abiv2fuzzer.DynamicByteArrayType dynbytearray = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_dynbytearray(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.abiv2fuzzer.ArrayType arrtype = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_arrtype(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.abiv2fuzzer.StructType stype = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_stype(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* NonValueType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.NonValueType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (nonvalue_type_oneof_case()) { - case kDynbytearray: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::dynbytearray(this), - _Internal::dynbytearray(this).GetCachedSize(), target, stream); - break; - } - case kArrtype: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::arrtype(this), - _Internal::arrtype(this).GetCachedSize(), target, stream); - break; - } - case kStype: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::stype(this), - _Internal::stype(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.NonValueType) - return target; -} - -size_t NonValueType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.NonValueType) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (nonvalue_type_oneof_case()) { - // .solidity.test.abiv2fuzzer.DynamicByteArrayType dynbytearray = 1; - case kDynbytearray: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.nonvalue_type_oneof_.dynbytearray_); - break; - } - // .solidity.test.abiv2fuzzer.ArrayType arrtype = 2; - case kArrtype: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.nonvalue_type_oneof_.arrtype_); - break; - } - // .solidity.test.abiv2fuzzer.StructType stype = 3; - case kStype: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.nonvalue_type_oneof_.stype_); - break; - } - case NONVALUE_TYPE_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NonValueType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - NonValueType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NonValueType::GetClassData() const { return &_class_data_; } - - -void NonValueType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.NonValueType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.nonvalue_type_oneof_case()) { - case kDynbytearray: { - _this->_internal_mutable_dynbytearray()->::solidity::test::abiv2fuzzer::DynamicByteArrayType::MergeFrom( - from._internal_dynbytearray()); - break; - } - case kArrtype: { - _this->_internal_mutable_arrtype()->::solidity::test::abiv2fuzzer::ArrayType::MergeFrom( - from._internal_arrtype()); - break; - } - case kStype: { - _this->_internal_mutable_stype()->::solidity::test::abiv2fuzzer::StructType::MergeFrom( - from._internal_stype()); - break; - } - case NONVALUE_TYPE_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void NonValueType::CopyFrom(const NonValueType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.NonValueType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NonValueType::IsInitialized() const { - switch (nonvalue_type_oneof_case()) { - case kDynbytearray: { - break; - } - case kArrtype: { - if (_internal_has_arrtype()) { - if (!_impl_.nonvalue_type_oneof_.arrtype_->IsInitialized()) return false; - } - break; - } - case kStype: { - if (_internal_has_stype()) { - if (!_impl_.nonvalue_type_oneof_.stype_->IsInitialized()) return false; - } - break; - } - case NONVALUE_TYPE_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void NonValueType::InternalSwap(NonValueType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.nonvalue_type_oneof_, other->_impl_.nonvalue_type_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata NonValueType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[8]); -} - -// =================================================================== - -class Type::_Internal { - public: - static const ::solidity::test::abiv2fuzzer::ValueType& vtype(const Type* msg); - static const ::solidity::test::abiv2fuzzer::NonValueType& nvtype(const Type* msg); -}; - -const ::solidity::test::abiv2fuzzer::ValueType& -Type::_Internal::vtype(const Type* msg) { - return *msg->_impl_.type_oneof_.vtype_; -} -const ::solidity::test::abiv2fuzzer::NonValueType& -Type::_Internal::nvtype(const Type* msg) { - return *msg->_impl_.type_oneof_.nvtype_; -} -void Type::set_allocated_vtype(::solidity::test::abiv2fuzzer::ValueType* vtype) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_type_oneof(); - if (vtype) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(vtype); - if (message_arena != submessage_arena) { - vtype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, vtype, submessage_arena); - } - set_has_vtype(); - _impl_.type_oneof_.vtype_ = vtype; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.Type.vtype) -} -void Type::set_allocated_nvtype(::solidity::test::abiv2fuzzer::NonValueType* nvtype) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_type_oneof(); - if (nvtype) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(nvtype); - if (message_arena != submessage_arena) { - nvtype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, nvtype, submessage_arena); - } - set_has_nvtype(); - _impl_.type_oneof_.nvtype_ = nvtype; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.Type.nvtype) -} -Type::Type(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.Type) -} -Type::Type(const Type& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Type* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_type_oneof(); - switch (from.type_oneof_case()) { - case kVtype: { - _this->_internal_mutable_vtype()->::solidity::test::abiv2fuzzer::ValueType::MergeFrom( - from._internal_vtype()); - break; - } - case kNvtype: { - _this->_internal_mutable_nvtype()->::solidity::test::abiv2fuzzer::NonValueType::MergeFrom( - from._internal_nvtype()); - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.Type) -} - -inline void Type::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_type_oneof(); -} - -Type::~Type() { - // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.Type) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Type::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_type_oneof()) { - clear_type_oneof(); - } -} - -void Type::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Type::clear_type_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.abiv2fuzzer.Type) - switch (type_oneof_case()) { - case kVtype: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.vtype_; - } - break; - } - case kNvtype: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.nvtype_; - } - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = TYPE_ONEOF_NOT_SET; -} - - -void Type::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.Type) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_type_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Type::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.test.abiv2fuzzer.ValueType vtype = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_vtype(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.abiv2fuzzer.NonValueType nvtype = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_nvtype(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Type::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.Type) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (type_oneof_case()) { - case kVtype: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::vtype(this), - _Internal::vtype(this).GetCachedSize(), target, stream); - break; - } - case kNvtype: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::nvtype(this), - _Internal::nvtype(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.Type) - return target; -} - -size_t Type::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.Type) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (type_oneof_case()) { - // .solidity.test.abiv2fuzzer.ValueType vtype = 1; - case kVtype: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_oneof_.vtype_); - break; - } - // .solidity.test.abiv2fuzzer.NonValueType nvtype = 2; - case kNvtype: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_oneof_.nvtype_); - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Type::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Type::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Type::GetClassData() const { return &_class_data_; } - - -void Type::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.Type) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.type_oneof_case()) { - case kVtype: { - _this->_internal_mutable_vtype()->::solidity::test::abiv2fuzzer::ValueType::MergeFrom( - from._internal_vtype()); - break; - } - case kNvtype: { - _this->_internal_mutable_nvtype()->::solidity::test::abiv2fuzzer::NonValueType::MergeFrom( - from._internal_nvtype()); - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Type::CopyFrom(const Type& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.Type) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Type::IsInitialized() const { - switch (type_oneof_case()) { - case kVtype: { - if (_internal_has_vtype()) { - if (!_impl_.type_oneof_.vtype_->IsInitialized()) return false; - } - break; - } - case kNvtype: { - if (_internal_has_nvtype()) { - if (!_impl_.type_oneof_.nvtype_->IsInitialized()) return false; - } - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void Type::InternalSwap(Type* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.type_oneof_, other->_impl_.type_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Type::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[9]); -} - -// =================================================================== - -class VarDecl::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::abiv2fuzzer::Type& type(const VarDecl* msg); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::abiv2fuzzer::Type& -VarDecl::_Internal::type(const VarDecl* msg) { - return *msg->_impl_.type_; -} -VarDecl::VarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.VarDecl) -} -VarDecl::VarDecl(const VarDecl& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - VarDecl* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_type()) { - _this->_impl_.type_ = new ::solidity::test::abiv2fuzzer::Type(*from._impl_.type_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.VarDecl) -} - -inline void VarDecl::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){nullptr} - }; -} - -VarDecl::~VarDecl() { - // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.VarDecl) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void VarDecl::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.type_; -} - -void VarDecl::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void VarDecl::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.VarDecl) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.type_ != nullptr); - _impl_.type_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* VarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.abiv2fuzzer.Type type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_type(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* VarDecl::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.VarDecl) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.abiv2fuzzer.Type type = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::type(this), - _Internal::type(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.VarDecl) - return target; -} - -size_t VarDecl::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.VarDecl) - size_t total_size = 0; - - // required .solidity.test.abiv2fuzzer.Type type = 1; - if (_internal_has_type()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VarDecl::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - VarDecl::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VarDecl::GetClassData() const { return &_class_data_; } - - -void VarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.VarDecl) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_type()) { - _this->_internal_mutable_type()->::solidity::test::abiv2fuzzer::Type::MergeFrom( - from._internal_type()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void VarDecl::CopyFrom(const VarDecl& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.VarDecl) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool VarDecl::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_type()) { - if (!_impl_.type_->IsInitialized()) return false; - } - return true; -} - -void VarDecl::InternalSwap(VarDecl* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.type_, other->_impl_.type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata VarDecl::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[10]); -} - -// =================================================================== - -class TestFunction::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::abiv2fuzzer::VarDecl& local_vars(const TestFunction* msg); - static void set_has_local_vars(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_invalid_encoding_length(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::abiv2fuzzer::VarDecl& -TestFunction::_Internal::local_vars(const TestFunction* msg) { - return *msg->_impl_.local_vars_; -} -TestFunction::TestFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.TestFunction) -} -TestFunction::TestFunction(const TestFunction& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TestFunction* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.local_vars_){nullptr} - , decltype(_impl_.invalid_encoding_length_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_local_vars()) { - _this->_impl_.local_vars_ = new ::solidity::test::abiv2fuzzer::VarDecl(*from._impl_.local_vars_); - } - _this->_impl_.invalid_encoding_length_ = from._impl_.invalid_encoding_length_; - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.TestFunction) -} - -inline void TestFunction::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.local_vars_){nullptr} - , decltype(_impl_.invalid_encoding_length_){uint64_t{0u}} - }; -} - -TestFunction::~TestFunction() { - // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.TestFunction) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TestFunction::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.local_vars_; -} - -void TestFunction::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TestFunction::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.TestFunction) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.local_vars_ != nullptr); - _impl_.local_vars_->Clear(); - } - _impl_.invalid_encoding_length_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TestFunction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.abiv2fuzzer.VarDecl local_vars = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_local_vars(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint64 invalid_encoding_length = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_invalid_encoding_length(&has_bits); - _impl_.invalid_encoding_length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TestFunction::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.TestFunction) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.abiv2fuzzer.VarDecl local_vars = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::local_vars(this), - _Internal::local_vars(this).GetCachedSize(), target, stream); - } - - // required uint64 invalid_encoding_length = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_invalid_encoding_length(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.TestFunction) - return target; -} - -size_t TestFunction::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.abiv2fuzzer.TestFunction) - size_t total_size = 0; - - if (_internal_has_local_vars()) { - // required .solidity.test.abiv2fuzzer.VarDecl local_vars = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.local_vars_); - } - - if (_internal_has_invalid_encoding_length()) { - // required uint64 invalid_encoding_length = 2; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_invalid_encoding_length()); - } - - return total_size; -} -size_t TestFunction::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.TestFunction) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.abiv2fuzzer.VarDecl local_vars = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.local_vars_); - - // required uint64 invalid_encoding_length = 2; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_invalid_encoding_length()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TestFunction::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TestFunction::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TestFunction::GetClassData() const { return &_class_data_; } - - -void TestFunction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.TestFunction) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_local_vars()->::solidity::test::abiv2fuzzer::VarDecl::MergeFrom( - from._internal_local_vars()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.invalid_encoding_length_ = from._impl_.invalid_encoding_length_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TestFunction::CopyFrom(const TestFunction& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.TestFunction) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TestFunction::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_local_vars()) { - if (!_impl_.local_vars_->IsInitialized()) return false; - } - return true; -} - -void TestFunction::InternalSwap(TestFunction* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TestFunction, _impl_.invalid_encoding_length_) - + sizeof(TestFunction::_impl_.invalid_encoding_length_) - - PROTOBUF_FIELD_OFFSET(TestFunction, _impl_.local_vars_)>( - reinterpret_cast(&_impl_.local_vars_), - reinterpret_cast(&other->_impl_.local_vars_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TestFunction::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[11]); -} - -// =================================================================== - -class Contract::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::abiv2fuzzer::VarDecl& state_vars(const Contract* msg); - static void set_has_state_vars(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::abiv2fuzzer::TestFunction& testfunction(const Contract* msg); - static void set_has_testfunction(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_test(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_seed(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; - } -}; - -const ::solidity::test::abiv2fuzzer::VarDecl& -Contract::_Internal::state_vars(const Contract* msg) { - return *msg->_impl_.state_vars_; -} -const ::solidity::test::abiv2fuzzer::TestFunction& -Contract::_Internal::testfunction(const Contract* msg) { - return *msg->_impl_.testfunction_; -} -Contract::Contract(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.Contract) -} -Contract::Contract(const Contract& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Contract* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.state_vars_){nullptr} - , decltype(_impl_.testfunction_){nullptr} - , decltype(_impl_.seed_){} - , decltype(_impl_.test_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_state_vars()) { - _this->_impl_.state_vars_ = new ::solidity::test::abiv2fuzzer::VarDecl(*from._impl_.state_vars_); - } - if (from._internal_has_testfunction()) { - _this->_impl_.testfunction_ = new ::solidity::test::abiv2fuzzer::TestFunction(*from._impl_.testfunction_); - } - ::memcpy(&_impl_.seed_, &from._impl_.seed_, - static_cast(reinterpret_cast(&_impl_.test_) - - reinterpret_cast(&_impl_.seed_)) + sizeof(_impl_.test_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.Contract) -} - -inline void Contract::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.state_vars_){nullptr} - , decltype(_impl_.testfunction_){nullptr} - , decltype(_impl_.seed_){0u} - , decltype(_impl_.test_){1} - }; -} - -Contract::~Contract() { - // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.Contract) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Contract::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.state_vars_; - if (this != internal_default_instance()) delete _impl_.testfunction_; -} - -void Contract::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Contract::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.Contract) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.state_vars_ != nullptr); - _impl_.state_vars_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.testfunction_ != nullptr); - _impl_.testfunction_->Clear(); - } - } - if (cached_has_bits & 0x0000000cu) { - _impl_.seed_ = 0u; - _impl_.test_ = 1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Contract::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.abiv2fuzzer.VarDecl state_vars = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_state_vars(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.abiv2fuzzer.TestFunction testfunction = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_testfunction(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.abiv2fuzzer.Contract.Test test = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::abiv2fuzzer::Contract_Test_IsValid(val))) { - _internal_set_test(static_cast<::solidity::test::abiv2fuzzer::Contract_Test>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required uint32 seed = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_seed(&has_bits); - _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Contract::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.Contract) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.abiv2fuzzer.VarDecl state_vars = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::state_vars(this), - _Internal::state_vars(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.abiv2fuzzer.TestFunction testfunction = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::testfunction(this), - _Internal::testfunction(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.abiv2fuzzer.Contract.Test test = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this->_internal_test(), target); - } - - // required uint32 seed = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_seed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.Contract) - return target; -} - -size_t Contract::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.abiv2fuzzer.Contract) - size_t total_size = 0; - - if (_internal_has_state_vars()) { - // required .solidity.test.abiv2fuzzer.VarDecl state_vars = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.state_vars_); - } - - if (_internal_has_testfunction()) { - // required .solidity.test.abiv2fuzzer.TestFunction testfunction = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.testfunction_); - } - - if (_internal_has_seed()) { - // required uint32 seed = 4; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seed()); - } - - if (_internal_has_test()) { - // required .solidity.test.abiv2fuzzer.Contract.Test test = 3; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_test()); - } - - return total_size; -} -size_t Contract::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.Contract) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required .solidity.test.abiv2fuzzer.VarDecl state_vars = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.state_vars_); - - // required .solidity.test.abiv2fuzzer.TestFunction testfunction = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.testfunction_); - - // required uint32 seed = 4; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seed()); - - // required .solidity.test.abiv2fuzzer.Contract.Test test = 3; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_test()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Contract::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Contract::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Contract::GetClassData() const { return &_class_data_; } - - -void Contract::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.Contract) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_state_vars()->::solidity::test::abiv2fuzzer::VarDecl::MergeFrom( - from._internal_state_vars()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_testfunction()->::solidity::test::abiv2fuzzer::TestFunction::MergeFrom( - from._internal_testfunction()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.seed_ = from._impl_.seed_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.test_ = from._impl_.test_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Contract::CopyFrom(const Contract& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.Contract) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Contract::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_state_vars()) { - if (!_impl_.state_vars_->IsInitialized()) return false; - } - if (_internal_has_testfunction()) { - if (!_impl_.testfunction_->IsInitialized()) return false; - } - return true; -} - -void Contract::InternalSwap(Contract* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Contract, _impl_.seed_) - + sizeof(Contract::_impl_.seed_) - - PROTOBUF_FIELD_OFFSET(Contract, _impl_.state_vars_)>( - reinterpret_cast(&_impl_.state_vars_), - reinterpret_cast(&other->_impl_.state_vars_)); - swap(_impl_.test_, other->_impl_.test_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Contract::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once, - file_level_metadata_abiV2Proto_2eproto[12]); -} - -// @@protoc_insertion_point(namespace_scope) -} // namespace abiv2fuzzer -} // namespace test -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::BoolType* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::BoolType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::BoolType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::IntegerType* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::IntegerType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::IntegerType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::FixedByteType* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::FixedByteType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::FixedByteType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::AddressType* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::AddressType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::AddressType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::ValueType* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::ValueType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::ValueType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::DynamicByteArrayType* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::DynamicByteArrayType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::DynamicByteArrayType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::ArrayType* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::ArrayType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::ArrayType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::StructType* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::StructType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::StructType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::NonValueType* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::NonValueType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::NonValueType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::Type* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::Type >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::Type >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::VarDecl* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::VarDecl >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::VarDecl >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::TestFunction* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::TestFunction >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::TestFunction >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::Contract* -Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::Contract >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::Contract >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/tools/ossfuzz/abiV2Proto.pb.h b/tools/ossfuzz/abiV2Proto.pb.h deleted file mode 100644 index 6548435..0000000 --- a/tools/ossfuzz/abiV2Proto.pb.h +++ /dev/null @@ -1,3996 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: abiV2Proto.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_abiV2Proto_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_abiV2Proto_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021007 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_abiV2Proto_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_abiV2Proto_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_abiV2Proto_2eproto; -namespace solidity { -namespace test { -namespace abiv2fuzzer { -class AddressType; -struct AddressTypeDefaultTypeInternal; -extern AddressTypeDefaultTypeInternal _AddressType_default_instance_; -class ArrayType; -struct ArrayTypeDefaultTypeInternal; -extern ArrayTypeDefaultTypeInternal _ArrayType_default_instance_; -class BoolType; -struct BoolTypeDefaultTypeInternal; -extern BoolTypeDefaultTypeInternal _BoolType_default_instance_; -class Contract; -struct ContractDefaultTypeInternal; -extern ContractDefaultTypeInternal _Contract_default_instance_; -class DynamicByteArrayType; -struct DynamicByteArrayTypeDefaultTypeInternal; -extern DynamicByteArrayTypeDefaultTypeInternal _DynamicByteArrayType_default_instance_; -class FixedByteType; -struct FixedByteTypeDefaultTypeInternal; -extern FixedByteTypeDefaultTypeInternal _FixedByteType_default_instance_; -class IntegerType; -struct IntegerTypeDefaultTypeInternal; -extern IntegerTypeDefaultTypeInternal _IntegerType_default_instance_; -class NonValueType; -struct NonValueTypeDefaultTypeInternal; -extern NonValueTypeDefaultTypeInternal _NonValueType_default_instance_; -class StructType; -struct StructTypeDefaultTypeInternal; -extern StructTypeDefaultTypeInternal _StructType_default_instance_; -class TestFunction; -struct TestFunctionDefaultTypeInternal; -extern TestFunctionDefaultTypeInternal _TestFunction_default_instance_; -class Type; -struct TypeDefaultTypeInternal; -extern TypeDefaultTypeInternal _Type_default_instance_; -class ValueType; -struct ValueTypeDefaultTypeInternal; -extern ValueTypeDefaultTypeInternal _ValueType_default_instance_; -class VarDecl; -struct VarDeclDefaultTypeInternal; -extern VarDeclDefaultTypeInternal _VarDecl_default_instance_; -} // namespace abiv2fuzzer -} // namespace test -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> ::solidity::test::abiv2fuzzer::AddressType* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::AddressType>(Arena*); -template<> ::solidity::test::abiv2fuzzer::ArrayType* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::ArrayType>(Arena*); -template<> ::solidity::test::abiv2fuzzer::BoolType* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::BoolType>(Arena*); -template<> ::solidity::test::abiv2fuzzer::Contract* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::Contract>(Arena*); -template<> ::solidity::test::abiv2fuzzer::DynamicByteArrayType* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::DynamicByteArrayType>(Arena*); -template<> ::solidity::test::abiv2fuzzer::FixedByteType* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::FixedByteType>(Arena*); -template<> ::solidity::test::abiv2fuzzer::IntegerType* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::IntegerType>(Arena*); -template<> ::solidity::test::abiv2fuzzer::NonValueType* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::NonValueType>(Arena*); -template<> ::solidity::test::abiv2fuzzer::StructType* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::StructType>(Arena*); -template<> ::solidity::test::abiv2fuzzer::TestFunction* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::TestFunction>(Arena*); -template<> ::solidity::test::abiv2fuzzer::Type* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::Type>(Arena*); -template<> ::solidity::test::abiv2fuzzer::ValueType* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::ValueType>(Arena*); -template<> ::solidity::test::abiv2fuzzer::VarDecl* Arena::CreateMaybeMessage<::solidity::test::abiv2fuzzer::VarDecl>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace solidity { -namespace test { -namespace abiv2fuzzer { - -enum Contract_Test : int { - Contract_Test_CALLDATA_CODER = 1, - Contract_Test_RETURNDATA_CODER = 2 -}; -bool Contract_Test_IsValid(int value); -constexpr Contract_Test Contract_Test_Test_MIN = Contract_Test_CALLDATA_CODER; -constexpr Contract_Test Contract_Test_Test_MAX = Contract_Test_RETURNDATA_CODER; -constexpr int Contract_Test_Test_ARRAYSIZE = Contract_Test_Test_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Contract_Test_descriptor(); -template -inline const std::string& Contract_Test_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Contract_Test_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Contract_Test_descriptor(), enum_t_value); -} -inline bool Contract_Test_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Contract_Test* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - Contract_Test_descriptor(), name, value); -} -// =================================================================== - -class BoolType final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.BoolType) */ { - public: - inline BoolType() : BoolType(nullptr) {} - explicit PROTOBUF_CONSTEXPR BoolType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BoolType(const BoolType& from); - BoolType(BoolType&& from) noexcept - : BoolType() { - *this = ::std::move(from); - } - - inline BoolType& operator=(const BoolType& from) { - CopyFrom(from); - return *this; - } - inline BoolType& operator=(BoolType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BoolType& default_instance() { - return *internal_default_instance(); - } - static inline const BoolType* internal_default_instance() { - return reinterpret_cast( - &_BoolType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(BoolType& a, BoolType& b) { - a.Swap(&b); - } - inline void Swap(BoolType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BoolType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BoolType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const BoolType& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const BoolType& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.BoolType"; - } - protected: - explicit BoolType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.BoolType) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class IntegerType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.IntegerType) */ { - public: - inline IntegerType() : IntegerType(nullptr) {} - ~IntegerType() override; - explicit PROTOBUF_CONSTEXPR IntegerType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IntegerType(const IntegerType& from); - IntegerType(IntegerType&& from) noexcept - : IntegerType() { - *this = ::std::move(from); - } - - inline IntegerType& operator=(const IntegerType& from) { - CopyFrom(from); - return *this; - } - inline IntegerType& operator=(IntegerType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IntegerType& default_instance() { - return *internal_default_instance(); - } - static inline const IntegerType* internal_default_instance() { - return reinterpret_cast( - &_IntegerType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(IntegerType& a, IntegerType& b) { - a.Swap(&b); - } - inline void Swap(IntegerType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IntegerType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IntegerType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IntegerType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IntegerType& from) { - IntegerType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IntegerType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.IntegerType"; - } - protected: - explicit IntegerType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIsSignedFieldNumber = 1, - kWidthFieldNumber = 2, - }; - // required bool is_signed = 1; - bool has_is_signed() const; - private: - bool _internal_has_is_signed() const; - public: - void clear_is_signed(); - bool is_signed() const; - void set_is_signed(bool value); - private: - bool _internal_is_signed() const; - void _internal_set_is_signed(bool value); - public: - - // required uint32 width = 2; - bool has_width() const; - private: - bool _internal_has_width() const; - public: - void clear_width(); - uint32_t width() const; - void set_width(uint32_t value); - private: - uint32_t _internal_width() const; - void _internal_set_width(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.IntegerType) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool is_signed_; - uint32_t width_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class FixedByteType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.FixedByteType) */ { - public: - inline FixedByteType() : FixedByteType(nullptr) {} - ~FixedByteType() override; - explicit PROTOBUF_CONSTEXPR FixedByteType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - FixedByteType(const FixedByteType& from); - FixedByteType(FixedByteType&& from) noexcept - : FixedByteType() { - *this = ::std::move(from); - } - - inline FixedByteType& operator=(const FixedByteType& from) { - CopyFrom(from); - return *this; - } - inline FixedByteType& operator=(FixedByteType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const FixedByteType& default_instance() { - return *internal_default_instance(); - } - static inline const FixedByteType* internal_default_instance() { - return reinterpret_cast( - &_FixedByteType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(FixedByteType& a, FixedByteType& b) { - a.Swap(&b); - } - inline void Swap(FixedByteType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FixedByteType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - FixedByteType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FixedByteType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const FixedByteType& from) { - FixedByteType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(FixedByteType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.FixedByteType"; - } - protected: - explicit FixedByteType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kWidthFieldNumber = 1, - }; - // required uint32 width = 1; - bool has_width() const; - private: - bool _internal_has_width() const; - public: - void clear_width(); - uint32_t width() const; - void set_width(uint32_t value); - private: - uint32_t _internal_width() const; - void _internal_set_width(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.FixedByteType) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t width_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class AddressType final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.AddressType) */ { - public: - inline AddressType() : AddressType(nullptr) {} - explicit PROTOBUF_CONSTEXPR AddressType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - AddressType(const AddressType& from); - AddressType(AddressType&& from) noexcept - : AddressType() { - *this = ::std::move(from); - } - - inline AddressType& operator=(const AddressType& from) { - CopyFrom(from); - return *this; - } - inline AddressType& operator=(AddressType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AddressType& default_instance() { - return *internal_default_instance(); - } - static inline const AddressType* internal_default_instance() { - return reinterpret_cast( - &_AddressType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(AddressType& a, AddressType& b) { - a.Swap(&b); - } - inline void Swap(AddressType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AddressType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AddressType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const AddressType& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const AddressType& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.AddressType"; - } - protected: - explicit AddressType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.AddressType) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ValueType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.ValueType) */ { - public: - inline ValueType() : ValueType(nullptr) {} - ~ValueType() override; - explicit PROTOBUF_CONSTEXPR ValueType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ValueType(const ValueType& from); - ValueType(ValueType&& from) noexcept - : ValueType() { - *this = ::std::move(from); - } - - inline ValueType& operator=(const ValueType& from) { - CopyFrom(from); - return *this; - } - inline ValueType& operator=(ValueType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ValueType& default_instance() { - return *internal_default_instance(); - } - enum ValueTypeOneofCase { - kInty = 1, - kByty = 2, - kAdty = 3, - kBoolty = 4, - VALUE_TYPE_ONEOF_NOT_SET = 0, - }; - - static inline const ValueType* internal_default_instance() { - return reinterpret_cast( - &_ValueType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(ValueType& a, ValueType& b) { - a.Swap(&b); - } - inline void Swap(ValueType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ValueType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ValueType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ValueType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ValueType& from) { - ValueType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ValueType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.ValueType"; - } - protected: - explicit ValueType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIntyFieldNumber = 1, - kBytyFieldNumber = 2, - kAdtyFieldNumber = 3, - kBooltyFieldNumber = 4, - }; - // .solidity.test.abiv2fuzzer.IntegerType inty = 1; - bool has_inty() const; - private: - bool _internal_has_inty() const; - public: - void clear_inty(); - const ::solidity::test::abiv2fuzzer::IntegerType& inty() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::IntegerType* release_inty(); - ::solidity::test::abiv2fuzzer::IntegerType* mutable_inty(); - void set_allocated_inty(::solidity::test::abiv2fuzzer::IntegerType* inty); - private: - const ::solidity::test::abiv2fuzzer::IntegerType& _internal_inty() const; - ::solidity::test::abiv2fuzzer::IntegerType* _internal_mutable_inty(); - public: - void unsafe_arena_set_allocated_inty( - ::solidity::test::abiv2fuzzer::IntegerType* inty); - ::solidity::test::abiv2fuzzer::IntegerType* unsafe_arena_release_inty(); - - // .solidity.test.abiv2fuzzer.FixedByteType byty = 2; - bool has_byty() const; - private: - bool _internal_has_byty() const; - public: - void clear_byty(); - const ::solidity::test::abiv2fuzzer::FixedByteType& byty() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::FixedByteType* release_byty(); - ::solidity::test::abiv2fuzzer::FixedByteType* mutable_byty(); - void set_allocated_byty(::solidity::test::abiv2fuzzer::FixedByteType* byty); - private: - const ::solidity::test::abiv2fuzzer::FixedByteType& _internal_byty() const; - ::solidity::test::abiv2fuzzer::FixedByteType* _internal_mutable_byty(); - public: - void unsafe_arena_set_allocated_byty( - ::solidity::test::abiv2fuzzer::FixedByteType* byty); - ::solidity::test::abiv2fuzzer::FixedByteType* unsafe_arena_release_byty(); - - // .solidity.test.abiv2fuzzer.AddressType adty = 3; - bool has_adty() const; - private: - bool _internal_has_adty() const; - public: - void clear_adty(); - const ::solidity::test::abiv2fuzzer::AddressType& adty() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::AddressType* release_adty(); - ::solidity::test::abiv2fuzzer::AddressType* mutable_adty(); - void set_allocated_adty(::solidity::test::abiv2fuzzer::AddressType* adty); - private: - const ::solidity::test::abiv2fuzzer::AddressType& _internal_adty() const; - ::solidity::test::abiv2fuzzer::AddressType* _internal_mutable_adty(); - public: - void unsafe_arena_set_allocated_adty( - ::solidity::test::abiv2fuzzer::AddressType* adty); - ::solidity::test::abiv2fuzzer::AddressType* unsafe_arena_release_adty(); - - // .solidity.test.abiv2fuzzer.BoolType boolty = 4; - bool has_boolty() const; - private: - bool _internal_has_boolty() const; - public: - void clear_boolty(); - const ::solidity::test::abiv2fuzzer::BoolType& boolty() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::BoolType* release_boolty(); - ::solidity::test::abiv2fuzzer::BoolType* mutable_boolty(); - void set_allocated_boolty(::solidity::test::abiv2fuzzer::BoolType* boolty); - private: - const ::solidity::test::abiv2fuzzer::BoolType& _internal_boolty() const; - ::solidity::test::abiv2fuzzer::BoolType* _internal_mutable_boolty(); - public: - void unsafe_arena_set_allocated_boolty( - ::solidity::test::abiv2fuzzer::BoolType* boolty); - ::solidity::test::abiv2fuzzer::BoolType* unsafe_arena_release_boolty(); - - void clear_value_type_oneof(); - ValueTypeOneofCase value_type_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.ValueType) - private: - class _Internal; - void set_has_inty(); - void set_has_byty(); - void set_has_adty(); - void set_has_boolty(); - - inline bool has_value_type_oneof() const; - inline void clear_has_value_type_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union ValueTypeOneofUnion { - constexpr ValueTypeOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::abiv2fuzzer::IntegerType* inty_; - ::solidity::test::abiv2fuzzer::FixedByteType* byty_; - ::solidity::test::abiv2fuzzer::AddressType* adty_; - ::solidity::test::abiv2fuzzer::BoolType* boolty_; - } value_type_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class DynamicByteArrayType final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.DynamicByteArrayType) */ { - public: - inline DynamicByteArrayType() : DynamicByteArrayType(nullptr) {} - explicit PROTOBUF_CONSTEXPR DynamicByteArrayType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - DynamicByteArrayType(const DynamicByteArrayType& from); - DynamicByteArrayType(DynamicByteArrayType&& from) noexcept - : DynamicByteArrayType() { - *this = ::std::move(from); - } - - inline DynamicByteArrayType& operator=(const DynamicByteArrayType& from) { - CopyFrom(from); - return *this; - } - inline DynamicByteArrayType& operator=(DynamicByteArrayType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DynamicByteArrayType& default_instance() { - return *internal_default_instance(); - } - static inline const DynamicByteArrayType* internal_default_instance() { - return reinterpret_cast( - &_DynamicByteArrayType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(DynamicByteArrayType& a, DynamicByteArrayType& b) { - a.Swap(&b); - } - inline void Swap(DynamicByteArrayType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DynamicByteArrayType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DynamicByteArrayType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const DynamicByteArrayType& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const DynamicByteArrayType& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.DynamicByteArrayType"; - } - protected: - explicit DynamicByteArrayType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.DynamicByteArrayType) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ArrayType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.ArrayType) */ { - public: - inline ArrayType() : ArrayType(nullptr) {} - ~ArrayType() override; - explicit PROTOBUF_CONSTEXPR ArrayType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ArrayType(const ArrayType& from); - ArrayType(ArrayType&& from) noexcept - : ArrayType() { - *this = ::std::move(from); - } - - inline ArrayType& operator=(const ArrayType& from) { - CopyFrom(from); - return *this; - } - inline ArrayType& operator=(ArrayType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ArrayType& default_instance() { - return *internal_default_instance(); - } - static inline const ArrayType* internal_default_instance() { - return reinterpret_cast( - &_ArrayType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(ArrayType& a, ArrayType& b) { - a.Swap(&b); - } - inline void Swap(ArrayType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArrayType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArrayType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ArrayType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ArrayType& from) { - ArrayType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ArrayType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.ArrayType"; - } - protected: - explicit ArrayType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTFieldNumber = 1, - kLengthFieldNumber = 2, - kIsStaticFieldNumber = 3, - }; - // required .solidity.test.abiv2fuzzer.Type t = 1; - bool has_t() const; - private: - bool _internal_has_t() const; - public: - void clear_t(); - const ::solidity::test::abiv2fuzzer::Type& t() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::Type* release_t(); - ::solidity::test::abiv2fuzzer::Type* mutable_t(); - void set_allocated_t(::solidity::test::abiv2fuzzer::Type* t); - private: - const ::solidity::test::abiv2fuzzer::Type& _internal_t() const; - ::solidity::test::abiv2fuzzer::Type* _internal_mutable_t(); - public: - void unsafe_arena_set_allocated_t( - ::solidity::test::abiv2fuzzer::Type* t); - ::solidity::test::abiv2fuzzer::Type* unsafe_arena_release_t(); - - // required uint32 length = 2; - bool has_length() const; - private: - bool _internal_has_length() const; - public: - void clear_length(); - uint32_t length() const; - void set_length(uint32_t value); - private: - uint32_t _internal_length() const; - void _internal_set_length(uint32_t value); - public: - - // required bool is_static = 3; - bool has_is_static() const; - private: - bool _internal_has_is_static() const; - public: - void clear_is_static(); - bool is_static() const; - void set_is_static(bool value); - private: - bool _internal_is_static() const; - void _internal_set_is_static(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.ArrayType) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::abiv2fuzzer::Type* t_; - uint32_t length_; - bool is_static_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class StructType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.StructType) */ { - public: - inline StructType() : StructType(nullptr) {} - ~StructType() override; - explicit PROTOBUF_CONSTEXPR StructType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StructType(const StructType& from); - StructType(StructType&& from) noexcept - : StructType() { - *this = ::std::move(from); - } - - inline StructType& operator=(const StructType& from) { - CopyFrom(from); - return *this; - } - inline StructType& operator=(StructType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StructType& default_instance() { - return *internal_default_instance(); - } - static inline const StructType* internal_default_instance() { - return reinterpret_cast( - &_StructType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(StructType& a, StructType& b) { - a.Swap(&b); - } - inline void Swap(StructType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StructType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StructType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StructType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StructType& from) { - StructType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StructType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.StructType"; - } - protected: - explicit StructType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTFieldNumber = 1, - }; - // repeated .solidity.test.abiv2fuzzer.Type t = 1; - int t_size() const; - private: - int _internal_t_size() const; - public: - void clear_t(); - ::solidity::test::abiv2fuzzer::Type* mutable_t(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::abiv2fuzzer::Type >* - mutable_t(); - private: - const ::solidity::test::abiv2fuzzer::Type& _internal_t(int index) const; - ::solidity::test::abiv2fuzzer::Type* _internal_add_t(); - public: - const ::solidity::test::abiv2fuzzer::Type& t(int index) const; - ::solidity::test::abiv2fuzzer::Type* add_t(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::abiv2fuzzer::Type >& - t() const; - - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.StructType) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::abiv2fuzzer::Type > t_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class NonValueType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.NonValueType) */ { - public: - inline NonValueType() : NonValueType(nullptr) {} - ~NonValueType() override; - explicit PROTOBUF_CONSTEXPR NonValueType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - NonValueType(const NonValueType& from); - NonValueType(NonValueType&& from) noexcept - : NonValueType() { - *this = ::std::move(from); - } - - inline NonValueType& operator=(const NonValueType& from) { - CopyFrom(from); - return *this; - } - inline NonValueType& operator=(NonValueType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const NonValueType& default_instance() { - return *internal_default_instance(); - } - enum NonvalueTypeOneofCase { - kDynbytearray = 1, - kArrtype = 2, - kStype = 3, - NONVALUE_TYPE_ONEOF_NOT_SET = 0, - }; - - static inline const NonValueType* internal_default_instance() { - return reinterpret_cast( - &_NonValueType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(NonValueType& a, NonValueType& b) { - a.Swap(&b); - } - inline void Swap(NonValueType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(NonValueType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NonValueType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NonValueType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const NonValueType& from) { - NonValueType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(NonValueType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.NonValueType"; - } - protected: - explicit NonValueType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDynbytearrayFieldNumber = 1, - kArrtypeFieldNumber = 2, - kStypeFieldNumber = 3, - }; - // .solidity.test.abiv2fuzzer.DynamicByteArrayType dynbytearray = 1; - bool has_dynbytearray() const; - private: - bool _internal_has_dynbytearray() const; - public: - void clear_dynbytearray(); - const ::solidity::test::abiv2fuzzer::DynamicByteArrayType& dynbytearray() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::DynamicByteArrayType* release_dynbytearray(); - ::solidity::test::abiv2fuzzer::DynamicByteArrayType* mutable_dynbytearray(); - void set_allocated_dynbytearray(::solidity::test::abiv2fuzzer::DynamicByteArrayType* dynbytearray); - private: - const ::solidity::test::abiv2fuzzer::DynamicByteArrayType& _internal_dynbytearray() const; - ::solidity::test::abiv2fuzzer::DynamicByteArrayType* _internal_mutable_dynbytearray(); - public: - void unsafe_arena_set_allocated_dynbytearray( - ::solidity::test::abiv2fuzzer::DynamicByteArrayType* dynbytearray); - ::solidity::test::abiv2fuzzer::DynamicByteArrayType* unsafe_arena_release_dynbytearray(); - - // .solidity.test.abiv2fuzzer.ArrayType arrtype = 2; - bool has_arrtype() const; - private: - bool _internal_has_arrtype() const; - public: - void clear_arrtype(); - const ::solidity::test::abiv2fuzzer::ArrayType& arrtype() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::ArrayType* release_arrtype(); - ::solidity::test::abiv2fuzzer::ArrayType* mutable_arrtype(); - void set_allocated_arrtype(::solidity::test::abiv2fuzzer::ArrayType* arrtype); - private: - const ::solidity::test::abiv2fuzzer::ArrayType& _internal_arrtype() const; - ::solidity::test::abiv2fuzzer::ArrayType* _internal_mutable_arrtype(); - public: - void unsafe_arena_set_allocated_arrtype( - ::solidity::test::abiv2fuzzer::ArrayType* arrtype); - ::solidity::test::abiv2fuzzer::ArrayType* unsafe_arena_release_arrtype(); - - // .solidity.test.abiv2fuzzer.StructType stype = 3; - bool has_stype() const; - private: - bool _internal_has_stype() const; - public: - void clear_stype(); - const ::solidity::test::abiv2fuzzer::StructType& stype() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::StructType* release_stype(); - ::solidity::test::abiv2fuzzer::StructType* mutable_stype(); - void set_allocated_stype(::solidity::test::abiv2fuzzer::StructType* stype); - private: - const ::solidity::test::abiv2fuzzer::StructType& _internal_stype() const; - ::solidity::test::abiv2fuzzer::StructType* _internal_mutable_stype(); - public: - void unsafe_arena_set_allocated_stype( - ::solidity::test::abiv2fuzzer::StructType* stype); - ::solidity::test::abiv2fuzzer::StructType* unsafe_arena_release_stype(); - - void clear_nonvalue_type_oneof(); - NonvalueTypeOneofCase nonvalue_type_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.NonValueType) - private: - class _Internal; - void set_has_dynbytearray(); - void set_has_arrtype(); - void set_has_stype(); - - inline bool has_nonvalue_type_oneof() const; - inline void clear_has_nonvalue_type_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union NonvalueTypeOneofUnion { - constexpr NonvalueTypeOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::abiv2fuzzer::DynamicByteArrayType* dynbytearray_; - ::solidity::test::abiv2fuzzer::ArrayType* arrtype_; - ::solidity::test::abiv2fuzzer::StructType* stype_; - } nonvalue_type_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class Type final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.Type) */ { - public: - inline Type() : Type(nullptr) {} - ~Type() override; - explicit PROTOBUF_CONSTEXPR Type(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Type(const Type& from); - Type(Type&& from) noexcept - : Type() { - *this = ::std::move(from); - } - - inline Type& operator=(const Type& from) { - CopyFrom(from); - return *this; - } - inline Type& operator=(Type&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Type& default_instance() { - return *internal_default_instance(); - } - enum TypeOneofCase { - kVtype = 1, - kNvtype = 2, - TYPE_ONEOF_NOT_SET = 0, - }; - - static inline const Type* internal_default_instance() { - return reinterpret_cast( - &_Type_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(Type& a, Type& b) { - a.Swap(&b); - } - inline void Swap(Type* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Type* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Type* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Type& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Type& from) { - Type::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Type* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.Type"; - } - protected: - explicit Type(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVtypeFieldNumber = 1, - kNvtypeFieldNumber = 2, - }; - // .solidity.test.abiv2fuzzer.ValueType vtype = 1; - bool has_vtype() const; - private: - bool _internal_has_vtype() const; - public: - void clear_vtype(); - const ::solidity::test::abiv2fuzzer::ValueType& vtype() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::ValueType* release_vtype(); - ::solidity::test::abiv2fuzzer::ValueType* mutable_vtype(); - void set_allocated_vtype(::solidity::test::abiv2fuzzer::ValueType* vtype); - private: - const ::solidity::test::abiv2fuzzer::ValueType& _internal_vtype() const; - ::solidity::test::abiv2fuzzer::ValueType* _internal_mutable_vtype(); - public: - void unsafe_arena_set_allocated_vtype( - ::solidity::test::abiv2fuzzer::ValueType* vtype); - ::solidity::test::abiv2fuzzer::ValueType* unsafe_arena_release_vtype(); - - // .solidity.test.abiv2fuzzer.NonValueType nvtype = 2; - bool has_nvtype() const; - private: - bool _internal_has_nvtype() const; - public: - void clear_nvtype(); - const ::solidity::test::abiv2fuzzer::NonValueType& nvtype() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::NonValueType* release_nvtype(); - ::solidity::test::abiv2fuzzer::NonValueType* mutable_nvtype(); - void set_allocated_nvtype(::solidity::test::abiv2fuzzer::NonValueType* nvtype); - private: - const ::solidity::test::abiv2fuzzer::NonValueType& _internal_nvtype() const; - ::solidity::test::abiv2fuzzer::NonValueType* _internal_mutable_nvtype(); - public: - void unsafe_arena_set_allocated_nvtype( - ::solidity::test::abiv2fuzzer::NonValueType* nvtype); - ::solidity::test::abiv2fuzzer::NonValueType* unsafe_arena_release_nvtype(); - - void clear_type_oneof(); - TypeOneofCase type_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.Type) - private: - class _Internal; - void set_has_vtype(); - void set_has_nvtype(); - - inline bool has_type_oneof() const; - inline void clear_has_type_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union TypeOneofUnion { - constexpr TypeOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::abiv2fuzzer::ValueType* vtype_; - ::solidity::test::abiv2fuzzer::NonValueType* nvtype_; - } type_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class VarDecl final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.VarDecl) */ { - public: - inline VarDecl() : VarDecl(nullptr) {} - ~VarDecl() override; - explicit PROTOBUF_CONSTEXPR VarDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - VarDecl(const VarDecl& from); - VarDecl(VarDecl&& from) noexcept - : VarDecl() { - *this = ::std::move(from); - } - - inline VarDecl& operator=(const VarDecl& from) { - CopyFrom(from); - return *this; - } - inline VarDecl& operator=(VarDecl&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const VarDecl& default_instance() { - return *internal_default_instance(); - } - static inline const VarDecl* internal_default_instance() { - return reinterpret_cast( - &_VarDecl_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(VarDecl& a, VarDecl& b) { - a.Swap(&b); - } - inline void Swap(VarDecl* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(VarDecl* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - VarDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VarDecl& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const VarDecl& from) { - VarDecl::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(VarDecl* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.VarDecl"; - } - protected: - explicit VarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - }; - // required .solidity.test.abiv2fuzzer.Type type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - const ::solidity::test::abiv2fuzzer::Type& type() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::Type* release_type(); - ::solidity::test::abiv2fuzzer::Type* mutable_type(); - void set_allocated_type(::solidity::test::abiv2fuzzer::Type* type); - private: - const ::solidity::test::abiv2fuzzer::Type& _internal_type() const; - ::solidity::test::abiv2fuzzer::Type* _internal_mutable_type(); - public: - void unsafe_arena_set_allocated_type( - ::solidity::test::abiv2fuzzer::Type* type); - ::solidity::test::abiv2fuzzer::Type* unsafe_arena_release_type(); - - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.VarDecl) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::abiv2fuzzer::Type* type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class TestFunction final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.TestFunction) */ { - public: - inline TestFunction() : TestFunction(nullptr) {} - ~TestFunction() override; - explicit PROTOBUF_CONSTEXPR TestFunction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TestFunction(const TestFunction& from); - TestFunction(TestFunction&& from) noexcept - : TestFunction() { - *this = ::std::move(from); - } - - inline TestFunction& operator=(const TestFunction& from) { - CopyFrom(from); - return *this; - } - inline TestFunction& operator=(TestFunction&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TestFunction& default_instance() { - return *internal_default_instance(); - } - static inline const TestFunction* internal_default_instance() { - return reinterpret_cast( - &_TestFunction_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(TestFunction& a, TestFunction& b) { - a.Swap(&b); - } - inline void Swap(TestFunction* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TestFunction* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TestFunction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TestFunction& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TestFunction& from) { - TestFunction::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TestFunction* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.TestFunction"; - } - protected: - explicit TestFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLocalVarsFieldNumber = 1, - kInvalidEncodingLengthFieldNumber = 2, - }; - // required .solidity.test.abiv2fuzzer.VarDecl local_vars = 1; - bool has_local_vars() const; - private: - bool _internal_has_local_vars() const; - public: - void clear_local_vars(); - const ::solidity::test::abiv2fuzzer::VarDecl& local_vars() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::VarDecl* release_local_vars(); - ::solidity::test::abiv2fuzzer::VarDecl* mutable_local_vars(); - void set_allocated_local_vars(::solidity::test::abiv2fuzzer::VarDecl* local_vars); - private: - const ::solidity::test::abiv2fuzzer::VarDecl& _internal_local_vars() const; - ::solidity::test::abiv2fuzzer::VarDecl* _internal_mutable_local_vars(); - public: - void unsafe_arena_set_allocated_local_vars( - ::solidity::test::abiv2fuzzer::VarDecl* local_vars); - ::solidity::test::abiv2fuzzer::VarDecl* unsafe_arena_release_local_vars(); - - // required uint64 invalid_encoding_length = 2; - bool has_invalid_encoding_length() const; - private: - bool _internal_has_invalid_encoding_length() const; - public: - void clear_invalid_encoding_length(); - uint64_t invalid_encoding_length() const; - void set_invalid_encoding_length(uint64_t value); - private: - uint64_t _internal_invalid_encoding_length() const; - void _internal_set_invalid_encoding_length(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.TestFunction) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::abiv2fuzzer::VarDecl* local_vars_; - uint64_t invalid_encoding_length_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class Contract final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.abiv2fuzzer.Contract) */ { - public: - inline Contract() : Contract(nullptr) {} - ~Contract() override; - explicit PROTOBUF_CONSTEXPR Contract(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Contract(const Contract& from); - Contract(Contract&& from) noexcept - : Contract() { - *this = ::std::move(from); - } - - inline Contract& operator=(const Contract& from) { - CopyFrom(from); - return *this; - } - inline Contract& operator=(Contract&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Contract& default_instance() { - return *internal_default_instance(); - } - static inline const Contract* internal_default_instance() { - return reinterpret_cast( - &_Contract_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(Contract& a, Contract& b) { - a.Swap(&b); - } - inline void Swap(Contract* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Contract* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Contract* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Contract& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Contract& from) { - Contract::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Contract* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.abiv2fuzzer.Contract"; - } - protected: - explicit Contract(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef Contract_Test Test; - static constexpr Test CALLDATA_CODER = - Contract_Test_CALLDATA_CODER; - static constexpr Test RETURNDATA_CODER = - Contract_Test_RETURNDATA_CODER; - static inline bool Test_IsValid(int value) { - return Contract_Test_IsValid(value); - } - static constexpr Test Test_MIN = - Contract_Test_Test_MIN; - static constexpr Test Test_MAX = - Contract_Test_Test_MAX; - static constexpr int Test_ARRAYSIZE = - Contract_Test_Test_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Test_descriptor() { - return Contract_Test_descriptor(); - } - template - static inline const std::string& Test_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Test_Name."); - return Contract_Test_Name(enum_t_value); - } - static inline bool Test_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Test* value) { - return Contract_Test_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kStateVarsFieldNumber = 1, - kTestfunctionFieldNumber = 2, - kSeedFieldNumber = 4, - kTestFieldNumber = 3, - }; - // required .solidity.test.abiv2fuzzer.VarDecl state_vars = 1; - bool has_state_vars() const; - private: - bool _internal_has_state_vars() const; - public: - void clear_state_vars(); - const ::solidity::test::abiv2fuzzer::VarDecl& state_vars() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::VarDecl* release_state_vars(); - ::solidity::test::abiv2fuzzer::VarDecl* mutable_state_vars(); - void set_allocated_state_vars(::solidity::test::abiv2fuzzer::VarDecl* state_vars); - private: - const ::solidity::test::abiv2fuzzer::VarDecl& _internal_state_vars() const; - ::solidity::test::abiv2fuzzer::VarDecl* _internal_mutable_state_vars(); - public: - void unsafe_arena_set_allocated_state_vars( - ::solidity::test::abiv2fuzzer::VarDecl* state_vars); - ::solidity::test::abiv2fuzzer::VarDecl* unsafe_arena_release_state_vars(); - - // required .solidity.test.abiv2fuzzer.TestFunction testfunction = 2; - bool has_testfunction() const; - private: - bool _internal_has_testfunction() const; - public: - void clear_testfunction(); - const ::solidity::test::abiv2fuzzer::TestFunction& testfunction() const; - PROTOBUF_NODISCARD ::solidity::test::abiv2fuzzer::TestFunction* release_testfunction(); - ::solidity::test::abiv2fuzzer::TestFunction* mutable_testfunction(); - void set_allocated_testfunction(::solidity::test::abiv2fuzzer::TestFunction* testfunction); - private: - const ::solidity::test::abiv2fuzzer::TestFunction& _internal_testfunction() const; - ::solidity::test::abiv2fuzzer::TestFunction* _internal_mutable_testfunction(); - public: - void unsafe_arena_set_allocated_testfunction( - ::solidity::test::abiv2fuzzer::TestFunction* testfunction); - ::solidity::test::abiv2fuzzer::TestFunction* unsafe_arena_release_testfunction(); - - // required uint32 seed = 4; - bool has_seed() const; - private: - bool _internal_has_seed() const; - public: - void clear_seed(); - uint32_t seed() const; - void set_seed(uint32_t value); - private: - uint32_t _internal_seed() const; - void _internal_set_seed(uint32_t value); - public: - - // required .solidity.test.abiv2fuzzer.Contract.Test test = 3; - bool has_test() const; - private: - bool _internal_has_test() const; - public: - void clear_test(); - ::solidity::test::abiv2fuzzer::Contract_Test test() const; - void set_test(::solidity::test::abiv2fuzzer::Contract_Test value); - private: - ::solidity::test::abiv2fuzzer::Contract_Test _internal_test() const; - void _internal_set_test(::solidity::test::abiv2fuzzer::Contract_Test value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.abiv2fuzzer.Contract) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::abiv2fuzzer::VarDecl* state_vars_; - ::solidity::test::abiv2fuzzer::TestFunction* testfunction_; - uint32_t seed_; - int test_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_abiV2Proto_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// BoolType - -// ------------------------------------------------------------------- - -// IntegerType - -// required bool is_signed = 1; -inline bool IntegerType::_internal_has_is_signed() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool IntegerType::has_is_signed() const { - return _internal_has_is_signed(); -} -inline void IntegerType::clear_is_signed() { - _impl_.is_signed_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool IntegerType::_internal_is_signed() const { - return _impl_.is_signed_; -} -inline bool IntegerType::is_signed() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.IntegerType.is_signed) - return _internal_is_signed(); -} -inline void IntegerType::_internal_set_is_signed(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.is_signed_ = value; -} -inline void IntegerType::set_is_signed(bool value) { - _internal_set_is_signed(value); - // @@protoc_insertion_point(field_set:solidity.test.abiv2fuzzer.IntegerType.is_signed) -} - -// required uint32 width = 2; -inline bool IntegerType::_internal_has_width() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool IntegerType::has_width() const { - return _internal_has_width(); -} -inline void IntegerType::clear_width() { - _impl_.width_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t IntegerType::_internal_width() const { - return _impl_.width_; -} -inline uint32_t IntegerType::width() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.IntegerType.width) - return _internal_width(); -} -inline void IntegerType::_internal_set_width(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.width_ = value; -} -inline void IntegerType::set_width(uint32_t value) { - _internal_set_width(value); - // @@protoc_insertion_point(field_set:solidity.test.abiv2fuzzer.IntegerType.width) -} - -// ------------------------------------------------------------------- - -// FixedByteType - -// required uint32 width = 1; -inline bool FixedByteType::_internal_has_width() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool FixedByteType::has_width() const { - return _internal_has_width(); -} -inline void FixedByteType::clear_width() { - _impl_.width_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t FixedByteType::_internal_width() const { - return _impl_.width_; -} -inline uint32_t FixedByteType::width() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.FixedByteType.width) - return _internal_width(); -} -inline void FixedByteType::_internal_set_width(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.width_ = value; -} -inline void FixedByteType::set_width(uint32_t value) { - _internal_set_width(value); - // @@protoc_insertion_point(field_set:solidity.test.abiv2fuzzer.FixedByteType.width) -} - -// ------------------------------------------------------------------- - -// AddressType - -// ------------------------------------------------------------------- - -// ValueType - -// .solidity.test.abiv2fuzzer.IntegerType inty = 1; -inline bool ValueType::_internal_has_inty() const { - return value_type_oneof_case() == kInty; -} -inline bool ValueType::has_inty() const { - return _internal_has_inty(); -} -inline void ValueType::set_has_inty() { - _impl_._oneof_case_[0] = kInty; -} -inline void ValueType::clear_inty() { - if (_internal_has_inty()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.value_type_oneof_.inty_; - } - clear_has_value_type_oneof(); - } -} -inline ::solidity::test::abiv2fuzzer::IntegerType* ValueType::release_inty() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.ValueType.inty) - if (_internal_has_inty()) { - clear_has_value_type_oneof(); - ::solidity::test::abiv2fuzzer::IntegerType* temp = _impl_.value_type_oneof_.inty_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.value_type_oneof_.inty_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::abiv2fuzzer::IntegerType& ValueType::_internal_inty() const { - return _internal_has_inty() - ? *_impl_.value_type_oneof_.inty_ - : reinterpret_cast< ::solidity::test::abiv2fuzzer::IntegerType&>(::solidity::test::abiv2fuzzer::_IntegerType_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::IntegerType& ValueType::inty() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.ValueType.inty) - return _internal_inty(); -} -inline ::solidity::test::abiv2fuzzer::IntegerType* ValueType::unsafe_arena_release_inty() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.abiv2fuzzer.ValueType.inty) - if (_internal_has_inty()) { - clear_has_value_type_oneof(); - ::solidity::test::abiv2fuzzer::IntegerType* temp = _impl_.value_type_oneof_.inty_; - _impl_.value_type_oneof_.inty_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ValueType::unsafe_arena_set_allocated_inty(::solidity::test::abiv2fuzzer::IntegerType* inty) { - clear_value_type_oneof(); - if (inty) { - set_has_inty(); - _impl_.value_type_oneof_.inty_ = inty; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.ValueType.inty) -} -inline ::solidity::test::abiv2fuzzer::IntegerType* ValueType::_internal_mutable_inty() { - if (!_internal_has_inty()) { - clear_value_type_oneof(); - set_has_inty(); - _impl_.value_type_oneof_.inty_ = CreateMaybeMessage< ::solidity::test::abiv2fuzzer::IntegerType >(GetArenaForAllocation()); - } - return _impl_.value_type_oneof_.inty_; -} -inline ::solidity::test::abiv2fuzzer::IntegerType* ValueType::mutable_inty() { - ::solidity::test::abiv2fuzzer::IntegerType* _msg = _internal_mutable_inty(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.ValueType.inty) - return _msg; -} - -// .solidity.test.abiv2fuzzer.FixedByteType byty = 2; -inline bool ValueType::_internal_has_byty() const { - return value_type_oneof_case() == kByty; -} -inline bool ValueType::has_byty() const { - return _internal_has_byty(); -} -inline void ValueType::set_has_byty() { - _impl_._oneof_case_[0] = kByty; -} -inline void ValueType::clear_byty() { - if (_internal_has_byty()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.value_type_oneof_.byty_; - } - clear_has_value_type_oneof(); - } -} -inline ::solidity::test::abiv2fuzzer::FixedByteType* ValueType::release_byty() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.ValueType.byty) - if (_internal_has_byty()) { - clear_has_value_type_oneof(); - ::solidity::test::abiv2fuzzer::FixedByteType* temp = _impl_.value_type_oneof_.byty_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.value_type_oneof_.byty_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::abiv2fuzzer::FixedByteType& ValueType::_internal_byty() const { - return _internal_has_byty() - ? *_impl_.value_type_oneof_.byty_ - : reinterpret_cast< ::solidity::test::abiv2fuzzer::FixedByteType&>(::solidity::test::abiv2fuzzer::_FixedByteType_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::FixedByteType& ValueType::byty() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.ValueType.byty) - return _internal_byty(); -} -inline ::solidity::test::abiv2fuzzer::FixedByteType* ValueType::unsafe_arena_release_byty() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.abiv2fuzzer.ValueType.byty) - if (_internal_has_byty()) { - clear_has_value_type_oneof(); - ::solidity::test::abiv2fuzzer::FixedByteType* temp = _impl_.value_type_oneof_.byty_; - _impl_.value_type_oneof_.byty_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ValueType::unsafe_arena_set_allocated_byty(::solidity::test::abiv2fuzzer::FixedByteType* byty) { - clear_value_type_oneof(); - if (byty) { - set_has_byty(); - _impl_.value_type_oneof_.byty_ = byty; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.ValueType.byty) -} -inline ::solidity::test::abiv2fuzzer::FixedByteType* ValueType::_internal_mutable_byty() { - if (!_internal_has_byty()) { - clear_value_type_oneof(); - set_has_byty(); - _impl_.value_type_oneof_.byty_ = CreateMaybeMessage< ::solidity::test::abiv2fuzzer::FixedByteType >(GetArenaForAllocation()); - } - return _impl_.value_type_oneof_.byty_; -} -inline ::solidity::test::abiv2fuzzer::FixedByteType* ValueType::mutable_byty() { - ::solidity::test::abiv2fuzzer::FixedByteType* _msg = _internal_mutable_byty(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.ValueType.byty) - return _msg; -} - -// .solidity.test.abiv2fuzzer.AddressType adty = 3; -inline bool ValueType::_internal_has_adty() const { - return value_type_oneof_case() == kAdty; -} -inline bool ValueType::has_adty() const { - return _internal_has_adty(); -} -inline void ValueType::set_has_adty() { - _impl_._oneof_case_[0] = kAdty; -} -inline void ValueType::clear_adty() { - if (_internal_has_adty()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.value_type_oneof_.adty_; - } - clear_has_value_type_oneof(); - } -} -inline ::solidity::test::abiv2fuzzer::AddressType* ValueType::release_adty() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.ValueType.adty) - if (_internal_has_adty()) { - clear_has_value_type_oneof(); - ::solidity::test::abiv2fuzzer::AddressType* temp = _impl_.value_type_oneof_.adty_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.value_type_oneof_.adty_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::abiv2fuzzer::AddressType& ValueType::_internal_adty() const { - return _internal_has_adty() - ? *_impl_.value_type_oneof_.adty_ - : reinterpret_cast< ::solidity::test::abiv2fuzzer::AddressType&>(::solidity::test::abiv2fuzzer::_AddressType_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::AddressType& ValueType::adty() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.ValueType.adty) - return _internal_adty(); -} -inline ::solidity::test::abiv2fuzzer::AddressType* ValueType::unsafe_arena_release_adty() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.abiv2fuzzer.ValueType.adty) - if (_internal_has_adty()) { - clear_has_value_type_oneof(); - ::solidity::test::abiv2fuzzer::AddressType* temp = _impl_.value_type_oneof_.adty_; - _impl_.value_type_oneof_.adty_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ValueType::unsafe_arena_set_allocated_adty(::solidity::test::abiv2fuzzer::AddressType* adty) { - clear_value_type_oneof(); - if (adty) { - set_has_adty(); - _impl_.value_type_oneof_.adty_ = adty; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.ValueType.adty) -} -inline ::solidity::test::abiv2fuzzer::AddressType* ValueType::_internal_mutable_adty() { - if (!_internal_has_adty()) { - clear_value_type_oneof(); - set_has_adty(); - _impl_.value_type_oneof_.adty_ = CreateMaybeMessage< ::solidity::test::abiv2fuzzer::AddressType >(GetArenaForAllocation()); - } - return _impl_.value_type_oneof_.adty_; -} -inline ::solidity::test::abiv2fuzzer::AddressType* ValueType::mutable_adty() { - ::solidity::test::abiv2fuzzer::AddressType* _msg = _internal_mutable_adty(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.ValueType.adty) - return _msg; -} - -// .solidity.test.abiv2fuzzer.BoolType boolty = 4; -inline bool ValueType::_internal_has_boolty() const { - return value_type_oneof_case() == kBoolty; -} -inline bool ValueType::has_boolty() const { - return _internal_has_boolty(); -} -inline void ValueType::set_has_boolty() { - _impl_._oneof_case_[0] = kBoolty; -} -inline void ValueType::clear_boolty() { - if (_internal_has_boolty()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.value_type_oneof_.boolty_; - } - clear_has_value_type_oneof(); - } -} -inline ::solidity::test::abiv2fuzzer::BoolType* ValueType::release_boolty() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.ValueType.boolty) - if (_internal_has_boolty()) { - clear_has_value_type_oneof(); - ::solidity::test::abiv2fuzzer::BoolType* temp = _impl_.value_type_oneof_.boolty_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.value_type_oneof_.boolty_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::abiv2fuzzer::BoolType& ValueType::_internal_boolty() const { - return _internal_has_boolty() - ? *_impl_.value_type_oneof_.boolty_ - : reinterpret_cast< ::solidity::test::abiv2fuzzer::BoolType&>(::solidity::test::abiv2fuzzer::_BoolType_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::BoolType& ValueType::boolty() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.ValueType.boolty) - return _internal_boolty(); -} -inline ::solidity::test::abiv2fuzzer::BoolType* ValueType::unsafe_arena_release_boolty() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.abiv2fuzzer.ValueType.boolty) - if (_internal_has_boolty()) { - clear_has_value_type_oneof(); - ::solidity::test::abiv2fuzzer::BoolType* temp = _impl_.value_type_oneof_.boolty_; - _impl_.value_type_oneof_.boolty_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ValueType::unsafe_arena_set_allocated_boolty(::solidity::test::abiv2fuzzer::BoolType* boolty) { - clear_value_type_oneof(); - if (boolty) { - set_has_boolty(); - _impl_.value_type_oneof_.boolty_ = boolty; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.ValueType.boolty) -} -inline ::solidity::test::abiv2fuzzer::BoolType* ValueType::_internal_mutable_boolty() { - if (!_internal_has_boolty()) { - clear_value_type_oneof(); - set_has_boolty(); - _impl_.value_type_oneof_.boolty_ = CreateMaybeMessage< ::solidity::test::abiv2fuzzer::BoolType >(GetArenaForAllocation()); - } - return _impl_.value_type_oneof_.boolty_; -} -inline ::solidity::test::abiv2fuzzer::BoolType* ValueType::mutable_boolty() { - ::solidity::test::abiv2fuzzer::BoolType* _msg = _internal_mutable_boolty(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.ValueType.boolty) - return _msg; -} - -inline bool ValueType::has_value_type_oneof() const { - return value_type_oneof_case() != VALUE_TYPE_ONEOF_NOT_SET; -} -inline void ValueType::clear_has_value_type_oneof() { - _impl_._oneof_case_[0] = VALUE_TYPE_ONEOF_NOT_SET; -} -inline ValueType::ValueTypeOneofCase ValueType::value_type_oneof_case() const { - return ValueType::ValueTypeOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// DynamicByteArrayType - -// ------------------------------------------------------------------- - -// ArrayType - -// required .solidity.test.abiv2fuzzer.Type t = 1; -inline bool ArrayType::_internal_has_t() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.t_ != nullptr); - return value; -} -inline bool ArrayType::has_t() const { - return _internal_has_t(); -} -inline void ArrayType::clear_t() { - if (_impl_.t_ != nullptr) _impl_.t_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::abiv2fuzzer::Type& ArrayType::_internal_t() const { - const ::solidity::test::abiv2fuzzer::Type* p = _impl_.t_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::abiv2fuzzer::_Type_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::Type& ArrayType::t() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.ArrayType.t) - return _internal_t(); -} -inline void ArrayType::unsafe_arena_set_allocated_t( - ::solidity::test::abiv2fuzzer::Type* t) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.t_); - } - _impl_.t_ = t; - if (t) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.ArrayType.t) -} -inline ::solidity::test::abiv2fuzzer::Type* ArrayType::release_t() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::abiv2fuzzer::Type* temp = _impl_.t_; - _impl_.t_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::abiv2fuzzer::Type* ArrayType::unsafe_arena_release_t() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.ArrayType.t) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::abiv2fuzzer::Type* temp = _impl_.t_; - _impl_.t_ = nullptr; - return temp; -} -inline ::solidity::test::abiv2fuzzer::Type* ArrayType::_internal_mutable_t() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.t_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::abiv2fuzzer::Type>(GetArenaForAllocation()); - _impl_.t_ = p; - } - return _impl_.t_; -} -inline ::solidity::test::abiv2fuzzer::Type* ArrayType::mutable_t() { - ::solidity::test::abiv2fuzzer::Type* _msg = _internal_mutable_t(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.ArrayType.t) - return _msg; -} -inline void ArrayType::set_allocated_t(::solidity::test::abiv2fuzzer::Type* t) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.t_; - } - if (t) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(t); - if (message_arena != submessage_arena) { - t = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, t, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.t_ = t; - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.ArrayType.t) -} - -// required uint32 length = 2; -inline bool ArrayType::_internal_has_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ArrayType::has_length() const { - return _internal_has_length(); -} -inline void ArrayType::clear_length() { - _impl_.length_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t ArrayType::_internal_length() const { - return _impl_.length_; -} -inline uint32_t ArrayType::length() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.ArrayType.length) - return _internal_length(); -} -inline void ArrayType::_internal_set_length(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.length_ = value; -} -inline void ArrayType::set_length(uint32_t value) { - _internal_set_length(value); - // @@protoc_insertion_point(field_set:solidity.test.abiv2fuzzer.ArrayType.length) -} - -// required bool is_static = 3; -inline bool ArrayType::_internal_has_is_static() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool ArrayType::has_is_static() const { - return _internal_has_is_static(); -} -inline void ArrayType::clear_is_static() { - _impl_.is_static_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool ArrayType::_internal_is_static() const { - return _impl_.is_static_; -} -inline bool ArrayType::is_static() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.ArrayType.is_static) - return _internal_is_static(); -} -inline void ArrayType::_internal_set_is_static(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.is_static_ = value; -} -inline void ArrayType::set_is_static(bool value) { - _internal_set_is_static(value); - // @@protoc_insertion_point(field_set:solidity.test.abiv2fuzzer.ArrayType.is_static) -} - -// ------------------------------------------------------------------- - -// StructType - -// repeated .solidity.test.abiv2fuzzer.Type t = 1; -inline int StructType::_internal_t_size() const { - return _impl_.t_.size(); -} -inline int StructType::t_size() const { - return _internal_t_size(); -} -inline void StructType::clear_t() { - _impl_.t_.Clear(); -} -inline ::solidity::test::abiv2fuzzer::Type* StructType::mutable_t(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.StructType.t) - return _impl_.t_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::abiv2fuzzer::Type >* -StructType::mutable_t() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.abiv2fuzzer.StructType.t) - return &_impl_.t_; -} -inline const ::solidity::test::abiv2fuzzer::Type& StructType::_internal_t(int index) const { - return _impl_.t_.Get(index); -} -inline const ::solidity::test::abiv2fuzzer::Type& StructType::t(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.StructType.t) - return _internal_t(index); -} -inline ::solidity::test::abiv2fuzzer::Type* StructType::_internal_add_t() { - return _impl_.t_.Add(); -} -inline ::solidity::test::abiv2fuzzer::Type* StructType::add_t() { - ::solidity::test::abiv2fuzzer::Type* _add = _internal_add_t(); - // @@protoc_insertion_point(field_add:solidity.test.abiv2fuzzer.StructType.t) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::abiv2fuzzer::Type >& -StructType::t() const { - // @@protoc_insertion_point(field_list:solidity.test.abiv2fuzzer.StructType.t) - return _impl_.t_; -} - -// ------------------------------------------------------------------- - -// NonValueType - -// .solidity.test.abiv2fuzzer.DynamicByteArrayType dynbytearray = 1; -inline bool NonValueType::_internal_has_dynbytearray() const { - return nonvalue_type_oneof_case() == kDynbytearray; -} -inline bool NonValueType::has_dynbytearray() const { - return _internal_has_dynbytearray(); -} -inline void NonValueType::set_has_dynbytearray() { - _impl_._oneof_case_[0] = kDynbytearray; -} -inline void NonValueType::clear_dynbytearray() { - if (_internal_has_dynbytearray()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.nonvalue_type_oneof_.dynbytearray_; - } - clear_has_nonvalue_type_oneof(); - } -} -inline ::solidity::test::abiv2fuzzer::DynamicByteArrayType* NonValueType::release_dynbytearray() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.NonValueType.dynbytearray) - if (_internal_has_dynbytearray()) { - clear_has_nonvalue_type_oneof(); - ::solidity::test::abiv2fuzzer::DynamicByteArrayType* temp = _impl_.nonvalue_type_oneof_.dynbytearray_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.nonvalue_type_oneof_.dynbytearray_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::abiv2fuzzer::DynamicByteArrayType& NonValueType::_internal_dynbytearray() const { - return _internal_has_dynbytearray() - ? *_impl_.nonvalue_type_oneof_.dynbytearray_ - : reinterpret_cast< ::solidity::test::abiv2fuzzer::DynamicByteArrayType&>(::solidity::test::abiv2fuzzer::_DynamicByteArrayType_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::DynamicByteArrayType& NonValueType::dynbytearray() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.NonValueType.dynbytearray) - return _internal_dynbytearray(); -} -inline ::solidity::test::abiv2fuzzer::DynamicByteArrayType* NonValueType::unsafe_arena_release_dynbytearray() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.abiv2fuzzer.NonValueType.dynbytearray) - if (_internal_has_dynbytearray()) { - clear_has_nonvalue_type_oneof(); - ::solidity::test::abiv2fuzzer::DynamicByteArrayType* temp = _impl_.nonvalue_type_oneof_.dynbytearray_; - _impl_.nonvalue_type_oneof_.dynbytearray_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void NonValueType::unsafe_arena_set_allocated_dynbytearray(::solidity::test::abiv2fuzzer::DynamicByteArrayType* dynbytearray) { - clear_nonvalue_type_oneof(); - if (dynbytearray) { - set_has_dynbytearray(); - _impl_.nonvalue_type_oneof_.dynbytearray_ = dynbytearray; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.NonValueType.dynbytearray) -} -inline ::solidity::test::abiv2fuzzer::DynamicByteArrayType* NonValueType::_internal_mutable_dynbytearray() { - if (!_internal_has_dynbytearray()) { - clear_nonvalue_type_oneof(); - set_has_dynbytearray(); - _impl_.nonvalue_type_oneof_.dynbytearray_ = CreateMaybeMessage< ::solidity::test::abiv2fuzzer::DynamicByteArrayType >(GetArenaForAllocation()); - } - return _impl_.nonvalue_type_oneof_.dynbytearray_; -} -inline ::solidity::test::abiv2fuzzer::DynamicByteArrayType* NonValueType::mutable_dynbytearray() { - ::solidity::test::abiv2fuzzer::DynamicByteArrayType* _msg = _internal_mutable_dynbytearray(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.NonValueType.dynbytearray) - return _msg; -} - -// .solidity.test.abiv2fuzzer.ArrayType arrtype = 2; -inline bool NonValueType::_internal_has_arrtype() const { - return nonvalue_type_oneof_case() == kArrtype; -} -inline bool NonValueType::has_arrtype() const { - return _internal_has_arrtype(); -} -inline void NonValueType::set_has_arrtype() { - _impl_._oneof_case_[0] = kArrtype; -} -inline void NonValueType::clear_arrtype() { - if (_internal_has_arrtype()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.nonvalue_type_oneof_.arrtype_; - } - clear_has_nonvalue_type_oneof(); - } -} -inline ::solidity::test::abiv2fuzzer::ArrayType* NonValueType::release_arrtype() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.NonValueType.arrtype) - if (_internal_has_arrtype()) { - clear_has_nonvalue_type_oneof(); - ::solidity::test::abiv2fuzzer::ArrayType* temp = _impl_.nonvalue_type_oneof_.arrtype_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.nonvalue_type_oneof_.arrtype_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::abiv2fuzzer::ArrayType& NonValueType::_internal_arrtype() const { - return _internal_has_arrtype() - ? *_impl_.nonvalue_type_oneof_.arrtype_ - : reinterpret_cast< ::solidity::test::abiv2fuzzer::ArrayType&>(::solidity::test::abiv2fuzzer::_ArrayType_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::ArrayType& NonValueType::arrtype() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.NonValueType.arrtype) - return _internal_arrtype(); -} -inline ::solidity::test::abiv2fuzzer::ArrayType* NonValueType::unsafe_arena_release_arrtype() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.abiv2fuzzer.NonValueType.arrtype) - if (_internal_has_arrtype()) { - clear_has_nonvalue_type_oneof(); - ::solidity::test::abiv2fuzzer::ArrayType* temp = _impl_.nonvalue_type_oneof_.arrtype_; - _impl_.nonvalue_type_oneof_.arrtype_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void NonValueType::unsafe_arena_set_allocated_arrtype(::solidity::test::abiv2fuzzer::ArrayType* arrtype) { - clear_nonvalue_type_oneof(); - if (arrtype) { - set_has_arrtype(); - _impl_.nonvalue_type_oneof_.arrtype_ = arrtype; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.NonValueType.arrtype) -} -inline ::solidity::test::abiv2fuzzer::ArrayType* NonValueType::_internal_mutable_arrtype() { - if (!_internal_has_arrtype()) { - clear_nonvalue_type_oneof(); - set_has_arrtype(); - _impl_.nonvalue_type_oneof_.arrtype_ = CreateMaybeMessage< ::solidity::test::abiv2fuzzer::ArrayType >(GetArenaForAllocation()); - } - return _impl_.nonvalue_type_oneof_.arrtype_; -} -inline ::solidity::test::abiv2fuzzer::ArrayType* NonValueType::mutable_arrtype() { - ::solidity::test::abiv2fuzzer::ArrayType* _msg = _internal_mutable_arrtype(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.NonValueType.arrtype) - return _msg; -} - -// .solidity.test.abiv2fuzzer.StructType stype = 3; -inline bool NonValueType::_internal_has_stype() const { - return nonvalue_type_oneof_case() == kStype; -} -inline bool NonValueType::has_stype() const { - return _internal_has_stype(); -} -inline void NonValueType::set_has_stype() { - _impl_._oneof_case_[0] = kStype; -} -inline void NonValueType::clear_stype() { - if (_internal_has_stype()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.nonvalue_type_oneof_.stype_; - } - clear_has_nonvalue_type_oneof(); - } -} -inline ::solidity::test::abiv2fuzzer::StructType* NonValueType::release_stype() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.NonValueType.stype) - if (_internal_has_stype()) { - clear_has_nonvalue_type_oneof(); - ::solidity::test::abiv2fuzzer::StructType* temp = _impl_.nonvalue_type_oneof_.stype_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.nonvalue_type_oneof_.stype_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::abiv2fuzzer::StructType& NonValueType::_internal_stype() const { - return _internal_has_stype() - ? *_impl_.nonvalue_type_oneof_.stype_ - : reinterpret_cast< ::solidity::test::abiv2fuzzer::StructType&>(::solidity::test::abiv2fuzzer::_StructType_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::StructType& NonValueType::stype() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.NonValueType.stype) - return _internal_stype(); -} -inline ::solidity::test::abiv2fuzzer::StructType* NonValueType::unsafe_arena_release_stype() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.abiv2fuzzer.NonValueType.stype) - if (_internal_has_stype()) { - clear_has_nonvalue_type_oneof(); - ::solidity::test::abiv2fuzzer::StructType* temp = _impl_.nonvalue_type_oneof_.stype_; - _impl_.nonvalue_type_oneof_.stype_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void NonValueType::unsafe_arena_set_allocated_stype(::solidity::test::abiv2fuzzer::StructType* stype) { - clear_nonvalue_type_oneof(); - if (stype) { - set_has_stype(); - _impl_.nonvalue_type_oneof_.stype_ = stype; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.NonValueType.stype) -} -inline ::solidity::test::abiv2fuzzer::StructType* NonValueType::_internal_mutable_stype() { - if (!_internal_has_stype()) { - clear_nonvalue_type_oneof(); - set_has_stype(); - _impl_.nonvalue_type_oneof_.stype_ = CreateMaybeMessage< ::solidity::test::abiv2fuzzer::StructType >(GetArenaForAllocation()); - } - return _impl_.nonvalue_type_oneof_.stype_; -} -inline ::solidity::test::abiv2fuzzer::StructType* NonValueType::mutable_stype() { - ::solidity::test::abiv2fuzzer::StructType* _msg = _internal_mutable_stype(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.NonValueType.stype) - return _msg; -} - -inline bool NonValueType::has_nonvalue_type_oneof() const { - return nonvalue_type_oneof_case() != NONVALUE_TYPE_ONEOF_NOT_SET; -} -inline void NonValueType::clear_has_nonvalue_type_oneof() { - _impl_._oneof_case_[0] = NONVALUE_TYPE_ONEOF_NOT_SET; -} -inline NonValueType::NonvalueTypeOneofCase NonValueType::nonvalue_type_oneof_case() const { - return NonValueType::NonvalueTypeOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Type - -// .solidity.test.abiv2fuzzer.ValueType vtype = 1; -inline bool Type::_internal_has_vtype() const { - return type_oneof_case() == kVtype; -} -inline bool Type::has_vtype() const { - return _internal_has_vtype(); -} -inline void Type::set_has_vtype() { - _impl_._oneof_case_[0] = kVtype; -} -inline void Type::clear_vtype() { - if (_internal_has_vtype()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.vtype_; - } - clear_has_type_oneof(); - } -} -inline ::solidity::test::abiv2fuzzer::ValueType* Type::release_vtype() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.Type.vtype) - if (_internal_has_vtype()) { - clear_has_type_oneof(); - ::solidity::test::abiv2fuzzer::ValueType* temp = _impl_.type_oneof_.vtype_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.type_oneof_.vtype_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::abiv2fuzzer::ValueType& Type::_internal_vtype() const { - return _internal_has_vtype() - ? *_impl_.type_oneof_.vtype_ - : reinterpret_cast< ::solidity::test::abiv2fuzzer::ValueType&>(::solidity::test::abiv2fuzzer::_ValueType_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::ValueType& Type::vtype() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.Type.vtype) - return _internal_vtype(); -} -inline ::solidity::test::abiv2fuzzer::ValueType* Type::unsafe_arena_release_vtype() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.abiv2fuzzer.Type.vtype) - if (_internal_has_vtype()) { - clear_has_type_oneof(); - ::solidity::test::abiv2fuzzer::ValueType* temp = _impl_.type_oneof_.vtype_; - _impl_.type_oneof_.vtype_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Type::unsafe_arena_set_allocated_vtype(::solidity::test::abiv2fuzzer::ValueType* vtype) { - clear_type_oneof(); - if (vtype) { - set_has_vtype(); - _impl_.type_oneof_.vtype_ = vtype; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.Type.vtype) -} -inline ::solidity::test::abiv2fuzzer::ValueType* Type::_internal_mutable_vtype() { - if (!_internal_has_vtype()) { - clear_type_oneof(); - set_has_vtype(); - _impl_.type_oneof_.vtype_ = CreateMaybeMessage< ::solidity::test::abiv2fuzzer::ValueType >(GetArenaForAllocation()); - } - return _impl_.type_oneof_.vtype_; -} -inline ::solidity::test::abiv2fuzzer::ValueType* Type::mutable_vtype() { - ::solidity::test::abiv2fuzzer::ValueType* _msg = _internal_mutable_vtype(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.Type.vtype) - return _msg; -} - -// .solidity.test.abiv2fuzzer.NonValueType nvtype = 2; -inline bool Type::_internal_has_nvtype() const { - return type_oneof_case() == kNvtype; -} -inline bool Type::has_nvtype() const { - return _internal_has_nvtype(); -} -inline void Type::set_has_nvtype() { - _impl_._oneof_case_[0] = kNvtype; -} -inline void Type::clear_nvtype() { - if (_internal_has_nvtype()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.nvtype_; - } - clear_has_type_oneof(); - } -} -inline ::solidity::test::abiv2fuzzer::NonValueType* Type::release_nvtype() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.Type.nvtype) - if (_internal_has_nvtype()) { - clear_has_type_oneof(); - ::solidity::test::abiv2fuzzer::NonValueType* temp = _impl_.type_oneof_.nvtype_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.type_oneof_.nvtype_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::abiv2fuzzer::NonValueType& Type::_internal_nvtype() const { - return _internal_has_nvtype() - ? *_impl_.type_oneof_.nvtype_ - : reinterpret_cast< ::solidity::test::abiv2fuzzer::NonValueType&>(::solidity::test::abiv2fuzzer::_NonValueType_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::NonValueType& Type::nvtype() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.Type.nvtype) - return _internal_nvtype(); -} -inline ::solidity::test::abiv2fuzzer::NonValueType* Type::unsafe_arena_release_nvtype() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.abiv2fuzzer.Type.nvtype) - if (_internal_has_nvtype()) { - clear_has_type_oneof(); - ::solidity::test::abiv2fuzzer::NonValueType* temp = _impl_.type_oneof_.nvtype_; - _impl_.type_oneof_.nvtype_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Type::unsafe_arena_set_allocated_nvtype(::solidity::test::abiv2fuzzer::NonValueType* nvtype) { - clear_type_oneof(); - if (nvtype) { - set_has_nvtype(); - _impl_.type_oneof_.nvtype_ = nvtype; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.Type.nvtype) -} -inline ::solidity::test::abiv2fuzzer::NonValueType* Type::_internal_mutable_nvtype() { - if (!_internal_has_nvtype()) { - clear_type_oneof(); - set_has_nvtype(); - _impl_.type_oneof_.nvtype_ = CreateMaybeMessage< ::solidity::test::abiv2fuzzer::NonValueType >(GetArenaForAllocation()); - } - return _impl_.type_oneof_.nvtype_; -} -inline ::solidity::test::abiv2fuzzer::NonValueType* Type::mutable_nvtype() { - ::solidity::test::abiv2fuzzer::NonValueType* _msg = _internal_mutable_nvtype(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.Type.nvtype) - return _msg; -} - -inline bool Type::has_type_oneof() const { - return type_oneof_case() != TYPE_ONEOF_NOT_SET; -} -inline void Type::clear_has_type_oneof() { - _impl_._oneof_case_[0] = TYPE_ONEOF_NOT_SET; -} -inline Type::TypeOneofCase Type::type_oneof_case() const { - return Type::TypeOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// VarDecl - -// required .solidity.test.abiv2fuzzer.Type type = 1; -inline bool VarDecl::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.type_ != nullptr); - return value; -} -inline bool VarDecl::has_type() const { - return _internal_has_type(); -} -inline void VarDecl::clear_type() { - if (_impl_.type_ != nullptr) _impl_.type_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::abiv2fuzzer::Type& VarDecl::_internal_type() const { - const ::solidity::test::abiv2fuzzer::Type* p = _impl_.type_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::abiv2fuzzer::_Type_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::Type& VarDecl::type() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.VarDecl.type) - return _internal_type(); -} -inline void VarDecl::unsafe_arena_set_allocated_type( - ::solidity::test::abiv2fuzzer::Type* type) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.type_); - } - _impl_.type_ = type; - if (type) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.VarDecl.type) -} -inline ::solidity::test::abiv2fuzzer::Type* VarDecl::release_type() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::abiv2fuzzer::Type* temp = _impl_.type_; - _impl_.type_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::abiv2fuzzer::Type* VarDecl::unsafe_arena_release_type() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.VarDecl.type) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::abiv2fuzzer::Type* temp = _impl_.type_; - _impl_.type_ = nullptr; - return temp; -} -inline ::solidity::test::abiv2fuzzer::Type* VarDecl::_internal_mutable_type() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.type_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::abiv2fuzzer::Type>(GetArenaForAllocation()); - _impl_.type_ = p; - } - return _impl_.type_; -} -inline ::solidity::test::abiv2fuzzer::Type* VarDecl::mutable_type() { - ::solidity::test::abiv2fuzzer::Type* _msg = _internal_mutable_type(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.VarDecl.type) - return _msg; -} -inline void VarDecl::set_allocated_type(::solidity::test::abiv2fuzzer::Type* type) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.type_; - } - if (type) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(type); - if (message_arena != submessage_arena) { - type = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, type, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.type_ = type; - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.VarDecl.type) -} - -// ------------------------------------------------------------------- - -// TestFunction - -// required .solidity.test.abiv2fuzzer.VarDecl local_vars = 1; -inline bool TestFunction::_internal_has_local_vars() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.local_vars_ != nullptr); - return value; -} -inline bool TestFunction::has_local_vars() const { - return _internal_has_local_vars(); -} -inline void TestFunction::clear_local_vars() { - if (_impl_.local_vars_ != nullptr) _impl_.local_vars_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::abiv2fuzzer::VarDecl& TestFunction::_internal_local_vars() const { - const ::solidity::test::abiv2fuzzer::VarDecl* p = _impl_.local_vars_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::abiv2fuzzer::_VarDecl_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::VarDecl& TestFunction::local_vars() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.TestFunction.local_vars) - return _internal_local_vars(); -} -inline void TestFunction::unsafe_arena_set_allocated_local_vars( - ::solidity::test::abiv2fuzzer::VarDecl* local_vars) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.local_vars_); - } - _impl_.local_vars_ = local_vars; - if (local_vars) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.TestFunction.local_vars) -} -inline ::solidity::test::abiv2fuzzer::VarDecl* TestFunction::release_local_vars() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::abiv2fuzzer::VarDecl* temp = _impl_.local_vars_; - _impl_.local_vars_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::abiv2fuzzer::VarDecl* TestFunction::unsafe_arena_release_local_vars() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.TestFunction.local_vars) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::abiv2fuzzer::VarDecl* temp = _impl_.local_vars_; - _impl_.local_vars_ = nullptr; - return temp; -} -inline ::solidity::test::abiv2fuzzer::VarDecl* TestFunction::_internal_mutable_local_vars() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.local_vars_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::abiv2fuzzer::VarDecl>(GetArenaForAllocation()); - _impl_.local_vars_ = p; - } - return _impl_.local_vars_; -} -inline ::solidity::test::abiv2fuzzer::VarDecl* TestFunction::mutable_local_vars() { - ::solidity::test::abiv2fuzzer::VarDecl* _msg = _internal_mutable_local_vars(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.TestFunction.local_vars) - return _msg; -} -inline void TestFunction::set_allocated_local_vars(::solidity::test::abiv2fuzzer::VarDecl* local_vars) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.local_vars_; - } - if (local_vars) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(local_vars); - if (message_arena != submessage_arena) { - local_vars = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, local_vars, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.local_vars_ = local_vars; - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.TestFunction.local_vars) -} - -// required uint64 invalid_encoding_length = 2; -inline bool TestFunction::_internal_has_invalid_encoding_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool TestFunction::has_invalid_encoding_length() const { - return _internal_has_invalid_encoding_length(); -} -inline void TestFunction::clear_invalid_encoding_length() { - _impl_.invalid_encoding_length_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t TestFunction::_internal_invalid_encoding_length() const { - return _impl_.invalid_encoding_length_; -} -inline uint64_t TestFunction::invalid_encoding_length() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.TestFunction.invalid_encoding_length) - return _internal_invalid_encoding_length(); -} -inline void TestFunction::_internal_set_invalid_encoding_length(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.invalid_encoding_length_ = value; -} -inline void TestFunction::set_invalid_encoding_length(uint64_t value) { - _internal_set_invalid_encoding_length(value); - // @@protoc_insertion_point(field_set:solidity.test.abiv2fuzzer.TestFunction.invalid_encoding_length) -} - -// ------------------------------------------------------------------- - -// Contract - -// required .solidity.test.abiv2fuzzer.VarDecl state_vars = 1; -inline bool Contract::_internal_has_state_vars() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.state_vars_ != nullptr); - return value; -} -inline bool Contract::has_state_vars() const { - return _internal_has_state_vars(); -} -inline void Contract::clear_state_vars() { - if (_impl_.state_vars_ != nullptr) _impl_.state_vars_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::abiv2fuzzer::VarDecl& Contract::_internal_state_vars() const { - const ::solidity::test::abiv2fuzzer::VarDecl* p = _impl_.state_vars_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::abiv2fuzzer::_VarDecl_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::VarDecl& Contract::state_vars() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.Contract.state_vars) - return _internal_state_vars(); -} -inline void Contract::unsafe_arena_set_allocated_state_vars( - ::solidity::test::abiv2fuzzer::VarDecl* state_vars) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.state_vars_); - } - _impl_.state_vars_ = state_vars; - if (state_vars) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.Contract.state_vars) -} -inline ::solidity::test::abiv2fuzzer::VarDecl* Contract::release_state_vars() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::abiv2fuzzer::VarDecl* temp = _impl_.state_vars_; - _impl_.state_vars_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::abiv2fuzzer::VarDecl* Contract::unsafe_arena_release_state_vars() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.Contract.state_vars) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::abiv2fuzzer::VarDecl* temp = _impl_.state_vars_; - _impl_.state_vars_ = nullptr; - return temp; -} -inline ::solidity::test::abiv2fuzzer::VarDecl* Contract::_internal_mutable_state_vars() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.state_vars_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::abiv2fuzzer::VarDecl>(GetArenaForAllocation()); - _impl_.state_vars_ = p; - } - return _impl_.state_vars_; -} -inline ::solidity::test::abiv2fuzzer::VarDecl* Contract::mutable_state_vars() { - ::solidity::test::abiv2fuzzer::VarDecl* _msg = _internal_mutable_state_vars(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.Contract.state_vars) - return _msg; -} -inline void Contract::set_allocated_state_vars(::solidity::test::abiv2fuzzer::VarDecl* state_vars) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.state_vars_; - } - if (state_vars) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(state_vars); - if (message_arena != submessage_arena) { - state_vars = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, state_vars, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.state_vars_ = state_vars; - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.Contract.state_vars) -} - -// required .solidity.test.abiv2fuzzer.TestFunction testfunction = 2; -inline bool Contract::_internal_has_testfunction() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.testfunction_ != nullptr); - return value; -} -inline bool Contract::has_testfunction() const { - return _internal_has_testfunction(); -} -inline void Contract::clear_testfunction() { - if (_impl_.testfunction_ != nullptr) _impl_.testfunction_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::abiv2fuzzer::TestFunction& Contract::_internal_testfunction() const { - const ::solidity::test::abiv2fuzzer::TestFunction* p = _impl_.testfunction_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::abiv2fuzzer::_TestFunction_default_instance_); -} -inline const ::solidity::test::abiv2fuzzer::TestFunction& Contract::testfunction() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.Contract.testfunction) - return _internal_testfunction(); -} -inline void Contract::unsafe_arena_set_allocated_testfunction( - ::solidity::test::abiv2fuzzer::TestFunction* testfunction) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.testfunction_); - } - _impl_.testfunction_ = testfunction; - if (testfunction) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.abiv2fuzzer.Contract.testfunction) -} -inline ::solidity::test::abiv2fuzzer::TestFunction* Contract::release_testfunction() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::abiv2fuzzer::TestFunction* temp = _impl_.testfunction_; - _impl_.testfunction_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::abiv2fuzzer::TestFunction* Contract::unsafe_arena_release_testfunction() { - // @@protoc_insertion_point(field_release:solidity.test.abiv2fuzzer.Contract.testfunction) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::abiv2fuzzer::TestFunction* temp = _impl_.testfunction_; - _impl_.testfunction_ = nullptr; - return temp; -} -inline ::solidity::test::abiv2fuzzer::TestFunction* Contract::_internal_mutable_testfunction() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.testfunction_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::abiv2fuzzer::TestFunction>(GetArenaForAllocation()); - _impl_.testfunction_ = p; - } - return _impl_.testfunction_; -} -inline ::solidity::test::abiv2fuzzer::TestFunction* Contract::mutable_testfunction() { - ::solidity::test::abiv2fuzzer::TestFunction* _msg = _internal_mutable_testfunction(); - // @@protoc_insertion_point(field_mutable:solidity.test.abiv2fuzzer.Contract.testfunction) - return _msg; -} -inline void Contract::set_allocated_testfunction(::solidity::test::abiv2fuzzer::TestFunction* testfunction) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.testfunction_; - } - if (testfunction) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(testfunction); - if (message_arena != submessage_arena) { - testfunction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, testfunction, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.testfunction_ = testfunction; - // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.Contract.testfunction) -} - -// required .solidity.test.abiv2fuzzer.Contract.Test test = 3; -inline bool Contract::_internal_has_test() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool Contract::has_test() const { - return _internal_has_test(); -} -inline void Contract::clear_test() { - _impl_.test_ = 1; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::solidity::test::abiv2fuzzer::Contract_Test Contract::_internal_test() const { - return static_cast< ::solidity::test::abiv2fuzzer::Contract_Test >(_impl_.test_); -} -inline ::solidity::test::abiv2fuzzer::Contract_Test Contract::test() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.Contract.test) - return _internal_test(); -} -inline void Contract::_internal_set_test(::solidity::test::abiv2fuzzer::Contract_Test value) { - assert(::solidity::test::abiv2fuzzer::Contract_Test_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.test_ = value; -} -inline void Contract::set_test(::solidity::test::abiv2fuzzer::Contract_Test value) { - _internal_set_test(value); - // @@protoc_insertion_point(field_set:solidity.test.abiv2fuzzer.Contract.test) -} - -// required uint32 seed = 4; -inline bool Contract::_internal_has_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool Contract::has_seed() const { - return _internal_has_seed(); -} -inline void Contract::clear_seed() { - _impl_.seed_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t Contract::_internal_seed() const { - return _impl_.seed_; -} -inline uint32_t Contract::seed() const { - // @@protoc_insertion_point(field_get:solidity.test.abiv2fuzzer.Contract.seed) - return _internal_seed(); -} -inline void Contract::_internal_set_seed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.seed_ = value; -} -inline void Contract::set_seed(uint32_t value) { - _internal_set_seed(value); - // @@protoc_insertion_point(field_set:solidity.test.abiv2fuzzer.Contract.seed) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace abiv2fuzzer -} // namespace test -} // namespace solidity - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::solidity::test::abiv2fuzzer::Contract_Test> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::abiv2fuzzer::Contract_Test>() { - return ::solidity::test::abiv2fuzzer::Contract_Test_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_abiV2Proto_2eproto diff --git a/tools/ossfuzz/build_ossfuzz.sh b/tools/ossfuzz/build_ossfuzz.sh new file mode 100755 index 0000000..77a7ce7 --- /dev/null +++ b/tools/ossfuzz/build_ossfuzz.sh @@ -0,0 +1,114 @@ +#!/usr/bin/env bash +# Build the protobuf fuzzers under AFL++ — afl-clang-fast++ + the system +# libstdc++. No libc++, no Docker. +# +# Only libprotobuf-mutator is built from source (into deps_afl/, against the +# system protobuf); boost / protobuf / abseil come from the system and evmone +# is built in-tree by the afl build. The fuzzers go into build_afl/ alongside +# sol_afl_diff_runner — one AFL tree for everything. +# +# Requirements (Arch package names in parentheses): +# AFL++ built (run tools/afl/build_afl.sh first) +# clang/clang++ (clang) — builds LPM + the mutator .so's +# protobuf + abseil (protobuf) — system, libstdc++ +# boost (static) (boost) — system, libstdc++ +# cmake, ninja, make, git, protoc, ccache +set -ex + +ROOTDIR="$(realpath "$(dirname "$0")/../..")" +DEPS="${ROOTDIR}/deps_afl" +BUILDDIR="${ROOTDIR}/build_afl" +AFLCC="${ROOTDIR}/AFLplusplus/afl-clang-fast" +AFLCXX="${ROOTDIR}/AFLplusplus/afl-clang-fast++" +ENGINE="${ROOTDIR}/AFLplusplus/utils/aflpp_driver/libAFLDriver.a" + +if [[ ! -x "${AFLCXX}" || ! -f "${ENGINE}" ]]; then + echo "AFL++ not built. Run: tools/afl/build_afl.sh" >&2 + exit 1 +fi + +# Each proto grammar: . The +# harnesses share these grammars; one mutator .so is built per grammar. +GRAMMARS=( + "sol2Proto solidity::test::sol2protofuzzer::Program" + "yulProto solidity::yul::test::yul_fuzzer::Program" + "solProto solidity::test::solprotofuzzer::Program" + "shufflerProto solidity::yul::test::shuffler_fuzzer::ShuffleInput" + "solRecStructAliasProto solidity::test::solrecstructalias::Program" + "solRoundtripProto solidity::test::solroundtrip::Program" + "abiV2Proto solidity::test::abiv2fuzzer::Contract" +) + +# libprotobuf-mutator, built static + PIC against the system protobuf. +build_lpm() { + if [[ -f "${DEPS}/lib/libprotobuf-mutator.a" ]]; then return; fi + local src="${DEPS}/src/libprotobuf-mutator" + local build="${DEPS}/build/libprotobuf-mutator" + if [[ ! -d "${src}/.git" ]]; then + git clone --depth 1 https://github.com/google/libprotobuf-mutator.git "${src}" + fi + cmake -S "${src}" -B "${build}" -G Ninja \ + -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20 \ + -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ + -DLIB_PROTO_MUTATOR_DOWNLOAD_PROTOBUF=OFF \ + -DLIB_PROTO_MUTATOR_TESTING=OFF -DLIB_PROTO_MUTATOR_EXAMPLES=OFF \ + -DCMAKE_INSTALL_PREFIX="${DEPS}" + cmake --build "${build}" -j"$(nproc)" + cmake --install "${build}" +} + +# Regenerate the *.pb.{cc,h} with the system protoc so they match the linked +# system libprotobuf (git-ignored, regenerated every build). +generate_bindings() { + cd "${ROOTDIR}/tools/ossfuzz" + local g base + for g in "${GRAMMARS[@]}"; do + base="${g%% *}" + protoc "${base}.proto" --cpp_out . + done +} + +# One AFL++ custom-mutator .so per grammar: lpm_afl_mutator.cc + the grammar's +# bindings, linked against LPM + the system protobuf. Plain clang++ — the .so is +# loaded by afl-fuzz itself, so it must not carry AFL instrumentation. +build_mutators() { + cd "${ROOTDIR}" + local g base type + for g in "${GRAMMARS[@]}"; do + base="${g%% *}"; type="${g#* }" + clang++ -O2 -fPIC -shared -std=gnu++20 -g \ + -I "${DEPS}/include/libprotobuf-mutator" -I tools/ossfuzz \ + $(pkg-config --cflags protobuf) \ + -DLPM_PROTO_HEADER="\"${base}.pb.h\"" -DLPM_PROTO_TYPE="${type}" \ + tools/ossfuzz/lpm_afl_mutator.cc "tools/ossfuzz/${base}.pb.cc" \ + "${DEPS}/lib/libprotobuf-mutator.a" $(pkg-config --libs protobuf) \ + -o "${DEPS}/lib/lib${base}_lpm_mutator.so" + done +} + +# Configure + build the proto fuzzers in build_afl/ with the AFL toolchain. The +# top-level CMakeLists detects afl-clang-fast and builds evmone static, and the +# OSSFUZZ path links the AFL++ driver via LIB_FUZZING_ENGINE. +build_fuzzers() { + cmake -S "${ROOTDIR}" -B "${BUILDDIR}" \ + -DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:-Release}" \ + -DCMAKE_C_COMPILER="${AFLCC}" -DCMAKE_CXX_COMPILER="${AFLCXX}" \ + -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ + -DCMAKE_C_LINKER_DEPFILE_SUPPORTED=FALSE \ + -DCMAKE_CXX_LINKER_DEPFILE_SUPPORTED=FALSE \ + -DOSSFUZZ=ON -DLPM_PREFIX="${DEPS}" -DLIB_FUZZING_ENGINE="${ENGINE}" + # Build the evmone static archive first. The yul_proto_* harnesses link + # libevmone-standalone.a as a plain file path, and the evmone_external + # ExternalProject byproduct has no make rule when the linking targets are + # built in isolation (add_dependencies only orders it when it's already in + # the build set). Building it explicitly here creates the archive so the + # subsequent harness link finds it, instead of failing with + # "No rule to make target '.../libevmone-standalone.a'". + cmake --build "${BUILDDIR}" -j"$(nproc)" --target evmone_external + cmake --build "${BUILDDIR}" -j"$(nproc)" --target ossfuzz_proto ossfuzz_abiv2 +} + +build_lpm +generate_bindings +build_mutators +build_fuzzers diff --git a/tools/ossfuzz/lpm_afl_mutator.cc b/tools/ossfuzz/lpm_afl_mutator.cc new file mode 100644 index 0000000..7981e69 --- /dev/null +++ b/tools/ossfuzz/lpm_afl_mutator.cc @@ -0,0 +1,80 @@ +// libprotobuf-mutator -> AFL++ custom-mutator bridge. +// +// AFL++'s own engine mutates raw bytes; applied to serialized protobuf that +// destroys the grammar. This custom mutator instead deserializes the +// (text-format) protobuf that DEFINE_PROTO_FUZZER expects, runs +// libprotobuf-mutator's structure-aware Mutator over the message tree, and +// re-serializes — so every generated input stays a valid, grammar-conformant +// program. Run AFL with AFL_CUSTOM_MUTATOR_ONLY=1 so byte-level havoc never +// touches the serialized form. +// +// One .so is built per grammar; LPM_PROTO_HEADER / LPM_PROTO_TYPE select the +// message type at compile time (mirroring how the harnesses bake in their +// FUZZER_MODE_* defines). +// +// It uses the base protobuf_mutator::Mutator (not the libfuzzer-layer +// CustomProtoMutator), so the .so carries no dependency on the fuzzing engine's +// LLVMFuzzerMutate symbol. Text serialization matches DEFINE_PROTO_FUZZER's +// default (use_binary=false), so the harness's LoadProtoInput parses our output +// and the existing libFuzzer corpus is reused unchanged. + +#include +#include + +#include "src/mutator.h" +#include "src/text_format.h" +#include LPM_PROTO_HEADER + +#ifndef LPM_PROTO_TYPE +#error "define LPM_PROTO_TYPE to the fully-qualified protobuf message type" +#endif + +namespace { + +struct State +{ + protobuf_mutator::Mutator mutator; + std::string out; // owns the buffer handed back to AFL until the next call +}; + +} // namespace + +extern "C" void* afl_custom_init(void* /*afl*/, unsigned int seed) +{ + State* st = new State(); + st->mutator.Seed(seed); + return st; +} + +extern "C" size_t afl_custom_fuzz( + void* data, + uint8_t* buf, size_t buf_size, + uint8_t** out_buf, + uint8_t* /*add_buf*/, size_t /*add_buf_size*/, + size_t max_size) +{ + State* st = static_cast(data); + + LPM_PROTO_TYPE msg; + // Tolerant parse: on failure msg stays default-constructed and we mutate + // up from empty, which still yields a valid program. + protobuf_mutator::ParseTextMessage(buf, buf_size, &msg); + st->mutator.Mutate(&msg, max_size); + st->out = protobuf_mutator::SaveMessageAsText(msg); + + // Never hand back a truncated (unparseable) text proto: if the mutation + // overshot max_size, leave the input unchanged for this exec. + if (st->out.size() > max_size) + { + *out_buf = buf; + return buf_size; + } + + *out_buf = reinterpret_cast(st->out.data()); + return st->out.size(); +} + +extern "C" void afl_custom_deinit(void* data) +{ + delete static_cast(data); +} diff --git a/tools/ossfuzz/run_ossfuzz_afl.sh b/tools/ossfuzz/run_ossfuzz_afl.sh new file mode 100755 index 0000000..718f427 --- /dev/null +++ b/tools/ossfuzz/run_ossfuzz_afl.sh @@ -0,0 +1,62 @@ +#!/usr/bin/env bash +# Launch a protobuf fuzzer under afl-fuzz with the matching LPM custom mutator. +# +# tools/ossfuzz/run_ossfuzz_afl.sh [findings_dir] +# tools/ossfuzz/run_ossfuzz_afl.sh --resume [findings_dir] +# +# is the binary name under build_afl/tools/ossfuzz/, e.g. +# sol_proto_ossfuzz_evmone. The corpus dir must hold at least one non-empty +# seed. With --resume, AFL re-reads its own findings dir (afl-fuzz -i-) and +# continues from the existing queue — no corpus dir needed. +set -eu + +ROOTDIR="$(realpath "$(dirname "$0")/../..")" + +RESUME=0 +if [ "${1:-}" = "--resume" ]; then RESUME=1; shift; fi + +USAGE="usage: run_ossfuzz_afl.sh [--resume] [findings_dir]" +FUZZER="${1:?$USAGE}" +if [ "$RESUME" -eq 1 ]; then + INPUT="-" # AFL resume marker: re-read the findings dir + FINDINGS="${2:-findings_${FUZZER}}" +else + INPUT="${2:?need a corpus dir}" + FINDINGS="${3:-findings_${FUZZER}}" + # AFL aborts ("No usable test cases") on a missing or empty input dir, even + # though the LPM custom mutator can grow a corpus from nothing. Drop in a + # single seed so afl-fuzz has a queue entry to start mutating. The harness and + # mutator use TEXT-format protobuf (DEFINE_PROTO_FUZZER's use_binary=false), so + # the seed must be valid text format: a comment line is non-empty (AFL needs + # that) yet parses to a default message — arbitrary bytes flood stderr with + # "Error parsing text-format ... Program" instead. + if [ ! -d "$INPUT" ] || [ -z "$(find "$INPUT" -maxdepth 1 -type f ! -empty -print -quit)" ]; then + echo "seeding empty corpus dir: $INPUT" >&2 + mkdir -p "$INPUT" + printf '# empty seed: valid text-format protobuf, parses to a default message\n' > "$INPUT/seed" + fi +fi + +# Map fuzzer -> grammar -> mutator .so. +case "$FUZZER" in + sol_proto_ossfuzz_evmone*|sol_ice_ossfuzz) base=sol2Proto ;; + yul_proto_ossfuzz_evmone*) base=yulProto ;; + sol_proto_ossfuzz_nondiff) base=solProto ;; + shuffler_proto_ossfuzz) base=shufflerProto ;; + sol_recstruct_alias_ossfuzz) base=solRecStructAliasProto ;; + sol_roundtrip_ossfuzz) base=solRoundtripProto ;; + abiv2_proto_ossfuzz) base=abiV2Proto ;; + *) echo "unknown fuzzer: $FUZZER" >&2; exit 1 ;; +esac + +export AFL_CUSTOM_MUTATOR_LIBRARY="${ROOTDIR}/deps_afl/lib/lib${base}_lpm_mutator.so" +export AFL_CUSTOM_MUTATOR_ONLY=1 # only the LPM grammar mutator, no byte havoc +export AFL_SKIP_CPUFREQ=1 +# AFL trims new queue entries by chopping raw bytes, which bypasses the custom +# mutator and hands the harness a truncated text-format proto — flooding stderr +# with "Error parsing text-format ... Program". We don't implement the custom +# trim API, so just disable trimming; LPM keeps inputs minimal anyway. +export AFL_DISABLE_TRIM=1 + +exec "${ROOTDIR}/AFLplusplus/afl-fuzz" -i "$INPUT" -o "$FINDINGS" -m none -t 2000 \ + -- "${ROOTDIR}/build_afl/tools/ossfuzz/${FUZZER}" diff --git a/tools/ossfuzz/shufflerProto.pb.cc b/tools/ossfuzz/shufflerProto.pb.cc deleted file mode 100644 index f5c67f1..0000000 --- a/tools/ossfuzz/shufflerProto.pb.cc +++ /dev/null @@ -1,740 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: shufflerProto.proto - -#include "shufflerProto.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -namespace solidity { -namespace yul { -namespace test { -namespace shuffler_fuzzer { -PROTOBUF_CONSTEXPR Slot::Slot( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.kind_)*/0 - , /*decltype(_impl_.id_)*/0u} {} -struct SlotDefaultTypeInternal { - PROTOBUF_CONSTEXPR SlotDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~SlotDefaultTypeInternal() {} - union { - Slot _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SlotDefaultTypeInternal _Slot_default_instance_; -PROTOBUF_CONSTEXPR ShuffleInput::ShuffleInput( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.initial_)*/{} - , /*decltype(_impl_.target_top_)*/{} - , /*decltype(_impl_.tail_set_)*/{} - , /*decltype(_impl_.extra_tail_padding_)*/0u} {} -struct ShuffleInputDefaultTypeInternal { - PROTOBUF_CONSTEXPR ShuffleInputDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ShuffleInputDefaultTypeInternal() {} - union { - ShuffleInput _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ShuffleInputDefaultTypeInternal _ShuffleInput_default_instance_; -} // namespace shuffler_fuzzer -} // namespace test -} // namespace yul -} // namespace solidity -static ::_pb::Metadata file_level_metadata_shufflerProto_2eproto[2]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_shufflerProto_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_shufflerProto_2eproto = nullptr; - -const uint32_t TableStruct_shufflerProto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::shuffler_fuzzer::Slot, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::shuffler_fuzzer::Slot, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::shuffler_fuzzer::Slot, _impl_.kind_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::shuffler_fuzzer::Slot, _impl_.id_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::shuffler_fuzzer::ShuffleInput, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::shuffler_fuzzer::ShuffleInput, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::shuffler_fuzzer::ShuffleInput, _impl_.initial_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::shuffler_fuzzer::ShuffleInput, _impl_.target_top_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::shuffler_fuzzer::ShuffleInput, _impl_.tail_set_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::shuffler_fuzzer::ShuffleInput, _impl_.extra_tail_padding_), - ~0u, - ~0u, - ~0u, - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 8, -1, sizeof(::solidity::yul::test::shuffler_fuzzer::Slot)}, - { 10, 20, -1, sizeof(::solidity::yul::test::shuffler_fuzzer::ShuffleInput)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::solidity::yul::test::shuffler_fuzzer::_Slot_default_instance_._instance, - &::solidity::yul::test::shuffler_fuzzer::_ShuffleInput_default_instance_._instance, -}; - -const char descriptor_table_protodef_shufflerProto_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\023shufflerProto.proto\022!solidity.yul.test" - ".shuffler_fuzzer\"y\n\004Slot\022:\n\004kind\030\001 \002(\0162," - ".solidity.yul.test.shuffler_fuzzer.Slot." - "Kind\022\n\n\002id\030\002 \002(\r\")\n\004Kind\022\005\n\001V\020\000\022\007\n\003PHI\020\001" - "\022\007\n\003LIT\020\002\022\010\n\004JUNK\020\003\"\334\001\n\014ShuffleInput\0228\n\007" - "initial\030\001 \003(\0132\'.solidity.yul.test.shuffl" - "er_fuzzer.Slot\022;\n\ntarget_top\030\002 \003(\0132\'.sol" - "idity.yul.test.shuffler_fuzzer.Slot\0229\n\010t" - "ail_set\030\003 \003(\0132\'.solidity.yul.test.shuffl" - "er_fuzzer.Slot\022\032\n\022extra_tail_padding\030\004 \002" - "(\r" - ; -static ::_pbi::once_flag descriptor_table_shufflerProto_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_shufflerProto_2eproto = { - false, false, 402, descriptor_table_protodef_shufflerProto_2eproto, - "shufflerProto.proto", - &descriptor_table_shufflerProto_2eproto_once, nullptr, 0, 2, - schemas, file_default_instances, TableStruct_shufflerProto_2eproto::offsets, - file_level_metadata_shufflerProto_2eproto, file_level_enum_descriptors_shufflerProto_2eproto, - file_level_service_descriptors_shufflerProto_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_shufflerProto_2eproto_getter() { - return &descriptor_table_shufflerProto_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_shufflerProto_2eproto(&descriptor_table_shufflerProto_2eproto); -namespace solidity { -namespace yul { -namespace test { -namespace shuffler_fuzzer { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Slot_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_shufflerProto_2eproto); - return file_level_enum_descriptors_shufflerProto_2eproto[0]; -} -bool Slot_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr Slot_Kind Slot::V; -constexpr Slot_Kind Slot::PHI; -constexpr Slot_Kind Slot::LIT; -constexpr Slot_Kind Slot::JUNK; -constexpr Slot_Kind Slot::Kind_MIN; -constexpr Slot_Kind Slot::Kind_MAX; -constexpr int Slot::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -// =================================================================== - -class Slot::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -Slot::Slot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.shuffler_fuzzer.Slot) -} -Slot::Slot(const Slot& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Slot* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.kind_){} - , decltype(_impl_.id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.kind_, &from._impl_.kind_, - static_cast(reinterpret_cast(&_impl_.id_) - - reinterpret_cast(&_impl_.kind_)) + sizeof(_impl_.id_)); - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.shuffler_fuzzer.Slot) -} - -inline void Slot::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.kind_){0} - , decltype(_impl_.id_){0u} - }; -} - -Slot::~Slot() { - // @@protoc_insertion_point(destructor:solidity.yul.test.shuffler_fuzzer.Slot) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Slot::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void Slot::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Slot::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.shuffler_fuzzer.Slot) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.kind_, 0, static_cast( - reinterpret_cast(&_impl_.id_) - - reinterpret_cast(&_impl_.kind_)) + sizeof(_impl_.id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Slot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.shuffler_fuzzer.Slot.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::shuffler_fuzzer::Slot_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::yul::test::shuffler_fuzzer::Slot_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required uint32 id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Slot::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.shuffler_fuzzer.Slot) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.shuffler_fuzzer.Slot.Kind kind = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - // required uint32 id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.shuffler_fuzzer.Slot) - return target; -} - -size_t Slot::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.shuffler_fuzzer.Slot) - size_t total_size = 0; - - if (_internal_has_kind()) { - // required .solidity.yul.test.shuffler_fuzzer.Slot.Kind kind = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - - if (_internal_has_id()) { - // required uint32 id = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); - } - - return total_size; -} -size_t Slot::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.shuffler_fuzzer.Slot) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.yul.test.shuffler_fuzzer.Slot.Kind kind = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - - // required uint32 id = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Slot::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Slot::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Slot::GetClassData() const { return &_class_data_; } - - -void Slot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.shuffler_fuzzer.Slot) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.kind_ = from._impl_.kind_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.id_ = from._impl_.id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Slot::CopyFrom(const Slot& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.shuffler_fuzzer.Slot) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Slot::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void Slot::InternalSwap(Slot* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Slot, _impl_.id_) - + sizeof(Slot::_impl_.id_) - - PROTOBUF_FIELD_OFFSET(Slot, _impl_.kind_)>( - reinterpret_cast(&_impl_.kind_), - reinterpret_cast(&other->_impl_.kind_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Slot::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_shufflerProto_2eproto_getter, &descriptor_table_shufflerProto_2eproto_once, - file_level_metadata_shufflerProto_2eproto[0]); -} - -// =================================================================== - -class ShuffleInput::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_extra_tail_padding(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -ShuffleInput::ShuffleInput(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.shuffler_fuzzer.ShuffleInput) -} -ShuffleInput::ShuffleInput(const ShuffleInput& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ShuffleInput* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.initial_){from._impl_.initial_} - , decltype(_impl_.target_top_){from._impl_.target_top_} - , decltype(_impl_.tail_set_){from._impl_.tail_set_} - , decltype(_impl_.extra_tail_padding_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.extra_tail_padding_ = from._impl_.extra_tail_padding_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.shuffler_fuzzer.ShuffleInput) -} - -inline void ShuffleInput::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.initial_){arena} - , decltype(_impl_.target_top_){arena} - , decltype(_impl_.tail_set_){arena} - , decltype(_impl_.extra_tail_padding_){0u} - }; -} - -ShuffleInput::~ShuffleInput() { - // @@protoc_insertion_point(destructor:solidity.yul.test.shuffler_fuzzer.ShuffleInput) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ShuffleInput::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.initial_.~RepeatedPtrField(); - _impl_.target_top_.~RepeatedPtrField(); - _impl_.tail_set_.~RepeatedPtrField(); -} - -void ShuffleInput::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ShuffleInput::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.shuffler_fuzzer.ShuffleInput) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.initial_.Clear(); - _impl_.target_top_.Clear(); - _impl_.tail_set_.Clear(); - _impl_.extra_tail_padding_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ShuffleInput::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.yul.test.shuffler_fuzzer.Slot initial = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_initial(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .solidity.yul.test.shuffler_fuzzer.Slot target_top = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_target_top(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .solidity.yul.test.shuffler_fuzzer.Slot tail_set = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_tail_set(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // required uint32 extra_tail_padding = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_extra_tail_padding(&has_bits); - _impl_.extra_tail_padding_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ShuffleInput::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.shuffler_fuzzer.ShuffleInput) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.yul.test.shuffler_fuzzer.Slot initial = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_initial_size()); i < n; i++) { - const auto& repfield = this->_internal_initial(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .solidity.yul.test.shuffler_fuzzer.Slot target_top = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_target_top_size()); i < n; i++) { - const auto& repfield = this->_internal_target_top(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .solidity.yul.test.shuffler_fuzzer.Slot tail_set = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_tail_set_size()); i < n; i++) { - const auto& repfield = this->_internal_tail_set(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 extra_tail_padding = 4; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_extra_tail_padding(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.shuffler_fuzzer.ShuffleInput) - return target; -} - -size_t ShuffleInput::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.shuffler_fuzzer.ShuffleInput) - size_t total_size = 0; - - // required uint32 extra_tail_padding = 4; - if (_internal_has_extra_tail_padding()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_extra_tail_padding()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.yul.test.shuffler_fuzzer.Slot initial = 1; - total_size += 1UL * this->_internal_initial_size(); - for (const auto& msg : this->_impl_.initial_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.yul.test.shuffler_fuzzer.Slot target_top = 2; - total_size += 1UL * this->_internal_target_top_size(); - for (const auto& msg : this->_impl_.target_top_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.yul.test.shuffler_fuzzer.Slot tail_set = 3; - total_size += 1UL * this->_internal_tail_set_size(); - for (const auto& msg : this->_impl_.tail_set_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ShuffleInput::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ShuffleInput::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ShuffleInput::GetClassData() const { return &_class_data_; } - - -void ShuffleInput::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.shuffler_fuzzer.ShuffleInput) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.initial_.MergeFrom(from._impl_.initial_); - _this->_impl_.target_top_.MergeFrom(from._impl_.target_top_); - _this->_impl_.tail_set_.MergeFrom(from._impl_.tail_set_); - if (from._internal_has_extra_tail_padding()) { - _this->_internal_set_extra_tail_padding(from._internal_extra_tail_padding()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ShuffleInput::CopyFrom(const ShuffleInput& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.shuffler_fuzzer.ShuffleInput) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ShuffleInput::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.initial_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.target_top_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.tail_set_)) - return false; - return true; -} - -void ShuffleInput::InternalSwap(ShuffleInput* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.initial_.InternalSwap(&other->_impl_.initial_); - _impl_.target_top_.InternalSwap(&other->_impl_.target_top_); - _impl_.tail_set_.InternalSwap(&other->_impl_.tail_set_); - swap(_impl_.extra_tail_padding_, other->_impl_.extra_tail_padding_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ShuffleInput::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_shufflerProto_2eproto_getter, &descriptor_table_shufflerProto_2eproto_once, - file_level_metadata_shufflerProto_2eproto[1]); -} - -// @@protoc_insertion_point(namespace_scope) -} // namespace shuffler_fuzzer -} // namespace test -} // namespace yul -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::solidity::yul::test::shuffler_fuzzer::Slot* -Arena::CreateMaybeMessage< ::solidity::yul::test::shuffler_fuzzer::Slot >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::shuffler_fuzzer::Slot >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::shuffler_fuzzer::ShuffleInput* -Arena::CreateMaybeMessage< ::solidity::yul::test::shuffler_fuzzer::ShuffleInput >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::shuffler_fuzzer::ShuffleInput >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/tools/ossfuzz/shufflerProto.pb.h b/tools/ossfuzz/shufflerProto.pb.h deleted file mode 100644 index 0d63ea3..0000000 --- a/tools/ossfuzz/shufflerProto.pb.h +++ /dev/null @@ -1,774 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: shufflerProto.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_shufflerProto_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_shufflerProto_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021007 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_shufflerProto_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_shufflerProto_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_shufflerProto_2eproto; -namespace solidity { -namespace yul { -namespace test { -namespace shuffler_fuzzer { -class ShuffleInput; -struct ShuffleInputDefaultTypeInternal; -extern ShuffleInputDefaultTypeInternal _ShuffleInput_default_instance_; -class Slot; -struct SlotDefaultTypeInternal; -extern SlotDefaultTypeInternal _Slot_default_instance_; -} // namespace shuffler_fuzzer -} // namespace test -} // namespace yul -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> ::solidity::yul::test::shuffler_fuzzer::ShuffleInput* Arena::CreateMaybeMessage<::solidity::yul::test::shuffler_fuzzer::ShuffleInput>(Arena*); -template<> ::solidity::yul::test::shuffler_fuzzer::Slot* Arena::CreateMaybeMessage<::solidity::yul::test::shuffler_fuzzer::Slot>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace solidity { -namespace yul { -namespace test { -namespace shuffler_fuzzer { - -enum Slot_Kind : int { - Slot_Kind_V = 0, - Slot_Kind_PHI = 1, - Slot_Kind_LIT = 2, - Slot_Kind_JUNK = 3 -}; -bool Slot_Kind_IsValid(int value); -constexpr Slot_Kind Slot_Kind_Kind_MIN = Slot_Kind_V; -constexpr Slot_Kind Slot_Kind_Kind_MAX = Slot_Kind_JUNK; -constexpr int Slot_Kind_Kind_ARRAYSIZE = Slot_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Slot_Kind_descriptor(); -template -inline const std::string& Slot_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Slot_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Slot_Kind_descriptor(), enum_t_value); -} -inline bool Slot_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Slot_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - Slot_Kind_descriptor(), name, value); -} -// =================================================================== - -class Slot final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.shuffler_fuzzer.Slot) */ { - public: - inline Slot() : Slot(nullptr) {} - ~Slot() override; - explicit PROTOBUF_CONSTEXPR Slot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Slot(const Slot& from); - Slot(Slot&& from) noexcept - : Slot() { - *this = ::std::move(from); - } - - inline Slot& operator=(const Slot& from) { - CopyFrom(from); - return *this; - } - inline Slot& operator=(Slot&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Slot& default_instance() { - return *internal_default_instance(); - } - static inline const Slot* internal_default_instance() { - return reinterpret_cast( - &_Slot_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(Slot& a, Slot& b) { - a.Swap(&b); - } - inline void Swap(Slot* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Slot* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Slot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Slot& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Slot& from) { - Slot::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Slot* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.shuffler_fuzzer.Slot"; - } - protected: - explicit Slot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef Slot_Kind Kind; - static constexpr Kind V = - Slot_Kind_V; - static constexpr Kind PHI = - Slot_Kind_PHI; - static constexpr Kind LIT = - Slot_Kind_LIT; - static constexpr Kind JUNK = - Slot_Kind_JUNK; - static inline bool Kind_IsValid(int value) { - return Slot_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - Slot_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - Slot_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - Slot_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return Slot_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return Slot_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return Slot_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kKindFieldNumber = 1, - kIdFieldNumber = 2, - }; - // required .solidity.yul.test.shuffler_fuzzer.Slot.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::yul::test::shuffler_fuzzer::Slot_Kind kind() const; - void set_kind(::solidity::yul::test::shuffler_fuzzer::Slot_Kind value); - private: - ::solidity::yul::test::shuffler_fuzzer::Slot_Kind _internal_kind() const; - void _internal_set_kind(::solidity::yul::test::shuffler_fuzzer::Slot_Kind value); - public: - - // required uint32 id = 2; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint32_t id() const; - void set_id(uint32_t value); - private: - uint32_t _internal_id() const; - void _internal_set_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.shuffler_fuzzer.Slot) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int kind_; - uint32_t id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_shufflerProto_2eproto; -}; -// ------------------------------------------------------------------- - -class ShuffleInput final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.shuffler_fuzzer.ShuffleInput) */ { - public: - inline ShuffleInput() : ShuffleInput(nullptr) {} - ~ShuffleInput() override; - explicit PROTOBUF_CONSTEXPR ShuffleInput(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ShuffleInput(const ShuffleInput& from); - ShuffleInput(ShuffleInput&& from) noexcept - : ShuffleInput() { - *this = ::std::move(from); - } - - inline ShuffleInput& operator=(const ShuffleInput& from) { - CopyFrom(from); - return *this; - } - inline ShuffleInput& operator=(ShuffleInput&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ShuffleInput& default_instance() { - return *internal_default_instance(); - } - static inline const ShuffleInput* internal_default_instance() { - return reinterpret_cast( - &_ShuffleInput_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(ShuffleInput& a, ShuffleInput& b) { - a.Swap(&b); - } - inline void Swap(ShuffleInput* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ShuffleInput* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ShuffleInput* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ShuffleInput& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ShuffleInput& from) { - ShuffleInput::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ShuffleInput* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.shuffler_fuzzer.ShuffleInput"; - } - protected: - explicit ShuffleInput(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInitialFieldNumber = 1, - kTargetTopFieldNumber = 2, - kTailSetFieldNumber = 3, - kExtraTailPaddingFieldNumber = 4, - }; - // repeated .solidity.yul.test.shuffler_fuzzer.Slot initial = 1; - int initial_size() const; - private: - int _internal_initial_size() const; - public: - void clear_initial(); - ::solidity::yul::test::shuffler_fuzzer::Slot* mutable_initial(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >* - mutable_initial(); - private: - const ::solidity::yul::test::shuffler_fuzzer::Slot& _internal_initial(int index) const; - ::solidity::yul::test::shuffler_fuzzer::Slot* _internal_add_initial(); - public: - const ::solidity::yul::test::shuffler_fuzzer::Slot& initial(int index) const; - ::solidity::yul::test::shuffler_fuzzer::Slot* add_initial(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >& - initial() const; - - // repeated .solidity.yul.test.shuffler_fuzzer.Slot target_top = 2; - int target_top_size() const; - private: - int _internal_target_top_size() const; - public: - void clear_target_top(); - ::solidity::yul::test::shuffler_fuzzer::Slot* mutable_target_top(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >* - mutable_target_top(); - private: - const ::solidity::yul::test::shuffler_fuzzer::Slot& _internal_target_top(int index) const; - ::solidity::yul::test::shuffler_fuzzer::Slot* _internal_add_target_top(); - public: - const ::solidity::yul::test::shuffler_fuzzer::Slot& target_top(int index) const; - ::solidity::yul::test::shuffler_fuzzer::Slot* add_target_top(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >& - target_top() const; - - // repeated .solidity.yul.test.shuffler_fuzzer.Slot tail_set = 3; - int tail_set_size() const; - private: - int _internal_tail_set_size() const; - public: - void clear_tail_set(); - ::solidity::yul::test::shuffler_fuzzer::Slot* mutable_tail_set(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >* - mutable_tail_set(); - private: - const ::solidity::yul::test::shuffler_fuzzer::Slot& _internal_tail_set(int index) const; - ::solidity::yul::test::shuffler_fuzzer::Slot* _internal_add_tail_set(); - public: - const ::solidity::yul::test::shuffler_fuzzer::Slot& tail_set(int index) const; - ::solidity::yul::test::shuffler_fuzzer::Slot* add_tail_set(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >& - tail_set() const; - - // required uint32 extra_tail_padding = 4; - bool has_extra_tail_padding() const; - private: - bool _internal_has_extra_tail_padding() const; - public: - void clear_extra_tail_padding(); - uint32_t extra_tail_padding() const; - void set_extra_tail_padding(uint32_t value); - private: - uint32_t _internal_extra_tail_padding() const; - void _internal_set_extra_tail_padding(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.shuffler_fuzzer.ShuffleInput) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot > initial_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot > target_top_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot > tail_set_; - uint32_t extra_tail_padding_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_shufflerProto_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Slot - -// required .solidity.yul.test.shuffler_fuzzer.Slot.Kind kind = 1; -inline bool Slot::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool Slot::has_kind() const { - return _internal_has_kind(); -} -inline void Slot::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot_Kind Slot::_internal_kind() const { - return static_cast< ::solidity::yul::test::shuffler_fuzzer::Slot_Kind >(_impl_.kind_); -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot_Kind Slot::kind() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.shuffler_fuzzer.Slot.kind) - return _internal_kind(); -} -inline void Slot::_internal_set_kind(::solidity::yul::test::shuffler_fuzzer::Slot_Kind value) { - assert(::solidity::yul::test::shuffler_fuzzer::Slot_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.kind_ = value; -} -inline void Slot::set_kind(::solidity::yul::test::shuffler_fuzzer::Slot_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.shuffler_fuzzer.Slot.kind) -} - -// required uint32 id = 2; -inline bool Slot::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool Slot::has_id() const { - return _internal_has_id(); -} -inline void Slot::clear_id() { - _impl_.id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t Slot::_internal_id() const { - return _impl_.id_; -} -inline uint32_t Slot::id() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.shuffler_fuzzer.Slot.id) - return _internal_id(); -} -inline void Slot::_internal_set_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.id_ = value; -} -inline void Slot::set_id(uint32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.shuffler_fuzzer.Slot.id) -} - -// ------------------------------------------------------------------- - -// ShuffleInput - -// repeated .solidity.yul.test.shuffler_fuzzer.Slot initial = 1; -inline int ShuffleInput::_internal_initial_size() const { - return _impl_.initial_.size(); -} -inline int ShuffleInput::initial_size() const { - return _internal_initial_size(); -} -inline void ShuffleInput::clear_initial() { - _impl_.initial_.Clear(); -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot* ShuffleInput::mutable_initial(int index) { - // @@protoc_insertion_point(field_mutable:solidity.yul.test.shuffler_fuzzer.ShuffleInput.initial) - return _impl_.initial_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >* -ShuffleInput::mutable_initial() { - // @@protoc_insertion_point(field_mutable_list:solidity.yul.test.shuffler_fuzzer.ShuffleInput.initial) - return &_impl_.initial_; -} -inline const ::solidity::yul::test::shuffler_fuzzer::Slot& ShuffleInput::_internal_initial(int index) const { - return _impl_.initial_.Get(index); -} -inline const ::solidity::yul::test::shuffler_fuzzer::Slot& ShuffleInput::initial(int index) const { - // @@protoc_insertion_point(field_get:solidity.yul.test.shuffler_fuzzer.ShuffleInput.initial) - return _internal_initial(index); -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot* ShuffleInput::_internal_add_initial() { - return _impl_.initial_.Add(); -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot* ShuffleInput::add_initial() { - ::solidity::yul::test::shuffler_fuzzer::Slot* _add = _internal_add_initial(); - // @@protoc_insertion_point(field_add:solidity.yul.test.shuffler_fuzzer.ShuffleInput.initial) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >& -ShuffleInput::initial() const { - // @@protoc_insertion_point(field_list:solidity.yul.test.shuffler_fuzzer.ShuffleInput.initial) - return _impl_.initial_; -} - -// repeated .solidity.yul.test.shuffler_fuzzer.Slot target_top = 2; -inline int ShuffleInput::_internal_target_top_size() const { - return _impl_.target_top_.size(); -} -inline int ShuffleInput::target_top_size() const { - return _internal_target_top_size(); -} -inline void ShuffleInput::clear_target_top() { - _impl_.target_top_.Clear(); -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot* ShuffleInput::mutable_target_top(int index) { - // @@protoc_insertion_point(field_mutable:solidity.yul.test.shuffler_fuzzer.ShuffleInput.target_top) - return _impl_.target_top_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >* -ShuffleInput::mutable_target_top() { - // @@protoc_insertion_point(field_mutable_list:solidity.yul.test.shuffler_fuzzer.ShuffleInput.target_top) - return &_impl_.target_top_; -} -inline const ::solidity::yul::test::shuffler_fuzzer::Slot& ShuffleInput::_internal_target_top(int index) const { - return _impl_.target_top_.Get(index); -} -inline const ::solidity::yul::test::shuffler_fuzzer::Slot& ShuffleInput::target_top(int index) const { - // @@protoc_insertion_point(field_get:solidity.yul.test.shuffler_fuzzer.ShuffleInput.target_top) - return _internal_target_top(index); -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot* ShuffleInput::_internal_add_target_top() { - return _impl_.target_top_.Add(); -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot* ShuffleInput::add_target_top() { - ::solidity::yul::test::shuffler_fuzzer::Slot* _add = _internal_add_target_top(); - // @@protoc_insertion_point(field_add:solidity.yul.test.shuffler_fuzzer.ShuffleInput.target_top) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >& -ShuffleInput::target_top() const { - // @@protoc_insertion_point(field_list:solidity.yul.test.shuffler_fuzzer.ShuffleInput.target_top) - return _impl_.target_top_; -} - -// repeated .solidity.yul.test.shuffler_fuzzer.Slot tail_set = 3; -inline int ShuffleInput::_internal_tail_set_size() const { - return _impl_.tail_set_.size(); -} -inline int ShuffleInput::tail_set_size() const { - return _internal_tail_set_size(); -} -inline void ShuffleInput::clear_tail_set() { - _impl_.tail_set_.Clear(); -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot* ShuffleInput::mutable_tail_set(int index) { - // @@protoc_insertion_point(field_mutable:solidity.yul.test.shuffler_fuzzer.ShuffleInput.tail_set) - return _impl_.tail_set_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >* -ShuffleInput::mutable_tail_set() { - // @@protoc_insertion_point(field_mutable_list:solidity.yul.test.shuffler_fuzzer.ShuffleInput.tail_set) - return &_impl_.tail_set_; -} -inline const ::solidity::yul::test::shuffler_fuzzer::Slot& ShuffleInput::_internal_tail_set(int index) const { - return _impl_.tail_set_.Get(index); -} -inline const ::solidity::yul::test::shuffler_fuzzer::Slot& ShuffleInput::tail_set(int index) const { - // @@protoc_insertion_point(field_get:solidity.yul.test.shuffler_fuzzer.ShuffleInput.tail_set) - return _internal_tail_set(index); -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot* ShuffleInput::_internal_add_tail_set() { - return _impl_.tail_set_.Add(); -} -inline ::solidity::yul::test::shuffler_fuzzer::Slot* ShuffleInput::add_tail_set() { - ::solidity::yul::test::shuffler_fuzzer::Slot* _add = _internal_add_tail_set(); - // @@protoc_insertion_point(field_add:solidity.yul.test.shuffler_fuzzer.ShuffleInput.tail_set) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::shuffler_fuzzer::Slot >& -ShuffleInput::tail_set() const { - // @@protoc_insertion_point(field_list:solidity.yul.test.shuffler_fuzzer.ShuffleInput.tail_set) - return _impl_.tail_set_; -} - -// required uint32 extra_tail_padding = 4; -inline bool ShuffleInput::_internal_has_extra_tail_padding() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ShuffleInput::has_extra_tail_padding() const { - return _internal_has_extra_tail_padding(); -} -inline void ShuffleInput::clear_extra_tail_padding() { - _impl_.extra_tail_padding_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t ShuffleInput::_internal_extra_tail_padding() const { - return _impl_.extra_tail_padding_; -} -inline uint32_t ShuffleInput::extra_tail_padding() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.shuffler_fuzzer.ShuffleInput.extra_tail_padding) - return _internal_extra_tail_padding(); -} -inline void ShuffleInput::_internal_set_extra_tail_padding(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.extra_tail_padding_ = value; -} -inline void ShuffleInput::set_extra_tail_padding(uint32_t value) { - _internal_set_extra_tail_padding(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.shuffler_fuzzer.ShuffleInput.extra_tail_padding) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace shuffler_fuzzer -} // namespace test -} // namespace yul -} // namespace solidity - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::solidity::yul::test::shuffler_fuzzer::Slot_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::shuffler_fuzzer::Slot_Kind>() { - return ::solidity::yul::test::shuffler_fuzzer::Slot_Kind_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_shufflerProto_2eproto diff --git a/tools/ossfuzz/sol2Proto.pb.cc b/tools/ossfuzz/sol2Proto.pb.cc deleted file mode 100644 index 9634e78..0000000 --- a/tools/ossfuzz/sol2Proto.pb.cc +++ /dev/null @@ -1,31260 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: sol2Proto.proto - -#include "sol2Proto.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -namespace solidity { -namespace test { -namespace sol2protofuzzer { -PROTOBUF_CONSTEXPR IntegerType::IntegerType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.width_)*/0 - , /*decltype(_impl_.is_signed_)*/false} {} -struct IntegerTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR IntegerTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IntegerTypeDefaultTypeInternal() {} - union { - IntegerType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntegerTypeDefaultTypeInternal _IntegerType_default_instance_; -PROTOBUF_CONSTEXPR FixedBytesType::FixedBytesType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.width_)*/0} {} -struct FixedBytesTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR FixedBytesTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~FixedBytesTypeDefaultTypeInternal() {} - union { - FixedBytesType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FixedBytesTypeDefaultTypeInternal _FixedBytesType_default_instance_; -PROTOBUF_CONSTEXPR BoolType::BoolType( - ::_pbi::ConstantInitialized) {} -struct BoolTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR BoolTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BoolTypeDefaultTypeInternal() {} - union { - BoolType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoolTypeDefaultTypeInternal _BoolType_default_instance_; -PROTOBUF_CONSTEXPR ElementaryType::ElementaryType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.type_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct ElementaryTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR ElementaryTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ElementaryTypeDefaultTypeInternal() {} - union { - ElementaryType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ElementaryTypeDefaultTypeInternal _ElementaryType_default_instance_; -PROTOBUF_CONSTEXPR ArrayType::ArrayType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.base_)*/nullptr - , /*decltype(_impl_.size_expr_)*/nullptr - , /*decltype(_impl_.length_)*/0u} {} -struct ArrayTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArrayTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ArrayTypeDefaultTypeInternal() {} - union { - ArrayType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrayTypeDefaultTypeInternal _ArrayType_default_instance_; -PROTOBUF_CONSTEXPR ArraySizeExpr::ArraySizeExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.kind_)*/0} {} -struct ArraySizeExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArraySizeExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ArraySizeExprDefaultTypeInternal() {} - union { - ArraySizeExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArraySizeExprDefaultTypeInternal _ArraySizeExpr_default_instance_; -PROTOBUF_CONSTEXPR MappingType::MappingType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.key_)*/nullptr - , /*decltype(_impl_.value_)*/nullptr} {} -struct MappingTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR MappingTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MappingTypeDefaultTypeInternal() {} - union { - MappingType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MappingTypeDefaultTypeInternal _MappingType_default_instance_; -PROTOBUF_CONSTEXPR TypeName::TypeName( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.type_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct TypeNameDefaultTypeInternal { - PROTOBUF_CONSTEXPR TypeNameDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TypeNameDefaultTypeInternal() {} - union { - TypeName _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TypeNameDefaultTypeInternal _TypeName_default_instance_; -PROTOBUF_CONSTEXPR BoolLiteral::BoolLiteral( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.val_)*/false} {} -struct BoolLiteralDefaultTypeInternal { - PROTOBUF_CONSTEXPR BoolLiteralDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BoolLiteralDefaultTypeInternal() {} - union { - BoolLiteral _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoolLiteralDefaultTypeInternal _BoolLiteral_default_instance_; -PROTOBUF_CONSTEXPR IntegerLiteral::IntegerLiteral( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.val_)*/uint64_t{0u} - , /*decltype(_impl_.negative_)*/false - , /*decltype(_impl_.ether_unit_)*/0} {} -struct IntegerLiteralDefaultTypeInternal { - PROTOBUF_CONSTEXPR IntegerLiteralDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IntegerLiteralDefaultTypeInternal() {} - union { - IntegerLiteral _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntegerLiteralDefaultTypeInternal _IntegerLiteral_default_instance_; -PROTOBUF_CONSTEXPR StringLiteral::StringLiteral( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.seed_)*/0u} {} -struct StringLiteralDefaultTypeInternal { - PROTOBUF_CONSTEXPR StringLiteralDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StringLiteralDefaultTypeInternal() {} - union { - StringLiteral _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StringLiteralDefaultTypeInternal _StringLiteral_default_instance_; -PROTOBUF_CONSTEXPR AddressLiteral::AddressLiteral( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.val_)*/uint64_t{0u}} {} -struct AddressLiteralDefaultTypeInternal { - PROTOBUF_CONSTEXPR AddressLiteralDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~AddressLiteralDefaultTypeInternal() {} - union { - AddressLiteral _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AddressLiteralDefaultTypeInternal _AddressLiteral_default_instance_; -PROTOBUF_CONSTEXPR Literal::Literal( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.lit_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct LiteralDefaultTypeInternal { - PROTOBUF_CONSTEXPR LiteralDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~LiteralDefaultTypeInternal() {} - union { - Literal _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LiteralDefaultTypeInternal _Literal_default_instance_; -PROTOBUF_CONSTEXPR VarRef::VarRef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.index_)*/0u} {} -struct VarRefDefaultTypeInternal { - PROTOBUF_CONSTEXPR VarRefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~VarRefDefaultTypeInternal() {} - union { - VarRef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VarRefDefaultTypeInternal _VarRef_default_instance_; -PROTOBUF_CONSTEXPR BinaryOp::BinaryOp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.left_)*/nullptr - , /*decltype(_impl_.right_)*/nullptr - , /*decltype(_impl_.op_)*/0} {} -struct BinaryOpDefaultTypeInternal { - PROTOBUF_CONSTEXPR BinaryOpDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BinaryOpDefaultTypeInternal() {} - union { - BinaryOp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinaryOpDefaultTypeInternal _BinaryOp_default_instance_; -PROTOBUF_CONSTEXPR UnaryOp::UnaryOp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.operand_)*/nullptr - , /*decltype(_impl_.op_)*/0} {} -struct UnaryOpDefaultTypeInternal { - PROTOBUF_CONSTEXPR UnaryOpDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~UnaryOpDefaultTypeInternal() {} - union { - UnaryOp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnaryOpDefaultTypeInternal _UnaryOp_default_instance_; -PROTOBUF_CONSTEXPR TernaryOp::TernaryOp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cond_)*/nullptr - , /*decltype(_impl_.true_val_)*/nullptr - , /*decltype(_impl_.false_val_)*/nullptr} {} -struct TernaryOpDefaultTypeInternal { - PROTOBUF_CONSTEXPR TernaryOpDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TernaryOpDefaultTypeInternal() {} - union { - TernaryOp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TernaryOpDefaultTypeInternal _TernaryOp_default_instance_; -PROTOBUF_CONSTEXPR FuncCallExpr::FuncCallExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.func_id_)*/0u - , /*decltype(_impl_.use_named_args_)*/false} {} -struct FuncCallExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR FuncCallExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~FuncCallExprDefaultTypeInternal() {} - union { - FuncCallExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FuncCallExprDefaultTypeInternal _FuncCallExpr_default_instance_; -PROTOBUF_CONSTEXPR IndexAccessExpr::IndexAccessExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.base_)*/nullptr - , /*decltype(_impl_.index_)*/nullptr} {} -struct IndexAccessExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR IndexAccessExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IndexAccessExprDefaultTypeInternal() {} - union { - IndexAccessExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndexAccessExprDefaultTypeInternal _IndexAccessExpr_default_instance_; -PROTOBUF_CONSTEXPR TypeConvExpr::TypeConvExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.to_type_)*/nullptr - , /*decltype(_impl_.arg_)*/nullptr} {} -struct TypeConvExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR TypeConvExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TypeConvExprDefaultTypeInternal() {} - union { - TypeConvExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TypeConvExprDefaultTypeInternal _TypeConvExpr_default_instance_; -PROTOBUF_CONSTEXPR MsgExpr::MsgExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.field_)*/0} {} -struct MsgExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR MsgExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MsgExprDefaultTypeInternal() {} - union { - MsgExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MsgExprDefaultTypeInternal _MsgExpr_default_instance_; -PROTOBUF_CONSTEXPR BlockExpr::BlockExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.field_)*/0} {} -struct BlockExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR BlockExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BlockExprDefaultTypeInternal() {} - union { - BlockExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlockExprDefaultTypeInternal _BlockExpr_default_instance_; -PROTOBUF_CONSTEXPR TxExpr::TxExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.field_)*/0} {} -struct TxExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR TxExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TxExprDefaultTypeInternal() {} - union { - TxExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TxExprDefaultTypeInternal _TxExpr_default_instance_; -PROTOBUF_CONSTEXPR AbiEncodeExpr::AbiEncodeExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.kind_)*/0} {} -struct AbiEncodeExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR AbiEncodeExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~AbiEncodeExprDefaultTypeInternal() {} - union { - AbiEncodeExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AbiEncodeExprDefaultTypeInternal _AbiEncodeExpr_default_instance_; -PROTOBUF_CONSTEXPR AbiDecodeExpr::AbiDecodeExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.value_)*/nullptr} {} -struct AbiDecodeExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR AbiDecodeExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~AbiDecodeExprDefaultTypeInternal() {} - union { - AbiDecodeExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AbiDecodeExprDefaultTypeInternal _AbiDecodeExpr_default_instance_; -PROTOBUF_CONSTEXPR AbiEncodeCallExpr::AbiEncodeCallExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.func_id_)*/0u} {} -struct AbiEncodeCallExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR AbiEncodeCallExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~AbiEncodeCallExprDefaultTypeInternal() {} - union { - AbiEncodeCallExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AbiEncodeCallExprDefaultTypeInternal _AbiEncodeCallExpr_default_instance_; -PROTOBUF_CONSTEXPR HashExpr::HashExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.arg_)*/nullptr - , /*decltype(_impl_.kind_)*/0} {} -struct HashExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR HashExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~HashExprDefaultTypeInternal() {} - union { - HashExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HashExprDefaultTypeInternal _HashExpr_default_instance_; -PROTOBUF_CONSTEXPR MathExpr::MathExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.x_)*/nullptr - , /*decltype(_impl_.y_)*/nullptr - , /*decltype(_impl_.mod_)*/nullptr - , /*decltype(_impl_.kind_)*/0} {} -struct MathExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR MathExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MathExprDefaultTypeInternal() {} - union { - MathExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MathExprDefaultTypeInternal _MathExpr_default_instance_; -PROTOBUF_CONSTEXPR BuiltinExpr::BuiltinExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.arg_)*/nullptr - , /*decltype(_impl_.kind_)*/0} {} -struct BuiltinExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR BuiltinExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BuiltinExprDefaultTypeInternal() {} - union { - BuiltinExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BuiltinExprDefaultTypeInternal _BuiltinExpr_default_instance_; -PROTOBUF_CONSTEXPR EcrecoverExpr::EcrecoverExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.hash_)*/nullptr - , /*decltype(_impl_.v_)*/nullptr - , /*decltype(_impl_.r_)*/nullptr - , /*decltype(_impl_.s_)*/nullptr} {} -struct EcrecoverExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR EcrecoverExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~EcrecoverExprDefaultTypeInternal() {} - union { - EcrecoverExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EcrecoverExprDefaultTypeInternal _EcrecoverExpr_default_instance_; -PROTOBUF_CONSTEXPR TypeInfoExpr::TypeInfoExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.int_type_)*/nullptr - , /*decltype(_impl_.kind_)*/0} {} -struct TypeInfoExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR TypeInfoExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TypeInfoExprDefaultTypeInternal() {} - union { - TypeInfoExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TypeInfoExprDefaultTypeInternal _TypeInfoExpr_default_instance_; -PROTOBUF_CONSTEXPR AssignExpr::AssignExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.lhs_)*/nullptr - , /*decltype(_impl_.rhs_)*/nullptr - , /*decltype(_impl_.op_)*/0} {} -struct AssignExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR AssignExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~AssignExprDefaultTypeInternal() {} - union { - AssignExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignExprDefaultTypeInternal _AssignExpr_default_instance_; -PROTOBUF_CONSTEXPR StructMemberAccess::StructMemberAccess( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.struct_var_)*/nullptr - , /*decltype(_impl_.field_idx_)*/0u} {} -struct StructMemberAccessDefaultTypeInternal { - PROTOBUF_CONSTEXPR StructMemberAccessDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StructMemberAccessDefaultTypeInternal() {} - union { - StructMemberAccess _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructMemberAccessDefaultTypeInternal _StructMemberAccess_default_instance_; -PROTOBUF_CONSTEXPR EnumLiteral::EnumLiteral( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.enum_idx_)*/0u - , /*decltype(_impl_.member_idx_)*/0u} {} -struct EnumLiteralDefaultTypeInternal { - PROTOBUF_CONSTEXPR EnumLiteralDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~EnumLiteralDefaultTypeInternal() {} - union { - EnumLiteral _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumLiteralDefaultTypeInternal _EnumLiteral_default_instance_; -PROTOBUF_CONSTEXPR SuperCallExpr::SuperCallExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.func_idx_)*/0u} {} -struct SuperCallExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR SuperCallExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~SuperCallExprDefaultTypeInternal() {} - union { - SuperCallExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SuperCallExprDefaultTypeInternal _SuperCallExpr_default_instance_; -PROTOBUF_CONSTEXPR LibMemberCallExpr::LibMemberCallExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.receiver_)*/nullptr - , /*decltype(_impl_.func_idx_)*/0u} {} -struct LibMemberCallExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR LibMemberCallExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~LibMemberCallExprDefaultTypeInternal() {} - union { - LibMemberCallExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LibMemberCallExprDefaultTypeInternal _LibMemberCallExpr_default_instance_; -PROTOBUF_CONSTEXPR ConcatExpr::ConcatExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.kind_)*/0 - , /*decltype(_impl_.use_named_args_)*/false} {} -struct ConcatExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR ConcatExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ConcatExprDefaultTypeInternal() {} - union { - ConcatExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConcatExprDefaultTypeInternal _ConcatExpr_default_instance_; -PROTOBUF_CONSTEXPR SelectorExpr::SelectorExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.func_idx_)*/0u} {} -struct SelectorExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR SelectorExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~SelectorExprDefaultTypeInternal() {} - union { - SelectorExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelectorExprDefaultTypeInternal _SelectorExpr_default_instance_; -PROTOBUF_CONSTEXPR Expression::Expression( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.expr_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct ExpressionDefaultTypeInternal { - PROTOBUF_CONSTEXPR ExpressionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ExpressionDefaultTypeInternal() {} - union { - Expression _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpressionDefaultTypeInternal _Expression_default_instance_; -PROTOBUF_CONSTEXPR UdvtExpr::UdvtExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.inner_)*/nullptr - , /*decltype(_impl_.wrap_only_)*/false} {} -struct UdvtExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR UdvtExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~UdvtExprDefaultTypeInternal() {} - union { - UdvtExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UdvtExprDefaultTypeInternal _UdvtExpr_default_instance_; -PROTOBUF_CONSTEXPR ArrayLiteralExpr::ArrayLiteralExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.elems_)*/{} - , /*decltype(_impl_.kind_)*/0 - , /*decltype(_impl_.index_)*/0u} {} -struct ArrayLiteralExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArrayLiteralExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ArrayLiteralExprDefaultTypeInternal() {} - union { - ArrayLiteralExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrayLiteralExprDefaultTypeInternal _ArrayLiteralExpr_default_instance_; -PROTOBUF_CONSTEXPR VarDeclStmt::VarDeclStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.init_)*/nullptr} {} -struct VarDeclStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR VarDeclStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~VarDeclStmtDefaultTypeInternal() {} - union { - VarDeclStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VarDeclStmtDefaultTypeInternal _VarDeclStmt_default_instance_; -PROTOBUF_CONSTEXPR ExprStmt::ExprStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.expr_)*/nullptr} {} -struct ExprStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR ExprStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ExprStmtDefaultTypeInternal() {} - union { - ExprStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExprStmtDefaultTypeInternal _ExprStmt_default_instance_; -PROTOBUF_CONSTEXPR IfStmt::IfStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cond_)*/nullptr - , /*decltype(_impl_.if_body_)*/nullptr - , /*decltype(_impl_.else_body_)*/nullptr} {} -struct IfStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR IfStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IfStmtDefaultTypeInternal() {} - union { - IfStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IfStmtDefaultTypeInternal _IfStmt_default_instance_; -PROTOBUF_CONSTEXPR ForStmt::ForStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.body_)*/nullptr} {} -struct ForStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR ForStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ForStmtDefaultTypeInternal() {} - union { - ForStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ForStmtDefaultTypeInternal _ForStmt_default_instance_; -PROTOBUF_CONSTEXPR WhileStmt::WhileStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cond_)*/nullptr - , /*decltype(_impl_.body_)*/nullptr} {} -struct WhileStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR WhileStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~WhileStmtDefaultTypeInternal() {} - union { - WhileStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WhileStmtDefaultTypeInternal _WhileStmt_default_instance_; -PROTOBUF_CONSTEXPR DoWhileStmt::DoWhileStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cond_)*/nullptr - , /*decltype(_impl_.body_)*/nullptr} {} -struct DoWhileStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR DoWhileStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~DoWhileStmtDefaultTypeInternal() {} - union { - DoWhileStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoWhileStmtDefaultTypeInternal _DoWhileStmt_default_instance_; -PROTOBUF_CONSTEXPR ReturnStmt::ReturnStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.val_)*/nullptr} {} -struct ReturnStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR ReturnStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ReturnStmtDefaultTypeInternal() {} - union { - ReturnStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReturnStmtDefaultTypeInternal _ReturnStmt_default_instance_; -PROTOBUF_CONSTEXPR BreakStmt::BreakStmt( - ::_pbi::ConstantInitialized) {} -struct BreakStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR BreakStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BreakStmtDefaultTypeInternal() {} - union { - BreakStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BreakStmtDefaultTypeInternal _BreakStmt_default_instance_; -PROTOBUF_CONSTEXPR ContinueStmt::ContinueStmt( - ::_pbi::ConstantInitialized) {} -struct ContinueStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR ContinueStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ContinueStmtDefaultTypeInternal() {} - union { - ContinueStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContinueStmtDefaultTypeInternal _ContinueStmt_default_instance_; -PROTOBUF_CONSTEXPR RequireStmt::RequireStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cond_)*/nullptr - , /*decltype(_impl_.is_assert_)*/false - , /*decltype(_impl_.with_message_)*/false - , /*decltype(_impl_.use_named_args_)*/false - , /*decltype(_impl_.error_id_)*/0u} {} -struct RequireStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR RequireStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~RequireStmtDefaultTypeInternal() {} - union { - RequireStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RequireStmtDefaultTypeInternal _RequireStmt_default_instance_; -PROTOBUF_CONSTEXPR SelfdestructStmt::SelfdestructStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.beneficiary_)*/nullptr} {} -struct SelfdestructStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR SelfdestructStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~SelfdestructStmtDefaultTypeInternal() {} - union { - SelfdestructStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelfdestructStmtDefaultTypeInternal _SelfdestructStmt_default_instance_; -PROTOBUF_CONSTEXPR BareMagicStmt::BareMagicStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.kind_)*/0} {} -struct BareMagicStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR BareMagicStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BareMagicStmtDefaultTypeInternal() {} - union { - BareMagicStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BareMagicStmtDefaultTypeInternal _BareMagicStmt_default_instance_; -PROTOBUF_CONSTEXPR FixedAsmStmt::FixedAsmStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.kind_)*/0} {} -struct FixedAsmStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR FixedAsmStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~FixedAsmStmtDefaultTypeInternal() {} - union { - FixedAsmStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FixedAsmStmtDefaultTypeInternal _FixedAsmStmt_default_instance_; -PROTOBUF_CONSTEXPR AbiEncodeStructStmt::AbiEncodeStructStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.struct_idx_)*/0u - , /*decltype(_impl_.wrap_in_array_)*/false} {} -struct AbiEncodeStructStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR AbiEncodeStructStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~AbiEncodeStructStmtDefaultTypeInternal() {} - union { - AbiEncodeStructStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AbiEncodeStructStmtDefaultTypeInternal _AbiEncodeStructStmt_default_instance_; -PROTOBUF_CONSTEXPR EmitStmt::EmitStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.event_id_)*/0u} {} -struct EmitStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR EmitStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~EmitStmtDefaultTypeInternal() {} - union { - EmitStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EmitStmtDefaultTypeInternal _EmitStmt_default_instance_; -PROTOBUF_CONSTEXPR RevertStmt::RevertStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.error_id_)*/0u - , /*decltype(_impl_.use_named_args_)*/false} {} -struct RevertStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR RevertStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~RevertStmtDefaultTypeInternal() {} - union { - RevertStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RevertStmtDefaultTypeInternal _RevertStmt_default_instance_; -PROTOBUF_CONSTEXPR DeleteStmt::DeleteStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.target_)*/nullptr} {} -struct DeleteStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeleteStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~DeleteStmtDefaultTypeInternal() {} - union { - DeleteStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteStmtDefaultTypeInternal _DeleteStmt_default_instance_; -PROTOBUF_CONSTEXPR TryCatchStmt::TryCatchStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.try_body_)*/nullptr - , /*decltype(_impl_.catch_body_)*/nullptr - , /*decltype(_impl_.func_id_)*/0u} {} -struct TryCatchStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR TryCatchStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TryCatchStmtDefaultTypeInternal() {} - union { - TryCatchStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TryCatchStmtDefaultTypeInternal _TryCatchStmt_default_instance_; -PROTOBUF_CONSTEXPR Block::Block( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.stmts_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct BlockDefaultTypeInternal { - PROTOBUF_CONSTEXPR BlockDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BlockDefaultTypeInternal() {} - union { - Block _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlockDefaultTypeInternal _Block_default_instance_; -PROTOBUF_CONSTEXPR UncheckedBlock::UncheckedBlock( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.body_)*/nullptr} {} -struct UncheckedBlockDefaultTypeInternal { - PROTOBUF_CONSTEXPR UncheckedBlockDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~UncheckedBlockDefaultTypeInternal() {} - union { - UncheckedBlock _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UncheckedBlockDefaultTypeInternal _UncheckedBlock_default_instance_; -PROTOBUF_CONSTEXPR IndexAssignStmt::IndexAssignStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.index_)*/nullptr - , /*decltype(_impl_.value_)*/nullptr - , /*decltype(_impl_.var_idx_)*/0u} {} -struct IndexAssignStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR IndexAssignStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IndexAssignStmtDefaultTypeInternal() {} - union { - IndexAssignStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndexAssignStmtDefaultTypeInternal _IndexAssignStmt_default_instance_; -PROTOBUF_CONSTEXPR TupleAssignStmt::TupleAssignStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.val1_)*/nullptr - , /*decltype(_impl_.val2_)*/nullptr} {} -struct TupleAssignStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR TupleAssignStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TupleAssignStmtDefaultTypeInternal() {} - union { - TupleAssignStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TupleAssignStmtDefaultTypeInternal _TupleAssignStmt_default_instance_; -PROTOBUF_CONSTEXPR ArrayPushStmt::ArrayPushStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.value_)*/nullptr - , /*decltype(_impl_.var_idx_)*/0u} {} -struct ArrayPushStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArrayPushStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ArrayPushStmtDefaultTypeInternal() {} - union { - ArrayPushStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrayPushStmtDefaultTypeInternal _ArrayPushStmt_default_instance_; -PROTOBUF_CONSTEXPR ArrayPopStmt::ArrayPopStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.var_idx_)*/0u} {} -struct ArrayPopStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArrayPopStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ArrayPopStmtDefaultTypeInternal() {} - union { - ArrayPopStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrayPopStmtDefaultTypeInternal _ArrayPopStmt_default_instance_; -PROTOBUF_CONSTEXPR TupleDestructStmt::TupleDestructStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.func_id_)*/0u} {} -struct TupleDestructStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR TupleDestructStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TupleDestructStmtDefaultTypeInternal() {} - union { - TupleDestructStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TupleDestructStmtDefaultTypeInternal _TupleDestructStmt_default_instance_; -PROTOBUF_CONSTEXPR StructLocalDeclStmt::StructLocalDeclStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.struct_idx_)*/0u} {} -struct StructLocalDeclStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR StructLocalDeclStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StructLocalDeclStmtDefaultTypeInternal() {} - union { - StructLocalDeclStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructLocalDeclStmtDefaultTypeInternal _StructLocalDeclStmt_default_instance_; -PROTOBUF_CONSTEXPR StructTupleAliasStmt::StructTupleAliasStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.local_sel_)*/0u - , /*decltype(_impl_.sa_sel_)*/0u - , /*decltype(_impl_.sb_sel_)*/0u} {} -struct StructTupleAliasStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR StructTupleAliasStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StructTupleAliasStmtDefaultTypeInternal() {} - union { - StructTupleAliasStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructTupleAliasStmtDefaultTypeInternal _StructTupleAliasStmt_default_instance_; -PROTOBUF_CONSTEXPR ArrayLengthExpr::ArrayLengthExpr( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.var_idx_)*/0u} {} -struct ArrayLengthExprDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArrayLengthExprDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ArrayLengthExprDefaultTypeInternal() {} - union { - ArrayLengthExpr _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrayLengthExprDefaultTypeInternal _ArrayLengthExpr_default_instance_; -PROTOBUF_CONSTEXPR Statement::Statement( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.stmt_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct StatementDefaultTypeInternal { - PROTOBUF_CONSTEXPR StatementDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StatementDefaultTypeInternal() {} - union { - Statement _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatementDefaultTypeInternal _Statement_default_instance_; -PROTOBUF_CONSTEXPR FuncPtrStmt::FuncPtrStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.target_id_)*/0u} {} -struct FuncPtrStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR FuncPtrStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~FuncPtrStmtDefaultTypeInternal() {} - union { - FuncPtrStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FuncPtrStmtDefaultTypeInternal _FuncPtrStmt_default_instance_; -PROTOBUF_CONSTEXPR StructField::StructField( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/nullptr - , /*decltype(_impl_.advanced_type_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct StructFieldDefaultTypeInternal { - PROTOBUF_CONSTEXPR StructFieldDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StructFieldDefaultTypeInternal() {} - union { - StructField _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructFieldDefaultTypeInternal _StructField_default_instance_; -PROTOBUF_CONSTEXPR StructArrayField::StructArrayField( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.base_)*/nullptr - , /*decltype(_impl_.outer_length_)*/0u - , /*decltype(_impl_.inner_length_)*/0u} {} -struct StructArrayFieldDefaultTypeInternal { - PROTOBUF_CONSTEXPR StructArrayFieldDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StructArrayFieldDefaultTypeInternal() {} - union { - StructArrayField _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructArrayFieldDefaultTypeInternal _StructArrayField_default_instance_; -PROTOBUF_CONSTEXPR StructFunctionField::StructFunctionField( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.returns_calldata_array_)*/false} {} -struct StructFunctionFieldDefaultTypeInternal { - PROTOBUF_CONSTEXPR StructFunctionFieldDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StructFunctionFieldDefaultTypeInternal() {} - union { - StructFunctionField _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructFunctionFieldDefaultTypeInternal _StructFunctionField_default_instance_; -PROTOBUF_CONSTEXPR StructDef::StructDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.fields_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct StructDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR StructDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StructDefDefaultTypeInternal() {} - union { - StructDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructDefDefaultTypeInternal _StructDef_default_instance_; -PROTOBUF_CONSTEXPR EnumDef::EnumDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.num_members_)*/0u} {} -struct EnumDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR EnumDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~EnumDefDefaultTypeInternal() {} - union { - EnumDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumDefDefaultTypeInternal _EnumDef_default_instance_; -PROTOBUF_CONSTEXPR EventDef::EventDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.indexed_params_)*/{} - , /*decltype(_impl_.num_params_)*/0u} {} -struct EventDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR EventDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~EventDefDefaultTypeInternal() {} - union { - EventDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EventDefDefaultTypeInternal _EventDef_default_instance_; -PROTOBUF_CONSTEXPR ErrorDef::ErrorDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.num_params_)*/0u} {} -struct ErrorDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR ErrorDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ErrorDefDefaultTypeInternal() {} - union { - ErrorDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ErrorDefDefaultTypeInternal _ErrorDef_default_instance_; -PROTOBUF_CONSTEXPR ModifierDef::ModifierDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.body_)*/nullptr} {} -struct ModifierDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR ModifierDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ModifierDefDefaultTypeInternal() {} - union { - ModifierDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModifierDefDefaultTypeInternal _ModifierDef_default_instance_; -PROTOBUF_CONSTEXPR ReceiveDef::ReceiveDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.body_)*/nullptr} {} -struct ReceiveDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR ReceiveDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ReceiveDefDefaultTypeInternal() {} - union { - ReceiveDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReceiveDefDefaultTypeInternal _ReceiveDef_default_instance_; -PROTOBUF_CONSTEXPR FallbackDef::FallbackDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.body_)*/nullptr} {} -struct FallbackDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR FallbackDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~FallbackDefDefaultTypeInternal() {} - union { - FallbackDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FallbackDefDefaultTypeInternal _FallbackDef_default_instance_; -PROTOBUF_CONSTEXPR FunctionDef::FunctionDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.param_types_)*/{} - , /*decltype(_impl_.body_)*/nullptr - , /*decltype(_impl_.num_params_)*/0u - , /*decltype(_impl_.vis_)*/0 - , /*decltype(_impl_.mut_)*/0 - , /*decltype(_impl_.modifier_id_)*/0u - , /*decltype(_impl_.share_name_with_prev_)*/false - , /*decltype(_impl_.returns_two_)*/false - , /*decltype(_impl_.non_virtual_)*/false - , /*decltype(_impl_.override_base_)*/false - , /*decltype(_impl_.returns_struct_)*/false} {} -struct FunctionDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR FunctionDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~FunctionDefDefaultTypeInternal() {} - union { - FunctionDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FunctionDefDefaultTypeInternal _FunctionDef_default_instance_; -PROTOBUF_CONSTEXPR ConstructorDef::ConstructorDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.body_)*/nullptr - , /*decltype(_impl_.payable_)*/false - , /*decltype(_impl_.has_param_)*/false} {} -struct ConstructorDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR ConstructorDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ConstructorDefDefaultTypeInternal() {} - union { - ConstructorDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConstructorDefDefaultTypeInternal _ConstructorDef_default_instance_; -PROTOBUF_CONSTEXPR StateVarDecl::StateVarDecl( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/nullptr - , /*decltype(_impl_.is_transient_)*/false - , /*decltype(_impl_.is_constant_)*/false - , /*decltype(_impl_.is_immutable_)*/false} {} -struct StateVarDeclDefaultTypeInternal { - PROTOBUF_CONSTEXPR StateVarDeclDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StateVarDeclDefaultTypeInternal() {} - union { - StateVarDecl _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StateVarDeclDefaultTypeInternal _StateVarDecl_default_instance_; -PROTOBUF_CONSTEXPR UsingForBinding::UsingForBinding( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.function_idx_)*/0u - , /*decltype(_impl_.operator_kind_)*/0} {} -struct UsingForBindingDefaultTypeInternal { - PROTOBUF_CONSTEXPR UsingForBindingDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~UsingForBindingDefaultTypeInternal() {} - union { - UsingForBinding _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UsingForBindingDefaultTypeInternal _UsingForBinding_default_instance_; -PROTOBUF_CONSTEXPR UsingForDirective::UsingForDirective( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.bindings_)*/{} - , /*decltype(_impl_.target_type_idx_)*/0u - , /*decltype(_impl_.is_global_)*/false - , /*decltype(_impl_.allow_invalid_external_)*/false - , /*decltype(_impl_.allow_self_referential_)*/false} {} -struct UsingForDirectiveDefaultTypeInternal { - PROTOBUF_CONSTEXPR UsingForDirectiveDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~UsingForDirectiveDefaultTypeInternal() {} - union { - UsingForDirective _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UsingForDirectiveDefaultTypeInternal _UsingForDirective_default_instance_; -PROTOBUF_CONSTEXPR ContractDef::ContractDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.bases_)*/{} - , /*decltype(_impl_.structs_)*/{} - , /*decltype(_impl_.enums_)*/{} - , /*decltype(_impl_.state_vars_)*/{} - , /*decltype(_impl_.functions_)*/{} - , /*decltype(_impl_.events_)*/{} - , /*decltype(_impl_.errors_)*/{} - , /*decltype(_impl_.modifiers_)*/{} - , /*decltype(_impl_.using_for_)*/{} - , /*decltype(_impl_.constructor_)*/nullptr - , /*decltype(_impl_.receive_)*/nullptr - , /*decltype(_impl_.fallback_func_)*/nullptr - , /*decltype(_impl_.kind_)*/0} {} -struct ContractDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR ContractDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ContractDefDefaultTypeInternal() {} - union { - ContractDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContractDefDefaultTypeInternal _ContractDef_default_instance_; -PROTOBUF_CONSTEXPR FreeFunctionDef::FreeFunctionDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.body_)*/nullptr - , /*decltype(_impl_.num_params_)*/0u - , /*decltype(_impl_.emit_external_)*/false - , /*decltype(_impl_.use_udvt_sig_)*/false} {} -struct FreeFunctionDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR FreeFunctionDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~FreeFunctionDefDefaultTypeInternal() {} - union { - FreeFunctionDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FreeFunctionDefDefaultTypeInternal _FreeFunctionDef_default_instance_; -PROTOBUF_CONSTEXPR Program::Program( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.contracts_)*/{} - , /*decltype(_impl_.free_functions_)*/{} - , /*decltype(_impl_.optimiser_seq_)*/{} - , /*decltype(_impl_.optimiser_cleanup_seq_)*/{} - , /*decltype(_impl_.file_using_for_)*/{} - , /*decltype(_impl_.calldata_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.create2_salt_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.seed_)*/uint64_t{0u} - , /*decltype(_impl_.via_ir_)*/false - , /*decltype(_impl_.optimize_)*/false - , /*decltype(_impl_.gen_udvt_)*/false} {} -struct ProgramDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProgramDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ProgramDefaultTypeInternal() {} - union { - Program _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProgramDefaultTypeInternal _Program_default_instance_; -} // namespace sol2protofuzzer -} // namespace test -} // namespace solidity -static ::_pb::Metadata file_level_metadata_sol2Proto_2eproto[89]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_sol2Proto_2eproto[24]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_sol2Proto_2eproto = nullptr; - -const uint32_t TableStruct_sol2Proto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IntegerType, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IntegerType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IntegerType, _impl_.width_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IntegerType, _impl_.is_signed_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FixedBytesType, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FixedBytesType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FixedBytesType, _impl_.width_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BoolType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ElementaryType, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ElementaryType, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ElementaryType, _impl_.type_oneof_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayType, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayType, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayType, _impl_.length_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayType, _impl_.size_expr_), - 0, - 2, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArraySizeExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArraySizeExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArraySizeExpr, _impl_.kind_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MappingType, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MappingType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MappingType, _impl_.key_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MappingType, _impl_.value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeName, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeName, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeName, _impl_.type_oneof_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BoolLiteral, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BoolLiteral, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BoolLiteral, _impl_.val_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IntegerLiteral, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IntegerLiteral, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IntegerLiteral, _impl_.val_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IntegerLiteral, _impl_.negative_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IntegerLiteral, _impl_.ether_unit_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StringLiteral, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StringLiteral, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StringLiteral, _impl_.seed_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AddressLiteral, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AddressLiteral, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AddressLiteral, _impl_.val_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Literal, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Literal, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Literal, _impl_.lit_oneof_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::VarRef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::VarRef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::VarRef, _impl_.index_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BinaryOp, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BinaryOp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BinaryOp, _impl_.op_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BinaryOp, _impl_.left_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BinaryOp, _impl_.right_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UnaryOp, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UnaryOp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UnaryOp, _impl_.op_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UnaryOp, _impl_.operand_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TernaryOp, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TernaryOp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TernaryOp, _impl_.cond_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TernaryOp, _impl_.true_val_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TernaryOp, _impl_.false_val_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FuncCallExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FuncCallExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FuncCallExpr, _impl_.func_id_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FuncCallExpr, _impl_.args_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FuncCallExpr, _impl_.use_named_args_), - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IndexAccessExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IndexAccessExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IndexAccessExpr, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IndexAccessExpr, _impl_.index_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeConvExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeConvExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeConvExpr, _impl_.to_type_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeConvExpr, _impl_.arg_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MsgExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MsgExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MsgExpr, _impl_.field_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BlockExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BlockExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BlockExpr, _impl_.field_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TxExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TxExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TxExpr, _impl_.field_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeExpr, _impl_.kind_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeExpr, _impl_.args_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiDecodeExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiDecodeExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiDecodeExpr, _impl_.value_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeCallExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeCallExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeCallExpr, _impl_.func_id_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeCallExpr, _impl_.args_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::HashExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::HashExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::HashExpr, _impl_.kind_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::HashExpr, _impl_.arg_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MathExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MathExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MathExpr, _impl_.kind_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MathExpr, _impl_.x_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MathExpr, _impl_.y_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::MathExpr, _impl_.mod_), - 3, - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BuiltinExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BuiltinExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BuiltinExpr, _impl_.kind_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BuiltinExpr, _impl_.arg_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EcrecoverExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EcrecoverExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EcrecoverExpr, _impl_.hash_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EcrecoverExpr, _impl_.v_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EcrecoverExpr, _impl_.r_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EcrecoverExpr, _impl_.s_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeInfoExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeInfoExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeInfoExpr, _impl_.kind_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TypeInfoExpr, _impl_.int_type_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AssignExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AssignExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AssignExpr, _impl_.op_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AssignExpr, _impl_.lhs_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AssignExpr, _impl_.rhs_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructMemberAccess, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructMemberAccess, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructMemberAccess, _impl_.struct_var_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructMemberAccess, _impl_.field_idx_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EnumLiteral, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EnumLiteral, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EnumLiteral, _impl_.enum_idx_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EnumLiteral, _impl_.member_idx_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::SuperCallExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::SuperCallExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::SuperCallExpr, _impl_.func_idx_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::SuperCallExpr, _impl_.args_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::LibMemberCallExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::LibMemberCallExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::LibMemberCallExpr, _impl_.receiver_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::LibMemberCallExpr, _impl_.func_idx_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::LibMemberCallExpr, _impl_.args_), - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ConcatExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ConcatExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ConcatExpr, _impl_.kind_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ConcatExpr, _impl_.args_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ConcatExpr, _impl_.use_named_args_), - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::SelectorExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::SelectorExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::SelectorExpr, _impl_.func_idx_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Expression, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Expression, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Expression, _impl_.expr_oneof_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UdvtExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UdvtExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UdvtExpr, _impl_.inner_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UdvtExpr, _impl_.wrap_only_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayLiteralExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayLiteralExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayLiteralExpr, _impl_.kind_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayLiteralExpr, _impl_.elems_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayLiteralExpr, _impl_.index_), - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::VarDeclStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::VarDeclStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::VarDeclStmt, _impl_.init_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ExprStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ExprStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ExprStmt, _impl_.expr_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IfStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IfStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IfStmt, _impl_.cond_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IfStmt, _impl_.if_body_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IfStmt, _impl_.else_body_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ForStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ForStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ForStmt, _impl_.body_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::WhileStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::WhileStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::WhileStmt, _impl_.cond_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::WhileStmt, _impl_.body_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::DoWhileStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::DoWhileStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::DoWhileStmt, _impl_.cond_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::DoWhileStmt, _impl_.body_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ReturnStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ReturnStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ReturnStmt, _impl_.val_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BreakStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContinueStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RequireStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RequireStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RequireStmt, _impl_.cond_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RequireStmt, _impl_.is_assert_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RequireStmt, _impl_.with_message_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RequireStmt, _impl_.error_id_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RequireStmt, _impl_.use_named_args_), - 0, - 1, - 2, - 4, - 3, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::SelfdestructStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::SelfdestructStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::SelfdestructStmt, _impl_.beneficiary_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BareMagicStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BareMagicStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::BareMagicStmt, _impl_.kind_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FixedAsmStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FixedAsmStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FixedAsmStmt, _impl_.kind_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeStructStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeStructStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeStructStmt, _impl_.struct_idx_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::AbiEncodeStructStmt, _impl_.wrap_in_array_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EmitStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EmitStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EmitStmt, _impl_.event_id_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EmitStmt, _impl_.args_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RevertStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RevertStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RevertStmt, _impl_.error_id_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RevertStmt, _impl_.args_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::RevertStmt, _impl_.use_named_args_), - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::DeleteStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::DeleteStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::DeleteStmt, _impl_.target_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TryCatchStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TryCatchStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TryCatchStmt, _impl_.func_id_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TryCatchStmt, _impl_.args_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TryCatchStmt, _impl_.try_body_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TryCatchStmt, _impl_.catch_body_), - 2, - ~0u, - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Block, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Block, _impl_.stmts_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UncheckedBlock, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UncheckedBlock, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UncheckedBlock, _impl_.body_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IndexAssignStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IndexAssignStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IndexAssignStmt, _impl_.var_idx_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IndexAssignStmt, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::IndexAssignStmt, _impl_.value_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TupleAssignStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TupleAssignStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TupleAssignStmt, _impl_.val1_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TupleAssignStmt, _impl_.val2_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayPushStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayPushStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayPushStmt, _impl_.var_idx_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayPushStmt, _impl_.value_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayPopStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayPopStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayPopStmt, _impl_.var_idx_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TupleDestructStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TupleDestructStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TupleDestructStmt, _impl_.func_id_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::TupleDestructStmt, _impl_.args_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructLocalDeclStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructLocalDeclStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructLocalDeclStmt, _impl_.struct_idx_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructTupleAliasStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructTupleAliasStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructTupleAliasStmt, _impl_.local_sel_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructTupleAliasStmt, _impl_.sa_sel_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructTupleAliasStmt, _impl_.sb_sel_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayLengthExpr, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayLengthExpr, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ArrayLengthExpr, _impl_.var_idx_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Statement, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Statement, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Statement, _impl_.stmt_oneof_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FuncPtrStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FuncPtrStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FuncPtrStmt, _impl_.target_id_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FuncPtrStmt, _impl_.args_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructField, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructField, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructField, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructField, _impl_.type_), - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructField, _impl_.advanced_type_), - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructArrayField, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructArrayField, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructArrayField, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructArrayField, _impl_.outer_length_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructArrayField, _impl_.inner_length_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructFunctionField, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructFunctionField, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructFunctionField, _impl_.returns_calldata_array_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StructDef, _impl_.fields_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EnumDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EnumDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EnumDef, _impl_.num_members_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EventDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EventDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EventDef, _impl_.num_params_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::EventDef, _impl_.indexed_params_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ErrorDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ErrorDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ErrorDef, _impl_.num_params_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ModifierDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ModifierDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ModifierDef, _impl_.body_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ReceiveDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ReceiveDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ReceiveDef, _impl_.body_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FallbackDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FallbackDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FallbackDef, _impl_.body_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.num_params_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.vis_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.mut_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.body_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.modifier_id_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.share_name_with_prev_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.param_types_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.returns_two_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.non_virtual_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.override_base_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FunctionDef, _impl_.returns_struct_), - 1, - 2, - 3, - 0, - 4, - 5, - ~0u, - 6, - 7, - 8, - 9, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ConstructorDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ConstructorDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ConstructorDef, _impl_.body_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ConstructorDef, _impl_.payable_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ConstructorDef, _impl_.has_param_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StateVarDecl, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StateVarDecl, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StateVarDecl, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StateVarDecl, _impl_.is_transient_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StateVarDecl, _impl_.is_constant_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::StateVarDecl, _impl_.is_immutable_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForBinding, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForBinding, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForBinding, _impl_.function_idx_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForBinding, _impl_.operator_kind_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForDirective, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForDirective, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForDirective, _impl_.target_type_idx_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForDirective, _impl_.bindings_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForDirective, _impl_.is_global_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForDirective, _impl_.allow_invalid_external_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::UsingForDirective, _impl_.allow_self_referential_), - 0, - ~0u, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.kind_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.bases_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.structs_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.enums_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.state_vars_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.functions_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.events_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.errors_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.constructor_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.modifiers_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.receive_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.fallback_func_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::ContractDef, _impl_.using_for_), - 3, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - 0, - ~0u, - 1, - 2, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FreeFunctionDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FreeFunctionDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FreeFunctionDef, _impl_.num_params_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FreeFunctionDef, _impl_.body_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FreeFunctionDef, _impl_.emit_external_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::FreeFunctionDef, _impl_.use_udvt_sig_), - 1, - 0, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.contracts_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.seed_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.via_ir_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.optimize_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.calldata_data_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.create2_salt_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.free_functions_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.gen_udvt_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.optimiser_seq_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.optimiser_cleanup_seq_), - PROTOBUF_FIELD_OFFSET(::solidity::test::sol2protofuzzer::Program, _impl_.file_using_for_), - ~0u, - 2, - 3, - 4, - 0, - 1, - ~0u, - 5, - ~0u, - ~0u, - ~0u, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 8, -1, sizeof(::solidity::test::sol2protofuzzer::IntegerType)}, - { 10, 17, -1, sizeof(::solidity::test::sol2protofuzzer::FixedBytesType)}, - { 18, -1, -1, sizeof(::solidity::test::sol2protofuzzer::BoolType)}, - { 24, -1, -1, sizeof(::solidity::test::sol2protofuzzer::ElementaryType)}, - { 36, 45, -1, sizeof(::solidity::test::sol2protofuzzer::ArrayType)}, - { 48, 55, -1, sizeof(::solidity::test::sol2protofuzzer::ArraySizeExpr)}, - { 56, 64, -1, sizeof(::solidity::test::sol2protofuzzer::MappingType)}, - { 66, -1, -1, sizeof(::solidity::test::sol2protofuzzer::TypeName)}, - { 78, 85, -1, sizeof(::solidity::test::sol2protofuzzer::BoolLiteral)}, - { 86, 95, -1, sizeof(::solidity::test::sol2protofuzzer::IntegerLiteral)}, - { 98, 105, -1, sizeof(::solidity::test::sol2protofuzzer::StringLiteral)}, - { 106, 113, -1, sizeof(::solidity::test::sol2protofuzzer::AddressLiteral)}, - { 114, -1, -1, sizeof(::solidity::test::sol2protofuzzer::Literal)}, - { 125, 132, -1, sizeof(::solidity::test::sol2protofuzzer::VarRef)}, - { 133, 142, -1, sizeof(::solidity::test::sol2protofuzzer::BinaryOp)}, - { 145, 153, -1, sizeof(::solidity::test::sol2protofuzzer::UnaryOp)}, - { 155, 164, -1, sizeof(::solidity::test::sol2protofuzzer::TernaryOp)}, - { 167, 176, -1, sizeof(::solidity::test::sol2protofuzzer::FuncCallExpr)}, - { 179, 187, -1, sizeof(::solidity::test::sol2protofuzzer::IndexAccessExpr)}, - { 189, 197, -1, sizeof(::solidity::test::sol2protofuzzer::TypeConvExpr)}, - { 199, 206, -1, sizeof(::solidity::test::sol2protofuzzer::MsgExpr)}, - { 207, 214, -1, sizeof(::solidity::test::sol2protofuzzer::BlockExpr)}, - { 215, 222, -1, sizeof(::solidity::test::sol2protofuzzer::TxExpr)}, - { 223, 231, -1, sizeof(::solidity::test::sol2protofuzzer::AbiEncodeExpr)}, - { 233, 240, -1, sizeof(::solidity::test::sol2protofuzzer::AbiDecodeExpr)}, - { 241, 249, -1, sizeof(::solidity::test::sol2protofuzzer::AbiEncodeCallExpr)}, - { 251, 259, -1, sizeof(::solidity::test::sol2protofuzzer::HashExpr)}, - { 261, 271, -1, sizeof(::solidity::test::sol2protofuzzer::MathExpr)}, - { 275, 283, -1, sizeof(::solidity::test::sol2protofuzzer::BuiltinExpr)}, - { 285, 295, -1, sizeof(::solidity::test::sol2protofuzzer::EcrecoverExpr)}, - { 299, 307, -1, sizeof(::solidity::test::sol2protofuzzer::TypeInfoExpr)}, - { 309, 318, -1, sizeof(::solidity::test::sol2protofuzzer::AssignExpr)}, - { 321, 329, -1, sizeof(::solidity::test::sol2protofuzzer::StructMemberAccess)}, - { 331, 339, -1, sizeof(::solidity::test::sol2protofuzzer::EnumLiteral)}, - { 341, 349, -1, sizeof(::solidity::test::sol2protofuzzer::SuperCallExpr)}, - { 351, 360, -1, sizeof(::solidity::test::sol2protofuzzer::LibMemberCallExpr)}, - { 363, 372, -1, sizeof(::solidity::test::sol2protofuzzer::ConcatExpr)}, - { 375, 382, -1, sizeof(::solidity::test::sol2protofuzzer::SelectorExpr)}, - { 383, -1, -1, sizeof(::solidity::test::sol2protofuzzer::Expression)}, - { 419, 427, -1, sizeof(::solidity::test::sol2protofuzzer::UdvtExpr)}, - { 429, 438, -1, sizeof(::solidity::test::sol2protofuzzer::ArrayLiteralExpr)}, - { 441, 448, -1, sizeof(::solidity::test::sol2protofuzzer::VarDeclStmt)}, - { 449, 456, -1, sizeof(::solidity::test::sol2protofuzzer::ExprStmt)}, - { 457, 466, -1, sizeof(::solidity::test::sol2protofuzzer::IfStmt)}, - { 469, 476, -1, sizeof(::solidity::test::sol2protofuzzer::ForStmt)}, - { 477, 485, -1, sizeof(::solidity::test::sol2protofuzzer::WhileStmt)}, - { 487, 495, -1, sizeof(::solidity::test::sol2protofuzzer::DoWhileStmt)}, - { 497, 504, -1, sizeof(::solidity::test::sol2protofuzzer::ReturnStmt)}, - { 505, -1, -1, sizeof(::solidity::test::sol2protofuzzer::BreakStmt)}, - { 511, -1, -1, sizeof(::solidity::test::sol2protofuzzer::ContinueStmt)}, - { 517, 528, -1, sizeof(::solidity::test::sol2protofuzzer::RequireStmt)}, - { 533, 540, -1, sizeof(::solidity::test::sol2protofuzzer::SelfdestructStmt)}, - { 541, 548, -1, sizeof(::solidity::test::sol2protofuzzer::BareMagicStmt)}, - { 549, 556, -1, sizeof(::solidity::test::sol2protofuzzer::FixedAsmStmt)}, - { 557, 565, -1, sizeof(::solidity::test::sol2protofuzzer::AbiEncodeStructStmt)}, - { 567, 575, -1, sizeof(::solidity::test::sol2protofuzzer::EmitStmt)}, - { 577, 586, -1, sizeof(::solidity::test::sol2protofuzzer::RevertStmt)}, - { 589, 596, -1, sizeof(::solidity::test::sol2protofuzzer::DeleteStmt)}, - { 597, 607, -1, sizeof(::solidity::test::sol2protofuzzer::TryCatchStmt)}, - { 611, -1, -1, sizeof(::solidity::test::sol2protofuzzer::Block)}, - { 618, 625, -1, sizeof(::solidity::test::sol2protofuzzer::UncheckedBlock)}, - { 626, 635, -1, sizeof(::solidity::test::sol2protofuzzer::IndexAssignStmt)}, - { 638, 646, -1, sizeof(::solidity::test::sol2protofuzzer::TupleAssignStmt)}, - { 648, 656, -1, sizeof(::solidity::test::sol2protofuzzer::ArrayPushStmt)}, - { 658, 665, -1, sizeof(::solidity::test::sol2protofuzzer::ArrayPopStmt)}, - { 666, 674, -1, sizeof(::solidity::test::sol2protofuzzer::TupleDestructStmt)}, - { 676, 683, -1, sizeof(::solidity::test::sol2protofuzzer::StructLocalDeclStmt)}, - { 684, 693, -1, sizeof(::solidity::test::sol2protofuzzer::StructTupleAliasStmt)}, - { 696, 703, -1, sizeof(::solidity::test::sol2protofuzzer::ArrayLengthExpr)}, - { 704, -1, -1, sizeof(::solidity::test::sol2protofuzzer::Statement)}, - { 739, 747, -1, sizeof(::solidity::test::sol2protofuzzer::FuncPtrStmt)}, - { 749, 759, -1, sizeof(::solidity::test::sol2protofuzzer::StructField)}, - { 762, 771, -1, sizeof(::solidity::test::sol2protofuzzer::StructArrayField)}, - { 774, 781, -1, sizeof(::solidity::test::sol2protofuzzer::StructFunctionField)}, - { 782, -1, -1, sizeof(::solidity::test::sol2protofuzzer::StructDef)}, - { 789, 796, -1, sizeof(::solidity::test::sol2protofuzzer::EnumDef)}, - { 797, 805, -1, sizeof(::solidity::test::sol2protofuzzer::EventDef)}, - { 807, 814, -1, sizeof(::solidity::test::sol2protofuzzer::ErrorDef)}, - { 815, 822, -1, sizeof(::solidity::test::sol2protofuzzer::ModifierDef)}, - { 823, 830, -1, sizeof(::solidity::test::sol2protofuzzer::ReceiveDef)}, - { 831, 838, -1, sizeof(::solidity::test::sol2protofuzzer::FallbackDef)}, - { 839, 856, -1, sizeof(::solidity::test::sol2protofuzzer::FunctionDef)}, - { 867, 876, -1, sizeof(::solidity::test::sol2protofuzzer::ConstructorDef)}, - { 879, 889, -1, sizeof(::solidity::test::sol2protofuzzer::StateVarDecl)}, - { 893, 901, -1, sizeof(::solidity::test::sol2protofuzzer::UsingForBinding)}, - { 903, 914, -1, sizeof(::solidity::test::sol2protofuzzer::UsingForDirective)}, - { 919, 938, -1, sizeof(::solidity::test::sol2protofuzzer::ContractDef)}, - { 951, 961, -1, sizeof(::solidity::test::sol2protofuzzer::FreeFunctionDef)}, - { 965, 982, -1, sizeof(::solidity::test::sol2protofuzzer::Program)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::solidity::test::sol2protofuzzer::_IntegerType_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_FixedBytesType_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_BoolType_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ElementaryType_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ArrayType_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ArraySizeExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_MappingType_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_TypeName_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_BoolLiteral_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_IntegerLiteral_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_StringLiteral_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_AddressLiteral_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_Literal_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_VarRef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_BinaryOp_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_UnaryOp_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_TernaryOp_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_FuncCallExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_IndexAccessExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_TypeConvExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_MsgExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_BlockExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_TxExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_AbiEncodeExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_AbiDecodeExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_AbiEncodeCallExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_HashExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_MathExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_BuiltinExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_EcrecoverExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_TypeInfoExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_AssignExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_StructMemberAccess_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_EnumLiteral_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_SuperCallExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_LibMemberCallExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ConcatExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_SelectorExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_Expression_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_UdvtExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ArrayLiteralExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_VarDeclStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ExprStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_IfStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ForStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_WhileStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_DoWhileStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ReturnStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_BreakStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ContinueStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_RequireStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_SelfdestructStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_BareMagicStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_FixedAsmStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_AbiEncodeStructStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_EmitStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_RevertStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_DeleteStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_TryCatchStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_Block_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_UncheckedBlock_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_IndexAssignStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_TupleAssignStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ArrayPushStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ArrayPopStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_TupleDestructStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_StructLocalDeclStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_StructTupleAliasStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ArrayLengthExpr_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_Statement_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_FuncPtrStmt_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_StructField_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_StructArrayField_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_StructFunctionField_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_StructDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_EnumDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_EventDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ErrorDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ModifierDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ReceiveDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_FallbackDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_FunctionDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ConstructorDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_StateVarDecl_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_UsingForBinding_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_UsingForDirective_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_ContractDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_FreeFunctionDef_default_instance_._instance, - &::solidity::test::sol2protofuzzer::_Program_default_instance_._instance, -}; - -const char descriptor_table_protodef_sol2Proto_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\017sol2Proto.proto\022\035solidity.test.sol2pro" - "tofuzzer\"\236\003\n\013IntegerType\022\?\n\005width\030\001 \002(\0162" - "0.solidity.test.sol2protofuzzer.IntegerT" - "ype.Width\022\021\n\tis_signed\030\002 \002(\010\"\272\002\n\005Width\022\006" - "\n\002W8\020\000\022\007\n\003W16\020\001\022\007\n\003W24\020\002\022\007\n\003W32\020\003\022\007\n\003W40" - "\020\004\022\007\n\003W48\020\005\022\007\n\003W56\020\006\022\007\n\003W64\020\007\022\007\n\003W72\020\010\022\007" - "\n\003W80\020\t\022\007\n\003W88\020\n\022\007\n\003W96\020\013\022\010\n\004W104\020\014\022\010\n\004W" - "112\020\r\022\010\n\004W120\020\016\022\010\n\004W128\020\017\022\010\n\004W136\020\020\022\010\n\004W" - "144\020\021\022\010\n\004W152\020\022\022\010\n\004W160\020\023\022\010\n\004W168\020\024\022\010\n\004W" - "176\020\025\022\010\n\004W184\020\026\022\010\n\004W192\020\027\022\010\n\004W200\020\030\022\010\n\004W" - "208\020\031\022\010\n\004W216\020\032\022\010\n\004W224\020\033\022\010\n\004W232\020\034\022\010\n\004W" - "240\020\035\022\010\n\004W248\020\036\022\010\n\004W256\020\037\"\365\002\n\016FixedBytes" - "Type\022B\n\005width\030\001 \002(\01623.solidity.test.sol2" - "protofuzzer.FixedBytesType.Width\"\236\002\n\005Wid" - "th\022\006\n\002B1\020\000\022\006\n\002B2\020\001\022\006\n\002B3\020\002\022\006\n\002B4\020\003\022\006\n\002B5" - "\020\004\022\006\n\002B6\020\005\022\006\n\002B7\020\006\022\006\n\002B8\020\007\022\006\n\002B9\020\010\022\007\n\003B1" - "0\020\t\022\007\n\003B11\020\n\022\007\n\003B12\020\013\022\007\n\003B13\020\014\022\007\n\003B14\020\r\022" - "\007\n\003B15\020\016\022\007\n\003B16\020\017\022\007\n\003B17\020\020\022\007\n\003B18\020\021\022\007\n\003B" - "19\020\022\022\007\n\003B20\020\023\022\007\n\003B21\020\024\022\007\n\003B22\020\025\022\007\n\003B23\020\026" - "\022\007\n\003B24\020\027\022\007\n\003B25\020\030\022\007\n\003B26\020\031\022\007\n\003B27\020\032\022\007\n\003" - "B28\020\033\022\007\n\003B29\020\034\022\007\n\003B30\020\035\022\007\n\003B31\020\036\022\007\n\003B32\020" - "\037\"\n\n\010BoolType\"\222\002\n\016ElementaryType\022<\n\tbool" - "_type\030\001 \001(\0132\'.solidity.test.sol2protofuz" - "zer.BoolTypeH\000\022>\n\010int_type\030\002 \001(\0132*.solid" - "ity.test.sol2protofuzzer.IntegerTypeH\000\022\031" - "\n\017address_payable\030\003 \001(\010H\000\022D\n\013fixed_bytes" - "\030\004 \001(\0132-.solidity.test.sol2protofuzzer.F" - "ixedBytesTypeH\000\022\023\n\tis_string\030\005 \001(\010H\000B\014\n\n" - "type_oneof\"\231\001\n\tArrayType\022;\n\004base\030\001 \002(\0132-" - ".solidity.test.sol2protofuzzer.Elementar" - "yType\022\016\n\006length\030\002 \001(\r\022\?\n\tsize_expr\030\003 \001(\013" - "2,.solidity.test.sol2protofuzzer.ArraySi" - "zeExpr\"\317\001\n\rArraySizeExpr\022\?\n\004kind\030\001 \002(\01621" - ".solidity.test.sol2protofuzzer.ArraySize" - "Expr.Kind\"}\n\004Kind\022\n\n\006BUCKET\020\000\022\021\n\rABI_SUB" - "SCRIPT\020\001\022\023\n\017BLOCK_SUBSCRIPT\020\002\022\021\n\rMSG_SUB" - "SCRIPT\020\003\022\020\n\014TX_SUBSCRIPT\020\004\022\014\n\010ABI_CALL\020\005" - "\022\016\n\nTYPE_INDEX\020\006\"\207\001\n\013MappingType\022:\n\003key\030" - "\001 \002(\0132-.solidity.test.sol2protofuzzer.El" - "ementaryType\022<\n\005value\030\002 \002(\0132-.solidity.t" - "est.sol2protofuzzer.ElementaryType\"\201\002\n\010T" - "ypeName\022C\n\nelementary\030\001 \001(\0132-.solidity.t" - "est.sol2protofuzzer.ElementaryTypeH\000\0229\n\005" - "array\030\002 \001(\0132(.solidity.test.sol2protofuz" - "zer.ArrayTypeH\000\022=\n\007mapping\030\003 \001(\0132*.solid" - "ity.test.sol2protofuzzer.MappingTypeH\000\022\024" - "\n\nstruct_ref\030\004 \001(\rH\000\022\022\n\010enum_ref\030\005 \001(\rH\000" - "B\014\n\ntype_oneof\"\032\n\013BoolLiteral\022\013\n\003val\030\001 \002" - "(\010\"\247\001\n\016IntegerLiteral\022\013\n\003val\030\001 \002(\004\022\020\n\010ne" - "gative\030\002 \002(\010\022K\n\nether_unit\030\003 \001(\01627.solid" - "ity.test.sol2protofuzzer.IntegerLiteral." - "EtherUnit\")\n\tEtherUnit\022\007\n\003WEI\020\000\022\010\n\004GWEI\020" - "\001\022\t\n\005ETHER\020\002\"\035\n\rStringLiteral\022\014\n\004seed\030\001 " - "\002(\r\"\035\n\016AddressLiteral\022\013\n\003val\030\001 \002(\004\"\234\002\n\007L" - "iteral\022>\n\010bool_lit\030\001 \001(\0132*.solidity.test" - ".sol2protofuzzer.BoolLiteralH\000\022@\n\007int_li" - "t\030\002 \001(\0132-.solidity.test.sol2protofuzzer." - "IntegerLiteralH\000\022\?\n\007str_lit\030\003 \001(\0132,.soli" - "dity.test.sol2protofuzzer.StringLiteralH" - "\000\022A\n\010addr_lit\030\004 \001(\0132-.solidity.test.sol2" - "protofuzzer.AddressLiteralH\000B\013\n\tlit_oneo" - "f\"\027\n\006VarRef\022\r\n\005index\030\001 \002(\r\"\356\002\n\010BinaryOp\022" - "6\n\002op\030\001 \002(\0162*.solidity.test.sol2protofuz" - "zer.BinaryOp.Op\0227\n\004left\030\002 \002(\0132).solidity" - ".test.sol2protofuzzer.Expression\0228\n\005righ" - "t\030\003 \002(\0132).solidity.test.sol2protofuzzer." - "Expression\"\266\001\n\002Op\022\007\n\003ADD\020\000\022\007\n\003SUB\020\001\022\007\n\003M" - "UL\020\002\022\007\n\003DIV\020\003\022\007\n\003MOD\020\004\022\007\n\003EXP\020\005\022\013\n\007BIT_A" - "ND\020\006\022\n\n\006BIT_OR\020\007\022\013\n\007BIT_XOR\020\010\022\007\n\003SHL\020\t\022\007" - "\n\003SHR\020\n\022\006\n\002LT\020\013\022\006\n\002GT\020\014\022\007\n\003LTE\020\r\022\007\n\003GTE\020" - "\016\022\006\n\002EQ\020\017\022\007\n\003NEQ\020\020\022\007\n\003AND\020\021\022\006\n\002OR\020\022\"\325\001\n\007" - "UnaryOp\0225\n\002op\030\001 \002(\0162).solidity.test.sol2" - "protofuzzer.UnaryOp.Op\022:\n\007operand\030\002 \002(\0132" - ").solidity.test.sol2protofuzzer.Expressi" - "on\"W\n\002Op\022\010\n\004LNOT\020\000\022\010\n\004BNOT\020\001\022\007\n\003NEG\020\002\022\013\n" - "\007INC_PRE\020\003\022\013\n\007DEC_PRE\020\004\022\014\n\010INC_POST\020\005\022\014\n" - "\010DEC_POST\020\006\"\277\001\n\tTernaryOp\0227\n\004cond\030\001 \002(\0132" - ").solidity.test.sol2protofuzzer.Expressi" - "on\022;\n\010true_val\030\002 \002(\0132).solidity.test.sol" - "2protofuzzer.Expression\022<\n\tfalse_val\030\003 \002" - "(\0132).solidity.test.sol2protofuzzer.Expre" - "ssion\"p\n\014FuncCallExpr\022\017\n\007func_id\030\001 \002(\r\0227" - "\n\004args\030\002 \003(\0132).solidity.test.sol2protofu" - "zzer.Expression\022\026\n\016use_named_args\030\003 \001(\010\"" - "\204\001\n\017IndexAccessExpr\0227\n\004base\030\001 \002(\0132).soli" - "dity.test.sol2protofuzzer.Expression\0228\n\005" - "index\030\002 \002(\0132).solidity.test.sol2protofuz" - "zer.Expression\"\206\001\n\014TypeConvExpr\022>\n\007to_ty" - "pe\030\001 \002(\0132-.solidity.test.sol2protofuzzer" - ".ElementaryType\0226\n\003arg\030\002 \002(\0132).solidity." - "test.sol2protofuzzer.Expression\"y\n\007MsgEx" - "pr\022;\n\005field\030\001 \002(\0162,.solidity.test.sol2pr" - "otofuzzer.MsgExpr.Field\"1\n\005Field\022\n\n\006SEND" - "ER\020\000\022\t\n\005VALUE\020\001\022\007\n\003SIG\020\002\022\010\n\004DATA\020\003\"\305\001\n\tB" - "lockExpr\022=\n\005field\030\001 \002(\0162..solidity.test." - "sol2protofuzzer.BlockExpr.Field\"y\n\005Field" - "\022\r\n\tTIMESTAMP\020\000\022\n\n\006NUMBER\020\001\022\013\n\007CHAINID\020\002" - "\022\013\n\007BASEFEE\020\003\022\016\n\nPREVRANDAO\020\004\022\014\n\010GASLIMI" - "T\020\005\022\014\n\010COINBASE\020\006\022\017\n\013BLOBBASEFEE\020\007\"g\n\006Tx" - "Expr\022:\n\005field\030\001 \002(\0162+.solidity.test.sol2" - "protofuzzer.TxExpr.Field\"!\n\005Field\022\n\n\006ORI" - "GIN\020\000\022\014\n\010GASPRICE\020\001\"\345\001\n\rAbiEncodeExpr\022\?\n" - "\004kind\030\001 \002(\01621.solidity.test.sol2protofuz" - "zer.AbiEncodeExpr.Kind\0227\n\004args\030\002 \003(\0132).s" - "olidity.test.sol2protofuzzer.Expression\"" - "Z\n\004Kind\022\n\n\006ENCODE\020\000\022\021\n\rENCODE_PACKED\020\001\022\030" - "\n\024ENCODE_WITH_SELECTOR\020\002\022\031\n\025ENCODE_WITH_" - "SIGNATURE\020\003\"I\n\rAbiDecodeExpr\0228\n\005value\030\001 " - "\002(\0132).solidity.test.sol2protofuzzer.Expr" - "ession\"]\n\021AbiEncodeCallExpr\022\017\n\007func_id\030\001" - " \002(\r\0227\n\004args\030\002 \003(\0132).solidity.test.sol2p" - "rotofuzzer.Expression\"\260\001\n\010HashExpr\022:\n\004ki" - "nd\030\001 \002(\0162,.solidity.test.sol2protofuzzer" - ".HashExpr.Kind\0226\n\003arg\030\002 \002(\0132).solidity.t" - "est.sol2protofuzzer.Expression\"0\n\004Kind\022\r" - "\n\tKECCAK256\020\000\022\n\n\006SHA256\020\001\022\r\n\tRIPEMD160\020\002" - "\"\212\002\n\010MathExpr\022:\n\004kind\030\001 \002(\0162,.solidity.t" - "est.sol2protofuzzer.MathExpr.Kind\0224\n\001x\030\002" - " \002(\0132).solidity.test.sol2protofuzzer.Exp" - "ression\0224\n\001y\030\003 \002(\0132).solidity.test.sol2p" - "rotofuzzer.Expression\0226\n\003mod\030\004 \002(\0132).sol" - "idity.test.sol2protofuzzer.Expression\"\036\n" - "\004Kind\022\n\n\006ADDMOD\020\000\022\n\n\006MULMOD\020\001\"\354\001\n\013Builti" - "nExpr\022=\n\004kind\030\001 \002(\0162/.solidity.test.sol2" - "protofuzzer.BuiltinExpr.Kind\0226\n\003arg\030\002 \001(" - "\0132).solidity.test.sol2protofuzzer.Expres" - "sion\"f\n\004Kind\022\013\n\007GASLEFT\020\000\022\r\n\tBLOCKHASH\020\001" - "\022\014\n\010BLOBHASH\020\002\022\020\n\014THIS_BALANCE\020\003\022\020\n\014CALL" - "DATALOAD\020\004\022\020\n\014CALLDATASIZE\020\005\"\352\001\n\rEcrecov" - "erExpr\0227\n\004hash\030\001 \002(\0132).solidity.test.sol" - "2protofuzzer.Expression\0224\n\001v\030\002 \002(\0132).sol" - "idity.test.sol2protofuzzer.Expression\0224\n" - "\001r\030\003 \002(\0132).solidity.test.sol2protofuzzer" - ".Expression\0224\n\001s\030\004 \002(\0132).solidity.test.s" - "ol2protofuzzer.Expression\"\246\001\n\014TypeInfoEx" - "pr\022>\n\004kind\030\001 \002(\01620.solidity.test.sol2pro" - "tofuzzer.TypeInfoExpr.Kind\022<\n\010int_type\030\002" - " \002(\0132*.solidity.test.sol2protofuzzer.Int" - "egerType\"\030\n\004Kind\022\007\n\003MIN\020\000\022\007\n\003MAX\020\001\"\344\002\n\nA" - "ssignExpr\0228\n\002op\030\001 \002(\0162,.solidity.test.so" - "l2protofuzzer.AssignExpr.Op\0222\n\003lhs\030\002 \002(\013" - "2%.solidity.test.sol2protofuzzer.VarRef\022" - "6\n\003rhs\030\003 \002(\0132).solidity.test.sol2protofu" - "zzer.Expression\"\257\001\n\002Op\022\n\n\006ASSIGN\020\000\022\016\n\nAD" - "D_ASSIGN\020\001\022\016\n\nSUB_ASSIGN\020\002\022\016\n\nMUL_ASSIGN" - "\020\003\022\016\n\nDIV_ASSIGN\020\004\022\016\n\nMOD_ASSIGN\020\005\022\016\n\nAN" - "D_ASSIGN\020\006\022\r\n\tOR_ASSIGN\020\007\022\016\n\nXOR_ASSIGN\020" - "\010\022\016\n\nSHL_ASSIGN\020\t\022\016\n\nSHR_ASSIGN\020\n\"b\n\022Str" - "uctMemberAccess\0229\n\nstruct_var\030\001 \002(\0132%.so" - "lidity.test.sol2protofuzzer.VarRef\022\021\n\tfi" - "eld_idx\030\002 \002(\r\"3\n\013EnumLiteral\022\020\n\010enum_idx" - "\030\001 \002(\r\022\022\n\nmember_idx\030\002 \002(\r\"Z\n\rSuperCallE" - "xpr\022\020\n\010func_idx\030\001 \002(\r\0227\n\004args\030\002 \003(\0132).so" - "lidity.test.sol2protofuzzer.Expression\"\233" - "\001\n\021LibMemberCallExpr\022;\n\010receiver\030\001 \002(\0132)" - ".solidity.test.sol2protofuzzer.Expressio" - "n\022\020\n\010func_idx\030\002 \002(\r\0227\n\004args\030\003 \003(\0132).soli" - "dity.test.sol2protofuzzer.Expression\"\310\001\n" - "\nConcatExpr\022<\n\004kind\030\001 \002(\0162..solidity.tes" - "t.sol2protofuzzer.ConcatExpr.Kind\0227\n\004arg" - "s\030\002 \003(\0132).solidity.test.sol2protofuzzer." - "Expression\022\026\n\016use_named_args\030\003 \001(\010\"+\n\004Ki" - "nd\022\020\n\014BYTES_CONCAT\020\000\022\021\n\rSTRING_CONCAT\020\001\"" - " \n\014SelectorExpr\022\020\n\010func_idx\030\001 \002(\r\"\367\016\n\nEx" - "pression\0225\n\003lit\030\001 \001(\0132&.solidity.test.so" - "l2protofuzzer.LiteralH\000\0228\n\007var_ref\030\002 \001(\013" - "2%.solidity.test.sol2protofuzzer.VarRefH" - "\000\0229\n\006bin_op\030\003 \001(\0132\'.solidity.test.sol2pr" - "otofuzzer.BinaryOpH\000\0227\n\005un_op\030\004 \001(\0132&.so" - "lidity.test.sol2protofuzzer.UnaryOpH\000\022;\n" - "\007ternary\030\005 \001(\0132(.solidity.test.sol2proto" - "fuzzer.TernaryOpH\000\022@\n\tfunc_call\030\006 \001(\0132+." - "solidity.test.sol2protofuzzer.FuncCallEx" - "prH\000\022F\n\014index_access\030\007 \001(\0132..solidity.te" - "st.sol2protofuzzer.IndexAccessExprH\000\022@\n\t" - "type_conv\030\010 \001(\0132+.solidity.test.sol2prot" - "ofuzzer.TypeConvExprH\000\022:\n\010msg_expr\030\t \001(\013" - "2&.solidity.test.sol2protofuzzer.MsgExpr" - "H\000\022>\n\nblock_expr\030\n \001(\0132(.solidity.test.s" - "ol2protofuzzer.BlockExprH\000\0228\n\007tx_expr\030\013 " - "\001(\0132%.solidity.test.sol2protofuzzer.TxEx" - "prH\000\022B\n\nabi_encode\030\014 \001(\0132,.solidity.test" - ".sol2protofuzzer.AbiEncodeExprH\000\022<\n\thash" - "_expr\030\r \001(\0132\'.solidity.test.sol2protofuz" - "zer.HashExprH\000\022<\n\tmath_expr\030\016 \001(\0132\'.soli" - "dity.test.sol2protofuzzer.MathExprH\000\022=\n\007" - "builtin\030\017 \001(\0132*.solidity.test.sol2protof" - "uzzer.BuiltinExprH\000\022;\n\006assign\030\020 \001(\0132).so" - "lidity.test.sol2protofuzzer.AssignExprH\000" - "\022J\n\rstruct_access\030\021 \001(\01321.solidity.test." - "sol2protofuzzer.StructMemberAccessH\000\022>\n\010" - "enum_lit\030\022 \001(\0132*.solidity.test.sol2proto" - "fuzzer.EnumLiteralH\000\022A\n\tecrecover\030\023 \001(\0132" - ",.solidity.test.sol2protofuzzer.Ecrecove" - "rExprH\000\022@\n\ttype_info\030\024 \001(\0132+.solidity.te" - "st.sol2protofuzzer.TypeInfoExprH\000\022B\n\nsup" - "er_call\030\025 \001(\0132,.solidity.test.sol2protof" - "uzzer.SuperCallExprH\000\022K\n\017lib_member_call" - "\030\026 \001(\01320.solidity.test.sol2protofuzzer.L" - "ibMemberCallExprH\000\022;\n\006concat\030\027 \001(\0132).sol" - "idity.test.sol2protofuzzer.ConcatExprH\000\022" - "\?\n\010selector\030\030 \001(\0132+.solidity.test.sol2pr" - "otofuzzer.SelectorExprH\000\022F\n\014array_length" - "\030\031 \001(\0132..solidity.test.sol2protofuzzer.A" - "rrayLengthExprH\000\022B\n\nabi_decode\030\032 \001(\0132,.s" - "olidity.test.sol2protofuzzer.AbiDecodeEx" - "prH\000\022K\n\017abi_encode_call\030\033 \001(\01320.solidity" - ".test.sol2protofuzzer.AbiEncodeCallExprH" - "\000\022<\n\tudvt_expr\030\034 \001(\0132\'.solidity.test.sol" - "2protofuzzer.UdvtExprH\000\022D\n\tarray_lit\030\035 \001" - "(\0132/.solidity.test.sol2protofuzzer.Array" - "LiteralExprH\000B\014\n\nexpr_oneof\"W\n\010UdvtExpr\022" - "8\n\005inner\030\001 \002(\0132).solidity.test.sol2proto" - "fuzzer.Expression\022\021\n\twrap_only\030\002 \002(\010\"\243\002\n" - "\020ArrayLiteralExpr\022B\n\004kind\030\001 \002(\01624.solidi" - "ty.test.sol2protofuzzer.ArrayLiteralExpr" - ".Kind\0228\n\005elems\030\002 \003(\0132).solidity.test.sol" - "2protofuzzer.Expression\022\r\n\005index\030\003 \001(\r\"\201" - "\001\n\004Kind\022\013\n\007UINT256\020\000\022\n\n\006INT256\020\001\022\013\n\007ADDR" - "ESS\020\002\022\013\n\007BYTES32\020\003\022\010\n\004BOOL\020\004\022\016\n\nMIXED_SI" - "GN\020\005\022\017\n\013MIXED_WIDTH\020\006\022\017\n\013MIXED_BYTES\020\007\022\n" - "\n\006NESTED\020\010\"L\n\013VarDeclStmt\0227\n\004init\030\002 \001(\0132" - ").solidity.test.sol2protofuzzer.Expressi" - "onJ\004\010\001\020\002\"C\n\010ExprStmt\0227\n\004expr\030\001 \002(\0132).sol" - "idity.test.sol2protofuzzer.Expression\"\261\001" - "\n\006IfStmt\0227\n\004cond\030\001 \002(\0132).solidity.test.s" - "ol2protofuzzer.Expression\0225\n\007if_body\030\002 \002" - "(\0132$.solidity.test.sol2protofuzzer.Block" - "\0227\n\telse_body\030\003 \001(\0132$.solidity.test.sol2" - "protofuzzer.Block\"O\n\007ForStmt\0222\n\004body\030\004 \002" - "(\0132$.solidity.test.sol2protofuzzer.Block" - "J\004\010\001\020\002J\004\010\002\020\003J\004\010\003\020\004\"x\n\tWhileStmt\0227\n\004cond\030" - "\001 \002(\0132).solidity.test.sol2protofuzzer.Ex" - "pression\0222\n\004body\030\002 \002(\0132$.solidity.test.s" - "ol2protofuzzer.Block\"z\n\013DoWhileStmt\0227\n\004c" - "ond\030\001 \002(\0132).solidity.test.sol2protofuzze" - "r.Expression\0222\n\004body\030\002 \002(\0132$.solidity.te" - "st.sol2protofuzzer.Block\"D\n\nReturnStmt\0226" - "\n\003val\030\001 \001(\0132).solidity.test.sol2protofuz" - "zer.Expression\"\013\n\tBreakStmt\"\016\n\014ContinueS" - "tmt\"\231\001\n\013RequireStmt\0227\n\004cond\030\001 \002(\0132).soli" - "dity.test.sol2protofuzzer.Expression\022\021\n\t" - "is_assert\030\002 \002(\010\022\024\n\014with_message\030\003 \001(\010\022\020\n" - "\010error_id\030\004 \001(\r\022\026\n\016use_named_args\030\005 \001(\010\"" - "R\n\020SelfdestructStmt\022>\n\013beneficiary\030\001 \002(\013" - "2).solidity.test.sol2protofuzzer.Express" - "ion\"\342\001\n\rBareMagicStmt\022\?\n\004kind\030\001 \002(\01621.so" - "lidity.test.sol2protofuzzer.BareMagicStm" - "t.Kind\"\217\001\n\004Kind\022\023\n\017ABI_ENCODE_CALL\020\000\022\016\n\n" - "ABI_ENCODE\020\001\022\025\n\021ABI_ENCODE_PACKED\020\002\022\016\n\nA" - "BI_DECODE\020\003\022\034\n\030ABI_ENCODE_WITH_SELECTOR\020" - "\004\022\035\n\031ABI_ENCODE_WITH_SIGNATURE\020\005\"y\n\014Fixe" - "dAsmStmt\022>\n\004kind\030\001 \002(\01620.solidity.test.s" - "ol2protofuzzer.FixedAsmStmt.Kind\")\n\004Kind" - "\022\017\n\013FIXED_LOCAL\020\000\022\020\n\014UFIXED_LOCAL\020\001\"@\n\023A" - "biEncodeStructStmt\022\022\n\nstruct_idx\030\001 \002(\r\022\025" - "\n\rwrap_in_array\030\002 \001(\010\"U\n\010EmitStmt\022\020\n\010eve" - "nt_id\030\001 \002(\r\0227\n\004args\030\002 \003(\0132).solidity.tes" - "t.sol2protofuzzer.Expression\"o\n\nRevertSt" - "mt\022\020\n\010error_id\030\001 \002(\r\0227\n\004args\030\002 \003(\0132).sol" - "idity.test.sol2protofuzzer.Expression\022\026\n" - "\016use_named_args\030\003 \001(\010\"C\n\nDeleteStmt\0225\n\006t" - "arget\030\001 \002(\0132%.solidity.test.sol2protofuz" - "zer.VarRef\"\312\001\n\014TryCatchStmt\022\017\n\007func_id\030\001" - " \002(\r\0227\n\004args\030\002 \003(\0132).solidity.test.sol2p" - "rotofuzzer.Expression\0226\n\010try_body\030\003 \002(\0132" - "$.solidity.test.sol2protofuzzer.Block\0228\n" - "\ncatch_body\030\004 \002(\0132$.solidity.test.sol2pr" - "otofuzzer.Block\"@\n\005Block\0227\n\005stmts\030\001 \003(\0132" - "(.solidity.test.sol2protofuzzer.Statemen" - "t\"D\n\016UncheckedBlock\0222\n\004body\030\001 \002(\0132$.soli" - "dity.test.sol2protofuzzer.Block\"\226\001\n\017Inde" - "xAssignStmt\022\017\n\007var_idx\030\001 \002(\r\0228\n\005index\030\002 " - "\002(\0132).solidity.test.sol2protofuzzer.Expr" - "ession\0228\n\005value\030\003 \002(\0132).solidity.test.so" - "l2protofuzzer.Expression\"\203\001\n\017TupleAssign" - "Stmt\0227\n\004val1\030\001 \002(\0132).solidity.test.sol2p" - "rotofuzzer.Expression\0227\n\004val2\030\002 \002(\0132).so" - "lidity.test.sol2protofuzzer.Expression\"Z" - "\n\rArrayPushStmt\022\017\n\007var_idx\030\001 \002(\r\0228\n\005valu" - "e\030\002 \001(\0132).solidity.test.sol2protofuzzer." - "Expression\"\037\n\014ArrayPopStmt\022\017\n\007var_idx\030\001 " - "\002(\r\"]\n\021TupleDestructStmt\022\017\n\007func_id\030\001 \002(" - "\r\0227\n\004args\030\002 \003(\0132).solidity.test.sol2prot" - "ofuzzer.Expression\")\n\023StructLocalDeclStm" - "t\022\022\n\nstruct_idx\030\001 \002(\r\"I\n\024StructTupleAlia" - "sStmt\022\021\n\tlocal_sel\030\001 \002(\r\022\016\n\006sa_sel\030\002 \002(\r" - "\022\016\n\006sb_sel\030\003 \002(\r\"\"\n\017ArrayLengthExpr\022\017\n\007v" - "ar_idx\030\001 \002(\r\"\203\017\n\tStatement\022>\n\010var_decl\030\001" - " \001(\0132*.solidity.test.sol2protofuzzer.Var" - "DeclStmtH\000\022<\n\texpr_stmt\030\002 \001(\0132\'.solidity" - ".test.sol2protofuzzer.ExprStmtH\000\0228\n\007if_s" - "tmt\030\003 \001(\0132%.solidity.test.sol2protofuzze" - "r.IfStmtH\000\022:\n\010for_stmt\030\004 \001(\0132&.solidity." - "test.sol2protofuzzer.ForStmtH\000\022>\n\nwhile_" - "stmt\030\005 \001(\0132(.solidity.test.sol2protofuzz" - "er.WhileStmtH\000\022>\n\010do_while\030\006 \001(\0132*.solid" - "ity.test.sol2protofuzzer.DoWhileStmtH\000\022@" - "\n\013return_stmt\030\007 \001(\0132).solidity.test.sol2" - "protofuzzer.ReturnStmtH\000\022<\n\temit_stmt\030\010 " - "\001(\0132\'.solidity.test.sol2protofuzzer.Emit" - "StmtH\000\022@\n\013revert_stmt\030\t \001(\0132).solidity.t" - "est.sol2protofuzzer.RevertStmtH\000\0225\n\005bloc" - "k\030\n \001(\0132$.solidity.test.sol2protofuzzer." - "BlockH\000\022B\n\tunchecked\030\013 \001(\0132-.solidity.te" - "st.sol2protofuzzer.UncheckedBlockH\000\022>\n\nb" - "reak_stmt\030\014 \001(\0132(.solidity.test.sol2prot" - "ofuzzer.BreakStmtH\000\022D\n\rcontinue_stmt\030\r \001" - "(\0132+.solidity.test.sol2protofuzzer.Conti" - "nueStmtH\000\022B\n\014require_stmt\030\016 \001(\0132*.solidi" - "ty.test.sol2protofuzzer.RequireStmtH\000\022@\n" - "\013delete_stmt\030\017 \001(\0132).solidity.test.sol2p" - "rotofuzzer.DeleteStmtH\000\022@\n\ttry_catch\030\020 \001" - "(\0132+.solidity.test.sol2protofuzzer.TryCa" - "tchStmtH\000\022F\n\014index_assign\030\021 \001(\0132..solidi" - "ty.test.sol2protofuzzer.IndexAssignStmtH" - "\000\022F\n\014tuple_assign\030\022 \001(\0132..solidity.test." - "sol2protofuzzer.TupleAssignStmtH\000\022L\n\021sel" - "fdestruct_stmt\030\023 \001(\0132/.solidity.test.sol" - "2protofuzzer.SelfdestructStmtH\000\022B\n\narray" - "_push\030\024 \001(\0132,.solidity.test.sol2protofuz" - "zer.ArrayPushStmtH\000\022@\n\tarray_pop\030\025 \001(\0132+" - ".solidity.test.sol2protofuzzer.ArrayPopS" - "tmtH\000\022J\n\016tuple_destruct\030\026 \001(\01320.solidity" - ".test.sol2protofuzzer.TupleDestructStmtH" - "\000\022B\n\nbare_magic\030\027 \001(\0132,.solidity.test.so" - "l2protofuzzer.BareMagicStmtH\000\022@\n\tfixed_a" - "sm\030\030 \001(\0132+.solidity.test.sol2protofuzzer" - ".FixedAsmStmtH\000\022O\n\021abi_encode_struct\030\031 \001" - "(\01322.solidity.test.sol2protofuzzer.AbiEn" - "codeStructStmtH\000\022>\n\010func_ptr\030\032 \001(\0132*.sol" - "idity.test.sol2protofuzzer.FuncPtrStmtH\000" - "\022O\n\021struct_local_decl\030\033 \001(\01322.solidity.t" - "est.sol2protofuzzer.StructLocalDeclStmtH" - "\000\022Q\n\022struct_tuple_alias\030\034 \001(\01323.solidity" - ".test.sol2protofuzzer.StructTupleAliasSt" - "mtH\000B\014\n\nstmt_oneof\"Y\n\013FuncPtrStmt\022\021\n\ttar" - "get_id\030\001 \002(\r\0227\n\004args\030\002 \003(\0132).solidity.te" - "st.sol2protofuzzer.Expression\"\351\001\n\013Struct" - "Field\022;\n\004type\030\001 \002(\0132-.solidity.test.sol2" - "protofuzzer.ElementaryType\022D\n\tarr_field\030" - "\002 \001(\0132/.solidity.test.sol2protofuzzer.St" - "ructArrayFieldH\000\022F\n\010fn_field\030\003 \001(\01322.sol" - "idity.test.sol2protofuzzer.StructFunctio" - "nFieldH\000B\017\n\radvanced_type\"{\n\020StructArray" - "Field\022;\n\004base\030\001 \002(\0132-.solidity.test.sol2" - "protofuzzer.ElementaryType\022\024\n\014outer_leng" - "th\030\002 \001(\r\022\024\n\014inner_length\030\003 \001(\r\"5\n\023Struct" - "FunctionField\022\036\n\026returns_calldata_array\030" - "\001 \001(\010\"G\n\tStructDef\022:\n\006fields\030\001 \003(\0132*.sol" - "idity.test.sol2protofuzzer.StructField\"\036" - "\n\007EnumDef\022\023\n\013num_members\030\001 \002(\r\"6\n\010EventD" - "ef\022\022\n\nnum_params\030\001 \002(\r\022\026\n\016indexed_params" - "\030\002 \003(\010\"\036\n\010ErrorDef\022\022\n\nnum_params\030\001 \002(\r\"A" - "\n\013ModifierDef\0222\n\004body\030\001 \002(\0132$.solidity.t" - "est.sol2protofuzzer.Block\"@\n\nReceiveDef\022" - "2\n\004body\030\001 \002(\0132$.solidity.test.sol2protof" - "uzzer.Block\"A\n\013FallbackDef\0222\n\004body\030\001 \002(\013" - "2$.solidity.test.sol2protofuzzer.Block\"\241" - "\003\n\013FunctionDef\022\022\n\nnum_params\030\001 \002(\r\0226\n\003vi" - "s\030\003 \002(\0162).solidity.test.sol2protofuzzer." - "Visibility\022;\n\003mut\030\004 \002(\0162..solidity.test." - "sol2protofuzzer.StateMutability\0222\n\004body\030" - "\006 \002(\0132$.solidity.test.sol2protofuzzer.Bl" - "ock\022\023\n\013modifier_id\030\007 \001(\r\022\034\n\024share_name_w" - "ith_prev\030\010 \001(\010\022=\n\013param_types\030\t \003(\0162(.so" - "lidity.test.sol2protofuzzer.ParamType\022\023\n" - "\013returns_two\030\n \001(\010\022\023\n\013non_virtual\030\013 \001(\010\022" - "\025\n\roverride_base\030\014 \001(\010\022\026\n\016returns_struct" - "\030\r \001(\010J\004\010\002\020\003J\004\010\005\020\006\"h\n\016ConstructorDef\0222\n\004" - "body\030\001 \002(\0132$.solidity.test.sol2protofuzz" - "er.Block\022\017\n\007payable\030\002 \002(\010\022\021\n\thas_param\030\003" - " \001(\010\"\230\001\n\014StateVarDecl\0225\n\004type\030\001 \002(\0132\'.so" - "lidity.test.sol2protofuzzer.TypeName\022\024\n\014" - "is_transient\030\005 \001(\010\022\023\n\013is_constant\030\006 \001(\010\022" - "\024\n\014is_immutable\030\007 \001(\010J\004\010\002\020\003J\004\010\003\020\004J\004\010\004\020\005\"" - "\355\002\n\017UsingForBinding\022\024\n\014function_idx\030\001 \002(" - "\r\022R\n\roperator_kind\030\002 \001(\0162;.solidity.test" - ".sol2protofuzzer.UsingForBinding.Operato" - "rKind\"\357\001\n\014OperatorKind\022\013\n\007OP_NONE\020\000\022\n\n\006O" - "P_ADD\020\001\022\n\n\006OP_SUB\020\002\022\n\n\006OP_MUL\020\003\022\n\n\006OP_DI" - "V\020\004\022\n\n\006OP_MOD\020\005\022\t\n\005OP_EQ\020\006\022\n\n\006OP_NEQ\020\007\022\t" - "\n\005OP_LT\020\010\022\t\n\005OP_GT\020\t\022\n\n\006OP_LTE\020\n\022\n\n\006OP_G" - "TE\020\013\022\016\n\nOP_BIT_AND\020\014\022\r\n\tOP_BIT_OR\020\r\022\016\n\nO" - "P_BIT_XOR\020\016\022\016\n\nOP_BIT_NOT\020\017\022\022\n\016OP_UNARY_" - "MINUS\020\020\"\301\001\n\021UsingForDirective\022\027\n\017target_" - "type_idx\030\001 \002(\r\022@\n\010bindings\030\002 \003(\0132..solid" - "ity.test.sol2protofuzzer.UsingForBinding" - "\022\021\n\tis_global\030\003 \001(\010\022\036\n\026allow_invalid_ext" - "ernal\030\004 \001(\010\022\036\n\026allow_self_referential\030\005 " - "\001(\010\"\251\006\n\013ContractDef\022=\n\004kind\030\001 \002(\0162/.soli" - "dity.test.sol2protofuzzer.ContractDef.Ki" - "nd\022\r\n\005bases\030\002 \003(\r\0229\n\007structs\030\003 \003(\0132(.sol" - "idity.test.sol2protofuzzer.StructDef\0225\n\005" - "enums\030\004 \003(\0132&.solidity.test.sol2protofuz" - "zer.EnumDef\022\?\n\nstate_vars\030\005 \003(\0132+.solidi" - "ty.test.sol2protofuzzer.StateVarDecl\022=\n\t" - "functions\030\006 \003(\0132*.solidity.test.sol2prot" - "ofuzzer.FunctionDef\0227\n\006events\030\007 \003(\0132\'.so" - "lidity.test.sol2protofuzzer.EventDef\0227\n\006" - "errors\030\010 \003(\0132\'.solidity.test.sol2protofu" - "zzer.ErrorDef\022B\n\013constructor\030\t \001(\0132-.sol" - "idity.test.sol2protofuzzer.ConstructorDe" - "f\022=\n\tmodifiers\030\n \003(\0132*.solidity.test.sol" - "2protofuzzer.ModifierDef\022:\n\007receive\030\013 \001(" - "\0132).solidity.test.sol2protofuzzer.Receiv" - "eDef\022A\n\rfallback_func\030\014 \001(\0132*.solidity.t" - "est.sol2protofuzzer.FallbackDef\022C\n\tusing" - "_for\030\r \003(\01320.solidity.test.sol2protofuzz" - "er.UsingForDirective\"!\n\004Kind\022\014\n\010CONTRACT" - "\020\000\022\013\n\007LIBRARY\020\001\"\206\001\n\017FreeFunctionDef\022\022\n\nn" - "um_params\030\001 \002(\r\0222\n\004body\030\002 \002(\0132$.solidity" - ".test.sol2protofuzzer.Block\022\025\n\remit_exte" - "rnal\030\003 \001(\010\022\024\n\014use_udvt_sig\030\004 \001(\010\"\377\002\n\007Pro" - "gram\022=\n\tcontracts\030\001 \003(\0132*.solidity.test." - "sol2protofuzzer.ContractDef\022\014\n\004seed\030\002 \002(" - "\004\022\016\n\006via_ir\030\003 \002(\010\022\020\n\010optimize\030\004 \002(\010\022\025\n\rc" - "alldata_data\030\005 \001(\014\022\024\n\014create2_salt\030\006 \001(\014" - "\022F\n\016free_functions\030\007 \003(\0132..solidity.test" - ".sol2protofuzzer.FreeFunctionDef\022\020\n\010gen_" - "udvt\030\n \001(\010\022\025\n\roptimiser_seq\030\010 \003(\r\022\035\n\025opt" - "imiser_cleanup_seq\030\t \003(\r\022H\n\016file_using_f" - "or\030\013 \003(\01320.solidity.test.sol2protofuzzer" - ".UsingForDirective*A\n\nVisibility\022\n\n\006PUBL" - "IC\020\000\022\014\n\010EXTERNAL\020\001\022\014\n\010INTERNAL\020\002\022\013\n\007PRIV" - "ATE\020\003*B\n\017StateMutability\022\010\n\004PURE\020\000\022\010\n\004VI" - "EW\020\001\022\013\n\007PAYABLE\020\002\022\016\n\nNONPAYABLE\020\003*f\n\tPar" - "amType\022\021\n\rPARAM_UINT256\020\000\022\016\n\nPARAM_BOOL\020" - "\001\022\021\n\rPARAM_ADDRESS\020\002\022\021\n\rPARAM_BYTES32\020\003\022" - "\020\n\014PARAM_STRUCT\020\004" - ; -static ::_pbi::once_flag descriptor_table_sol2Proto_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_sol2Proto_2eproto = { - false, false, 17177, descriptor_table_protodef_sol2Proto_2eproto, - "sol2Proto.proto", - &descriptor_table_sol2Proto_2eproto_once, nullptr, 0, 89, - schemas, file_default_instances, TableStruct_sol2Proto_2eproto::offsets, - file_level_metadata_sol2Proto_2eproto, file_level_enum_descriptors_sol2Proto_2eproto, - file_level_service_descriptors_sol2Proto_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_sol2Proto_2eproto_getter() { - return &descriptor_table_sol2Proto_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_sol2Proto_2eproto(&descriptor_table_sol2Proto_2eproto); -namespace solidity { -namespace test { -namespace sol2protofuzzer { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IntegerType_Width_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[0]; -} -bool IntegerType_Width_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - case 27: - case 28: - case 29: - case 30: - case 31: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr IntegerType_Width IntegerType::W8; -constexpr IntegerType_Width IntegerType::W16; -constexpr IntegerType_Width IntegerType::W24; -constexpr IntegerType_Width IntegerType::W32; -constexpr IntegerType_Width IntegerType::W40; -constexpr IntegerType_Width IntegerType::W48; -constexpr IntegerType_Width IntegerType::W56; -constexpr IntegerType_Width IntegerType::W64; -constexpr IntegerType_Width IntegerType::W72; -constexpr IntegerType_Width IntegerType::W80; -constexpr IntegerType_Width IntegerType::W88; -constexpr IntegerType_Width IntegerType::W96; -constexpr IntegerType_Width IntegerType::W104; -constexpr IntegerType_Width IntegerType::W112; -constexpr IntegerType_Width IntegerType::W120; -constexpr IntegerType_Width IntegerType::W128; -constexpr IntegerType_Width IntegerType::W136; -constexpr IntegerType_Width IntegerType::W144; -constexpr IntegerType_Width IntegerType::W152; -constexpr IntegerType_Width IntegerType::W160; -constexpr IntegerType_Width IntegerType::W168; -constexpr IntegerType_Width IntegerType::W176; -constexpr IntegerType_Width IntegerType::W184; -constexpr IntegerType_Width IntegerType::W192; -constexpr IntegerType_Width IntegerType::W200; -constexpr IntegerType_Width IntegerType::W208; -constexpr IntegerType_Width IntegerType::W216; -constexpr IntegerType_Width IntegerType::W224; -constexpr IntegerType_Width IntegerType::W232; -constexpr IntegerType_Width IntegerType::W240; -constexpr IntegerType_Width IntegerType::W248; -constexpr IntegerType_Width IntegerType::W256; -constexpr IntegerType_Width IntegerType::Width_MIN; -constexpr IntegerType_Width IntegerType::Width_MAX; -constexpr int IntegerType::Width_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FixedBytesType_Width_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[1]; -} -bool FixedBytesType_Width_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - case 27: - case 28: - case 29: - case 30: - case 31: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr FixedBytesType_Width FixedBytesType::B1; -constexpr FixedBytesType_Width FixedBytesType::B2; -constexpr FixedBytesType_Width FixedBytesType::B3; -constexpr FixedBytesType_Width FixedBytesType::B4; -constexpr FixedBytesType_Width FixedBytesType::B5; -constexpr FixedBytesType_Width FixedBytesType::B6; -constexpr FixedBytesType_Width FixedBytesType::B7; -constexpr FixedBytesType_Width FixedBytesType::B8; -constexpr FixedBytesType_Width FixedBytesType::B9; -constexpr FixedBytesType_Width FixedBytesType::B10; -constexpr FixedBytesType_Width FixedBytesType::B11; -constexpr FixedBytesType_Width FixedBytesType::B12; -constexpr FixedBytesType_Width FixedBytesType::B13; -constexpr FixedBytesType_Width FixedBytesType::B14; -constexpr FixedBytesType_Width FixedBytesType::B15; -constexpr FixedBytesType_Width FixedBytesType::B16; -constexpr FixedBytesType_Width FixedBytesType::B17; -constexpr FixedBytesType_Width FixedBytesType::B18; -constexpr FixedBytesType_Width FixedBytesType::B19; -constexpr FixedBytesType_Width FixedBytesType::B20; -constexpr FixedBytesType_Width FixedBytesType::B21; -constexpr FixedBytesType_Width FixedBytesType::B22; -constexpr FixedBytesType_Width FixedBytesType::B23; -constexpr FixedBytesType_Width FixedBytesType::B24; -constexpr FixedBytesType_Width FixedBytesType::B25; -constexpr FixedBytesType_Width FixedBytesType::B26; -constexpr FixedBytesType_Width FixedBytesType::B27; -constexpr FixedBytesType_Width FixedBytesType::B28; -constexpr FixedBytesType_Width FixedBytesType::B29; -constexpr FixedBytesType_Width FixedBytesType::B30; -constexpr FixedBytesType_Width FixedBytesType::B31; -constexpr FixedBytesType_Width FixedBytesType::B32; -constexpr FixedBytesType_Width FixedBytesType::Width_MIN; -constexpr FixedBytesType_Width FixedBytesType::Width_MAX; -constexpr int FixedBytesType::Width_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ArraySizeExpr_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[2]; -} -bool ArraySizeExpr_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr ArraySizeExpr_Kind ArraySizeExpr::BUCKET; -constexpr ArraySizeExpr_Kind ArraySizeExpr::ABI_SUBSCRIPT; -constexpr ArraySizeExpr_Kind ArraySizeExpr::BLOCK_SUBSCRIPT; -constexpr ArraySizeExpr_Kind ArraySizeExpr::MSG_SUBSCRIPT; -constexpr ArraySizeExpr_Kind ArraySizeExpr::TX_SUBSCRIPT; -constexpr ArraySizeExpr_Kind ArraySizeExpr::ABI_CALL; -constexpr ArraySizeExpr_Kind ArraySizeExpr::TYPE_INDEX; -constexpr ArraySizeExpr_Kind ArraySizeExpr::Kind_MIN; -constexpr ArraySizeExpr_Kind ArraySizeExpr::Kind_MAX; -constexpr int ArraySizeExpr::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IntegerLiteral_EtherUnit_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[3]; -} -bool IntegerLiteral_EtherUnit_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr IntegerLiteral_EtherUnit IntegerLiteral::WEI; -constexpr IntegerLiteral_EtherUnit IntegerLiteral::GWEI; -constexpr IntegerLiteral_EtherUnit IntegerLiteral::ETHER; -constexpr IntegerLiteral_EtherUnit IntegerLiteral::EtherUnit_MIN; -constexpr IntegerLiteral_EtherUnit IntegerLiteral::EtherUnit_MAX; -constexpr int IntegerLiteral::EtherUnit_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BinaryOp_Op_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[4]; -} -bool BinaryOp_Op_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr BinaryOp_Op BinaryOp::ADD; -constexpr BinaryOp_Op BinaryOp::SUB; -constexpr BinaryOp_Op BinaryOp::MUL; -constexpr BinaryOp_Op BinaryOp::DIV; -constexpr BinaryOp_Op BinaryOp::MOD; -constexpr BinaryOp_Op BinaryOp::EXP; -constexpr BinaryOp_Op BinaryOp::BIT_AND; -constexpr BinaryOp_Op BinaryOp::BIT_OR; -constexpr BinaryOp_Op BinaryOp::BIT_XOR; -constexpr BinaryOp_Op BinaryOp::SHL; -constexpr BinaryOp_Op BinaryOp::SHR; -constexpr BinaryOp_Op BinaryOp::LT; -constexpr BinaryOp_Op BinaryOp::GT; -constexpr BinaryOp_Op BinaryOp::LTE; -constexpr BinaryOp_Op BinaryOp::GTE; -constexpr BinaryOp_Op BinaryOp::EQ; -constexpr BinaryOp_Op BinaryOp::NEQ; -constexpr BinaryOp_Op BinaryOp::AND; -constexpr BinaryOp_Op BinaryOp::OR; -constexpr BinaryOp_Op BinaryOp::Op_MIN; -constexpr BinaryOp_Op BinaryOp::Op_MAX; -constexpr int BinaryOp::Op_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UnaryOp_Op_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[5]; -} -bool UnaryOp_Op_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr UnaryOp_Op UnaryOp::LNOT; -constexpr UnaryOp_Op UnaryOp::BNOT; -constexpr UnaryOp_Op UnaryOp::NEG; -constexpr UnaryOp_Op UnaryOp::INC_PRE; -constexpr UnaryOp_Op UnaryOp::DEC_PRE; -constexpr UnaryOp_Op UnaryOp::INC_POST; -constexpr UnaryOp_Op UnaryOp::DEC_POST; -constexpr UnaryOp_Op UnaryOp::Op_MIN; -constexpr UnaryOp_Op UnaryOp::Op_MAX; -constexpr int UnaryOp::Op_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MsgExpr_Field_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[6]; -} -bool MsgExpr_Field_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr MsgExpr_Field MsgExpr::SENDER; -constexpr MsgExpr_Field MsgExpr::VALUE; -constexpr MsgExpr_Field MsgExpr::SIG; -constexpr MsgExpr_Field MsgExpr::DATA; -constexpr MsgExpr_Field MsgExpr::Field_MIN; -constexpr MsgExpr_Field MsgExpr::Field_MAX; -constexpr int MsgExpr::Field_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BlockExpr_Field_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[7]; -} -bool BlockExpr_Field_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr BlockExpr_Field BlockExpr::TIMESTAMP; -constexpr BlockExpr_Field BlockExpr::NUMBER; -constexpr BlockExpr_Field BlockExpr::CHAINID; -constexpr BlockExpr_Field BlockExpr::BASEFEE; -constexpr BlockExpr_Field BlockExpr::PREVRANDAO; -constexpr BlockExpr_Field BlockExpr::GASLIMIT; -constexpr BlockExpr_Field BlockExpr::COINBASE; -constexpr BlockExpr_Field BlockExpr::BLOBBASEFEE; -constexpr BlockExpr_Field BlockExpr::Field_MIN; -constexpr BlockExpr_Field BlockExpr::Field_MAX; -constexpr int BlockExpr::Field_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TxExpr_Field_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[8]; -} -bool TxExpr_Field_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr TxExpr_Field TxExpr::ORIGIN; -constexpr TxExpr_Field TxExpr::GASPRICE; -constexpr TxExpr_Field TxExpr::Field_MIN; -constexpr TxExpr_Field TxExpr::Field_MAX; -constexpr int TxExpr::Field_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AbiEncodeExpr_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[9]; -} -bool AbiEncodeExpr_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr AbiEncodeExpr_Kind AbiEncodeExpr::ENCODE; -constexpr AbiEncodeExpr_Kind AbiEncodeExpr::ENCODE_PACKED; -constexpr AbiEncodeExpr_Kind AbiEncodeExpr::ENCODE_WITH_SELECTOR; -constexpr AbiEncodeExpr_Kind AbiEncodeExpr::ENCODE_WITH_SIGNATURE; -constexpr AbiEncodeExpr_Kind AbiEncodeExpr::Kind_MIN; -constexpr AbiEncodeExpr_Kind AbiEncodeExpr::Kind_MAX; -constexpr int AbiEncodeExpr::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HashExpr_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[10]; -} -bool HashExpr_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr HashExpr_Kind HashExpr::KECCAK256; -constexpr HashExpr_Kind HashExpr::SHA256; -constexpr HashExpr_Kind HashExpr::RIPEMD160; -constexpr HashExpr_Kind HashExpr::Kind_MIN; -constexpr HashExpr_Kind HashExpr::Kind_MAX; -constexpr int HashExpr::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MathExpr_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[11]; -} -bool MathExpr_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr MathExpr_Kind MathExpr::ADDMOD; -constexpr MathExpr_Kind MathExpr::MULMOD; -constexpr MathExpr_Kind MathExpr::Kind_MIN; -constexpr MathExpr_Kind MathExpr::Kind_MAX; -constexpr int MathExpr::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BuiltinExpr_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[12]; -} -bool BuiltinExpr_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr BuiltinExpr_Kind BuiltinExpr::GASLEFT; -constexpr BuiltinExpr_Kind BuiltinExpr::BLOCKHASH; -constexpr BuiltinExpr_Kind BuiltinExpr::BLOBHASH; -constexpr BuiltinExpr_Kind BuiltinExpr::THIS_BALANCE; -constexpr BuiltinExpr_Kind BuiltinExpr::CALLDATALOAD; -constexpr BuiltinExpr_Kind BuiltinExpr::CALLDATASIZE; -constexpr BuiltinExpr_Kind BuiltinExpr::Kind_MIN; -constexpr BuiltinExpr_Kind BuiltinExpr::Kind_MAX; -constexpr int BuiltinExpr::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TypeInfoExpr_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[13]; -} -bool TypeInfoExpr_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr TypeInfoExpr_Kind TypeInfoExpr::MIN; -constexpr TypeInfoExpr_Kind TypeInfoExpr::MAX; -constexpr TypeInfoExpr_Kind TypeInfoExpr::Kind_MIN; -constexpr TypeInfoExpr_Kind TypeInfoExpr::Kind_MAX; -constexpr int TypeInfoExpr::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AssignExpr_Op_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[14]; -} -bool AssignExpr_Op_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr AssignExpr_Op AssignExpr::ASSIGN; -constexpr AssignExpr_Op AssignExpr::ADD_ASSIGN; -constexpr AssignExpr_Op AssignExpr::SUB_ASSIGN; -constexpr AssignExpr_Op AssignExpr::MUL_ASSIGN; -constexpr AssignExpr_Op AssignExpr::DIV_ASSIGN; -constexpr AssignExpr_Op AssignExpr::MOD_ASSIGN; -constexpr AssignExpr_Op AssignExpr::AND_ASSIGN; -constexpr AssignExpr_Op AssignExpr::OR_ASSIGN; -constexpr AssignExpr_Op AssignExpr::XOR_ASSIGN; -constexpr AssignExpr_Op AssignExpr::SHL_ASSIGN; -constexpr AssignExpr_Op AssignExpr::SHR_ASSIGN; -constexpr AssignExpr_Op AssignExpr::Op_MIN; -constexpr AssignExpr_Op AssignExpr::Op_MAX; -constexpr int AssignExpr::Op_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConcatExpr_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[15]; -} -bool ConcatExpr_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr ConcatExpr_Kind ConcatExpr::BYTES_CONCAT; -constexpr ConcatExpr_Kind ConcatExpr::STRING_CONCAT; -constexpr ConcatExpr_Kind ConcatExpr::Kind_MIN; -constexpr ConcatExpr_Kind ConcatExpr::Kind_MAX; -constexpr int ConcatExpr::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ArrayLiteralExpr_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[16]; -} -bool ArrayLiteralExpr_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::UINT256; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::INT256; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::ADDRESS; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::BYTES32; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::BOOL; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::MIXED_SIGN; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::MIXED_WIDTH; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::MIXED_BYTES; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::NESTED; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::Kind_MIN; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr::Kind_MAX; -constexpr int ArrayLiteralExpr::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BareMagicStmt_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[17]; -} -bool BareMagicStmt_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr BareMagicStmt_Kind BareMagicStmt::ABI_ENCODE_CALL; -constexpr BareMagicStmt_Kind BareMagicStmt::ABI_ENCODE; -constexpr BareMagicStmt_Kind BareMagicStmt::ABI_ENCODE_PACKED; -constexpr BareMagicStmt_Kind BareMagicStmt::ABI_DECODE; -constexpr BareMagicStmt_Kind BareMagicStmt::ABI_ENCODE_WITH_SELECTOR; -constexpr BareMagicStmt_Kind BareMagicStmt::ABI_ENCODE_WITH_SIGNATURE; -constexpr BareMagicStmt_Kind BareMagicStmt::Kind_MIN; -constexpr BareMagicStmt_Kind BareMagicStmt::Kind_MAX; -constexpr int BareMagicStmt::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FixedAsmStmt_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[18]; -} -bool FixedAsmStmt_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr FixedAsmStmt_Kind FixedAsmStmt::FIXED_LOCAL; -constexpr FixedAsmStmt_Kind FixedAsmStmt::UFIXED_LOCAL; -constexpr FixedAsmStmt_Kind FixedAsmStmt::Kind_MIN; -constexpr FixedAsmStmt_Kind FixedAsmStmt::Kind_MAX; -constexpr int FixedAsmStmt::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UsingForBinding_OperatorKind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[19]; -} -bool UsingForBinding_OperatorKind_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_NONE; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_ADD; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_SUB; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_MUL; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_DIV; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_MOD; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_EQ; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_NEQ; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_LT; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_GT; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_LTE; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_GTE; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_BIT_AND; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_BIT_OR; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_BIT_XOR; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_BIT_NOT; -constexpr UsingForBinding_OperatorKind UsingForBinding::OP_UNARY_MINUS; -constexpr UsingForBinding_OperatorKind UsingForBinding::OperatorKind_MIN; -constexpr UsingForBinding_OperatorKind UsingForBinding::OperatorKind_MAX; -constexpr int UsingForBinding::OperatorKind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContractDef_Kind_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[20]; -} -bool ContractDef_Kind_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr ContractDef_Kind ContractDef::CONTRACT; -constexpr ContractDef_Kind ContractDef::LIBRARY; -constexpr ContractDef_Kind ContractDef::Kind_MIN; -constexpr ContractDef_Kind ContractDef::Kind_MAX; -constexpr int ContractDef::Kind_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Visibility_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[21]; -} -bool Visibility_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StateMutability_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[22]; -} -bool StateMutability_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ParamType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_sol2Proto_2eproto); - return file_level_enum_descriptors_sol2Proto_2eproto[23]; -} -bool ParamType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - - -// =================================================================== - -class IntegerType::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_width(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_is_signed(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -IntegerType::IntegerType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.IntegerType) -} -IntegerType::IntegerType(const IntegerType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IntegerType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.width_){} - , decltype(_impl_.is_signed_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.width_, &from._impl_.width_, - static_cast(reinterpret_cast(&_impl_.is_signed_) - - reinterpret_cast(&_impl_.width_)) + sizeof(_impl_.is_signed_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.IntegerType) -} - -inline void IntegerType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.width_){0} - , decltype(_impl_.is_signed_){false} - }; -} - -IntegerType::~IntegerType() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.IntegerType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IntegerType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void IntegerType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IntegerType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.IntegerType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.width_, 0, static_cast( - reinterpret_cast(&_impl_.is_signed_) - - reinterpret_cast(&_impl_.width_)) + sizeof(_impl_.is_signed_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IntegerType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.IntegerType.Width width = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::IntegerType_Width_IsValid(val))) { - _internal_set_width(static_cast<::solidity::test::sol2protofuzzer::IntegerType_Width>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required bool is_signed = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_is_signed(&has_bits); - _impl_.is_signed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IntegerType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.IntegerType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.IntegerType.Width width = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_width(), target); - } - - // required bool is_signed = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_is_signed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.IntegerType) - return target; -} - -size_t IntegerType::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.IntegerType) - size_t total_size = 0; - - if (_internal_has_width()) { - // required .solidity.test.sol2protofuzzer.IntegerType.Width width = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_width()); - } - - if (_internal_has_is_signed()) { - // required bool is_signed = 2; - total_size += 1 + 1; - } - - return total_size; -} -size_t IntegerType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.IntegerType) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.IntegerType.Width width = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_width()); - - // required bool is_signed = 2; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IntegerType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IntegerType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IntegerType::GetClassData() const { return &_class_data_; } - - -void IntegerType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.IntegerType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.width_ = from._impl_.width_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.is_signed_ = from._impl_.is_signed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IntegerType::CopyFrom(const IntegerType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.IntegerType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IntegerType::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void IntegerType::InternalSwap(IntegerType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IntegerType, _impl_.is_signed_) - + sizeof(IntegerType::_impl_.is_signed_) - - PROTOBUF_FIELD_OFFSET(IntegerType, _impl_.width_)>( - reinterpret_cast(&_impl_.width_), - reinterpret_cast(&other->_impl_.width_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IntegerType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[0]); -} - -// =================================================================== - -class FixedBytesType::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_width(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -FixedBytesType::FixedBytesType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.FixedBytesType) -} -FixedBytesType::FixedBytesType(const FixedBytesType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - FixedBytesType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.width_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.width_ = from._impl_.width_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.FixedBytesType) -} - -inline void FixedBytesType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.width_){0} - }; -} - -FixedBytesType::~FixedBytesType() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.FixedBytesType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void FixedBytesType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void FixedBytesType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void FixedBytesType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.FixedBytesType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.width_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* FixedBytesType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.FixedBytesType.Width width = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::FixedBytesType_Width_IsValid(val))) { - _internal_set_width(static_cast<::solidity::test::sol2protofuzzer::FixedBytesType_Width>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* FixedBytesType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.FixedBytesType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.FixedBytesType.Width width = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_width(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.FixedBytesType) - return target; -} - -size_t FixedBytesType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.FixedBytesType) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.FixedBytesType.Width width = 1; - if (_internal_has_width()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_width()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FixedBytesType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - FixedBytesType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FixedBytesType::GetClassData() const { return &_class_data_; } - - -void FixedBytesType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.FixedBytesType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_width()) { - _this->_internal_set_width(from._internal_width()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void FixedBytesType::CopyFrom(const FixedBytesType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.FixedBytesType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FixedBytesType::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void FixedBytesType::InternalSwap(FixedBytesType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.width_, other->_impl_.width_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata FixedBytesType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[1]); -} - -// =================================================================== - -class BoolType::_Internal { - public: -}; - -BoolType::BoolType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.BoolType) -} -BoolType::BoolType(const BoolType& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - BoolType* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.BoolType) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BoolType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BoolType::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata BoolType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[2]); -} - -// =================================================================== - -class ElementaryType::_Internal { - public: - static const ::solidity::test::sol2protofuzzer::BoolType& bool_type(const ElementaryType* msg); - static const ::solidity::test::sol2protofuzzer::IntegerType& int_type(const ElementaryType* msg); - static const ::solidity::test::sol2protofuzzer::FixedBytesType& fixed_bytes(const ElementaryType* msg); -}; - -const ::solidity::test::sol2protofuzzer::BoolType& -ElementaryType::_Internal::bool_type(const ElementaryType* msg) { - return *msg->_impl_.type_oneof_.bool_type_; -} -const ::solidity::test::sol2protofuzzer::IntegerType& -ElementaryType::_Internal::int_type(const ElementaryType* msg) { - return *msg->_impl_.type_oneof_.int_type_; -} -const ::solidity::test::sol2protofuzzer::FixedBytesType& -ElementaryType::_Internal::fixed_bytes(const ElementaryType* msg) { - return *msg->_impl_.type_oneof_.fixed_bytes_; -} -void ElementaryType::set_allocated_bool_type(::solidity::test::sol2protofuzzer::BoolType* bool_type) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_type_oneof(); - if (bool_type) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(bool_type); - if (message_arena != submessage_arena) { - bool_type = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, bool_type, submessage_arena); - } - set_has_bool_type(); - _impl_.type_oneof_.bool_type_ = bool_type; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ElementaryType.bool_type) -} -void ElementaryType::set_allocated_int_type(::solidity::test::sol2protofuzzer::IntegerType* int_type) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_type_oneof(); - if (int_type) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(int_type); - if (message_arena != submessage_arena) { - int_type = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, int_type, submessage_arena); - } - set_has_int_type(); - _impl_.type_oneof_.int_type_ = int_type; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ElementaryType.int_type) -} -void ElementaryType::set_allocated_fixed_bytes(::solidity::test::sol2protofuzzer::FixedBytesType* fixed_bytes) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_type_oneof(); - if (fixed_bytes) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(fixed_bytes); - if (message_arena != submessage_arena) { - fixed_bytes = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fixed_bytes, submessage_arena); - } - set_has_fixed_bytes(); - _impl_.type_oneof_.fixed_bytes_ = fixed_bytes; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ElementaryType.fixed_bytes) -} -ElementaryType::ElementaryType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ElementaryType) -} -ElementaryType::ElementaryType(const ElementaryType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ElementaryType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_type_oneof(); - switch (from.type_oneof_case()) { - case kBoolType: { - _this->_internal_mutable_bool_type()->::solidity::test::sol2protofuzzer::BoolType::MergeFrom( - from._internal_bool_type()); - break; - } - case kIntType: { - _this->_internal_mutable_int_type()->::solidity::test::sol2protofuzzer::IntegerType::MergeFrom( - from._internal_int_type()); - break; - } - case kAddressPayable: { - _this->_internal_set_address_payable(from._internal_address_payable()); - break; - } - case kFixedBytes: { - _this->_internal_mutable_fixed_bytes()->::solidity::test::sol2protofuzzer::FixedBytesType::MergeFrom( - from._internal_fixed_bytes()); - break; - } - case kIsString: { - _this->_internal_set_is_string(from._internal_is_string()); - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ElementaryType) -} - -inline void ElementaryType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_type_oneof(); -} - -ElementaryType::~ElementaryType() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ElementaryType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ElementaryType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_type_oneof()) { - clear_type_oneof(); - } -} - -void ElementaryType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ElementaryType::clear_type_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.sol2protofuzzer.ElementaryType) - switch (type_oneof_case()) { - case kBoolType: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.bool_type_; - } - break; - } - case kIntType: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.int_type_; - } - break; - } - case kAddressPayable: { - // No need to clear - break; - } - case kFixedBytes: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.fixed_bytes_; - } - break; - } - case kIsString: { - // No need to clear - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = TYPE_ONEOF_NOT_SET; -} - - -void ElementaryType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ElementaryType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_type_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ElementaryType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.test.sol2protofuzzer.BoolType bool_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_bool_type(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.IntegerType int_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_int_type(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // bool address_payable = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _internal_set_address_payable(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.FixedBytesType fixed_bytes = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_fixed_bytes(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // bool is_string = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _internal_set_is_string(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ElementaryType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ElementaryType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (type_oneof_case()) { - case kBoolType: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::bool_type(this), - _Internal::bool_type(this).GetCachedSize(), target, stream); - break; - } - case kIntType: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::int_type(this), - _Internal::int_type(this).GetCachedSize(), target, stream); - break; - } - case kAddressPayable: { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_address_payable(), target); - break; - } - case kFixedBytes: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::fixed_bytes(this), - _Internal::fixed_bytes(this).GetCachedSize(), target, stream); - break; - } - case kIsString: { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_is_string(), target); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ElementaryType) - return target; -} - -size_t ElementaryType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ElementaryType) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (type_oneof_case()) { - // .solidity.test.sol2protofuzzer.BoolType bool_type = 1; - case kBoolType: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_oneof_.bool_type_); - break; - } - // .solidity.test.sol2protofuzzer.IntegerType int_type = 2; - case kIntType: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_oneof_.int_type_); - break; - } - // bool address_payable = 3; - case kAddressPayable: { - total_size += 1 + 1; - break; - } - // .solidity.test.sol2protofuzzer.FixedBytesType fixed_bytes = 4; - case kFixedBytes: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_oneof_.fixed_bytes_); - break; - } - // bool is_string = 5; - case kIsString: { - total_size += 1 + 1; - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ElementaryType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ElementaryType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ElementaryType::GetClassData() const { return &_class_data_; } - - -void ElementaryType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ElementaryType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.type_oneof_case()) { - case kBoolType: { - _this->_internal_mutable_bool_type()->::solidity::test::sol2protofuzzer::BoolType::MergeFrom( - from._internal_bool_type()); - break; - } - case kIntType: { - _this->_internal_mutable_int_type()->::solidity::test::sol2protofuzzer::IntegerType::MergeFrom( - from._internal_int_type()); - break; - } - case kAddressPayable: { - _this->_internal_set_address_payable(from._internal_address_payable()); - break; - } - case kFixedBytes: { - _this->_internal_mutable_fixed_bytes()->::solidity::test::sol2protofuzzer::FixedBytesType::MergeFrom( - from._internal_fixed_bytes()); - break; - } - case kIsString: { - _this->_internal_set_is_string(from._internal_is_string()); - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ElementaryType::CopyFrom(const ElementaryType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ElementaryType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ElementaryType::IsInitialized() const { - switch (type_oneof_case()) { - case kBoolType: { - break; - } - case kIntType: { - if (_internal_has_int_type()) { - if (!_impl_.type_oneof_.int_type_->IsInitialized()) return false; - } - break; - } - case kAddressPayable: { - break; - } - case kFixedBytes: { - if (_internal_has_fixed_bytes()) { - if (!_impl_.type_oneof_.fixed_bytes_->IsInitialized()) return false; - } - break; - } - case kIsString: { - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void ElementaryType::InternalSwap(ElementaryType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.type_oneof_, other->_impl_.type_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ElementaryType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[3]); -} - -// =================================================================== - -class ArrayType::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::ElementaryType& base(const ArrayType* msg); - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_length(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::test::sol2protofuzzer::ArraySizeExpr& size_expr(const ArrayType* msg); - static void set_has_size_expr(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::ElementaryType& -ArrayType::_Internal::base(const ArrayType* msg) { - return *msg->_impl_.base_; -} -const ::solidity::test::sol2protofuzzer::ArraySizeExpr& -ArrayType::_Internal::size_expr(const ArrayType* msg) { - return *msg->_impl_.size_expr_; -} -ArrayType::ArrayType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ArrayType) -} -ArrayType::ArrayType(const ArrayType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ArrayType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.size_expr_){nullptr} - , decltype(_impl_.length_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_base()) { - _this->_impl_.base_ = new ::solidity::test::sol2protofuzzer::ElementaryType(*from._impl_.base_); - } - if (from._internal_has_size_expr()) { - _this->_impl_.size_expr_ = new ::solidity::test::sol2protofuzzer::ArraySizeExpr(*from._impl_.size_expr_); - } - _this->_impl_.length_ = from._impl_.length_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ArrayType) -} - -inline void ArrayType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.size_expr_){nullptr} - , decltype(_impl_.length_){0u} - }; -} - -ArrayType::~ArrayType() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ArrayType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ArrayType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.base_; - if (this != internal_default_instance()) delete _impl_.size_expr_; -} - -void ArrayType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ArrayType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ArrayType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.base_ != nullptr); - _impl_.base_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.size_expr_ != nullptr); - _impl_.size_expr_->Clear(); - } - } - _impl_.length_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ArrayType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.ElementaryType base = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 length = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_length(&has_bits); - _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .solidity.test.sol2protofuzzer.ArraySizeExpr size_expr = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_size_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ArrayType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ArrayType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.ElementaryType base = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::base(this), - _Internal::base(this).GetCachedSize(), target, stream); - } - - // optional uint32 length = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_length(), target); - } - - // optional .solidity.test.sol2protofuzzer.ArraySizeExpr size_expr = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::size_expr(this), - _Internal::size_expr(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ArrayType) - return target; -} - -size_t ArrayType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ArrayType) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.ElementaryType base = 1; - if (_internal_has_base()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.base_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000006u) { - // optional .solidity.test.sol2protofuzzer.ArraySizeExpr size_expr = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_expr_); - } - - // optional uint32 length = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ArrayType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ArrayType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ArrayType::GetClassData() const { return &_class_data_; } - - -void ArrayType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ArrayType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_base()->::solidity::test::sol2protofuzzer::ElementaryType::MergeFrom( - from._internal_base()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_size_expr()->::solidity::test::sol2protofuzzer::ArraySizeExpr::MergeFrom( - from._internal_size_expr()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.length_ = from._impl_.length_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ArrayType::CopyFrom(const ArrayType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ArrayType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArrayType::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_base()) { - if (!_impl_.base_->IsInitialized()) return false; - } - if (_internal_has_size_expr()) { - if (!_impl_.size_expr_->IsInitialized()) return false; - } - return true; -} - -void ArrayType::InternalSwap(ArrayType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ArrayType, _impl_.length_) - + sizeof(ArrayType::_impl_.length_) - - PROTOBUF_FIELD_OFFSET(ArrayType, _impl_.base_)>( - reinterpret_cast(&_impl_.base_), - reinterpret_cast(&other->_impl_.base_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ArrayType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[4]); -} - -// =================================================================== - -class ArraySizeExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -ArraySizeExpr::ArraySizeExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ArraySizeExpr) -} -ArraySizeExpr::ArraySizeExpr(const ArraySizeExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ArraySizeExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.kind_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.kind_ = from._impl_.kind_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ArraySizeExpr) -} - -inline void ArraySizeExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.kind_){0} - }; -} - -ArraySizeExpr::~ArraySizeExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ArraySizeExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ArraySizeExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ArraySizeExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ArraySizeExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ArraySizeExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.kind_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ArraySizeExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.ArraySizeExpr.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ArraySizeExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ArraySizeExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.ArraySizeExpr.Kind kind = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ArraySizeExpr) - return target; -} - -size_t ArraySizeExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ArraySizeExpr) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.ArraySizeExpr.Kind kind = 1; - if (_internal_has_kind()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ArraySizeExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ArraySizeExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ArraySizeExpr::GetClassData() const { return &_class_data_; } - - -void ArraySizeExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ArraySizeExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_kind()) { - _this->_internal_set_kind(from._internal_kind()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ArraySizeExpr::CopyFrom(const ArraySizeExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ArraySizeExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArraySizeExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void ArraySizeExpr::InternalSwap(ArraySizeExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.kind_, other->_impl_.kind_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ArraySizeExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[5]); -} - -// =================================================================== - -class MappingType::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::ElementaryType& key(const MappingType* msg); - static void set_has_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::ElementaryType& value(const MappingType* msg); - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::ElementaryType& -MappingType::_Internal::key(const MappingType* msg) { - return *msg->_impl_.key_; -} -const ::solidity::test::sol2protofuzzer::ElementaryType& -MappingType::_Internal::value(const MappingType* msg) { - return *msg->_impl_.value_; -} -MappingType::MappingType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.MappingType) -} -MappingType::MappingType(const MappingType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MappingType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_){nullptr} - , decltype(_impl_.value_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_key()) { - _this->_impl_.key_ = new ::solidity::test::sol2protofuzzer::ElementaryType(*from._impl_.key_); - } - if (from._internal_has_value()) { - _this->_impl_.value_ = new ::solidity::test::sol2protofuzzer::ElementaryType(*from._impl_.value_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.MappingType) -} - -inline void MappingType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_){nullptr} - , decltype(_impl_.value_){nullptr} - }; -} - -MappingType::~MappingType() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.MappingType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MappingType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.key_; - if (this != internal_default_instance()) delete _impl_.value_; -} - -void MappingType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MappingType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.MappingType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.key_ != nullptr); - _impl_.key_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.value_ != nullptr); - _impl_.value_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MappingType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.ElementaryType key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_key(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.ElementaryType value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_value(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MappingType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.MappingType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.ElementaryType key = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::key(this), - _Internal::key(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.ElementaryType value = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::value(this), - _Internal::value(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.MappingType) - return target; -} - -size_t MappingType::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.MappingType) - size_t total_size = 0; - - if (_internal_has_key()) { - // required .solidity.test.sol2protofuzzer.ElementaryType key = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.key_); - } - - if (_internal_has_value()) { - // required .solidity.test.sol2protofuzzer.ElementaryType value = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_); - } - - return total_size; -} -size_t MappingType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.MappingType) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.ElementaryType key = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.key_); - - // required .solidity.test.sol2protofuzzer.ElementaryType value = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MappingType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MappingType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MappingType::GetClassData() const { return &_class_data_; } - - -void MappingType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.MappingType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_key()->::solidity::test::sol2protofuzzer::ElementaryType::MergeFrom( - from._internal_key()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_value()->::solidity::test::sol2protofuzzer::ElementaryType::MergeFrom( - from._internal_value()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MappingType::CopyFrom(const MappingType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.MappingType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MappingType::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_key()) { - if (!_impl_.key_->IsInitialized()) return false; - } - if (_internal_has_value()) { - if (!_impl_.value_->IsInitialized()) return false; - } - return true; -} - -void MappingType::InternalSwap(MappingType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(MappingType, _impl_.value_) - + sizeof(MappingType::_impl_.value_) - - PROTOBUF_FIELD_OFFSET(MappingType, _impl_.key_)>( - reinterpret_cast(&_impl_.key_), - reinterpret_cast(&other->_impl_.key_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MappingType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[6]); -} - -// =================================================================== - -class TypeName::_Internal { - public: - static const ::solidity::test::sol2protofuzzer::ElementaryType& elementary(const TypeName* msg); - static const ::solidity::test::sol2protofuzzer::ArrayType& array(const TypeName* msg); - static const ::solidity::test::sol2protofuzzer::MappingType& mapping(const TypeName* msg); -}; - -const ::solidity::test::sol2protofuzzer::ElementaryType& -TypeName::_Internal::elementary(const TypeName* msg) { - return *msg->_impl_.type_oneof_.elementary_; -} -const ::solidity::test::sol2protofuzzer::ArrayType& -TypeName::_Internal::array(const TypeName* msg) { - return *msg->_impl_.type_oneof_.array_; -} -const ::solidity::test::sol2protofuzzer::MappingType& -TypeName::_Internal::mapping(const TypeName* msg) { - return *msg->_impl_.type_oneof_.mapping_; -} -void TypeName::set_allocated_elementary(::solidity::test::sol2protofuzzer::ElementaryType* elementary) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_type_oneof(); - if (elementary) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(elementary); - if (message_arena != submessage_arena) { - elementary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, elementary, submessage_arena); - } - set_has_elementary(); - _impl_.type_oneof_.elementary_ = elementary; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TypeName.elementary) -} -void TypeName::set_allocated_array(::solidity::test::sol2protofuzzer::ArrayType* array) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_type_oneof(); - if (array) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(array); - if (message_arena != submessage_arena) { - array = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, array, submessage_arena); - } - set_has_array(); - _impl_.type_oneof_.array_ = array; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TypeName.array) -} -void TypeName::set_allocated_mapping(::solidity::test::sol2protofuzzer::MappingType* mapping) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_type_oneof(); - if (mapping) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(mapping); - if (message_arena != submessage_arena) { - mapping = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, mapping, submessage_arena); - } - set_has_mapping(); - _impl_.type_oneof_.mapping_ = mapping; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TypeName.mapping) -} -TypeName::TypeName(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.TypeName) -} -TypeName::TypeName(const TypeName& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TypeName* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_type_oneof(); - switch (from.type_oneof_case()) { - case kElementary: { - _this->_internal_mutable_elementary()->::solidity::test::sol2protofuzzer::ElementaryType::MergeFrom( - from._internal_elementary()); - break; - } - case kArray: { - _this->_internal_mutable_array()->::solidity::test::sol2protofuzzer::ArrayType::MergeFrom( - from._internal_array()); - break; - } - case kMapping: { - _this->_internal_mutable_mapping()->::solidity::test::sol2protofuzzer::MappingType::MergeFrom( - from._internal_mapping()); - break; - } - case kStructRef: { - _this->_internal_set_struct_ref(from._internal_struct_ref()); - break; - } - case kEnumRef: { - _this->_internal_set_enum_ref(from._internal_enum_ref()); - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.TypeName) -} - -inline void TypeName::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_type_oneof(); -} - -TypeName::~TypeName() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.TypeName) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TypeName::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_type_oneof()) { - clear_type_oneof(); - } -} - -void TypeName::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TypeName::clear_type_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.sol2protofuzzer.TypeName) - switch (type_oneof_case()) { - case kElementary: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.elementary_; - } - break; - } - case kArray: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.array_; - } - break; - } - case kMapping: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.mapping_; - } - break; - } - case kStructRef: { - // No need to clear - break; - } - case kEnumRef: { - // No need to clear - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = TYPE_ONEOF_NOT_SET; -} - - -void TypeName::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.TypeName) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_type_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TypeName::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.test.sol2protofuzzer.ElementaryType elementary = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_elementary(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.ArrayType array = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_array(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.MappingType mapping = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_mapping(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 struct_ref = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _internal_set_struct_ref(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 enum_ref = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _internal_set_enum_ref(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TypeName::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.TypeName) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (type_oneof_case()) { - case kElementary: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::elementary(this), - _Internal::elementary(this).GetCachedSize(), target, stream); - break; - } - case kArray: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::array(this), - _Internal::array(this).GetCachedSize(), target, stream); - break; - } - case kMapping: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::mapping(this), - _Internal::mapping(this).GetCachedSize(), target, stream); - break; - } - case kStructRef: { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_struct_ref(), target); - break; - } - case kEnumRef: { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_enum_ref(), target); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.TypeName) - return target; -} - -size_t TypeName::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.TypeName) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (type_oneof_case()) { - // .solidity.test.sol2protofuzzer.ElementaryType elementary = 1; - case kElementary: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_oneof_.elementary_); - break; - } - // .solidity.test.sol2protofuzzer.ArrayType array = 2; - case kArray: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_oneof_.array_); - break; - } - // .solidity.test.sol2protofuzzer.MappingType mapping = 3; - case kMapping: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_oneof_.mapping_); - break; - } - // uint32 struct_ref = 4; - case kStructRef: { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_struct_ref()); - break; - } - // uint32 enum_ref = 5; - case kEnumRef: { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_enum_ref()); - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TypeName::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TypeName::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TypeName::GetClassData() const { return &_class_data_; } - - -void TypeName::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.TypeName) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.type_oneof_case()) { - case kElementary: { - _this->_internal_mutable_elementary()->::solidity::test::sol2protofuzzer::ElementaryType::MergeFrom( - from._internal_elementary()); - break; - } - case kArray: { - _this->_internal_mutable_array()->::solidity::test::sol2protofuzzer::ArrayType::MergeFrom( - from._internal_array()); - break; - } - case kMapping: { - _this->_internal_mutable_mapping()->::solidity::test::sol2protofuzzer::MappingType::MergeFrom( - from._internal_mapping()); - break; - } - case kStructRef: { - _this->_internal_set_struct_ref(from._internal_struct_ref()); - break; - } - case kEnumRef: { - _this->_internal_set_enum_ref(from._internal_enum_ref()); - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TypeName::CopyFrom(const TypeName& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.TypeName) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TypeName::IsInitialized() const { - switch (type_oneof_case()) { - case kElementary: { - if (_internal_has_elementary()) { - if (!_impl_.type_oneof_.elementary_->IsInitialized()) return false; - } - break; - } - case kArray: { - if (_internal_has_array()) { - if (!_impl_.type_oneof_.array_->IsInitialized()) return false; - } - break; - } - case kMapping: { - if (_internal_has_mapping()) { - if (!_impl_.type_oneof_.mapping_->IsInitialized()) return false; - } - break; - } - case kStructRef: { - break; - } - case kEnumRef: { - break; - } - case TYPE_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void TypeName::InternalSwap(TypeName* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.type_oneof_, other->_impl_.type_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TypeName::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[7]); -} - -// =================================================================== - -class BoolLiteral::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_val(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -BoolLiteral::BoolLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.BoolLiteral) -} -BoolLiteral::BoolLiteral(const BoolLiteral& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - BoolLiteral* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.val_ = from._impl_.val_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.BoolLiteral) -} - -inline void BoolLiteral::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_){false} - }; -} - -BoolLiteral::~BoolLiteral() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.BoolLiteral) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void BoolLiteral::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void BoolLiteral::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void BoolLiteral::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.BoolLiteral) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.val_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* BoolLiteral::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required bool val = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_val(&has_bits); - _impl_.val_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* BoolLiteral::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.BoolLiteral) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required bool val = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_val(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.BoolLiteral) - return target; -} - -size_t BoolLiteral::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.BoolLiteral) - size_t total_size = 0; - - // required bool val = 1; - if (_internal_has_val()) { - total_size += 1 + 1; - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BoolLiteral::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - BoolLiteral::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BoolLiteral::GetClassData() const { return &_class_data_; } - - -void BoolLiteral::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.BoolLiteral) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_val()) { - _this->_internal_set_val(from._internal_val()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void BoolLiteral::CopyFrom(const BoolLiteral& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.BoolLiteral) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BoolLiteral::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void BoolLiteral::InternalSwap(BoolLiteral* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.val_, other->_impl_.val_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata BoolLiteral::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[8]); -} - -// =================================================================== - -class IntegerLiteral::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_val(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_negative(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ether_unit(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -IntegerLiteral::IntegerLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.IntegerLiteral) -} -IntegerLiteral::IntegerLiteral(const IntegerLiteral& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IntegerLiteral* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_){} - , decltype(_impl_.negative_){} - , decltype(_impl_.ether_unit_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.val_, &from._impl_.val_, - static_cast(reinterpret_cast(&_impl_.ether_unit_) - - reinterpret_cast(&_impl_.val_)) + sizeof(_impl_.ether_unit_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.IntegerLiteral) -} - -inline void IntegerLiteral::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_){uint64_t{0u}} - , decltype(_impl_.negative_){false} - , decltype(_impl_.ether_unit_){0} - }; -} - -IntegerLiteral::~IntegerLiteral() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.IntegerLiteral) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IntegerLiteral::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void IntegerLiteral::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IntegerLiteral::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.IntegerLiteral) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.val_, 0, static_cast( - reinterpret_cast(&_impl_.ether_unit_) - - reinterpret_cast(&_impl_.val_)) + sizeof(_impl_.ether_unit_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IntegerLiteral::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint64 val = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_val(&has_bits); - _impl_.val_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bool negative = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_negative(&has_bits); - _impl_.negative_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .solidity.test.sol2protofuzzer.IntegerLiteral.EtherUnit ether_unit = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit_IsValid(val))) { - _internal_set_ether_unit(static_cast<::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IntegerLiteral::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.IntegerLiteral) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint64 val = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_val(), target); - } - - // required bool negative = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_negative(), target); - } - - // optional .solidity.test.sol2protofuzzer.IntegerLiteral.EtherUnit ether_unit = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this->_internal_ether_unit(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.IntegerLiteral) - return target; -} - -size_t IntegerLiteral::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.IntegerLiteral) - size_t total_size = 0; - - if (_internal_has_val()) { - // required uint64 val = 1; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_val()); - } - - if (_internal_has_negative()) { - // required bool negative = 2; - total_size += 1 + 1; - } - - return total_size; -} -size_t IntegerLiteral::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.IntegerLiteral) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required uint64 val = 1; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_val()); - - // required bool negative = 2; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .solidity.test.sol2protofuzzer.IntegerLiteral.EtherUnit ether_unit = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_ether_unit()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IntegerLiteral::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IntegerLiteral::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IntegerLiteral::GetClassData() const { return &_class_data_; } - - -void IntegerLiteral::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.IntegerLiteral) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.val_ = from._impl_.val_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.negative_ = from._impl_.negative_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ether_unit_ = from._impl_.ether_unit_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IntegerLiteral::CopyFrom(const IntegerLiteral& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.IntegerLiteral) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IntegerLiteral::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void IntegerLiteral::InternalSwap(IntegerLiteral* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IntegerLiteral, _impl_.ether_unit_) - + sizeof(IntegerLiteral::_impl_.ether_unit_) - - PROTOBUF_FIELD_OFFSET(IntegerLiteral, _impl_.val_)>( - reinterpret_cast(&_impl_.val_), - reinterpret_cast(&other->_impl_.val_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IntegerLiteral::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[9]); -} - -// =================================================================== - -class StringLiteral::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_seed(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -StringLiteral::StringLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.StringLiteral) -} -StringLiteral::StringLiteral(const StringLiteral& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StringLiteral* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.seed_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.seed_ = from._impl_.seed_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.StringLiteral) -} - -inline void StringLiteral::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.seed_){0u} - }; -} - -StringLiteral::~StringLiteral() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.StringLiteral) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StringLiteral::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void StringLiteral::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StringLiteral::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.StringLiteral) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.seed_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StringLiteral::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 seed = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_seed(&has_bits); - _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StringLiteral::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.StringLiteral) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 seed = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_seed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.StringLiteral) - return target; -} - -size_t StringLiteral::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.StringLiteral) - size_t total_size = 0; - - // required uint32 seed = 1; - if (_internal_has_seed()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seed()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StringLiteral::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StringLiteral::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StringLiteral::GetClassData() const { return &_class_data_; } - - -void StringLiteral::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.StringLiteral) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_seed()) { - _this->_internal_set_seed(from._internal_seed()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StringLiteral::CopyFrom(const StringLiteral& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.StringLiteral) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StringLiteral::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void StringLiteral::InternalSwap(StringLiteral* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.seed_, other->_impl_.seed_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StringLiteral::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[10]); -} - -// =================================================================== - -class AddressLiteral::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_val(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -AddressLiteral::AddressLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.AddressLiteral) -} -AddressLiteral::AddressLiteral(const AddressLiteral& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - AddressLiteral* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.val_ = from._impl_.val_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.AddressLiteral) -} - -inline void AddressLiteral::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_){uint64_t{0u}} - }; -} - -AddressLiteral::~AddressLiteral() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.AddressLiteral) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void AddressLiteral::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void AddressLiteral::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void AddressLiteral::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.AddressLiteral) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.val_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* AddressLiteral::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint64 val = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_val(&has_bits); - _impl_.val_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* AddressLiteral::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.AddressLiteral) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint64 val = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_val(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.AddressLiteral) - return target; -} - -size_t AddressLiteral::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.AddressLiteral) - size_t total_size = 0; - - // required uint64 val = 1; - if (_internal_has_val()) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_val()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AddressLiteral::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - AddressLiteral::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AddressLiteral::GetClassData() const { return &_class_data_; } - - -void AddressLiteral::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.AddressLiteral) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_val()) { - _this->_internal_set_val(from._internal_val()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void AddressLiteral::CopyFrom(const AddressLiteral& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.AddressLiteral) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AddressLiteral::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void AddressLiteral::InternalSwap(AddressLiteral* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.val_, other->_impl_.val_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata AddressLiteral::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[11]); -} - -// =================================================================== - -class Literal::_Internal { - public: - static const ::solidity::test::sol2protofuzzer::BoolLiteral& bool_lit(const Literal* msg); - static const ::solidity::test::sol2protofuzzer::IntegerLiteral& int_lit(const Literal* msg); - static const ::solidity::test::sol2protofuzzer::StringLiteral& str_lit(const Literal* msg); - static const ::solidity::test::sol2protofuzzer::AddressLiteral& addr_lit(const Literal* msg); -}; - -const ::solidity::test::sol2protofuzzer::BoolLiteral& -Literal::_Internal::bool_lit(const Literal* msg) { - return *msg->_impl_.lit_oneof_.bool_lit_; -} -const ::solidity::test::sol2protofuzzer::IntegerLiteral& -Literal::_Internal::int_lit(const Literal* msg) { - return *msg->_impl_.lit_oneof_.int_lit_; -} -const ::solidity::test::sol2protofuzzer::StringLiteral& -Literal::_Internal::str_lit(const Literal* msg) { - return *msg->_impl_.lit_oneof_.str_lit_; -} -const ::solidity::test::sol2protofuzzer::AddressLiteral& -Literal::_Internal::addr_lit(const Literal* msg) { - return *msg->_impl_.lit_oneof_.addr_lit_; -} -void Literal::set_allocated_bool_lit(::solidity::test::sol2protofuzzer::BoolLiteral* bool_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_lit_oneof(); - if (bool_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(bool_lit); - if (message_arena != submessage_arena) { - bool_lit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, bool_lit, submessage_arena); - } - set_has_bool_lit(); - _impl_.lit_oneof_.bool_lit_ = bool_lit; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Literal.bool_lit) -} -void Literal::set_allocated_int_lit(::solidity::test::sol2protofuzzer::IntegerLiteral* int_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_lit_oneof(); - if (int_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(int_lit); - if (message_arena != submessage_arena) { - int_lit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, int_lit, submessage_arena); - } - set_has_int_lit(); - _impl_.lit_oneof_.int_lit_ = int_lit; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Literal.int_lit) -} -void Literal::set_allocated_str_lit(::solidity::test::sol2protofuzzer::StringLiteral* str_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_lit_oneof(); - if (str_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(str_lit); - if (message_arena != submessage_arena) { - str_lit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, str_lit, submessage_arena); - } - set_has_str_lit(); - _impl_.lit_oneof_.str_lit_ = str_lit; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Literal.str_lit) -} -void Literal::set_allocated_addr_lit(::solidity::test::sol2protofuzzer::AddressLiteral* addr_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_lit_oneof(); - if (addr_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(addr_lit); - if (message_arena != submessage_arena) { - addr_lit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, addr_lit, submessage_arena); - } - set_has_addr_lit(); - _impl_.lit_oneof_.addr_lit_ = addr_lit; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Literal.addr_lit) -} -Literal::Literal(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.Literal) -} -Literal::Literal(const Literal& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Literal* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.lit_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_lit_oneof(); - switch (from.lit_oneof_case()) { - case kBoolLit: { - _this->_internal_mutable_bool_lit()->::solidity::test::sol2protofuzzer::BoolLiteral::MergeFrom( - from._internal_bool_lit()); - break; - } - case kIntLit: { - _this->_internal_mutable_int_lit()->::solidity::test::sol2protofuzzer::IntegerLiteral::MergeFrom( - from._internal_int_lit()); - break; - } - case kStrLit: { - _this->_internal_mutable_str_lit()->::solidity::test::sol2protofuzzer::StringLiteral::MergeFrom( - from._internal_str_lit()); - break; - } - case kAddrLit: { - _this->_internal_mutable_addr_lit()->::solidity::test::sol2protofuzzer::AddressLiteral::MergeFrom( - from._internal_addr_lit()); - break; - } - case LIT_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.Literal) -} - -inline void Literal::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.lit_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_lit_oneof(); -} - -Literal::~Literal() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.Literal) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Literal::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_lit_oneof()) { - clear_lit_oneof(); - } -} - -void Literal::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Literal::clear_lit_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.sol2protofuzzer.Literal) - switch (lit_oneof_case()) { - case kBoolLit: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.lit_oneof_.bool_lit_; - } - break; - } - case kIntLit: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.lit_oneof_.int_lit_; - } - break; - } - case kStrLit: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.lit_oneof_.str_lit_; - } - break; - } - case kAddrLit: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.lit_oneof_.addr_lit_; - } - break; - } - case LIT_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = LIT_ONEOF_NOT_SET; -} - - -void Literal::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.Literal) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_lit_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Literal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.test.sol2protofuzzer.BoolLiteral bool_lit = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_bool_lit(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.IntegerLiteral int_lit = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_int_lit(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.StringLiteral str_lit = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_str_lit(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.AddressLiteral addr_lit = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_addr_lit(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Literal::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.Literal) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (lit_oneof_case()) { - case kBoolLit: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::bool_lit(this), - _Internal::bool_lit(this).GetCachedSize(), target, stream); - break; - } - case kIntLit: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::int_lit(this), - _Internal::int_lit(this).GetCachedSize(), target, stream); - break; - } - case kStrLit: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::str_lit(this), - _Internal::str_lit(this).GetCachedSize(), target, stream); - break; - } - case kAddrLit: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::addr_lit(this), - _Internal::addr_lit(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.Literal) - return target; -} - -size_t Literal::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.Literal) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (lit_oneof_case()) { - // .solidity.test.sol2protofuzzer.BoolLiteral bool_lit = 1; - case kBoolLit: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.lit_oneof_.bool_lit_); - break; - } - // .solidity.test.sol2protofuzzer.IntegerLiteral int_lit = 2; - case kIntLit: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.lit_oneof_.int_lit_); - break; - } - // .solidity.test.sol2protofuzzer.StringLiteral str_lit = 3; - case kStrLit: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.lit_oneof_.str_lit_); - break; - } - // .solidity.test.sol2protofuzzer.AddressLiteral addr_lit = 4; - case kAddrLit: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.lit_oneof_.addr_lit_); - break; - } - case LIT_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Literal::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Literal::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Literal::GetClassData() const { return &_class_data_; } - - -void Literal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.Literal) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.lit_oneof_case()) { - case kBoolLit: { - _this->_internal_mutable_bool_lit()->::solidity::test::sol2protofuzzer::BoolLiteral::MergeFrom( - from._internal_bool_lit()); - break; - } - case kIntLit: { - _this->_internal_mutable_int_lit()->::solidity::test::sol2protofuzzer::IntegerLiteral::MergeFrom( - from._internal_int_lit()); - break; - } - case kStrLit: { - _this->_internal_mutable_str_lit()->::solidity::test::sol2protofuzzer::StringLiteral::MergeFrom( - from._internal_str_lit()); - break; - } - case kAddrLit: { - _this->_internal_mutable_addr_lit()->::solidity::test::sol2protofuzzer::AddressLiteral::MergeFrom( - from._internal_addr_lit()); - break; - } - case LIT_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Literal::CopyFrom(const Literal& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.Literal) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Literal::IsInitialized() const { - switch (lit_oneof_case()) { - case kBoolLit: { - if (_internal_has_bool_lit()) { - if (!_impl_.lit_oneof_.bool_lit_->IsInitialized()) return false; - } - break; - } - case kIntLit: { - if (_internal_has_int_lit()) { - if (!_impl_.lit_oneof_.int_lit_->IsInitialized()) return false; - } - break; - } - case kStrLit: { - if (_internal_has_str_lit()) { - if (!_impl_.lit_oneof_.str_lit_->IsInitialized()) return false; - } - break; - } - case kAddrLit: { - if (_internal_has_addr_lit()) { - if (!_impl_.lit_oneof_.addr_lit_->IsInitialized()) return false; - } - break; - } - case LIT_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void Literal::InternalSwap(Literal* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.lit_oneof_, other->_impl_.lit_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Literal::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[12]); -} - -// =================================================================== - -class VarRef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -VarRef::VarRef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.VarRef) -} -VarRef::VarRef(const VarRef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - VarRef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.index_ = from._impl_.index_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.VarRef) -} - -inline void VarRef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.index_){0u} - }; -} - -VarRef::~VarRef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.VarRef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void VarRef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void VarRef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void VarRef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.VarRef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.index_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* VarRef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* VarRef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.VarRef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 index = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.VarRef) - return target; -} - -size_t VarRef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.VarRef) - size_t total_size = 0; - - // required uint32 index = 1; - if (_internal_has_index()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VarRef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - VarRef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VarRef::GetClassData() const { return &_class_data_; } - - -void VarRef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.VarRef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_index()) { - _this->_internal_set_index(from._internal_index()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void VarRef::CopyFrom(const VarRef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.VarRef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool VarRef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void VarRef::InternalSwap(VarRef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.index_, other->_impl_.index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata VarRef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[13]); -} - -// =================================================================== - -class BinaryOp::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_op(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::test::sol2protofuzzer::Expression& left(const BinaryOp* msg); - static void set_has_left(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Expression& right(const BinaryOp* msg); - static void set_has_right(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -BinaryOp::_Internal::left(const BinaryOp* msg) { - return *msg->_impl_.left_; -} -const ::solidity::test::sol2protofuzzer::Expression& -BinaryOp::_Internal::right(const BinaryOp* msg) { - return *msg->_impl_.right_; -} -BinaryOp::BinaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.BinaryOp) -} -BinaryOp::BinaryOp(const BinaryOp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - BinaryOp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.left_){nullptr} - , decltype(_impl_.right_){nullptr} - , decltype(_impl_.op_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_left()) { - _this->_impl_.left_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.left_); - } - if (from._internal_has_right()) { - _this->_impl_.right_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.right_); - } - _this->_impl_.op_ = from._impl_.op_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.BinaryOp) -} - -inline void BinaryOp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.left_){nullptr} - , decltype(_impl_.right_){nullptr} - , decltype(_impl_.op_){0} - }; -} - -BinaryOp::~BinaryOp() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.BinaryOp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void BinaryOp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.left_; - if (this != internal_default_instance()) delete _impl_.right_; -} - -void BinaryOp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void BinaryOp::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.BinaryOp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.left_ != nullptr); - _impl_.left_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.right_ != nullptr); - _impl_.right_->Clear(); - } - } - _impl_.op_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* BinaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.BinaryOp.Op op = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::BinaryOp_Op_IsValid(val))) { - _internal_set_op(static_cast<::solidity::test::sol2protofuzzer::BinaryOp_Op>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression left = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression right = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* BinaryOp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.BinaryOp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.BinaryOp.Op op = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_op(), target); - } - - // required .solidity.test.sol2protofuzzer.Expression left = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::left(this), - _Internal::left(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression right = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::right(this), - _Internal::right(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.BinaryOp) - return target; -} - -size_t BinaryOp::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.BinaryOp) - size_t total_size = 0; - - if (_internal_has_left()) { - // required .solidity.test.sol2protofuzzer.Expression left = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.left_); - } - - if (_internal_has_right()) { - // required .solidity.test.sol2protofuzzer.Expression right = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.right_); - } - - if (_internal_has_op()) { - // required .solidity.test.sol2protofuzzer.BinaryOp.Op op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - } - - return total_size; -} -size_t BinaryOp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.BinaryOp) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression left = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.left_); - - // required .solidity.test.sol2protofuzzer.Expression right = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.right_); - - // required .solidity.test.sol2protofuzzer.BinaryOp.Op op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BinaryOp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - BinaryOp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BinaryOp::GetClassData() const { return &_class_data_; } - - -void BinaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.BinaryOp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_left()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_left()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_right()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_right()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.op_ = from._impl_.op_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void BinaryOp::CopyFrom(const BinaryOp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.BinaryOp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BinaryOp::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_left()) { - if (!_impl_.left_->IsInitialized()) return false; - } - if (_internal_has_right()) { - if (!_impl_.right_->IsInitialized()) return false; - } - return true; -} - -void BinaryOp::InternalSwap(BinaryOp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.op_) - + sizeof(BinaryOp::_impl_.op_) - - PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.left_)>( - reinterpret_cast(&_impl_.left_), - reinterpret_cast(&other->_impl_.left_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata BinaryOp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[14]); -} - -// =================================================================== - -class UnaryOp::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_op(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::Expression& operand(const UnaryOp* msg); - static void set_has_operand(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -UnaryOp::_Internal::operand(const UnaryOp* msg) { - return *msg->_impl_.operand_; -} -UnaryOp::UnaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.UnaryOp) -} -UnaryOp::UnaryOp(const UnaryOp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - UnaryOp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.operand_){nullptr} - , decltype(_impl_.op_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_operand()) { - _this->_impl_.operand_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.operand_); - } - _this->_impl_.op_ = from._impl_.op_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.UnaryOp) -} - -inline void UnaryOp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.operand_){nullptr} - , decltype(_impl_.op_){0} - }; -} - -UnaryOp::~UnaryOp() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.UnaryOp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void UnaryOp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.operand_; -} - -void UnaryOp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void UnaryOp::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.UnaryOp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.operand_ != nullptr); - _impl_.operand_->Clear(); - } - _impl_.op_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* UnaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.UnaryOp.Op op = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::UnaryOp_Op_IsValid(val))) { - _internal_set_op(static_cast<::solidity::test::sol2protofuzzer::UnaryOp_Op>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression operand = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_operand(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* UnaryOp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.UnaryOp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.UnaryOp.Op op = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_op(), target); - } - - // required .solidity.test.sol2protofuzzer.Expression operand = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::operand(this), - _Internal::operand(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.UnaryOp) - return target; -} - -size_t UnaryOp::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.UnaryOp) - size_t total_size = 0; - - if (_internal_has_operand()) { - // required .solidity.test.sol2protofuzzer.Expression operand = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.operand_); - } - - if (_internal_has_op()) { - // required .solidity.test.sol2protofuzzer.UnaryOp.Op op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - } - - return total_size; -} -size_t UnaryOp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.UnaryOp) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression operand = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.operand_); - - // required .solidity.test.sol2protofuzzer.UnaryOp.Op op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnaryOp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - UnaryOp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnaryOp::GetClassData() const { return &_class_data_; } - - -void UnaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.UnaryOp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_operand()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_operand()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.op_ = from._impl_.op_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void UnaryOp::CopyFrom(const UnaryOp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.UnaryOp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UnaryOp::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_operand()) { - if (!_impl_.operand_->IsInitialized()) return false; - } - return true; -} - -void UnaryOp::InternalSwap(UnaryOp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(UnaryOp, _impl_.op_) - + sizeof(UnaryOp::_impl_.op_) - - PROTOBUF_FIELD_OFFSET(UnaryOp, _impl_.operand_)>( - reinterpret_cast(&_impl_.operand_), - reinterpret_cast(&other->_impl_.operand_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata UnaryOp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[15]); -} - -// =================================================================== - -class TernaryOp::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& cond(const TernaryOp* msg); - static void set_has_cond(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Expression& true_val(const TernaryOp* msg); - static void set_has_true_val(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::Expression& false_val(const TernaryOp* msg); - static void set_has_false_val(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -TernaryOp::_Internal::cond(const TernaryOp* msg) { - return *msg->_impl_.cond_; -} -const ::solidity::test::sol2protofuzzer::Expression& -TernaryOp::_Internal::true_val(const TernaryOp* msg) { - return *msg->_impl_.true_val_; -} -const ::solidity::test::sol2protofuzzer::Expression& -TernaryOp::_Internal::false_val(const TernaryOp* msg) { - return *msg->_impl_.false_val_; -} -TernaryOp::TernaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.TernaryOp) -} -TernaryOp::TernaryOp(const TernaryOp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TernaryOp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.true_val_){nullptr} - , decltype(_impl_.false_val_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_cond()) { - _this->_impl_.cond_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.cond_); - } - if (from._internal_has_true_val()) { - _this->_impl_.true_val_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.true_val_); - } - if (from._internal_has_false_val()) { - _this->_impl_.false_val_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.false_val_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.TernaryOp) -} - -inline void TernaryOp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.true_val_){nullptr} - , decltype(_impl_.false_val_){nullptr} - }; -} - -TernaryOp::~TernaryOp() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.TernaryOp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TernaryOp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.cond_; - if (this != internal_default_instance()) delete _impl_.true_val_; - if (this != internal_default_instance()) delete _impl_.false_val_; -} - -void TernaryOp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TernaryOp::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.TernaryOp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.cond_ != nullptr); - _impl_.cond_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.true_val_ != nullptr); - _impl_.true_val_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.false_val_ != nullptr); - _impl_.false_val_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TernaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_cond(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression true_val = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_true_val(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression false_val = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_false_val(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TernaryOp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.TernaryOp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::cond(this), - _Internal::cond(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression true_val = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::true_val(this), - _Internal::true_val(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression false_val = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::false_val(this), - _Internal::false_val(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.TernaryOp) - return target; -} - -size_t TernaryOp::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.TernaryOp) - size_t total_size = 0; - - if (_internal_has_cond()) { - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - } - - if (_internal_has_true_val()) { - // required .solidity.test.sol2protofuzzer.Expression true_val = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.true_val_); - } - - if (_internal_has_false_val()) { - // required .solidity.test.sol2protofuzzer.Expression false_val = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.false_val_); - } - - return total_size; -} -size_t TernaryOp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.TernaryOp) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - - // required .solidity.test.sol2protofuzzer.Expression true_val = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.true_val_); - - // required .solidity.test.sol2protofuzzer.Expression false_val = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.false_val_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TernaryOp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TernaryOp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TernaryOp::GetClassData() const { return &_class_data_; } - - -void TernaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.TernaryOp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_cond()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_cond()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_true_val()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_true_val()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_false_val()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_false_val()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TernaryOp::CopyFrom(const TernaryOp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.TernaryOp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TernaryOp::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_cond()) { - if (!_impl_.cond_->IsInitialized()) return false; - } - if (_internal_has_true_val()) { - if (!_impl_.true_val_->IsInitialized()) return false; - } - if (_internal_has_false_val()) { - if (!_impl_.false_val_->IsInitialized()) return false; - } - return true; -} - -void TernaryOp::InternalSwap(TernaryOp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TernaryOp, _impl_.false_val_) - + sizeof(TernaryOp::_impl_.false_val_) - - PROTOBUF_FIELD_OFFSET(TernaryOp, _impl_.cond_)>( - reinterpret_cast(&_impl_.cond_), - reinterpret_cast(&other->_impl_.cond_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TernaryOp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[16]); -} - -// =================================================================== - -class FuncCallExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_func_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_use_named_args(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -FuncCallExpr::FuncCallExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.FuncCallExpr) -} -FuncCallExpr::FuncCallExpr(const FuncCallExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - FuncCallExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.func_id_){} - , decltype(_impl_.use_named_args_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.func_id_, &from._impl_.func_id_, - static_cast(reinterpret_cast(&_impl_.use_named_args_) - - reinterpret_cast(&_impl_.func_id_)) + sizeof(_impl_.use_named_args_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.FuncCallExpr) -} - -inline void FuncCallExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.func_id_){0u} - , decltype(_impl_.use_named_args_){false} - }; -} - -FuncCallExpr::~FuncCallExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.FuncCallExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void FuncCallExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); -} - -void FuncCallExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void FuncCallExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.FuncCallExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.func_id_, 0, static_cast( - reinterpret_cast(&_impl_.use_named_args_) - - reinterpret_cast(&_impl_.func_id_)) + sizeof(_impl_.use_named_args_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* FuncCallExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 func_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_func_id(&has_bits); - _impl_.func_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional bool use_named_args = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_use_named_args(&has_bits); - _impl_.use_named_args_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* FuncCallExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.FuncCallExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 func_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_func_id(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bool use_named_args = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_use_named_args(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.FuncCallExpr) - return target; -} - -size_t FuncCallExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.FuncCallExpr) - size_t total_size = 0; - - // required uint32 func_id = 1; - if (_internal_has_func_id()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_func_id()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional bool use_named_args = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FuncCallExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - FuncCallExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FuncCallExpr::GetClassData() const { return &_class_data_; } - - -void FuncCallExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.FuncCallExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.func_id_ = from._impl_.func_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.use_named_args_ = from._impl_.use_named_args_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void FuncCallExpr::CopyFrom(const FuncCallExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.FuncCallExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FuncCallExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - return true; -} - -void FuncCallExpr::InternalSwap(FuncCallExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(FuncCallExpr, _impl_.use_named_args_) - + sizeof(FuncCallExpr::_impl_.use_named_args_) - - PROTOBUF_FIELD_OFFSET(FuncCallExpr, _impl_.func_id_)>( - reinterpret_cast(&_impl_.func_id_), - reinterpret_cast(&other->_impl_.func_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata FuncCallExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[17]); -} - -// =================================================================== - -class IndexAccessExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& base(const IndexAccessExpr* msg); - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Expression& index(const IndexAccessExpr* msg); - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -IndexAccessExpr::_Internal::base(const IndexAccessExpr* msg) { - return *msg->_impl_.base_; -} -const ::solidity::test::sol2protofuzzer::Expression& -IndexAccessExpr::_Internal::index(const IndexAccessExpr* msg) { - return *msg->_impl_.index_; -} -IndexAccessExpr::IndexAccessExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.IndexAccessExpr) -} -IndexAccessExpr::IndexAccessExpr(const IndexAccessExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IndexAccessExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.index_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_base()) { - _this->_impl_.base_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.base_); - } - if (from._internal_has_index()) { - _this->_impl_.index_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.index_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.IndexAccessExpr) -} - -inline void IndexAccessExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.index_){nullptr} - }; -} - -IndexAccessExpr::~IndexAccessExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.IndexAccessExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IndexAccessExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.base_; - if (this != internal_default_instance()) delete _impl_.index_; -} - -void IndexAccessExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IndexAccessExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.IndexAccessExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.base_ != nullptr); - _impl_.base_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.index_ != nullptr); - _impl_.index_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IndexAccessExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression base = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression index = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_index(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IndexAccessExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.IndexAccessExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression base = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::base(this), - _Internal::base(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression index = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::index(this), - _Internal::index(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.IndexAccessExpr) - return target; -} - -size_t IndexAccessExpr::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.IndexAccessExpr) - size_t total_size = 0; - - if (_internal_has_base()) { - // required .solidity.test.sol2protofuzzer.Expression base = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.base_); - } - - if (_internal_has_index()) { - // required .solidity.test.sol2protofuzzer.Expression index = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.index_); - } - - return total_size; -} -size_t IndexAccessExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.IndexAccessExpr) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression base = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.base_); - - // required .solidity.test.sol2protofuzzer.Expression index = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.index_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IndexAccessExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IndexAccessExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IndexAccessExpr::GetClassData() const { return &_class_data_; } - - -void IndexAccessExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.IndexAccessExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_base()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_base()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_index()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_index()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IndexAccessExpr::CopyFrom(const IndexAccessExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.IndexAccessExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IndexAccessExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_base()) { - if (!_impl_.base_->IsInitialized()) return false; - } - if (_internal_has_index()) { - if (!_impl_.index_->IsInitialized()) return false; - } - return true; -} - -void IndexAccessExpr::InternalSwap(IndexAccessExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IndexAccessExpr, _impl_.index_) - + sizeof(IndexAccessExpr::_impl_.index_) - - PROTOBUF_FIELD_OFFSET(IndexAccessExpr, _impl_.base_)>( - reinterpret_cast(&_impl_.base_), - reinterpret_cast(&other->_impl_.base_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IndexAccessExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[18]); -} - -// =================================================================== - -class TypeConvExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::ElementaryType& to_type(const TypeConvExpr* msg); - static void set_has_to_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Expression& arg(const TypeConvExpr* msg); - static void set_has_arg(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::ElementaryType& -TypeConvExpr::_Internal::to_type(const TypeConvExpr* msg) { - return *msg->_impl_.to_type_; -} -const ::solidity::test::sol2protofuzzer::Expression& -TypeConvExpr::_Internal::arg(const TypeConvExpr* msg) { - return *msg->_impl_.arg_; -} -TypeConvExpr::TypeConvExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.TypeConvExpr) -} -TypeConvExpr::TypeConvExpr(const TypeConvExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TypeConvExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.to_type_){nullptr} - , decltype(_impl_.arg_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_to_type()) { - _this->_impl_.to_type_ = new ::solidity::test::sol2protofuzzer::ElementaryType(*from._impl_.to_type_); - } - if (from._internal_has_arg()) { - _this->_impl_.arg_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.arg_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.TypeConvExpr) -} - -inline void TypeConvExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.to_type_){nullptr} - , decltype(_impl_.arg_){nullptr} - }; -} - -TypeConvExpr::~TypeConvExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.TypeConvExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TypeConvExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.to_type_; - if (this != internal_default_instance()) delete _impl_.arg_; -} - -void TypeConvExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TypeConvExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.TypeConvExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.to_type_ != nullptr); - _impl_.to_type_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.arg_ != nullptr); - _impl_.arg_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TypeConvExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.ElementaryType to_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_to_type(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression arg = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_arg(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TypeConvExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.TypeConvExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.ElementaryType to_type = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::to_type(this), - _Internal::to_type(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression arg = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::arg(this), - _Internal::arg(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.TypeConvExpr) - return target; -} - -size_t TypeConvExpr::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.TypeConvExpr) - size_t total_size = 0; - - if (_internal_has_to_type()) { - // required .solidity.test.sol2protofuzzer.ElementaryType to_type = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.to_type_); - } - - if (_internal_has_arg()) { - // required .solidity.test.sol2protofuzzer.Expression arg = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg_); - } - - return total_size; -} -size_t TypeConvExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.TypeConvExpr) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.ElementaryType to_type = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.to_type_); - - // required .solidity.test.sol2protofuzzer.Expression arg = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TypeConvExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TypeConvExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TypeConvExpr::GetClassData() const { return &_class_data_; } - - -void TypeConvExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.TypeConvExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_to_type()->::solidity::test::sol2protofuzzer::ElementaryType::MergeFrom( - from._internal_to_type()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_arg()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_arg()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TypeConvExpr::CopyFrom(const TypeConvExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.TypeConvExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TypeConvExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_to_type()) { - if (!_impl_.to_type_->IsInitialized()) return false; - } - if (_internal_has_arg()) { - if (!_impl_.arg_->IsInitialized()) return false; - } - return true; -} - -void TypeConvExpr::InternalSwap(TypeConvExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TypeConvExpr, _impl_.arg_) - + sizeof(TypeConvExpr::_impl_.arg_) - - PROTOBUF_FIELD_OFFSET(TypeConvExpr, _impl_.to_type_)>( - reinterpret_cast(&_impl_.to_type_), - reinterpret_cast(&other->_impl_.to_type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TypeConvExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[19]); -} - -// =================================================================== - -class MsgExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_field(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -MsgExpr::MsgExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.MsgExpr) -} -MsgExpr::MsgExpr(const MsgExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MsgExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.field_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.field_ = from._impl_.field_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.MsgExpr) -} - -inline void MsgExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.field_){0} - }; -} - -MsgExpr::~MsgExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.MsgExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MsgExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void MsgExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MsgExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.MsgExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.field_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MsgExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.MsgExpr.Field field = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::MsgExpr_Field_IsValid(val))) { - _internal_set_field(static_cast<::solidity::test::sol2protofuzzer::MsgExpr_Field>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MsgExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.MsgExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.MsgExpr.Field field = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_field(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.MsgExpr) - return target; -} - -size_t MsgExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.MsgExpr) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.MsgExpr.Field field = 1; - if (_internal_has_field()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_field()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MsgExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MsgExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MsgExpr::GetClassData() const { return &_class_data_; } - - -void MsgExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.MsgExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_field()) { - _this->_internal_set_field(from._internal_field()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MsgExpr::CopyFrom(const MsgExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.MsgExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MsgExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void MsgExpr::InternalSwap(MsgExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.field_, other->_impl_.field_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MsgExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[20]); -} - -// =================================================================== - -class BlockExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_field(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -BlockExpr::BlockExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.BlockExpr) -} -BlockExpr::BlockExpr(const BlockExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - BlockExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.field_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.field_ = from._impl_.field_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.BlockExpr) -} - -inline void BlockExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.field_){0} - }; -} - -BlockExpr::~BlockExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.BlockExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void BlockExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void BlockExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void BlockExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.BlockExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.field_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* BlockExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.BlockExpr.Field field = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::BlockExpr_Field_IsValid(val))) { - _internal_set_field(static_cast<::solidity::test::sol2protofuzzer::BlockExpr_Field>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* BlockExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.BlockExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.BlockExpr.Field field = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_field(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.BlockExpr) - return target; -} - -size_t BlockExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.BlockExpr) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.BlockExpr.Field field = 1; - if (_internal_has_field()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_field()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BlockExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - BlockExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BlockExpr::GetClassData() const { return &_class_data_; } - - -void BlockExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.BlockExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_field()) { - _this->_internal_set_field(from._internal_field()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void BlockExpr::CopyFrom(const BlockExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.BlockExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BlockExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void BlockExpr::InternalSwap(BlockExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.field_, other->_impl_.field_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata BlockExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[21]); -} - -// =================================================================== - -class TxExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_field(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -TxExpr::TxExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.TxExpr) -} -TxExpr::TxExpr(const TxExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TxExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.field_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.field_ = from._impl_.field_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.TxExpr) -} - -inline void TxExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.field_){0} - }; -} - -TxExpr::~TxExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.TxExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TxExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void TxExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TxExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.TxExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.field_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TxExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.TxExpr.Field field = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::TxExpr_Field_IsValid(val))) { - _internal_set_field(static_cast<::solidity::test::sol2protofuzzer::TxExpr_Field>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TxExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.TxExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.TxExpr.Field field = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_field(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.TxExpr) - return target; -} - -size_t TxExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.TxExpr) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.TxExpr.Field field = 1; - if (_internal_has_field()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_field()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TxExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TxExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TxExpr::GetClassData() const { return &_class_data_; } - - -void TxExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.TxExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_field()) { - _this->_internal_set_field(from._internal_field()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TxExpr::CopyFrom(const TxExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.TxExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TxExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void TxExpr::InternalSwap(TxExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.field_, other->_impl_.field_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TxExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[22]); -} - -// =================================================================== - -class AbiEncodeExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -AbiEncodeExpr::AbiEncodeExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.AbiEncodeExpr) -} -AbiEncodeExpr::AbiEncodeExpr(const AbiEncodeExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - AbiEncodeExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.kind_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.kind_ = from._impl_.kind_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.AbiEncodeExpr) -} - -inline void AbiEncodeExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.kind_){0} - }; -} - -AbiEncodeExpr::~AbiEncodeExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.AbiEncodeExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void AbiEncodeExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); -} - -void AbiEncodeExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void AbiEncodeExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.AbiEncodeExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - _impl_.kind_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* AbiEncodeExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.AbiEncodeExpr.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* AbiEncodeExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.AbiEncodeExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.AbiEncodeExpr.Kind kind = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.AbiEncodeExpr) - return target; -} - -size_t AbiEncodeExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.AbiEncodeExpr) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.AbiEncodeExpr.Kind kind = 1; - if (_internal_has_kind()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AbiEncodeExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - AbiEncodeExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AbiEncodeExpr::GetClassData() const { return &_class_data_; } - - -void AbiEncodeExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.AbiEncodeExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - if (from._internal_has_kind()) { - _this->_internal_set_kind(from._internal_kind()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void AbiEncodeExpr::CopyFrom(const AbiEncodeExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.AbiEncodeExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AbiEncodeExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - return true; -} - -void AbiEncodeExpr::InternalSwap(AbiEncodeExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - swap(_impl_.kind_, other->_impl_.kind_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata AbiEncodeExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[23]); -} - -// =================================================================== - -class AbiDecodeExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& value(const AbiDecodeExpr* msg); - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -AbiDecodeExpr::_Internal::value(const AbiDecodeExpr* msg) { - return *msg->_impl_.value_; -} -AbiDecodeExpr::AbiDecodeExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.AbiDecodeExpr) -} -AbiDecodeExpr::AbiDecodeExpr(const AbiDecodeExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - AbiDecodeExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_value()) { - _this->_impl_.value_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.value_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.AbiDecodeExpr) -} - -inline void AbiDecodeExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){nullptr} - }; -} - -AbiDecodeExpr::~AbiDecodeExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.AbiDecodeExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void AbiDecodeExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.value_; -} - -void AbiDecodeExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void AbiDecodeExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.AbiDecodeExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.value_ != nullptr); - _impl_.value_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* AbiDecodeExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression value = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_value(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* AbiDecodeExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.AbiDecodeExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression value = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::value(this), - _Internal::value(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.AbiDecodeExpr) - return target; -} - -size_t AbiDecodeExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.AbiDecodeExpr) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.Expression value = 1; - if (_internal_has_value()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AbiDecodeExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - AbiDecodeExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AbiDecodeExpr::GetClassData() const { return &_class_data_; } - - -void AbiDecodeExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.AbiDecodeExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_value()) { - _this->_internal_mutable_value()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_value()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void AbiDecodeExpr::CopyFrom(const AbiDecodeExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.AbiDecodeExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AbiDecodeExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_value()) { - if (!_impl_.value_->IsInitialized()) return false; - } - return true; -} - -void AbiDecodeExpr::InternalSwap(AbiDecodeExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.value_, other->_impl_.value_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata AbiDecodeExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[24]); -} - -// =================================================================== - -class AbiEncodeCallExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_func_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -AbiEncodeCallExpr::AbiEncodeCallExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) -} -AbiEncodeCallExpr::AbiEncodeCallExpr(const AbiEncodeCallExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - AbiEncodeCallExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.func_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.func_id_ = from._impl_.func_id_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) -} - -inline void AbiEncodeCallExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.func_id_){0u} - }; -} - -AbiEncodeCallExpr::~AbiEncodeCallExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void AbiEncodeCallExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); -} - -void AbiEncodeCallExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void AbiEncodeCallExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - _impl_.func_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* AbiEncodeCallExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 func_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_func_id(&has_bits); - _impl_.func_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* AbiEncodeCallExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 func_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_func_id(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) - return target; -} - -size_t AbiEncodeCallExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) - size_t total_size = 0; - - // required uint32 func_id = 1; - if (_internal_has_func_id()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_func_id()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AbiEncodeCallExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - AbiEncodeCallExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AbiEncodeCallExpr::GetClassData() const { return &_class_data_; } - - -void AbiEncodeCallExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - if (from._internal_has_func_id()) { - _this->_internal_set_func_id(from._internal_func_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void AbiEncodeCallExpr::CopyFrom(const AbiEncodeCallExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AbiEncodeCallExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - return true; -} - -void AbiEncodeCallExpr::InternalSwap(AbiEncodeCallExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - swap(_impl_.func_id_, other->_impl_.func_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata AbiEncodeCallExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[25]); -} - -// =================================================================== - -class HashExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::Expression& arg(const HashExpr* msg); - static void set_has_arg(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -HashExpr::_Internal::arg(const HashExpr* msg) { - return *msg->_impl_.arg_; -} -HashExpr::HashExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.HashExpr) -} -HashExpr::HashExpr(const HashExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - HashExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.arg_){nullptr} - , decltype(_impl_.kind_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_arg()) { - _this->_impl_.arg_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.arg_); - } - _this->_impl_.kind_ = from._impl_.kind_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.HashExpr) -} - -inline void HashExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.arg_){nullptr} - , decltype(_impl_.kind_){0} - }; -} - -HashExpr::~HashExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.HashExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void HashExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.arg_; -} - -void HashExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void HashExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.HashExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.arg_ != nullptr); - _impl_.arg_->Clear(); - } - _impl_.kind_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* HashExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.HashExpr.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::HashExpr_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::HashExpr_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression arg = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_arg(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* HashExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.HashExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.HashExpr.Kind kind = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - // required .solidity.test.sol2protofuzzer.Expression arg = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::arg(this), - _Internal::arg(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.HashExpr) - return target; -} - -size_t HashExpr::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.HashExpr) - size_t total_size = 0; - - if (_internal_has_arg()) { - // required .solidity.test.sol2protofuzzer.Expression arg = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg_); - } - - if (_internal_has_kind()) { - // required .solidity.test.sol2protofuzzer.HashExpr.Kind kind = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - - return total_size; -} -size_t HashExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.HashExpr) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression arg = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg_); - - // required .solidity.test.sol2protofuzzer.HashExpr.Kind kind = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HashExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - HashExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HashExpr::GetClassData() const { return &_class_data_; } - - -void HashExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.HashExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_arg()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_arg()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.kind_ = from._impl_.kind_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void HashExpr::CopyFrom(const HashExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.HashExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool HashExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_arg()) { - if (!_impl_.arg_->IsInitialized()) return false; - } - return true; -} - -void HashExpr::InternalSwap(HashExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(HashExpr, _impl_.kind_) - + sizeof(HashExpr::_impl_.kind_) - - PROTOBUF_FIELD_OFFSET(HashExpr, _impl_.arg_)>( - reinterpret_cast(&_impl_.arg_), - reinterpret_cast(&other->_impl_.arg_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata HashExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[26]); -} - -// =================================================================== - -class MathExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::solidity::test::sol2protofuzzer::Expression& x(const MathExpr* msg); - static void set_has_x(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Expression& y(const MathExpr* msg); - static void set_has_y(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::Expression& mod(const MathExpr* msg); - static void set_has_mod(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -MathExpr::_Internal::x(const MathExpr* msg) { - return *msg->_impl_.x_; -} -const ::solidity::test::sol2protofuzzer::Expression& -MathExpr::_Internal::y(const MathExpr* msg) { - return *msg->_impl_.y_; -} -const ::solidity::test::sol2protofuzzer::Expression& -MathExpr::_Internal::mod(const MathExpr* msg) { - return *msg->_impl_.mod_; -} -MathExpr::MathExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.MathExpr) -} -MathExpr::MathExpr(const MathExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MathExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.x_){nullptr} - , decltype(_impl_.y_){nullptr} - , decltype(_impl_.mod_){nullptr} - , decltype(_impl_.kind_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_x()) { - _this->_impl_.x_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.x_); - } - if (from._internal_has_y()) { - _this->_impl_.y_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.y_); - } - if (from._internal_has_mod()) { - _this->_impl_.mod_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.mod_); - } - _this->_impl_.kind_ = from._impl_.kind_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.MathExpr) -} - -inline void MathExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.x_){nullptr} - , decltype(_impl_.y_){nullptr} - , decltype(_impl_.mod_){nullptr} - , decltype(_impl_.kind_){0} - }; -} - -MathExpr::~MathExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.MathExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MathExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.x_; - if (this != internal_default_instance()) delete _impl_.y_; - if (this != internal_default_instance()) delete _impl_.mod_; -} - -void MathExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MathExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.MathExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.x_ != nullptr); - _impl_.x_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.y_ != nullptr); - _impl_.y_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.mod_ != nullptr); - _impl_.mod_->Clear(); - } - } - _impl_.kind_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MathExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.MathExpr.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::MathExpr_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::MathExpr_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression x = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_x(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression y = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_y(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression mod = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_mod(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MathExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.MathExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.MathExpr.Kind kind = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - // required .solidity.test.sol2protofuzzer.Expression x = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::x(this), - _Internal::x(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression y = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::y(this), - _Internal::y(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression mod = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::mod(this), - _Internal::mod(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.MathExpr) - return target; -} - -size_t MathExpr::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.MathExpr) - size_t total_size = 0; - - if (_internal_has_x()) { - // required .solidity.test.sol2protofuzzer.Expression x = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.x_); - } - - if (_internal_has_y()) { - // required .solidity.test.sol2protofuzzer.Expression y = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.y_); - } - - if (_internal_has_mod()) { - // required .solidity.test.sol2protofuzzer.Expression mod = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.mod_); - } - - if (_internal_has_kind()) { - // required .solidity.test.sol2protofuzzer.MathExpr.Kind kind = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - - return total_size; -} -size_t MathExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.MathExpr) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression x = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.x_); - - // required .solidity.test.sol2protofuzzer.Expression y = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.y_); - - // required .solidity.test.sol2protofuzzer.Expression mod = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.mod_); - - // required .solidity.test.sol2protofuzzer.MathExpr.Kind kind = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MathExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MathExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MathExpr::GetClassData() const { return &_class_data_; } - - -void MathExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.MathExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_x()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_x()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_y()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_y()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_mod()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_mod()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.kind_ = from._impl_.kind_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MathExpr::CopyFrom(const MathExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.MathExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MathExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_x()) { - if (!_impl_.x_->IsInitialized()) return false; - } - if (_internal_has_y()) { - if (!_impl_.y_->IsInitialized()) return false; - } - if (_internal_has_mod()) { - if (!_impl_.mod_->IsInitialized()) return false; - } - return true; -} - -void MathExpr::InternalSwap(MathExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(MathExpr, _impl_.kind_) - + sizeof(MathExpr::_impl_.kind_) - - PROTOBUF_FIELD_OFFSET(MathExpr, _impl_.x_)>( - reinterpret_cast(&_impl_.x_), - reinterpret_cast(&other->_impl_.x_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MathExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[27]); -} - -// =================================================================== - -class BuiltinExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::Expression& arg(const BuiltinExpr* msg); - static void set_has_arg(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000002) ^ 0x00000002) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -BuiltinExpr::_Internal::arg(const BuiltinExpr* msg) { - return *msg->_impl_.arg_; -} -BuiltinExpr::BuiltinExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.BuiltinExpr) -} -BuiltinExpr::BuiltinExpr(const BuiltinExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - BuiltinExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.arg_){nullptr} - , decltype(_impl_.kind_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_arg()) { - _this->_impl_.arg_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.arg_); - } - _this->_impl_.kind_ = from._impl_.kind_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.BuiltinExpr) -} - -inline void BuiltinExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.arg_){nullptr} - , decltype(_impl_.kind_){0} - }; -} - -BuiltinExpr::~BuiltinExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.BuiltinExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void BuiltinExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.arg_; -} - -void BuiltinExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void BuiltinExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.BuiltinExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.arg_ != nullptr); - _impl_.arg_->Clear(); - } - _impl_.kind_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* BuiltinExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.BuiltinExpr.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::BuiltinExpr_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::BuiltinExpr_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional .solidity.test.sol2protofuzzer.Expression arg = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_arg(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* BuiltinExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.BuiltinExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.BuiltinExpr.Kind kind = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - // optional .solidity.test.sol2protofuzzer.Expression arg = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::arg(this), - _Internal::arg(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.BuiltinExpr) - return target; -} - -size_t BuiltinExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.BuiltinExpr) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.BuiltinExpr.Kind kind = 1; - if (_internal_has_kind()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .solidity.test.sol2protofuzzer.Expression arg = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BuiltinExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - BuiltinExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BuiltinExpr::GetClassData() const { return &_class_data_; } - - -void BuiltinExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.BuiltinExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_arg()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_arg()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.kind_ = from._impl_.kind_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void BuiltinExpr::CopyFrom(const BuiltinExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.BuiltinExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BuiltinExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_arg()) { - if (!_impl_.arg_->IsInitialized()) return false; - } - return true; -} - -void BuiltinExpr::InternalSwap(BuiltinExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(BuiltinExpr, _impl_.kind_) - + sizeof(BuiltinExpr::_impl_.kind_) - - PROTOBUF_FIELD_OFFSET(BuiltinExpr, _impl_.arg_)>( - reinterpret_cast(&_impl_.arg_), - reinterpret_cast(&other->_impl_.arg_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata BuiltinExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[28]); -} - -// =================================================================== - -class EcrecoverExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& hash(const EcrecoverExpr* msg); - static void set_has_hash(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Expression& v(const EcrecoverExpr* msg); - static void set_has_v(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::Expression& r(const EcrecoverExpr* msg); - static void set_has_r(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::test::sol2protofuzzer::Expression& s(const EcrecoverExpr* msg); - static void set_has_s(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -EcrecoverExpr::_Internal::hash(const EcrecoverExpr* msg) { - return *msg->_impl_.hash_; -} -const ::solidity::test::sol2protofuzzer::Expression& -EcrecoverExpr::_Internal::v(const EcrecoverExpr* msg) { - return *msg->_impl_.v_; -} -const ::solidity::test::sol2protofuzzer::Expression& -EcrecoverExpr::_Internal::r(const EcrecoverExpr* msg) { - return *msg->_impl_.r_; -} -const ::solidity::test::sol2protofuzzer::Expression& -EcrecoverExpr::_Internal::s(const EcrecoverExpr* msg) { - return *msg->_impl_.s_; -} -EcrecoverExpr::EcrecoverExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.EcrecoverExpr) -} -EcrecoverExpr::EcrecoverExpr(const EcrecoverExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - EcrecoverExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hash_){nullptr} - , decltype(_impl_.v_){nullptr} - , decltype(_impl_.r_){nullptr} - , decltype(_impl_.s_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_hash()) { - _this->_impl_.hash_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.hash_); - } - if (from._internal_has_v()) { - _this->_impl_.v_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.v_); - } - if (from._internal_has_r()) { - _this->_impl_.r_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.r_); - } - if (from._internal_has_s()) { - _this->_impl_.s_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.s_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.EcrecoverExpr) -} - -inline void EcrecoverExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hash_){nullptr} - , decltype(_impl_.v_){nullptr} - , decltype(_impl_.r_){nullptr} - , decltype(_impl_.s_){nullptr} - }; -} - -EcrecoverExpr::~EcrecoverExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.EcrecoverExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void EcrecoverExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.hash_; - if (this != internal_default_instance()) delete _impl_.v_; - if (this != internal_default_instance()) delete _impl_.r_; - if (this != internal_default_instance()) delete _impl_.s_; -} - -void EcrecoverExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void EcrecoverExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.EcrecoverExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.hash_ != nullptr); - _impl_.hash_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.v_ != nullptr); - _impl_.v_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.r_ != nullptr); - _impl_.r_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.s_ != nullptr); - _impl_.s_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* EcrecoverExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_hash(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression v = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_v(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression r = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_r(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression s = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_s(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* EcrecoverExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.EcrecoverExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression hash = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::hash(this), - _Internal::hash(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression v = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::v(this), - _Internal::v(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression r = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::r(this), - _Internal::r(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression s = 4; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::s(this), - _Internal::s(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.EcrecoverExpr) - return target; -} - -size_t EcrecoverExpr::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.EcrecoverExpr) - size_t total_size = 0; - - if (_internal_has_hash()) { - // required .solidity.test.sol2protofuzzer.Expression hash = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.hash_); - } - - if (_internal_has_v()) { - // required .solidity.test.sol2protofuzzer.Expression v = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.v_); - } - - if (_internal_has_r()) { - // required .solidity.test.sol2protofuzzer.Expression r = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.r_); - } - - if (_internal_has_s()) { - // required .solidity.test.sol2protofuzzer.Expression s = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.s_); - } - - return total_size; -} -size_t EcrecoverExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.EcrecoverExpr) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression hash = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.hash_); - - // required .solidity.test.sol2protofuzzer.Expression v = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.v_); - - // required .solidity.test.sol2protofuzzer.Expression r = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.r_); - - // required .solidity.test.sol2protofuzzer.Expression s = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.s_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EcrecoverExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - EcrecoverExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EcrecoverExpr::GetClassData() const { return &_class_data_; } - - -void EcrecoverExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.EcrecoverExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_hash()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_hash()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_v()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_v()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_r()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_r()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_s()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_s()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void EcrecoverExpr::CopyFrom(const EcrecoverExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.EcrecoverExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EcrecoverExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_hash()) { - if (!_impl_.hash_->IsInitialized()) return false; - } - if (_internal_has_v()) { - if (!_impl_.v_->IsInitialized()) return false; - } - if (_internal_has_r()) { - if (!_impl_.r_->IsInitialized()) return false; - } - if (_internal_has_s()) { - if (!_impl_.s_->IsInitialized()) return false; - } - return true; -} - -void EcrecoverExpr::InternalSwap(EcrecoverExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(EcrecoverExpr, _impl_.s_) - + sizeof(EcrecoverExpr::_impl_.s_) - - PROTOBUF_FIELD_OFFSET(EcrecoverExpr, _impl_.hash_)>( - reinterpret_cast(&_impl_.hash_), - reinterpret_cast(&other->_impl_.hash_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EcrecoverExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[29]); -} - -// =================================================================== - -class TypeInfoExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::IntegerType& int_type(const TypeInfoExpr* msg); - static void set_has_int_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::IntegerType& -TypeInfoExpr::_Internal::int_type(const TypeInfoExpr* msg) { - return *msg->_impl_.int_type_; -} -TypeInfoExpr::TypeInfoExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.TypeInfoExpr) -} -TypeInfoExpr::TypeInfoExpr(const TypeInfoExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TypeInfoExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.int_type_){nullptr} - , decltype(_impl_.kind_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_int_type()) { - _this->_impl_.int_type_ = new ::solidity::test::sol2protofuzzer::IntegerType(*from._impl_.int_type_); - } - _this->_impl_.kind_ = from._impl_.kind_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.TypeInfoExpr) -} - -inline void TypeInfoExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.int_type_){nullptr} - , decltype(_impl_.kind_){0} - }; -} - -TypeInfoExpr::~TypeInfoExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.TypeInfoExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TypeInfoExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.int_type_; -} - -void TypeInfoExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TypeInfoExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.TypeInfoExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.int_type_ != nullptr); - _impl_.int_type_->Clear(); - } - _impl_.kind_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TypeInfoExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.TypeInfoExpr.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.IntegerType int_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_int_type(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TypeInfoExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.TypeInfoExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.TypeInfoExpr.Kind kind = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - // required .solidity.test.sol2protofuzzer.IntegerType int_type = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::int_type(this), - _Internal::int_type(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.TypeInfoExpr) - return target; -} - -size_t TypeInfoExpr::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.TypeInfoExpr) - size_t total_size = 0; - - if (_internal_has_int_type()) { - // required .solidity.test.sol2protofuzzer.IntegerType int_type = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.int_type_); - } - - if (_internal_has_kind()) { - // required .solidity.test.sol2protofuzzer.TypeInfoExpr.Kind kind = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - - return total_size; -} -size_t TypeInfoExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.TypeInfoExpr) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.IntegerType int_type = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.int_type_); - - // required .solidity.test.sol2protofuzzer.TypeInfoExpr.Kind kind = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TypeInfoExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TypeInfoExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TypeInfoExpr::GetClassData() const { return &_class_data_; } - - -void TypeInfoExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.TypeInfoExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_int_type()->::solidity::test::sol2protofuzzer::IntegerType::MergeFrom( - from._internal_int_type()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.kind_ = from._impl_.kind_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TypeInfoExpr::CopyFrom(const TypeInfoExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.TypeInfoExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TypeInfoExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_int_type()) { - if (!_impl_.int_type_->IsInitialized()) return false; - } - return true; -} - -void TypeInfoExpr::InternalSwap(TypeInfoExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TypeInfoExpr, _impl_.kind_) - + sizeof(TypeInfoExpr::_impl_.kind_) - - PROTOBUF_FIELD_OFFSET(TypeInfoExpr, _impl_.int_type_)>( - reinterpret_cast(&_impl_.int_type_), - reinterpret_cast(&other->_impl_.int_type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TypeInfoExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[30]); -} - -// =================================================================== - -class AssignExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_op(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::test::sol2protofuzzer::VarRef& lhs(const AssignExpr* msg); - static void set_has_lhs(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Expression& rhs(const AssignExpr* msg); - static void set_has_rhs(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::VarRef& -AssignExpr::_Internal::lhs(const AssignExpr* msg) { - return *msg->_impl_.lhs_; -} -const ::solidity::test::sol2protofuzzer::Expression& -AssignExpr::_Internal::rhs(const AssignExpr* msg) { - return *msg->_impl_.rhs_; -} -AssignExpr::AssignExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.AssignExpr) -} -AssignExpr::AssignExpr(const AssignExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - AssignExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.lhs_){nullptr} - , decltype(_impl_.rhs_){nullptr} - , decltype(_impl_.op_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_lhs()) { - _this->_impl_.lhs_ = new ::solidity::test::sol2protofuzzer::VarRef(*from._impl_.lhs_); - } - if (from._internal_has_rhs()) { - _this->_impl_.rhs_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.rhs_); - } - _this->_impl_.op_ = from._impl_.op_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.AssignExpr) -} - -inline void AssignExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.lhs_){nullptr} - , decltype(_impl_.rhs_){nullptr} - , decltype(_impl_.op_){0} - }; -} - -AssignExpr::~AssignExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.AssignExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void AssignExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.lhs_; - if (this != internal_default_instance()) delete _impl_.rhs_; -} - -void AssignExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void AssignExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.AssignExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.lhs_ != nullptr); - _impl_.lhs_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.rhs_ != nullptr); - _impl_.rhs_->Clear(); - } - } - _impl_.op_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* AssignExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.AssignExpr.Op op = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::AssignExpr_Op_IsValid(val))) { - _internal_set_op(static_cast<::solidity::test::sol2protofuzzer::AssignExpr_Op>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.VarRef lhs = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_lhs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression rhs = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_rhs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* AssignExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.AssignExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.AssignExpr.Op op = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_op(), target); - } - - // required .solidity.test.sol2protofuzzer.VarRef lhs = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::lhs(this), - _Internal::lhs(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression rhs = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::rhs(this), - _Internal::rhs(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.AssignExpr) - return target; -} - -size_t AssignExpr::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.AssignExpr) - size_t total_size = 0; - - if (_internal_has_lhs()) { - // required .solidity.test.sol2protofuzzer.VarRef lhs = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.lhs_); - } - - if (_internal_has_rhs()) { - // required .solidity.test.sol2protofuzzer.Expression rhs = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.rhs_); - } - - if (_internal_has_op()) { - // required .solidity.test.sol2protofuzzer.AssignExpr.Op op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - } - - return total_size; -} -size_t AssignExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.AssignExpr) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.VarRef lhs = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.lhs_); - - // required .solidity.test.sol2protofuzzer.Expression rhs = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.rhs_); - - // required .solidity.test.sol2protofuzzer.AssignExpr.Op op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AssignExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - AssignExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AssignExpr::GetClassData() const { return &_class_data_; } - - -void AssignExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.AssignExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_lhs()->::solidity::test::sol2protofuzzer::VarRef::MergeFrom( - from._internal_lhs()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_rhs()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_rhs()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.op_ = from._impl_.op_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void AssignExpr::CopyFrom(const AssignExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.AssignExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AssignExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_lhs()) { - if (!_impl_.lhs_->IsInitialized()) return false; - } - if (_internal_has_rhs()) { - if (!_impl_.rhs_->IsInitialized()) return false; - } - return true; -} - -void AssignExpr::InternalSwap(AssignExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(AssignExpr, _impl_.op_) - + sizeof(AssignExpr::_impl_.op_) - - PROTOBUF_FIELD_OFFSET(AssignExpr, _impl_.lhs_)>( - reinterpret_cast(&_impl_.lhs_), - reinterpret_cast(&other->_impl_.lhs_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata AssignExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[31]); -} - -// =================================================================== - -class StructMemberAccess::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::VarRef& struct_var(const StructMemberAccess* msg); - static void set_has_struct_var(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_field_idx(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::VarRef& -StructMemberAccess::_Internal::struct_var(const StructMemberAccess* msg) { - return *msg->_impl_.struct_var_; -} -StructMemberAccess::StructMemberAccess(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.StructMemberAccess) -} -StructMemberAccess::StructMemberAccess(const StructMemberAccess& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StructMemberAccess* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.struct_var_){nullptr} - , decltype(_impl_.field_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_struct_var()) { - _this->_impl_.struct_var_ = new ::solidity::test::sol2protofuzzer::VarRef(*from._impl_.struct_var_); - } - _this->_impl_.field_idx_ = from._impl_.field_idx_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.StructMemberAccess) -} - -inline void StructMemberAccess::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.struct_var_){nullptr} - , decltype(_impl_.field_idx_){0u} - }; -} - -StructMemberAccess::~StructMemberAccess() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.StructMemberAccess) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StructMemberAccess::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.struct_var_; -} - -void StructMemberAccess::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StructMemberAccess::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.StructMemberAccess) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.struct_var_ != nullptr); - _impl_.struct_var_->Clear(); - } - _impl_.field_idx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StructMemberAccess::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.VarRef struct_var = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_struct_var(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint32 field_idx = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_field_idx(&has_bits); - _impl_.field_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StructMemberAccess::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.StructMemberAccess) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.VarRef struct_var = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::struct_var(this), - _Internal::struct_var(this).GetCachedSize(), target, stream); - } - - // required uint32 field_idx = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_field_idx(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.StructMemberAccess) - return target; -} - -size_t StructMemberAccess::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.StructMemberAccess) - size_t total_size = 0; - - if (_internal_has_struct_var()) { - // required .solidity.test.sol2protofuzzer.VarRef struct_var = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.struct_var_); - } - - if (_internal_has_field_idx()) { - // required uint32 field_idx = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_field_idx()); - } - - return total_size; -} -size_t StructMemberAccess::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.StructMemberAccess) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.VarRef struct_var = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.struct_var_); - - // required uint32 field_idx = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_field_idx()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructMemberAccess::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StructMemberAccess::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructMemberAccess::GetClassData() const { return &_class_data_; } - - -void StructMemberAccess::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.StructMemberAccess) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_struct_var()->::solidity::test::sol2protofuzzer::VarRef::MergeFrom( - from._internal_struct_var()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.field_idx_ = from._impl_.field_idx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StructMemberAccess::CopyFrom(const StructMemberAccess& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.StructMemberAccess) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructMemberAccess::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_struct_var()) { - if (!_impl_.struct_var_->IsInitialized()) return false; - } - return true; -} - -void StructMemberAccess::InternalSwap(StructMemberAccess* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(StructMemberAccess, _impl_.field_idx_) - + sizeof(StructMemberAccess::_impl_.field_idx_) - - PROTOBUF_FIELD_OFFSET(StructMemberAccess, _impl_.struct_var_)>( - reinterpret_cast(&_impl_.struct_var_), - reinterpret_cast(&other->_impl_.struct_var_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StructMemberAccess::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[32]); -} - -// =================================================================== - -class EnumLiteral::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_enum_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_member_idx(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -EnumLiteral::EnumLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.EnumLiteral) -} -EnumLiteral::EnumLiteral(const EnumLiteral& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - EnumLiteral* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.enum_idx_){} - , decltype(_impl_.member_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.enum_idx_, &from._impl_.enum_idx_, - static_cast(reinterpret_cast(&_impl_.member_idx_) - - reinterpret_cast(&_impl_.enum_idx_)) + sizeof(_impl_.member_idx_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.EnumLiteral) -} - -inline void EnumLiteral::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.enum_idx_){0u} - , decltype(_impl_.member_idx_){0u} - }; -} - -EnumLiteral::~EnumLiteral() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.EnumLiteral) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void EnumLiteral::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void EnumLiteral::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void EnumLiteral::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.EnumLiteral) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.enum_idx_, 0, static_cast( - reinterpret_cast(&_impl_.member_idx_) - - reinterpret_cast(&_impl_.enum_idx_)) + sizeof(_impl_.member_idx_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* EnumLiteral::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 enum_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_enum_idx(&has_bits); - _impl_.enum_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint32 member_idx = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_member_idx(&has_bits); - _impl_.member_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* EnumLiteral::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.EnumLiteral) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 enum_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_enum_idx(), target); - } - - // required uint32 member_idx = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_member_idx(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.EnumLiteral) - return target; -} - -size_t EnumLiteral::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.EnumLiteral) - size_t total_size = 0; - - if (_internal_has_enum_idx()) { - // required uint32 enum_idx = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_enum_idx()); - } - - if (_internal_has_member_idx()) { - // required uint32 member_idx = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_member_idx()); - } - - return total_size; -} -size_t EnumLiteral::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.EnumLiteral) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required uint32 enum_idx = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_enum_idx()); - - // required uint32 member_idx = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_member_idx()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EnumLiteral::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - EnumLiteral::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnumLiteral::GetClassData() const { return &_class_data_; } - - -void EnumLiteral::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.EnumLiteral) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.enum_idx_ = from._impl_.enum_idx_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.member_idx_ = from._impl_.member_idx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void EnumLiteral::CopyFrom(const EnumLiteral& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.EnumLiteral) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EnumLiteral::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void EnumLiteral::InternalSwap(EnumLiteral* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(EnumLiteral, _impl_.member_idx_) - + sizeof(EnumLiteral::_impl_.member_idx_) - - PROTOBUF_FIELD_OFFSET(EnumLiteral, _impl_.enum_idx_)>( - reinterpret_cast(&_impl_.enum_idx_), - reinterpret_cast(&other->_impl_.enum_idx_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EnumLiteral::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[33]); -} - -// =================================================================== - -class SuperCallExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_func_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -SuperCallExpr::SuperCallExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.SuperCallExpr) -} -SuperCallExpr::SuperCallExpr(const SuperCallExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - SuperCallExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.func_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.func_idx_ = from._impl_.func_idx_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.SuperCallExpr) -} - -inline void SuperCallExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.func_idx_){0u} - }; -} - -SuperCallExpr::~SuperCallExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.SuperCallExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void SuperCallExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); -} - -void SuperCallExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void SuperCallExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.SuperCallExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - _impl_.func_idx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* SuperCallExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 func_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_func_idx(&has_bits); - _impl_.func_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* SuperCallExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.SuperCallExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 func_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_func_idx(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.SuperCallExpr) - return target; -} - -size_t SuperCallExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.SuperCallExpr) - size_t total_size = 0; - - // required uint32 func_idx = 1; - if (_internal_has_func_idx()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_func_idx()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SuperCallExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - SuperCallExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SuperCallExpr::GetClassData() const { return &_class_data_; } - - -void SuperCallExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.SuperCallExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - if (from._internal_has_func_idx()) { - _this->_internal_set_func_idx(from._internal_func_idx()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void SuperCallExpr::CopyFrom(const SuperCallExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.SuperCallExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SuperCallExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - return true; -} - -void SuperCallExpr::InternalSwap(SuperCallExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - swap(_impl_.func_idx_, other->_impl_.func_idx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata SuperCallExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[34]); -} - -// =================================================================== - -class LibMemberCallExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& receiver(const LibMemberCallExpr* msg); - static void set_has_receiver(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_func_idx(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -LibMemberCallExpr::_Internal::receiver(const LibMemberCallExpr* msg) { - return *msg->_impl_.receiver_; -} -LibMemberCallExpr::LibMemberCallExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.LibMemberCallExpr) -} -LibMemberCallExpr::LibMemberCallExpr(const LibMemberCallExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - LibMemberCallExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.receiver_){nullptr} - , decltype(_impl_.func_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_receiver()) { - _this->_impl_.receiver_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.receiver_); - } - _this->_impl_.func_idx_ = from._impl_.func_idx_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.LibMemberCallExpr) -} - -inline void LibMemberCallExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.receiver_){nullptr} - , decltype(_impl_.func_idx_){0u} - }; -} - -LibMemberCallExpr::~LibMemberCallExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.LibMemberCallExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void LibMemberCallExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.receiver_; -} - -void LibMemberCallExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void LibMemberCallExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.LibMemberCallExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.receiver_ != nullptr); - _impl_.receiver_->Clear(); - } - _impl_.func_idx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* LibMemberCallExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression receiver = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_receiver(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint32 func_idx = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_func_idx(&has_bits); - _impl_.func_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* LibMemberCallExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.LibMemberCallExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression receiver = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::receiver(this), - _Internal::receiver(this).GetCachedSize(), target, stream); - } - - // required uint32 func_idx = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_func_idx(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.LibMemberCallExpr) - return target; -} - -size_t LibMemberCallExpr::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.LibMemberCallExpr) - size_t total_size = 0; - - if (_internal_has_receiver()) { - // required .solidity.test.sol2protofuzzer.Expression receiver = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.receiver_); - } - - if (_internal_has_func_idx()) { - // required uint32 func_idx = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_func_idx()); - } - - return total_size; -} -size_t LibMemberCallExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.LibMemberCallExpr) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression receiver = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.receiver_); - - // required uint32 func_idx = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_func_idx()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 3; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LibMemberCallExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - LibMemberCallExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LibMemberCallExpr::GetClassData() const { return &_class_data_; } - - -void LibMemberCallExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.LibMemberCallExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_receiver()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_receiver()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.func_idx_ = from._impl_.func_idx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void LibMemberCallExpr::CopyFrom(const LibMemberCallExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.LibMemberCallExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LibMemberCallExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - if (_internal_has_receiver()) { - if (!_impl_.receiver_->IsInitialized()) return false; - } - return true; -} - -void LibMemberCallExpr::InternalSwap(LibMemberCallExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(LibMemberCallExpr, _impl_.func_idx_) - + sizeof(LibMemberCallExpr::_impl_.func_idx_) - - PROTOBUF_FIELD_OFFSET(LibMemberCallExpr, _impl_.receiver_)>( - reinterpret_cast(&_impl_.receiver_), - reinterpret_cast(&other->_impl_.receiver_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata LibMemberCallExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[35]); -} - -// =================================================================== - -class ConcatExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_use_named_args(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -ConcatExpr::ConcatExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ConcatExpr) -} -ConcatExpr::ConcatExpr(const ConcatExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ConcatExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.kind_){} - , decltype(_impl_.use_named_args_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.kind_, &from._impl_.kind_, - static_cast(reinterpret_cast(&_impl_.use_named_args_) - - reinterpret_cast(&_impl_.kind_)) + sizeof(_impl_.use_named_args_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ConcatExpr) -} - -inline void ConcatExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.kind_){0} - , decltype(_impl_.use_named_args_){false} - }; -} - -ConcatExpr::~ConcatExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ConcatExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ConcatExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); -} - -void ConcatExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ConcatExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ConcatExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.kind_, 0, static_cast( - reinterpret_cast(&_impl_.use_named_args_) - - reinterpret_cast(&_impl_.kind_)) + sizeof(_impl_.use_named_args_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ConcatExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.ConcatExpr.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::ConcatExpr_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::ConcatExpr_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional bool use_named_args = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_use_named_args(&has_bits); - _impl_.use_named_args_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ConcatExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ConcatExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.ConcatExpr.Kind kind = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bool use_named_args = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_use_named_args(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ConcatExpr) - return target; -} - -size_t ConcatExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ConcatExpr) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.ConcatExpr.Kind kind = 1; - if (_internal_has_kind()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional bool use_named_args = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ConcatExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ConcatExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ConcatExpr::GetClassData() const { return &_class_data_; } - - -void ConcatExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ConcatExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.kind_ = from._impl_.kind_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.use_named_args_ = from._impl_.use_named_args_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ConcatExpr::CopyFrom(const ConcatExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ConcatExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ConcatExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - return true; -} - -void ConcatExpr::InternalSwap(ConcatExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ConcatExpr, _impl_.use_named_args_) - + sizeof(ConcatExpr::_impl_.use_named_args_) - - PROTOBUF_FIELD_OFFSET(ConcatExpr, _impl_.kind_)>( - reinterpret_cast(&_impl_.kind_), - reinterpret_cast(&other->_impl_.kind_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ConcatExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[36]); -} - -// =================================================================== - -class SelectorExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_func_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -SelectorExpr::SelectorExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.SelectorExpr) -} -SelectorExpr::SelectorExpr(const SelectorExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - SelectorExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.func_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.func_idx_ = from._impl_.func_idx_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.SelectorExpr) -} - -inline void SelectorExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.func_idx_){0u} - }; -} - -SelectorExpr::~SelectorExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.SelectorExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void SelectorExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void SelectorExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void SelectorExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.SelectorExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.func_idx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* SelectorExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 func_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_func_idx(&has_bits); - _impl_.func_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* SelectorExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.SelectorExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 func_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_func_idx(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.SelectorExpr) - return target; -} - -size_t SelectorExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.SelectorExpr) - size_t total_size = 0; - - // required uint32 func_idx = 1; - if (_internal_has_func_idx()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_func_idx()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SelectorExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - SelectorExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SelectorExpr::GetClassData() const { return &_class_data_; } - - -void SelectorExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.SelectorExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_func_idx()) { - _this->_internal_set_func_idx(from._internal_func_idx()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void SelectorExpr::CopyFrom(const SelectorExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.SelectorExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SelectorExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void SelectorExpr::InternalSwap(SelectorExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.func_idx_, other->_impl_.func_idx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata SelectorExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[37]); -} - -// =================================================================== - -class Expression::_Internal { - public: - static const ::solidity::test::sol2protofuzzer::Literal& lit(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::VarRef& var_ref(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::BinaryOp& bin_op(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::UnaryOp& un_op(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::TernaryOp& ternary(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::FuncCallExpr& func_call(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::IndexAccessExpr& index_access(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::TypeConvExpr& type_conv(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::MsgExpr& msg_expr(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::BlockExpr& block_expr(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::TxExpr& tx_expr(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::AbiEncodeExpr& abi_encode(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::HashExpr& hash_expr(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::MathExpr& math_expr(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::BuiltinExpr& builtin(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::AssignExpr& assign(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::StructMemberAccess& struct_access(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::EnumLiteral& enum_lit(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::EcrecoverExpr& ecrecover(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::TypeInfoExpr& type_info(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::SuperCallExpr& super_call(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::LibMemberCallExpr& lib_member_call(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::ConcatExpr& concat(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::SelectorExpr& selector(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::ArrayLengthExpr& array_length(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::AbiDecodeExpr& abi_decode(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr& abi_encode_call(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::UdvtExpr& udvt_expr(const Expression* msg); - static const ::solidity::test::sol2protofuzzer::ArrayLiteralExpr& array_lit(const Expression* msg); -}; - -const ::solidity::test::sol2protofuzzer::Literal& -Expression::_Internal::lit(const Expression* msg) { - return *msg->_impl_.expr_oneof_.lit_; -} -const ::solidity::test::sol2protofuzzer::VarRef& -Expression::_Internal::var_ref(const Expression* msg) { - return *msg->_impl_.expr_oneof_.var_ref_; -} -const ::solidity::test::sol2protofuzzer::BinaryOp& -Expression::_Internal::bin_op(const Expression* msg) { - return *msg->_impl_.expr_oneof_.bin_op_; -} -const ::solidity::test::sol2protofuzzer::UnaryOp& -Expression::_Internal::un_op(const Expression* msg) { - return *msg->_impl_.expr_oneof_.un_op_; -} -const ::solidity::test::sol2protofuzzer::TernaryOp& -Expression::_Internal::ternary(const Expression* msg) { - return *msg->_impl_.expr_oneof_.ternary_; -} -const ::solidity::test::sol2protofuzzer::FuncCallExpr& -Expression::_Internal::func_call(const Expression* msg) { - return *msg->_impl_.expr_oneof_.func_call_; -} -const ::solidity::test::sol2protofuzzer::IndexAccessExpr& -Expression::_Internal::index_access(const Expression* msg) { - return *msg->_impl_.expr_oneof_.index_access_; -} -const ::solidity::test::sol2protofuzzer::TypeConvExpr& -Expression::_Internal::type_conv(const Expression* msg) { - return *msg->_impl_.expr_oneof_.type_conv_; -} -const ::solidity::test::sol2protofuzzer::MsgExpr& -Expression::_Internal::msg_expr(const Expression* msg) { - return *msg->_impl_.expr_oneof_.msg_expr_; -} -const ::solidity::test::sol2protofuzzer::BlockExpr& -Expression::_Internal::block_expr(const Expression* msg) { - return *msg->_impl_.expr_oneof_.block_expr_; -} -const ::solidity::test::sol2protofuzzer::TxExpr& -Expression::_Internal::tx_expr(const Expression* msg) { - return *msg->_impl_.expr_oneof_.tx_expr_; -} -const ::solidity::test::sol2protofuzzer::AbiEncodeExpr& -Expression::_Internal::abi_encode(const Expression* msg) { - return *msg->_impl_.expr_oneof_.abi_encode_; -} -const ::solidity::test::sol2protofuzzer::HashExpr& -Expression::_Internal::hash_expr(const Expression* msg) { - return *msg->_impl_.expr_oneof_.hash_expr_; -} -const ::solidity::test::sol2protofuzzer::MathExpr& -Expression::_Internal::math_expr(const Expression* msg) { - return *msg->_impl_.expr_oneof_.math_expr_; -} -const ::solidity::test::sol2protofuzzer::BuiltinExpr& -Expression::_Internal::builtin(const Expression* msg) { - return *msg->_impl_.expr_oneof_.builtin_; -} -const ::solidity::test::sol2protofuzzer::AssignExpr& -Expression::_Internal::assign(const Expression* msg) { - return *msg->_impl_.expr_oneof_.assign_; -} -const ::solidity::test::sol2protofuzzer::StructMemberAccess& -Expression::_Internal::struct_access(const Expression* msg) { - return *msg->_impl_.expr_oneof_.struct_access_; -} -const ::solidity::test::sol2protofuzzer::EnumLiteral& -Expression::_Internal::enum_lit(const Expression* msg) { - return *msg->_impl_.expr_oneof_.enum_lit_; -} -const ::solidity::test::sol2protofuzzer::EcrecoverExpr& -Expression::_Internal::ecrecover(const Expression* msg) { - return *msg->_impl_.expr_oneof_.ecrecover_; -} -const ::solidity::test::sol2protofuzzer::TypeInfoExpr& -Expression::_Internal::type_info(const Expression* msg) { - return *msg->_impl_.expr_oneof_.type_info_; -} -const ::solidity::test::sol2protofuzzer::SuperCallExpr& -Expression::_Internal::super_call(const Expression* msg) { - return *msg->_impl_.expr_oneof_.super_call_; -} -const ::solidity::test::sol2protofuzzer::LibMemberCallExpr& -Expression::_Internal::lib_member_call(const Expression* msg) { - return *msg->_impl_.expr_oneof_.lib_member_call_; -} -const ::solidity::test::sol2protofuzzer::ConcatExpr& -Expression::_Internal::concat(const Expression* msg) { - return *msg->_impl_.expr_oneof_.concat_; -} -const ::solidity::test::sol2protofuzzer::SelectorExpr& -Expression::_Internal::selector(const Expression* msg) { - return *msg->_impl_.expr_oneof_.selector_; -} -const ::solidity::test::sol2protofuzzer::ArrayLengthExpr& -Expression::_Internal::array_length(const Expression* msg) { - return *msg->_impl_.expr_oneof_.array_length_; -} -const ::solidity::test::sol2protofuzzer::AbiDecodeExpr& -Expression::_Internal::abi_decode(const Expression* msg) { - return *msg->_impl_.expr_oneof_.abi_decode_; -} -const ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr& -Expression::_Internal::abi_encode_call(const Expression* msg) { - return *msg->_impl_.expr_oneof_.abi_encode_call_; -} -const ::solidity::test::sol2protofuzzer::UdvtExpr& -Expression::_Internal::udvt_expr(const Expression* msg) { - return *msg->_impl_.expr_oneof_.udvt_expr_; -} -const ::solidity::test::sol2protofuzzer::ArrayLiteralExpr& -Expression::_Internal::array_lit(const Expression* msg) { - return *msg->_impl_.expr_oneof_.array_lit_; -} -void Expression::set_allocated_lit(::solidity::test::sol2protofuzzer::Literal* lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(lit); - if (message_arena != submessage_arena) { - lit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, lit, submessage_arena); - } - set_has_lit(); - _impl_.expr_oneof_.lit_ = lit; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.lit) -} -void Expression::set_allocated_var_ref(::solidity::test::sol2protofuzzer::VarRef* var_ref) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (var_ref) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(var_ref); - if (message_arena != submessage_arena) { - var_ref = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, var_ref, submessage_arena); - } - set_has_var_ref(); - _impl_.expr_oneof_.var_ref_ = var_ref; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.var_ref) -} -void Expression::set_allocated_bin_op(::solidity::test::sol2protofuzzer::BinaryOp* bin_op) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (bin_op) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(bin_op); - if (message_arena != submessage_arena) { - bin_op = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, bin_op, submessage_arena); - } - set_has_bin_op(); - _impl_.expr_oneof_.bin_op_ = bin_op; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.bin_op) -} -void Expression::set_allocated_un_op(::solidity::test::sol2protofuzzer::UnaryOp* un_op) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (un_op) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(un_op); - if (message_arena != submessage_arena) { - un_op = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, un_op, submessage_arena); - } - set_has_un_op(); - _impl_.expr_oneof_.un_op_ = un_op; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.un_op) -} -void Expression::set_allocated_ternary(::solidity::test::sol2protofuzzer::TernaryOp* ternary) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (ternary) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ternary); - if (message_arena != submessage_arena) { - ternary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ternary, submessage_arena); - } - set_has_ternary(); - _impl_.expr_oneof_.ternary_ = ternary; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.ternary) -} -void Expression::set_allocated_func_call(::solidity::test::sol2protofuzzer::FuncCallExpr* func_call) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (func_call) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(func_call); - if (message_arena != submessage_arena) { - func_call = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, func_call, submessage_arena); - } - set_has_func_call(); - _impl_.expr_oneof_.func_call_ = func_call; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.func_call) -} -void Expression::set_allocated_index_access(::solidity::test::sol2protofuzzer::IndexAccessExpr* index_access) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (index_access) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(index_access); - if (message_arena != submessage_arena) { - index_access = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, index_access, submessage_arena); - } - set_has_index_access(); - _impl_.expr_oneof_.index_access_ = index_access; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.index_access) -} -void Expression::set_allocated_type_conv(::solidity::test::sol2protofuzzer::TypeConvExpr* type_conv) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (type_conv) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(type_conv); - if (message_arena != submessage_arena) { - type_conv = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, type_conv, submessage_arena); - } - set_has_type_conv(); - _impl_.expr_oneof_.type_conv_ = type_conv; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.type_conv) -} -void Expression::set_allocated_msg_expr(::solidity::test::sol2protofuzzer::MsgExpr* msg_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (msg_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(msg_expr); - if (message_arena != submessage_arena) { - msg_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, msg_expr, submessage_arena); - } - set_has_msg_expr(); - _impl_.expr_oneof_.msg_expr_ = msg_expr; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.msg_expr) -} -void Expression::set_allocated_block_expr(::solidity::test::sol2protofuzzer::BlockExpr* block_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (block_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(block_expr); - if (message_arena != submessage_arena) { - block_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, block_expr, submessage_arena); - } - set_has_block_expr(); - _impl_.expr_oneof_.block_expr_ = block_expr; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.block_expr) -} -void Expression::set_allocated_tx_expr(::solidity::test::sol2protofuzzer::TxExpr* tx_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (tx_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tx_expr); - if (message_arena != submessage_arena) { - tx_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, tx_expr, submessage_arena); - } - set_has_tx_expr(); - _impl_.expr_oneof_.tx_expr_ = tx_expr; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.tx_expr) -} -void Expression::set_allocated_abi_encode(::solidity::test::sol2protofuzzer::AbiEncodeExpr* abi_encode) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (abi_encode) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(abi_encode); - if (message_arena != submessage_arena) { - abi_encode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, abi_encode, submessage_arena); - } - set_has_abi_encode(); - _impl_.expr_oneof_.abi_encode_ = abi_encode; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.abi_encode) -} -void Expression::set_allocated_hash_expr(::solidity::test::sol2protofuzzer::HashExpr* hash_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (hash_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(hash_expr); - if (message_arena != submessage_arena) { - hash_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, hash_expr, submessage_arena); - } - set_has_hash_expr(); - _impl_.expr_oneof_.hash_expr_ = hash_expr; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.hash_expr) -} -void Expression::set_allocated_math_expr(::solidity::test::sol2protofuzzer::MathExpr* math_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (math_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(math_expr); - if (message_arena != submessage_arena) { - math_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, math_expr, submessage_arena); - } - set_has_math_expr(); - _impl_.expr_oneof_.math_expr_ = math_expr; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.math_expr) -} -void Expression::set_allocated_builtin(::solidity::test::sol2protofuzzer::BuiltinExpr* builtin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (builtin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(builtin); - if (message_arena != submessage_arena) { - builtin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, builtin, submessage_arena); - } - set_has_builtin(); - _impl_.expr_oneof_.builtin_ = builtin; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.builtin) -} -void Expression::set_allocated_assign(::solidity::test::sol2protofuzzer::AssignExpr* assign) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (assign) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(assign); - if (message_arena != submessage_arena) { - assign = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, assign, submessage_arena); - } - set_has_assign(); - _impl_.expr_oneof_.assign_ = assign; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.assign) -} -void Expression::set_allocated_struct_access(::solidity::test::sol2protofuzzer::StructMemberAccess* struct_access) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (struct_access) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(struct_access); - if (message_arena != submessage_arena) { - struct_access = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, struct_access, submessage_arena); - } - set_has_struct_access(); - _impl_.expr_oneof_.struct_access_ = struct_access; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.struct_access) -} -void Expression::set_allocated_enum_lit(::solidity::test::sol2protofuzzer::EnumLiteral* enum_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (enum_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(enum_lit); - if (message_arena != submessage_arena) { - enum_lit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, enum_lit, submessage_arena); - } - set_has_enum_lit(); - _impl_.expr_oneof_.enum_lit_ = enum_lit; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.enum_lit) -} -void Expression::set_allocated_ecrecover(::solidity::test::sol2protofuzzer::EcrecoverExpr* ecrecover) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (ecrecover) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ecrecover); - if (message_arena != submessage_arena) { - ecrecover = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ecrecover, submessage_arena); - } - set_has_ecrecover(); - _impl_.expr_oneof_.ecrecover_ = ecrecover; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.ecrecover) -} -void Expression::set_allocated_type_info(::solidity::test::sol2protofuzzer::TypeInfoExpr* type_info) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (type_info) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(type_info); - if (message_arena != submessage_arena) { - type_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, type_info, submessage_arena); - } - set_has_type_info(); - _impl_.expr_oneof_.type_info_ = type_info; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.type_info) -} -void Expression::set_allocated_super_call(::solidity::test::sol2protofuzzer::SuperCallExpr* super_call) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (super_call) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(super_call); - if (message_arena != submessage_arena) { - super_call = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, super_call, submessage_arena); - } - set_has_super_call(); - _impl_.expr_oneof_.super_call_ = super_call; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.super_call) -} -void Expression::set_allocated_lib_member_call(::solidity::test::sol2protofuzzer::LibMemberCallExpr* lib_member_call) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (lib_member_call) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(lib_member_call); - if (message_arena != submessage_arena) { - lib_member_call = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, lib_member_call, submessage_arena); - } - set_has_lib_member_call(); - _impl_.expr_oneof_.lib_member_call_ = lib_member_call; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.lib_member_call) -} -void Expression::set_allocated_concat(::solidity::test::sol2protofuzzer::ConcatExpr* concat) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (concat) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(concat); - if (message_arena != submessage_arena) { - concat = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, concat, submessage_arena); - } - set_has_concat(); - _impl_.expr_oneof_.concat_ = concat; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.concat) -} -void Expression::set_allocated_selector(::solidity::test::sol2protofuzzer::SelectorExpr* selector) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (selector) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(selector); - if (message_arena != submessage_arena) { - selector = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, selector, submessage_arena); - } - set_has_selector(); - _impl_.expr_oneof_.selector_ = selector; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.selector) -} -void Expression::set_allocated_array_length(::solidity::test::sol2protofuzzer::ArrayLengthExpr* array_length) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (array_length) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(array_length); - if (message_arena != submessage_arena) { - array_length = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, array_length, submessage_arena); - } - set_has_array_length(); - _impl_.expr_oneof_.array_length_ = array_length; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.array_length) -} -void Expression::set_allocated_abi_decode(::solidity::test::sol2protofuzzer::AbiDecodeExpr* abi_decode) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (abi_decode) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(abi_decode); - if (message_arena != submessage_arena) { - abi_decode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, abi_decode, submessage_arena); - } - set_has_abi_decode(); - _impl_.expr_oneof_.abi_decode_ = abi_decode; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.abi_decode) -} -void Expression::set_allocated_abi_encode_call(::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* abi_encode_call) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (abi_encode_call) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(abi_encode_call); - if (message_arena != submessage_arena) { - abi_encode_call = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, abi_encode_call, submessage_arena); - } - set_has_abi_encode_call(); - _impl_.expr_oneof_.abi_encode_call_ = abi_encode_call; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.abi_encode_call) -} -void Expression::set_allocated_udvt_expr(::solidity::test::sol2protofuzzer::UdvtExpr* udvt_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (udvt_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(udvt_expr); - if (message_arena != submessage_arena) { - udvt_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, udvt_expr, submessage_arena); - } - set_has_udvt_expr(); - _impl_.expr_oneof_.udvt_expr_ = udvt_expr; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.udvt_expr) -} -void Expression::set_allocated_array_lit(::solidity::test::sol2protofuzzer::ArrayLiteralExpr* array_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (array_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(array_lit); - if (message_arena != submessage_arena) { - array_lit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, array_lit, submessage_arena); - } - set_has_array_lit(); - _impl_.expr_oneof_.array_lit_ = array_lit; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Expression.array_lit) -} -Expression::Expression(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.Expression) -} -Expression::Expression(const Expression& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Expression* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.expr_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_expr_oneof(); - switch (from.expr_oneof_case()) { - case kLit: { - _this->_internal_mutable_lit()->::solidity::test::sol2protofuzzer::Literal::MergeFrom( - from._internal_lit()); - break; - } - case kVarRef: { - _this->_internal_mutable_var_ref()->::solidity::test::sol2protofuzzer::VarRef::MergeFrom( - from._internal_var_ref()); - break; - } - case kBinOp: { - _this->_internal_mutable_bin_op()->::solidity::test::sol2protofuzzer::BinaryOp::MergeFrom( - from._internal_bin_op()); - break; - } - case kUnOp: { - _this->_internal_mutable_un_op()->::solidity::test::sol2protofuzzer::UnaryOp::MergeFrom( - from._internal_un_op()); - break; - } - case kTernary: { - _this->_internal_mutable_ternary()->::solidity::test::sol2protofuzzer::TernaryOp::MergeFrom( - from._internal_ternary()); - break; - } - case kFuncCall: { - _this->_internal_mutable_func_call()->::solidity::test::sol2protofuzzer::FuncCallExpr::MergeFrom( - from._internal_func_call()); - break; - } - case kIndexAccess: { - _this->_internal_mutable_index_access()->::solidity::test::sol2protofuzzer::IndexAccessExpr::MergeFrom( - from._internal_index_access()); - break; - } - case kTypeConv: { - _this->_internal_mutable_type_conv()->::solidity::test::sol2protofuzzer::TypeConvExpr::MergeFrom( - from._internal_type_conv()); - break; - } - case kMsgExpr: { - _this->_internal_mutable_msg_expr()->::solidity::test::sol2protofuzzer::MsgExpr::MergeFrom( - from._internal_msg_expr()); - break; - } - case kBlockExpr: { - _this->_internal_mutable_block_expr()->::solidity::test::sol2protofuzzer::BlockExpr::MergeFrom( - from._internal_block_expr()); - break; - } - case kTxExpr: { - _this->_internal_mutable_tx_expr()->::solidity::test::sol2protofuzzer::TxExpr::MergeFrom( - from._internal_tx_expr()); - break; - } - case kAbiEncode: { - _this->_internal_mutable_abi_encode()->::solidity::test::sol2protofuzzer::AbiEncodeExpr::MergeFrom( - from._internal_abi_encode()); - break; - } - case kHashExpr: { - _this->_internal_mutable_hash_expr()->::solidity::test::sol2protofuzzer::HashExpr::MergeFrom( - from._internal_hash_expr()); - break; - } - case kMathExpr: { - _this->_internal_mutable_math_expr()->::solidity::test::sol2protofuzzer::MathExpr::MergeFrom( - from._internal_math_expr()); - break; - } - case kBuiltin: { - _this->_internal_mutable_builtin()->::solidity::test::sol2protofuzzer::BuiltinExpr::MergeFrom( - from._internal_builtin()); - break; - } - case kAssign: { - _this->_internal_mutable_assign()->::solidity::test::sol2protofuzzer::AssignExpr::MergeFrom( - from._internal_assign()); - break; - } - case kStructAccess: { - _this->_internal_mutable_struct_access()->::solidity::test::sol2protofuzzer::StructMemberAccess::MergeFrom( - from._internal_struct_access()); - break; - } - case kEnumLit: { - _this->_internal_mutable_enum_lit()->::solidity::test::sol2protofuzzer::EnumLiteral::MergeFrom( - from._internal_enum_lit()); - break; - } - case kEcrecover: { - _this->_internal_mutable_ecrecover()->::solidity::test::sol2protofuzzer::EcrecoverExpr::MergeFrom( - from._internal_ecrecover()); - break; - } - case kTypeInfo: { - _this->_internal_mutable_type_info()->::solidity::test::sol2protofuzzer::TypeInfoExpr::MergeFrom( - from._internal_type_info()); - break; - } - case kSuperCall: { - _this->_internal_mutable_super_call()->::solidity::test::sol2protofuzzer::SuperCallExpr::MergeFrom( - from._internal_super_call()); - break; - } - case kLibMemberCall: { - _this->_internal_mutable_lib_member_call()->::solidity::test::sol2protofuzzer::LibMemberCallExpr::MergeFrom( - from._internal_lib_member_call()); - break; - } - case kConcat: { - _this->_internal_mutable_concat()->::solidity::test::sol2protofuzzer::ConcatExpr::MergeFrom( - from._internal_concat()); - break; - } - case kSelector: { - _this->_internal_mutable_selector()->::solidity::test::sol2protofuzzer::SelectorExpr::MergeFrom( - from._internal_selector()); - break; - } - case kArrayLength: { - _this->_internal_mutable_array_length()->::solidity::test::sol2protofuzzer::ArrayLengthExpr::MergeFrom( - from._internal_array_length()); - break; - } - case kAbiDecode: { - _this->_internal_mutable_abi_decode()->::solidity::test::sol2protofuzzer::AbiDecodeExpr::MergeFrom( - from._internal_abi_decode()); - break; - } - case kAbiEncodeCall: { - _this->_internal_mutable_abi_encode_call()->::solidity::test::sol2protofuzzer::AbiEncodeCallExpr::MergeFrom( - from._internal_abi_encode_call()); - break; - } - case kUdvtExpr: { - _this->_internal_mutable_udvt_expr()->::solidity::test::sol2protofuzzer::UdvtExpr::MergeFrom( - from._internal_udvt_expr()); - break; - } - case kArrayLit: { - _this->_internal_mutable_array_lit()->::solidity::test::sol2protofuzzer::ArrayLiteralExpr::MergeFrom( - from._internal_array_lit()); - break; - } - case EXPR_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.Expression) -} - -inline void Expression::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.expr_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_expr_oneof(); -} - -Expression::~Expression() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.Expression) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Expression::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_expr_oneof()) { - clear_expr_oneof(); - } -} - -void Expression::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Expression::clear_expr_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.sol2protofuzzer.Expression) - switch (expr_oneof_case()) { - case kLit: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.lit_; - } - break; - } - case kVarRef: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.var_ref_; - } - break; - } - case kBinOp: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.bin_op_; - } - break; - } - case kUnOp: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.un_op_; - } - break; - } - case kTernary: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.ternary_; - } - break; - } - case kFuncCall: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.func_call_; - } - break; - } - case kIndexAccess: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.index_access_; - } - break; - } - case kTypeConv: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.type_conv_; - } - break; - } - case kMsgExpr: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.msg_expr_; - } - break; - } - case kBlockExpr: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.block_expr_; - } - break; - } - case kTxExpr: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.tx_expr_; - } - break; - } - case kAbiEncode: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.abi_encode_; - } - break; - } - case kHashExpr: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.hash_expr_; - } - break; - } - case kMathExpr: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.math_expr_; - } - break; - } - case kBuiltin: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.builtin_; - } - break; - } - case kAssign: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.assign_; - } - break; - } - case kStructAccess: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.struct_access_; - } - break; - } - case kEnumLit: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.enum_lit_; - } - break; - } - case kEcrecover: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.ecrecover_; - } - break; - } - case kTypeInfo: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.type_info_; - } - break; - } - case kSuperCall: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.super_call_; - } - break; - } - case kLibMemberCall: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.lib_member_call_; - } - break; - } - case kConcat: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.concat_; - } - break; - } - case kSelector: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.selector_; - } - break; - } - case kArrayLength: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.array_length_; - } - break; - } - case kAbiDecode: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.abi_decode_; - } - break; - } - case kAbiEncodeCall: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.abi_encode_call_; - } - break; - } - case kUdvtExpr: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.udvt_expr_; - } - break; - } - case kArrayLit: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.array_lit_; - } - break; - } - case EXPR_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = EXPR_ONEOF_NOT_SET; -} - - -void Expression::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.Expression) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_expr_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Expression::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.test.sol2protofuzzer.Literal lit = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_lit(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.VarRef var_ref = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_var_ref(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.BinaryOp bin_op = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_bin_op(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.UnaryOp un_op = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_un_op(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.TernaryOp ternary = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_ternary(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.FuncCallExpr func_call = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_func_call(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.IndexAccessExpr index_access = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_index_access(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.TypeConvExpr type_conv = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_type_conv(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.MsgExpr msg_expr = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_msg_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.BlockExpr block_expr = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_block_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.TxExpr tx_expr = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ctx->ParseMessage(_internal_mutable_tx_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.AbiEncodeExpr abi_encode = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_abi_encode(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.HashExpr hash_expr = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_hash_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.MathExpr math_expr = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr = ctx->ParseMessage(_internal_mutable_math_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.BuiltinExpr builtin = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - ptr = ctx->ParseMessage(_internal_mutable_builtin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.AssignExpr assign = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - ptr = ctx->ParseMessage(_internal_mutable_assign(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.StructMemberAccess struct_access = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - ptr = ctx->ParseMessage(_internal_mutable_struct_access(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.EnumLiteral enum_lit = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - ptr = ctx->ParseMessage(_internal_mutable_enum_lit(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.EcrecoverExpr ecrecover = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - ptr = ctx->ParseMessage(_internal_mutable_ecrecover(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.TypeInfoExpr type_info = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - ptr = ctx->ParseMessage(_internal_mutable_type_info(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.SuperCallExpr super_call = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { - ptr = ctx->ParseMessage(_internal_mutable_super_call(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.LibMemberCallExpr lib_member_call = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { - ptr = ctx->ParseMessage(_internal_mutable_lib_member_call(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.ConcatExpr concat = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { - ptr = ctx->ParseMessage(_internal_mutable_concat(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.SelectorExpr selector = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 194)) { - ptr = ctx->ParseMessage(_internal_mutable_selector(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.ArrayLengthExpr array_length = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 202)) { - ptr = ctx->ParseMessage(_internal_mutable_array_length(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.AbiDecodeExpr abi_decode = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 210)) { - ptr = ctx->ParseMessage(_internal_mutable_abi_decode(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.AbiEncodeCallExpr abi_encode_call = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 218)) { - ptr = ctx->ParseMessage(_internal_mutable_abi_encode_call(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.UdvtExpr udvt_expr = 28; - case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 226)) { - ptr = ctx->ParseMessage(_internal_mutable_udvt_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.ArrayLiteralExpr array_lit = 29; - case 29: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 234)) { - ptr = ctx->ParseMessage(_internal_mutable_array_lit(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Expression::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.Expression) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (expr_oneof_case()) { - case kLit: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::lit(this), - _Internal::lit(this).GetCachedSize(), target, stream); - break; - } - case kVarRef: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::var_ref(this), - _Internal::var_ref(this).GetCachedSize(), target, stream); - break; - } - case kBinOp: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::bin_op(this), - _Internal::bin_op(this).GetCachedSize(), target, stream); - break; - } - case kUnOp: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::un_op(this), - _Internal::un_op(this).GetCachedSize(), target, stream); - break; - } - case kTernary: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::ternary(this), - _Internal::ternary(this).GetCachedSize(), target, stream); - break; - } - case kFuncCall: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::func_call(this), - _Internal::func_call(this).GetCachedSize(), target, stream); - break; - } - case kIndexAccess: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::index_access(this), - _Internal::index_access(this).GetCachedSize(), target, stream); - break; - } - case kTypeConv: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::type_conv(this), - _Internal::type_conv(this).GetCachedSize(), target, stream); - break; - } - case kMsgExpr: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::msg_expr(this), - _Internal::msg_expr(this).GetCachedSize(), target, stream); - break; - } - case kBlockExpr: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::block_expr(this), - _Internal::block_expr(this).GetCachedSize(), target, stream); - break; - } - case kTxExpr: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, _Internal::tx_expr(this), - _Internal::tx_expr(this).GetCachedSize(), target, stream); - break; - } - case kAbiEncode: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::abi_encode(this), - _Internal::abi_encode(this).GetCachedSize(), target, stream); - break; - } - case kHashExpr: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::hash_expr(this), - _Internal::hash_expr(this).GetCachedSize(), target, stream); - break; - } - case kMathExpr: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(14, _Internal::math_expr(this), - _Internal::math_expr(this).GetCachedSize(), target, stream); - break; - } - case kBuiltin: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(15, _Internal::builtin(this), - _Internal::builtin(this).GetCachedSize(), target, stream); - break; - } - case kAssign: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(16, _Internal::assign(this), - _Internal::assign(this).GetCachedSize(), target, stream); - break; - } - case kStructAccess: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(17, _Internal::struct_access(this), - _Internal::struct_access(this).GetCachedSize(), target, stream); - break; - } - case kEnumLit: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(18, _Internal::enum_lit(this), - _Internal::enum_lit(this).GetCachedSize(), target, stream); - break; - } - case kEcrecover: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(19, _Internal::ecrecover(this), - _Internal::ecrecover(this).GetCachedSize(), target, stream); - break; - } - case kTypeInfo: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(20, _Internal::type_info(this), - _Internal::type_info(this).GetCachedSize(), target, stream); - break; - } - case kSuperCall: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(21, _Internal::super_call(this), - _Internal::super_call(this).GetCachedSize(), target, stream); - break; - } - case kLibMemberCall: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(22, _Internal::lib_member_call(this), - _Internal::lib_member_call(this).GetCachedSize(), target, stream); - break; - } - case kConcat: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(23, _Internal::concat(this), - _Internal::concat(this).GetCachedSize(), target, stream); - break; - } - case kSelector: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(24, _Internal::selector(this), - _Internal::selector(this).GetCachedSize(), target, stream); - break; - } - case kArrayLength: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(25, _Internal::array_length(this), - _Internal::array_length(this).GetCachedSize(), target, stream); - break; - } - case kAbiDecode: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(26, _Internal::abi_decode(this), - _Internal::abi_decode(this).GetCachedSize(), target, stream); - break; - } - case kAbiEncodeCall: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(27, _Internal::abi_encode_call(this), - _Internal::abi_encode_call(this).GetCachedSize(), target, stream); - break; - } - case kUdvtExpr: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(28, _Internal::udvt_expr(this), - _Internal::udvt_expr(this).GetCachedSize(), target, stream); - break; - } - case kArrayLit: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(29, _Internal::array_lit(this), - _Internal::array_lit(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.Expression) - return target; -} - -size_t Expression::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.Expression) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (expr_oneof_case()) { - // .solidity.test.sol2protofuzzer.Literal lit = 1; - case kLit: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.lit_); - break; - } - // .solidity.test.sol2protofuzzer.VarRef var_ref = 2; - case kVarRef: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.var_ref_); - break; - } - // .solidity.test.sol2protofuzzer.BinaryOp bin_op = 3; - case kBinOp: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.bin_op_); - break; - } - // .solidity.test.sol2protofuzzer.UnaryOp un_op = 4; - case kUnOp: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.un_op_); - break; - } - // .solidity.test.sol2protofuzzer.TernaryOp ternary = 5; - case kTernary: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.ternary_); - break; - } - // .solidity.test.sol2protofuzzer.FuncCallExpr func_call = 6; - case kFuncCall: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.func_call_); - break; - } - // .solidity.test.sol2protofuzzer.IndexAccessExpr index_access = 7; - case kIndexAccess: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.index_access_); - break; - } - // .solidity.test.sol2protofuzzer.TypeConvExpr type_conv = 8; - case kTypeConv: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.type_conv_); - break; - } - // .solidity.test.sol2protofuzzer.MsgExpr msg_expr = 9; - case kMsgExpr: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.msg_expr_); - break; - } - // .solidity.test.sol2protofuzzer.BlockExpr block_expr = 10; - case kBlockExpr: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.block_expr_); - break; - } - // .solidity.test.sol2protofuzzer.TxExpr tx_expr = 11; - case kTxExpr: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.tx_expr_); - break; - } - // .solidity.test.sol2protofuzzer.AbiEncodeExpr abi_encode = 12; - case kAbiEncode: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.abi_encode_); - break; - } - // .solidity.test.sol2protofuzzer.HashExpr hash_expr = 13; - case kHashExpr: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.hash_expr_); - break; - } - // .solidity.test.sol2protofuzzer.MathExpr math_expr = 14; - case kMathExpr: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.math_expr_); - break; - } - // .solidity.test.sol2protofuzzer.BuiltinExpr builtin = 15; - case kBuiltin: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.builtin_); - break; - } - // .solidity.test.sol2protofuzzer.AssignExpr assign = 16; - case kAssign: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.assign_); - break; - } - // .solidity.test.sol2protofuzzer.StructMemberAccess struct_access = 17; - case kStructAccess: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.struct_access_); - break; - } - // .solidity.test.sol2protofuzzer.EnumLiteral enum_lit = 18; - case kEnumLit: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.enum_lit_); - break; - } - // .solidity.test.sol2protofuzzer.EcrecoverExpr ecrecover = 19; - case kEcrecover: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.ecrecover_); - break; - } - // .solidity.test.sol2protofuzzer.TypeInfoExpr type_info = 20; - case kTypeInfo: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.type_info_); - break; - } - // .solidity.test.sol2protofuzzer.SuperCallExpr super_call = 21; - case kSuperCall: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.super_call_); - break; - } - // .solidity.test.sol2protofuzzer.LibMemberCallExpr lib_member_call = 22; - case kLibMemberCall: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.lib_member_call_); - break; - } - // .solidity.test.sol2protofuzzer.ConcatExpr concat = 23; - case kConcat: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.concat_); - break; - } - // .solidity.test.sol2protofuzzer.SelectorExpr selector = 24; - case kSelector: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.selector_); - break; - } - // .solidity.test.sol2protofuzzer.ArrayLengthExpr array_length = 25; - case kArrayLength: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.array_length_); - break; - } - // .solidity.test.sol2protofuzzer.AbiDecodeExpr abi_decode = 26; - case kAbiDecode: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.abi_decode_); - break; - } - // .solidity.test.sol2protofuzzer.AbiEncodeCallExpr abi_encode_call = 27; - case kAbiEncodeCall: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.abi_encode_call_); - break; - } - // .solidity.test.sol2protofuzzer.UdvtExpr udvt_expr = 28; - case kUdvtExpr: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.udvt_expr_); - break; - } - // .solidity.test.sol2protofuzzer.ArrayLiteralExpr array_lit = 29; - case kArrayLit: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.array_lit_); - break; - } - case EXPR_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Expression::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Expression::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Expression::GetClassData() const { return &_class_data_; } - - -void Expression::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.Expression) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.expr_oneof_case()) { - case kLit: { - _this->_internal_mutable_lit()->::solidity::test::sol2protofuzzer::Literal::MergeFrom( - from._internal_lit()); - break; - } - case kVarRef: { - _this->_internal_mutable_var_ref()->::solidity::test::sol2protofuzzer::VarRef::MergeFrom( - from._internal_var_ref()); - break; - } - case kBinOp: { - _this->_internal_mutable_bin_op()->::solidity::test::sol2protofuzzer::BinaryOp::MergeFrom( - from._internal_bin_op()); - break; - } - case kUnOp: { - _this->_internal_mutable_un_op()->::solidity::test::sol2protofuzzer::UnaryOp::MergeFrom( - from._internal_un_op()); - break; - } - case kTernary: { - _this->_internal_mutable_ternary()->::solidity::test::sol2protofuzzer::TernaryOp::MergeFrom( - from._internal_ternary()); - break; - } - case kFuncCall: { - _this->_internal_mutable_func_call()->::solidity::test::sol2protofuzzer::FuncCallExpr::MergeFrom( - from._internal_func_call()); - break; - } - case kIndexAccess: { - _this->_internal_mutable_index_access()->::solidity::test::sol2protofuzzer::IndexAccessExpr::MergeFrom( - from._internal_index_access()); - break; - } - case kTypeConv: { - _this->_internal_mutable_type_conv()->::solidity::test::sol2protofuzzer::TypeConvExpr::MergeFrom( - from._internal_type_conv()); - break; - } - case kMsgExpr: { - _this->_internal_mutable_msg_expr()->::solidity::test::sol2protofuzzer::MsgExpr::MergeFrom( - from._internal_msg_expr()); - break; - } - case kBlockExpr: { - _this->_internal_mutable_block_expr()->::solidity::test::sol2protofuzzer::BlockExpr::MergeFrom( - from._internal_block_expr()); - break; - } - case kTxExpr: { - _this->_internal_mutable_tx_expr()->::solidity::test::sol2protofuzzer::TxExpr::MergeFrom( - from._internal_tx_expr()); - break; - } - case kAbiEncode: { - _this->_internal_mutable_abi_encode()->::solidity::test::sol2protofuzzer::AbiEncodeExpr::MergeFrom( - from._internal_abi_encode()); - break; - } - case kHashExpr: { - _this->_internal_mutable_hash_expr()->::solidity::test::sol2protofuzzer::HashExpr::MergeFrom( - from._internal_hash_expr()); - break; - } - case kMathExpr: { - _this->_internal_mutable_math_expr()->::solidity::test::sol2protofuzzer::MathExpr::MergeFrom( - from._internal_math_expr()); - break; - } - case kBuiltin: { - _this->_internal_mutable_builtin()->::solidity::test::sol2protofuzzer::BuiltinExpr::MergeFrom( - from._internal_builtin()); - break; - } - case kAssign: { - _this->_internal_mutable_assign()->::solidity::test::sol2protofuzzer::AssignExpr::MergeFrom( - from._internal_assign()); - break; - } - case kStructAccess: { - _this->_internal_mutable_struct_access()->::solidity::test::sol2protofuzzer::StructMemberAccess::MergeFrom( - from._internal_struct_access()); - break; - } - case kEnumLit: { - _this->_internal_mutable_enum_lit()->::solidity::test::sol2protofuzzer::EnumLiteral::MergeFrom( - from._internal_enum_lit()); - break; - } - case kEcrecover: { - _this->_internal_mutable_ecrecover()->::solidity::test::sol2protofuzzer::EcrecoverExpr::MergeFrom( - from._internal_ecrecover()); - break; - } - case kTypeInfo: { - _this->_internal_mutable_type_info()->::solidity::test::sol2protofuzzer::TypeInfoExpr::MergeFrom( - from._internal_type_info()); - break; - } - case kSuperCall: { - _this->_internal_mutable_super_call()->::solidity::test::sol2protofuzzer::SuperCallExpr::MergeFrom( - from._internal_super_call()); - break; - } - case kLibMemberCall: { - _this->_internal_mutable_lib_member_call()->::solidity::test::sol2protofuzzer::LibMemberCallExpr::MergeFrom( - from._internal_lib_member_call()); - break; - } - case kConcat: { - _this->_internal_mutable_concat()->::solidity::test::sol2protofuzzer::ConcatExpr::MergeFrom( - from._internal_concat()); - break; - } - case kSelector: { - _this->_internal_mutable_selector()->::solidity::test::sol2protofuzzer::SelectorExpr::MergeFrom( - from._internal_selector()); - break; - } - case kArrayLength: { - _this->_internal_mutable_array_length()->::solidity::test::sol2protofuzzer::ArrayLengthExpr::MergeFrom( - from._internal_array_length()); - break; - } - case kAbiDecode: { - _this->_internal_mutable_abi_decode()->::solidity::test::sol2protofuzzer::AbiDecodeExpr::MergeFrom( - from._internal_abi_decode()); - break; - } - case kAbiEncodeCall: { - _this->_internal_mutable_abi_encode_call()->::solidity::test::sol2protofuzzer::AbiEncodeCallExpr::MergeFrom( - from._internal_abi_encode_call()); - break; - } - case kUdvtExpr: { - _this->_internal_mutable_udvt_expr()->::solidity::test::sol2protofuzzer::UdvtExpr::MergeFrom( - from._internal_udvt_expr()); - break; - } - case kArrayLit: { - _this->_internal_mutable_array_lit()->::solidity::test::sol2protofuzzer::ArrayLiteralExpr::MergeFrom( - from._internal_array_lit()); - break; - } - case EXPR_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Expression::CopyFrom(const Expression& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.Expression) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Expression::IsInitialized() const { - switch (expr_oneof_case()) { - case kLit: { - if (_internal_has_lit()) { - if (!_impl_.expr_oneof_.lit_->IsInitialized()) return false; - } - break; - } - case kVarRef: { - if (_internal_has_var_ref()) { - if (!_impl_.expr_oneof_.var_ref_->IsInitialized()) return false; - } - break; - } - case kBinOp: { - if (_internal_has_bin_op()) { - if (!_impl_.expr_oneof_.bin_op_->IsInitialized()) return false; - } - break; - } - case kUnOp: { - if (_internal_has_un_op()) { - if (!_impl_.expr_oneof_.un_op_->IsInitialized()) return false; - } - break; - } - case kTernary: { - if (_internal_has_ternary()) { - if (!_impl_.expr_oneof_.ternary_->IsInitialized()) return false; - } - break; - } - case kFuncCall: { - if (_internal_has_func_call()) { - if (!_impl_.expr_oneof_.func_call_->IsInitialized()) return false; - } - break; - } - case kIndexAccess: { - if (_internal_has_index_access()) { - if (!_impl_.expr_oneof_.index_access_->IsInitialized()) return false; - } - break; - } - case kTypeConv: { - if (_internal_has_type_conv()) { - if (!_impl_.expr_oneof_.type_conv_->IsInitialized()) return false; - } - break; - } - case kMsgExpr: { - if (_internal_has_msg_expr()) { - if (!_impl_.expr_oneof_.msg_expr_->IsInitialized()) return false; - } - break; - } - case kBlockExpr: { - if (_internal_has_block_expr()) { - if (!_impl_.expr_oneof_.block_expr_->IsInitialized()) return false; - } - break; - } - case kTxExpr: { - if (_internal_has_tx_expr()) { - if (!_impl_.expr_oneof_.tx_expr_->IsInitialized()) return false; - } - break; - } - case kAbiEncode: { - if (_internal_has_abi_encode()) { - if (!_impl_.expr_oneof_.abi_encode_->IsInitialized()) return false; - } - break; - } - case kHashExpr: { - if (_internal_has_hash_expr()) { - if (!_impl_.expr_oneof_.hash_expr_->IsInitialized()) return false; - } - break; - } - case kMathExpr: { - if (_internal_has_math_expr()) { - if (!_impl_.expr_oneof_.math_expr_->IsInitialized()) return false; - } - break; - } - case kBuiltin: { - if (_internal_has_builtin()) { - if (!_impl_.expr_oneof_.builtin_->IsInitialized()) return false; - } - break; - } - case kAssign: { - if (_internal_has_assign()) { - if (!_impl_.expr_oneof_.assign_->IsInitialized()) return false; - } - break; - } - case kStructAccess: { - if (_internal_has_struct_access()) { - if (!_impl_.expr_oneof_.struct_access_->IsInitialized()) return false; - } - break; - } - case kEnumLit: { - if (_internal_has_enum_lit()) { - if (!_impl_.expr_oneof_.enum_lit_->IsInitialized()) return false; - } - break; - } - case kEcrecover: { - if (_internal_has_ecrecover()) { - if (!_impl_.expr_oneof_.ecrecover_->IsInitialized()) return false; - } - break; - } - case kTypeInfo: { - if (_internal_has_type_info()) { - if (!_impl_.expr_oneof_.type_info_->IsInitialized()) return false; - } - break; - } - case kSuperCall: { - if (_internal_has_super_call()) { - if (!_impl_.expr_oneof_.super_call_->IsInitialized()) return false; - } - break; - } - case kLibMemberCall: { - if (_internal_has_lib_member_call()) { - if (!_impl_.expr_oneof_.lib_member_call_->IsInitialized()) return false; - } - break; - } - case kConcat: { - if (_internal_has_concat()) { - if (!_impl_.expr_oneof_.concat_->IsInitialized()) return false; - } - break; - } - case kSelector: { - if (_internal_has_selector()) { - if (!_impl_.expr_oneof_.selector_->IsInitialized()) return false; - } - break; - } - case kArrayLength: { - if (_internal_has_array_length()) { - if (!_impl_.expr_oneof_.array_length_->IsInitialized()) return false; - } - break; - } - case kAbiDecode: { - if (_internal_has_abi_decode()) { - if (!_impl_.expr_oneof_.abi_decode_->IsInitialized()) return false; - } - break; - } - case kAbiEncodeCall: { - if (_internal_has_abi_encode_call()) { - if (!_impl_.expr_oneof_.abi_encode_call_->IsInitialized()) return false; - } - break; - } - case kUdvtExpr: { - if (_internal_has_udvt_expr()) { - if (!_impl_.expr_oneof_.udvt_expr_->IsInitialized()) return false; - } - break; - } - case kArrayLit: { - if (_internal_has_array_lit()) { - if (!_impl_.expr_oneof_.array_lit_->IsInitialized()) return false; - } - break; - } - case EXPR_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void Expression::InternalSwap(Expression* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.expr_oneof_, other->_impl_.expr_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Expression::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[38]); -} - -// =================================================================== - -class UdvtExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& inner(const UdvtExpr* msg); - static void set_has_inner(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_wrap_only(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -UdvtExpr::_Internal::inner(const UdvtExpr* msg) { - return *msg->_impl_.inner_; -} -UdvtExpr::UdvtExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.UdvtExpr) -} -UdvtExpr::UdvtExpr(const UdvtExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - UdvtExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.inner_){nullptr} - , decltype(_impl_.wrap_only_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_inner()) { - _this->_impl_.inner_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.inner_); - } - _this->_impl_.wrap_only_ = from._impl_.wrap_only_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.UdvtExpr) -} - -inline void UdvtExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.inner_){nullptr} - , decltype(_impl_.wrap_only_){false} - }; -} - -UdvtExpr::~UdvtExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.UdvtExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void UdvtExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.inner_; -} - -void UdvtExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void UdvtExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.UdvtExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.inner_ != nullptr); - _impl_.inner_->Clear(); - } - _impl_.wrap_only_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* UdvtExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression inner = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_inner(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bool wrap_only = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_wrap_only(&has_bits); - _impl_.wrap_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* UdvtExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.UdvtExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression inner = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::inner(this), - _Internal::inner(this).GetCachedSize(), target, stream); - } - - // required bool wrap_only = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_wrap_only(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.UdvtExpr) - return target; -} - -size_t UdvtExpr::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.UdvtExpr) - size_t total_size = 0; - - if (_internal_has_inner()) { - // required .solidity.test.sol2protofuzzer.Expression inner = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.inner_); - } - - if (_internal_has_wrap_only()) { - // required bool wrap_only = 2; - total_size += 1 + 1; - } - - return total_size; -} -size_t UdvtExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.UdvtExpr) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression inner = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.inner_); - - // required bool wrap_only = 2; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UdvtExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - UdvtExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UdvtExpr::GetClassData() const { return &_class_data_; } - - -void UdvtExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.UdvtExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_inner()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_inner()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.wrap_only_ = from._impl_.wrap_only_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void UdvtExpr::CopyFrom(const UdvtExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.UdvtExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UdvtExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_inner()) { - if (!_impl_.inner_->IsInitialized()) return false; - } - return true; -} - -void UdvtExpr::InternalSwap(UdvtExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(UdvtExpr, _impl_.wrap_only_) - + sizeof(UdvtExpr::_impl_.wrap_only_) - - PROTOBUF_FIELD_OFFSET(UdvtExpr, _impl_.inner_)>( - reinterpret_cast(&_impl_.inner_), - reinterpret_cast(&other->_impl_.inner_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata UdvtExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[39]); -} - -// =================================================================== - -class ArrayLiteralExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -ArrayLiteralExpr::ArrayLiteralExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ArrayLiteralExpr) -} -ArrayLiteralExpr::ArrayLiteralExpr(const ArrayLiteralExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ArrayLiteralExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.elems_){from._impl_.elems_} - , decltype(_impl_.kind_){} - , decltype(_impl_.index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.kind_, &from._impl_.kind_, - static_cast(reinterpret_cast(&_impl_.index_) - - reinterpret_cast(&_impl_.kind_)) + sizeof(_impl_.index_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ArrayLiteralExpr) -} - -inline void ArrayLiteralExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.elems_){arena} - , decltype(_impl_.kind_){0} - , decltype(_impl_.index_){0u} - }; -} - -ArrayLiteralExpr::~ArrayLiteralExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ArrayLiteralExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ArrayLiteralExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.elems_.~RepeatedPtrField(); -} - -void ArrayLiteralExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ArrayLiteralExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ArrayLiteralExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.elems_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.kind_, 0, static_cast( - reinterpret_cast(&_impl_.index_) - - reinterpret_cast(&_impl_.kind_)) + sizeof(_impl_.index_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ArrayLiteralExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.ArrayLiteralExpr.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression elems = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_elems(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 index = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ArrayLiteralExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ArrayLiteralExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.ArrayLiteralExpr.Kind kind = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression elems = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_elems_size()); i < n; i++) { - const auto& repfield = this->_internal_elems(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 index = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ArrayLiteralExpr) - return target; -} - -size_t ArrayLiteralExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ArrayLiteralExpr) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.ArrayLiteralExpr.Kind kind = 1; - if (_internal_has_kind()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression elems = 2; - total_size += 1UL * this->_internal_elems_size(); - for (const auto& msg : this->_impl_.elems_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 index = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ArrayLiteralExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ArrayLiteralExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ArrayLiteralExpr::GetClassData() const { return &_class_data_; } - - -void ArrayLiteralExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ArrayLiteralExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.elems_.MergeFrom(from._impl_.elems_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.kind_ = from._impl_.kind_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.index_ = from._impl_.index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ArrayLiteralExpr::CopyFrom(const ArrayLiteralExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ArrayLiteralExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArrayLiteralExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.elems_)) - return false; - return true; -} - -void ArrayLiteralExpr::InternalSwap(ArrayLiteralExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.elems_.InternalSwap(&other->_impl_.elems_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ArrayLiteralExpr, _impl_.index_) - + sizeof(ArrayLiteralExpr::_impl_.index_) - - PROTOBUF_FIELD_OFFSET(ArrayLiteralExpr, _impl_.kind_)>( - reinterpret_cast(&_impl_.kind_), - reinterpret_cast(&other->_impl_.kind_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ArrayLiteralExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[40]); -} - -// =================================================================== - -class VarDeclStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& init(const VarDeclStmt* msg); - static void set_has_init(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -VarDeclStmt::_Internal::init(const VarDeclStmt* msg) { - return *msg->_impl_.init_; -} -VarDeclStmt::VarDeclStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.VarDeclStmt) -} -VarDeclStmt::VarDeclStmt(const VarDeclStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - VarDeclStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.init_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_init()) { - _this->_impl_.init_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.init_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.VarDeclStmt) -} - -inline void VarDeclStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.init_){nullptr} - }; -} - -VarDeclStmt::~VarDeclStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.VarDeclStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void VarDeclStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.init_; -} - -void VarDeclStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void VarDeclStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.VarDeclStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.init_ != nullptr); - _impl_.init_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* VarDeclStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .solidity.test.sol2protofuzzer.Expression init = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_init(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* VarDeclStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.VarDeclStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .solidity.test.sol2protofuzzer.Expression init = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::init(this), - _Internal::init(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.VarDeclStmt) - return target; -} - -size_t VarDeclStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.VarDeclStmt) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .solidity.test.sol2protofuzzer.Expression init = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.init_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VarDeclStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - VarDeclStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VarDeclStmt::GetClassData() const { return &_class_data_; } - - -void VarDeclStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.VarDeclStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_init()) { - _this->_internal_mutable_init()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_init()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void VarDeclStmt::CopyFrom(const VarDeclStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.VarDeclStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool VarDeclStmt::IsInitialized() const { - if (_internal_has_init()) { - if (!_impl_.init_->IsInitialized()) return false; - } - return true; -} - -void VarDeclStmt::InternalSwap(VarDeclStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.init_, other->_impl_.init_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata VarDeclStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[41]); -} - -// =================================================================== - -class ExprStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& expr(const ExprStmt* msg); - static void set_has_expr(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -ExprStmt::_Internal::expr(const ExprStmt* msg) { - return *msg->_impl_.expr_; -} -ExprStmt::ExprStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ExprStmt) -} -ExprStmt::ExprStmt(const ExprStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ExprStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.expr_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_expr()) { - _this->_impl_.expr_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.expr_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ExprStmt) -} - -inline void ExprStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.expr_){nullptr} - }; -} - -ExprStmt::~ExprStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ExprStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ExprStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.expr_; -} - -void ExprStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ExprStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ExprStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.expr_ != nullptr); - _impl_.expr_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ExprStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression expr = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ExprStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ExprStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression expr = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::expr(this), - _Internal::expr(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ExprStmt) - return target; -} - -size_t ExprStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ExprStmt) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.Expression expr = 1; - if (_internal_has_expr()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExprStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ExprStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExprStmt::GetClassData() const { return &_class_data_; } - - -void ExprStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ExprStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_expr()) { - _this->_internal_mutable_expr()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_expr()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ExprStmt::CopyFrom(const ExprStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ExprStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExprStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_expr()) { - if (!_impl_.expr_->IsInitialized()) return false; - } - return true; -} - -void ExprStmt::InternalSwap(ExprStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.expr_, other->_impl_.expr_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ExprStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[42]); -} - -// =================================================================== - -class IfStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& cond(const IfStmt* msg); - static void set_has_cond(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Block& if_body(const IfStmt* msg); - static void set_has_if_body(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::Block& else_body(const IfStmt* msg); - static void set_has_else_body(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -IfStmt::_Internal::cond(const IfStmt* msg) { - return *msg->_impl_.cond_; -} -const ::solidity::test::sol2protofuzzer::Block& -IfStmt::_Internal::if_body(const IfStmt* msg) { - return *msg->_impl_.if_body_; -} -const ::solidity::test::sol2protofuzzer::Block& -IfStmt::_Internal::else_body(const IfStmt* msg) { - return *msg->_impl_.else_body_; -} -IfStmt::IfStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.IfStmt) -} -IfStmt::IfStmt(const IfStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IfStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.if_body_){nullptr} - , decltype(_impl_.else_body_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_cond()) { - _this->_impl_.cond_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.cond_); - } - if (from._internal_has_if_body()) { - _this->_impl_.if_body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.if_body_); - } - if (from._internal_has_else_body()) { - _this->_impl_.else_body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.else_body_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.IfStmt) -} - -inline void IfStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.if_body_){nullptr} - , decltype(_impl_.else_body_){nullptr} - }; -} - -IfStmt::~IfStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.IfStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IfStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.cond_; - if (this != internal_default_instance()) delete _impl_.if_body_; - if (this != internal_default_instance()) delete _impl_.else_body_; -} - -void IfStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IfStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.IfStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.cond_ != nullptr); - _impl_.cond_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.if_body_ != nullptr); - _impl_.if_body_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.else_body_ != nullptr); - _impl_.else_body_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IfStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_cond(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Block if_body = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_if_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .solidity.test.sol2protofuzzer.Block else_body = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_else_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IfStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.IfStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::cond(this), - _Internal::cond(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Block if_body = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::if_body(this), - _Internal::if_body(this).GetCachedSize(), target, stream); - } - - // optional .solidity.test.sol2protofuzzer.Block else_body = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::else_body(this), - _Internal::else_body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.IfStmt) - return target; -} - -size_t IfStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.IfStmt) - size_t total_size = 0; - - if (_internal_has_cond()) { - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - } - - if (_internal_has_if_body()) { - // required .solidity.test.sol2protofuzzer.Block if_body = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.if_body_); - } - - return total_size; -} -size_t IfStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.IfStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - - // required .solidity.test.sol2protofuzzer.Block if_body = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.if_body_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .solidity.test.sol2protofuzzer.Block else_body = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.else_body_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IfStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IfStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IfStmt::GetClassData() const { return &_class_data_; } - - -void IfStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.IfStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_cond()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_cond()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_if_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_if_body()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_else_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_else_body()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IfStmt::CopyFrom(const IfStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.IfStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IfStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_cond()) { - if (!_impl_.cond_->IsInitialized()) return false; - } - if (_internal_has_if_body()) { - if (!_impl_.if_body_->IsInitialized()) return false; - } - if (_internal_has_else_body()) { - if (!_impl_.else_body_->IsInitialized()) return false; - } - return true; -} - -void IfStmt::InternalSwap(IfStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IfStmt, _impl_.else_body_) - + sizeof(IfStmt::_impl_.else_body_) - - PROTOBUF_FIELD_OFFSET(IfStmt, _impl_.cond_)>( - reinterpret_cast(&_impl_.cond_), - reinterpret_cast(&other->_impl_.cond_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IfStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[43]); -} - -// =================================================================== - -class ForStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Block& body(const ForStmt* msg); - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Block& -ForStmt::_Internal::body(const ForStmt* msg) { - return *msg->_impl_.body_; -} -ForStmt::ForStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ForStmt) -} -ForStmt::ForStmt(const ForStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ForStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_body()) { - _this->_impl_.body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.body_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ForStmt) -} - -inline void ForStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr} - }; -} - -ForStmt::~ForStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ForStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ForStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.body_; -} - -void ForStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ForStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ForStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.body_ != nullptr); - _impl_.body_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ForStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Block body = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ForStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ForStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Block body = 4; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::body(this), - _Internal::body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ForStmt) - return target; -} - -size_t ForStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ForStmt) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.Block body = 4; - if (_internal_has_body()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ForStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ForStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ForStmt::GetClassData() const { return &_class_data_; } - - -void ForStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ForStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_body()) { - _this->_internal_mutable_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_body()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ForStmt::CopyFrom(const ForStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ForStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ForStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_body()) { - if (!_impl_.body_->IsInitialized()) return false; - } - return true; -} - -void ForStmt::InternalSwap(ForStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.body_, other->_impl_.body_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ForStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[44]); -} - -// =================================================================== - -class WhileStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& cond(const WhileStmt* msg); - static void set_has_cond(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Block& body(const WhileStmt* msg); - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -WhileStmt::_Internal::cond(const WhileStmt* msg) { - return *msg->_impl_.cond_; -} -const ::solidity::test::sol2protofuzzer::Block& -WhileStmt::_Internal::body(const WhileStmt* msg) { - return *msg->_impl_.body_; -} -WhileStmt::WhileStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.WhileStmt) -} -WhileStmt::WhileStmt(const WhileStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - WhileStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.body_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_cond()) { - _this->_impl_.cond_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.cond_); - } - if (from._internal_has_body()) { - _this->_impl_.body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.body_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.WhileStmt) -} - -inline void WhileStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.body_){nullptr} - }; -} - -WhileStmt::~WhileStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.WhileStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void WhileStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.cond_; - if (this != internal_default_instance()) delete _impl_.body_; -} - -void WhileStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void WhileStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.WhileStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.cond_ != nullptr); - _impl_.cond_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.body_ != nullptr); - _impl_.body_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* WhileStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_cond(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Block body = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* WhileStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.WhileStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::cond(this), - _Internal::cond(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Block body = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::body(this), - _Internal::body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.WhileStmt) - return target; -} - -size_t WhileStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.WhileStmt) - size_t total_size = 0; - - if (_internal_has_cond()) { - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - } - - if (_internal_has_body()) { - // required .solidity.test.sol2protofuzzer.Block body = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - } - - return total_size; -} -size_t WhileStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.WhileStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - - // required .solidity.test.sol2protofuzzer.Block body = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData WhileStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - WhileStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*WhileStmt::GetClassData() const { return &_class_data_; } - - -void WhileStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.WhileStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_cond()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_cond()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_body()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void WhileStmt::CopyFrom(const WhileStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.WhileStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WhileStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_cond()) { - if (!_impl_.cond_->IsInitialized()) return false; - } - if (_internal_has_body()) { - if (!_impl_.body_->IsInitialized()) return false; - } - return true; -} - -void WhileStmt::InternalSwap(WhileStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(WhileStmt, _impl_.body_) - + sizeof(WhileStmt::_impl_.body_) - - PROTOBUF_FIELD_OFFSET(WhileStmt, _impl_.cond_)>( - reinterpret_cast(&_impl_.cond_), - reinterpret_cast(&other->_impl_.cond_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata WhileStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[45]); -} - -// =================================================================== - -class DoWhileStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& cond(const DoWhileStmt* msg); - static void set_has_cond(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Block& body(const DoWhileStmt* msg); - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -DoWhileStmt::_Internal::cond(const DoWhileStmt* msg) { - return *msg->_impl_.cond_; -} -const ::solidity::test::sol2protofuzzer::Block& -DoWhileStmt::_Internal::body(const DoWhileStmt* msg) { - return *msg->_impl_.body_; -} -DoWhileStmt::DoWhileStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.DoWhileStmt) -} -DoWhileStmt::DoWhileStmt(const DoWhileStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - DoWhileStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.body_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_cond()) { - _this->_impl_.cond_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.cond_); - } - if (from._internal_has_body()) { - _this->_impl_.body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.body_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.DoWhileStmt) -} - -inline void DoWhileStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.body_){nullptr} - }; -} - -DoWhileStmt::~DoWhileStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.DoWhileStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void DoWhileStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.cond_; - if (this != internal_default_instance()) delete _impl_.body_; -} - -void DoWhileStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void DoWhileStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.DoWhileStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.cond_ != nullptr); - _impl_.cond_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.body_ != nullptr); - _impl_.body_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* DoWhileStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_cond(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Block body = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* DoWhileStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.DoWhileStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::cond(this), - _Internal::cond(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Block body = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::body(this), - _Internal::body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.DoWhileStmt) - return target; -} - -size_t DoWhileStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.DoWhileStmt) - size_t total_size = 0; - - if (_internal_has_cond()) { - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - } - - if (_internal_has_body()) { - // required .solidity.test.sol2protofuzzer.Block body = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - } - - return total_size; -} -size_t DoWhileStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.DoWhileStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - - // required .solidity.test.sol2protofuzzer.Block body = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DoWhileStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - DoWhileStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DoWhileStmt::GetClassData() const { return &_class_data_; } - - -void DoWhileStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.DoWhileStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_cond()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_cond()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_body()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void DoWhileStmt::CopyFrom(const DoWhileStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.DoWhileStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DoWhileStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_cond()) { - if (!_impl_.cond_->IsInitialized()) return false; - } - if (_internal_has_body()) { - if (!_impl_.body_->IsInitialized()) return false; - } - return true; -} - -void DoWhileStmt::InternalSwap(DoWhileStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(DoWhileStmt, _impl_.body_) - + sizeof(DoWhileStmt::_impl_.body_) - - PROTOBUF_FIELD_OFFSET(DoWhileStmt, _impl_.cond_)>( - reinterpret_cast(&_impl_.cond_), - reinterpret_cast(&other->_impl_.cond_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata DoWhileStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[46]); -} - -// =================================================================== - -class ReturnStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& val(const ReturnStmt* msg); - static void set_has_val(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -ReturnStmt::_Internal::val(const ReturnStmt* msg) { - return *msg->_impl_.val_; -} -ReturnStmt::ReturnStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ReturnStmt) -} -ReturnStmt::ReturnStmt(const ReturnStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ReturnStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_val()) { - _this->_impl_.val_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.val_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ReturnStmt) -} - -inline void ReturnStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_){nullptr} - }; -} - -ReturnStmt::~ReturnStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ReturnStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ReturnStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.val_; -} - -void ReturnStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ReturnStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ReturnStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.val_ != nullptr); - _impl_.val_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ReturnStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .solidity.test.sol2protofuzzer.Expression val = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_val(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ReturnStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ReturnStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .solidity.test.sol2protofuzzer.Expression val = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::val(this), - _Internal::val(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ReturnStmt) - return target; -} - -size_t ReturnStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ReturnStmt) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .solidity.test.sol2protofuzzer.Expression val = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.val_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReturnStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ReturnStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReturnStmt::GetClassData() const { return &_class_data_; } - - -void ReturnStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ReturnStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_val()) { - _this->_internal_mutable_val()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_val()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ReturnStmt::CopyFrom(const ReturnStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ReturnStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ReturnStmt::IsInitialized() const { - if (_internal_has_val()) { - if (!_impl_.val_->IsInitialized()) return false; - } - return true; -} - -void ReturnStmt::InternalSwap(ReturnStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.val_, other->_impl_.val_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ReturnStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[47]); -} - -// =================================================================== - -class BreakStmt::_Internal { - public: -}; - -BreakStmt::BreakStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.BreakStmt) -} -BreakStmt::BreakStmt(const BreakStmt& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - BreakStmt* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.BreakStmt) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BreakStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BreakStmt::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata BreakStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[48]); -} - -// =================================================================== - -class ContinueStmt::_Internal { - public: -}; - -ContinueStmt::ContinueStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ContinueStmt) -} -ContinueStmt::ContinueStmt(const ContinueStmt& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - ContinueStmt* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ContinueStmt) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContinueStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContinueStmt::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata ContinueStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[49]); -} - -// =================================================================== - -class RequireStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& cond(const RequireStmt* msg); - static void set_has_cond(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_is_assert(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_with_message(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_error_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_use_named_args(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -RequireStmt::_Internal::cond(const RequireStmt* msg) { - return *msg->_impl_.cond_; -} -RequireStmt::RequireStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.RequireStmt) -} -RequireStmt::RequireStmt(const RequireStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - RequireStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.is_assert_){} - , decltype(_impl_.with_message_){} - , decltype(_impl_.use_named_args_){} - , decltype(_impl_.error_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_cond()) { - _this->_impl_.cond_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.cond_); - } - ::memcpy(&_impl_.is_assert_, &from._impl_.is_assert_, - static_cast(reinterpret_cast(&_impl_.error_id_) - - reinterpret_cast(&_impl_.is_assert_)) + sizeof(_impl_.error_id_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.RequireStmt) -} - -inline void RequireStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.is_assert_){false} - , decltype(_impl_.with_message_){false} - , decltype(_impl_.use_named_args_){false} - , decltype(_impl_.error_id_){0u} - }; -} - -RequireStmt::~RequireStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.RequireStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void RequireStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.cond_; -} - -void RequireStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void RequireStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.RequireStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.cond_ != nullptr); - _impl_.cond_->Clear(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.is_assert_, 0, static_cast( - reinterpret_cast(&_impl_.error_id_) - - reinterpret_cast(&_impl_.is_assert_)) + sizeof(_impl_.error_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* RequireStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_cond(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bool is_assert = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_is_assert(&has_bits); - _impl_.is_assert_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool with_message = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_with_message(&has_bits); - _impl_.with_message_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 error_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_error_id(&has_bits); - _impl_.error_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool use_named_args = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_use_named_args(&has_bits); - _impl_.use_named_args_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* RequireStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.RequireStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::cond(this), - _Internal::cond(this).GetCachedSize(), target, stream); - } - - // required bool is_assert = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_is_assert(), target); - } - - // optional bool with_message = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_with_message(), target); - } - - // optional uint32 error_id = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_error_id(), target); - } - - // optional bool use_named_args = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_use_named_args(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.RequireStmt) - return target; -} - -size_t RequireStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.RequireStmt) - size_t total_size = 0; - - if (_internal_has_cond()) { - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - } - - if (_internal_has_is_assert()) { - // required bool is_assert = 2; - total_size += 1 + 1; - } - - return total_size; -} -size_t RequireStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.RequireStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - - // required bool is_assert = 2; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001cu) { - // optional bool with_message = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool use_named_args = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional uint32 error_id = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_error_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RequireStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - RequireStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RequireStmt::GetClassData() const { return &_class_data_; } - - -void RequireStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.RequireStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_cond()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_cond()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.is_assert_ = from._impl_.is_assert_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.with_message_ = from._impl_.with_message_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.use_named_args_ = from._impl_.use_named_args_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.error_id_ = from._impl_.error_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void RequireStmt::CopyFrom(const RequireStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.RequireStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RequireStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_cond()) { - if (!_impl_.cond_->IsInitialized()) return false; - } - return true; -} - -void RequireStmt::InternalSwap(RequireStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(RequireStmt, _impl_.error_id_) - + sizeof(RequireStmt::_impl_.error_id_) - - PROTOBUF_FIELD_OFFSET(RequireStmt, _impl_.cond_)>( - reinterpret_cast(&_impl_.cond_), - reinterpret_cast(&other->_impl_.cond_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata RequireStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[50]); -} - -// =================================================================== - -class SelfdestructStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& beneficiary(const SelfdestructStmt* msg); - static void set_has_beneficiary(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -SelfdestructStmt::_Internal::beneficiary(const SelfdestructStmt* msg) { - return *msg->_impl_.beneficiary_; -} -SelfdestructStmt::SelfdestructStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.SelfdestructStmt) -} -SelfdestructStmt::SelfdestructStmt(const SelfdestructStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - SelfdestructStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.beneficiary_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_beneficiary()) { - _this->_impl_.beneficiary_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.beneficiary_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.SelfdestructStmt) -} - -inline void SelfdestructStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.beneficiary_){nullptr} - }; -} - -SelfdestructStmt::~SelfdestructStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.SelfdestructStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void SelfdestructStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.beneficiary_; -} - -void SelfdestructStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void SelfdestructStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.SelfdestructStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.beneficiary_ != nullptr); - _impl_.beneficiary_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* SelfdestructStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression beneficiary = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_beneficiary(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* SelfdestructStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.SelfdestructStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression beneficiary = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::beneficiary(this), - _Internal::beneficiary(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.SelfdestructStmt) - return target; -} - -size_t SelfdestructStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.SelfdestructStmt) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.Expression beneficiary = 1; - if (_internal_has_beneficiary()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.beneficiary_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SelfdestructStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - SelfdestructStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SelfdestructStmt::GetClassData() const { return &_class_data_; } - - -void SelfdestructStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.SelfdestructStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_beneficiary()) { - _this->_internal_mutable_beneficiary()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_beneficiary()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void SelfdestructStmt::CopyFrom(const SelfdestructStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.SelfdestructStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SelfdestructStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_beneficiary()) { - if (!_impl_.beneficiary_->IsInitialized()) return false; - } - return true; -} - -void SelfdestructStmt::InternalSwap(SelfdestructStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.beneficiary_, other->_impl_.beneficiary_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata SelfdestructStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[51]); -} - -// =================================================================== - -class BareMagicStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -BareMagicStmt::BareMagicStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.BareMagicStmt) -} -BareMagicStmt::BareMagicStmt(const BareMagicStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - BareMagicStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.kind_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.kind_ = from._impl_.kind_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.BareMagicStmt) -} - -inline void BareMagicStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.kind_){0} - }; -} - -BareMagicStmt::~BareMagicStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.BareMagicStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void BareMagicStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void BareMagicStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void BareMagicStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.BareMagicStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.kind_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* BareMagicStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.BareMagicStmt.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::BareMagicStmt_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::BareMagicStmt_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* BareMagicStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.BareMagicStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.BareMagicStmt.Kind kind = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.BareMagicStmt) - return target; -} - -size_t BareMagicStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.BareMagicStmt) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.BareMagicStmt.Kind kind = 1; - if (_internal_has_kind()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BareMagicStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - BareMagicStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BareMagicStmt::GetClassData() const { return &_class_data_; } - - -void BareMagicStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.BareMagicStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_kind()) { - _this->_internal_set_kind(from._internal_kind()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void BareMagicStmt::CopyFrom(const BareMagicStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.BareMagicStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BareMagicStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void BareMagicStmt::InternalSwap(BareMagicStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.kind_, other->_impl_.kind_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata BareMagicStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[52]); -} - -// =================================================================== - -class FixedAsmStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -FixedAsmStmt::FixedAsmStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.FixedAsmStmt) -} -FixedAsmStmt::FixedAsmStmt(const FixedAsmStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - FixedAsmStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.kind_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.kind_ = from._impl_.kind_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.FixedAsmStmt) -} - -inline void FixedAsmStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.kind_){0} - }; -} - -FixedAsmStmt::~FixedAsmStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.FixedAsmStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void FixedAsmStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void FixedAsmStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void FixedAsmStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.FixedAsmStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.kind_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* FixedAsmStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.FixedAsmStmt.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* FixedAsmStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.FixedAsmStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.FixedAsmStmt.Kind kind = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.FixedAsmStmt) - return target; -} - -size_t FixedAsmStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.FixedAsmStmt) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.FixedAsmStmt.Kind kind = 1; - if (_internal_has_kind()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FixedAsmStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - FixedAsmStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FixedAsmStmt::GetClassData() const { return &_class_data_; } - - -void FixedAsmStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.FixedAsmStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_kind()) { - _this->_internal_set_kind(from._internal_kind()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void FixedAsmStmt::CopyFrom(const FixedAsmStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.FixedAsmStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FixedAsmStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void FixedAsmStmt::InternalSwap(FixedAsmStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.kind_, other->_impl_.kind_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata FixedAsmStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[53]); -} - -// =================================================================== - -class AbiEncodeStructStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_struct_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_wrap_in_array(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -AbiEncodeStructStmt::AbiEncodeStructStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) -} -AbiEncodeStructStmt::AbiEncodeStructStmt(const AbiEncodeStructStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - AbiEncodeStructStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.struct_idx_){} - , decltype(_impl_.wrap_in_array_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.struct_idx_, &from._impl_.struct_idx_, - static_cast(reinterpret_cast(&_impl_.wrap_in_array_) - - reinterpret_cast(&_impl_.struct_idx_)) + sizeof(_impl_.wrap_in_array_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) -} - -inline void AbiEncodeStructStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.struct_idx_){0u} - , decltype(_impl_.wrap_in_array_){false} - }; -} - -AbiEncodeStructStmt::~AbiEncodeStructStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void AbiEncodeStructStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void AbiEncodeStructStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void AbiEncodeStructStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.struct_idx_, 0, static_cast( - reinterpret_cast(&_impl_.wrap_in_array_) - - reinterpret_cast(&_impl_.struct_idx_)) + sizeof(_impl_.wrap_in_array_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* AbiEncodeStructStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 struct_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_struct_idx(&has_bits); - _impl_.struct_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool wrap_in_array = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_wrap_in_array(&has_bits); - _impl_.wrap_in_array_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* AbiEncodeStructStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 struct_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_struct_idx(), target); - } - - // optional bool wrap_in_array = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_wrap_in_array(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) - return target; -} - -size_t AbiEncodeStructStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) - size_t total_size = 0; - - // required uint32 struct_idx = 1; - if (_internal_has_struct_idx()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_struct_idx()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool wrap_in_array = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AbiEncodeStructStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - AbiEncodeStructStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AbiEncodeStructStmt::GetClassData() const { return &_class_data_; } - - -void AbiEncodeStructStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.struct_idx_ = from._impl_.struct_idx_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.wrap_in_array_ = from._impl_.wrap_in_array_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void AbiEncodeStructStmt::CopyFrom(const AbiEncodeStructStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AbiEncodeStructStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void AbiEncodeStructStmt::InternalSwap(AbiEncodeStructStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(AbiEncodeStructStmt, _impl_.wrap_in_array_) - + sizeof(AbiEncodeStructStmt::_impl_.wrap_in_array_) - - PROTOBUF_FIELD_OFFSET(AbiEncodeStructStmt, _impl_.struct_idx_)>( - reinterpret_cast(&_impl_.struct_idx_), - reinterpret_cast(&other->_impl_.struct_idx_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata AbiEncodeStructStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[54]); -} - -// =================================================================== - -class EmitStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -EmitStmt::EmitStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.EmitStmt) -} -EmitStmt::EmitStmt(const EmitStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - EmitStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.event_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.event_id_ = from._impl_.event_id_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.EmitStmt) -} - -inline void EmitStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.event_id_){0u} - }; -} - -EmitStmt::~EmitStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.EmitStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void EmitStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); -} - -void EmitStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void EmitStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.EmitStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - _impl_.event_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* EmitStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 event_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_event_id(&has_bits); - _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* EmitStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.EmitStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 event_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_event_id(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.EmitStmt) - return target; -} - -size_t EmitStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.EmitStmt) - size_t total_size = 0; - - // required uint32 event_id = 1; - if (_internal_has_event_id()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EmitStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - EmitStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EmitStmt::GetClassData() const { return &_class_data_; } - - -void EmitStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.EmitStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - if (from._internal_has_event_id()) { - _this->_internal_set_event_id(from._internal_event_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void EmitStmt::CopyFrom(const EmitStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.EmitStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EmitStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - return true; -} - -void EmitStmt::InternalSwap(EmitStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - swap(_impl_.event_id_, other->_impl_.event_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EmitStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[55]); -} - -// =================================================================== - -class RevertStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_error_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_use_named_args(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -RevertStmt::RevertStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.RevertStmt) -} -RevertStmt::RevertStmt(const RevertStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - RevertStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.error_id_){} - , decltype(_impl_.use_named_args_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.error_id_, &from._impl_.error_id_, - static_cast(reinterpret_cast(&_impl_.use_named_args_) - - reinterpret_cast(&_impl_.error_id_)) + sizeof(_impl_.use_named_args_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.RevertStmt) -} - -inline void RevertStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.error_id_){0u} - , decltype(_impl_.use_named_args_){false} - }; -} - -RevertStmt::~RevertStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.RevertStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void RevertStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); -} - -void RevertStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void RevertStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.RevertStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.error_id_, 0, static_cast( - reinterpret_cast(&_impl_.use_named_args_) - - reinterpret_cast(&_impl_.error_id_)) + sizeof(_impl_.use_named_args_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* RevertStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 error_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_error_id(&has_bits); - _impl_.error_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional bool use_named_args = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_use_named_args(&has_bits); - _impl_.use_named_args_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* RevertStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.RevertStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 error_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_error_id(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bool use_named_args = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_use_named_args(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.RevertStmt) - return target; -} - -size_t RevertStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.RevertStmt) - size_t total_size = 0; - - // required uint32 error_id = 1; - if (_internal_has_error_id()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_error_id()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional bool use_named_args = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RevertStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - RevertStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RevertStmt::GetClassData() const { return &_class_data_; } - - -void RevertStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.RevertStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.error_id_ = from._impl_.error_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.use_named_args_ = from._impl_.use_named_args_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void RevertStmt::CopyFrom(const RevertStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.RevertStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RevertStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - return true; -} - -void RevertStmt::InternalSwap(RevertStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(RevertStmt, _impl_.use_named_args_) - + sizeof(RevertStmt::_impl_.use_named_args_) - - PROTOBUF_FIELD_OFFSET(RevertStmt, _impl_.error_id_)>( - reinterpret_cast(&_impl_.error_id_), - reinterpret_cast(&other->_impl_.error_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata RevertStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[56]); -} - -// =================================================================== - -class DeleteStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::VarRef& target(const DeleteStmt* msg); - static void set_has_target(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::VarRef& -DeleteStmt::_Internal::target(const DeleteStmt* msg) { - return *msg->_impl_.target_; -} -DeleteStmt::DeleteStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.DeleteStmt) -} -DeleteStmt::DeleteStmt(const DeleteStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - DeleteStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.target_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_target()) { - _this->_impl_.target_ = new ::solidity::test::sol2protofuzzer::VarRef(*from._impl_.target_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.DeleteStmt) -} - -inline void DeleteStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.target_){nullptr} - }; -} - -DeleteStmt::~DeleteStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.DeleteStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void DeleteStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.target_; -} - -void DeleteStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void DeleteStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.DeleteStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.target_ != nullptr); - _impl_.target_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* DeleteStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.VarRef target = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_target(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* DeleteStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.DeleteStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.VarRef target = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::target(this), - _Internal::target(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.DeleteStmt) - return target; -} - -size_t DeleteStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.DeleteStmt) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.VarRef target = 1; - if (_internal_has_target()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.target_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - DeleteStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteStmt::GetClassData() const { return &_class_data_; } - - -void DeleteStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.DeleteStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_target()) { - _this->_internal_mutable_target()->::solidity::test::sol2protofuzzer::VarRef::MergeFrom( - from._internal_target()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void DeleteStmt::CopyFrom(const DeleteStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.DeleteStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DeleteStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_target()) { - if (!_impl_.target_->IsInitialized()) return false; - } - return true; -} - -void DeleteStmt::InternalSwap(DeleteStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.target_, other->_impl_.target_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata DeleteStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[57]); -} - -// =================================================================== - -class TryCatchStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_func_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::test::sol2protofuzzer::Block& try_body(const TryCatchStmt* msg); - static void set_has_try_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Block& catch_body(const TryCatchStmt* msg); - static void set_has_catch_body(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Block& -TryCatchStmt::_Internal::try_body(const TryCatchStmt* msg) { - return *msg->_impl_.try_body_; -} -const ::solidity::test::sol2protofuzzer::Block& -TryCatchStmt::_Internal::catch_body(const TryCatchStmt* msg) { - return *msg->_impl_.catch_body_; -} -TryCatchStmt::TryCatchStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.TryCatchStmt) -} -TryCatchStmt::TryCatchStmt(const TryCatchStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TryCatchStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.try_body_){nullptr} - , decltype(_impl_.catch_body_){nullptr} - , decltype(_impl_.func_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_try_body()) { - _this->_impl_.try_body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.try_body_); - } - if (from._internal_has_catch_body()) { - _this->_impl_.catch_body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.catch_body_); - } - _this->_impl_.func_id_ = from._impl_.func_id_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.TryCatchStmt) -} - -inline void TryCatchStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.try_body_){nullptr} - , decltype(_impl_.catch_body_){nullptr} - , decltype(_impl_.func_id_){0u} - }; -} - -TryCatchStmt::~TryCatchStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.TryCatchStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TryCatchStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.try_body_; - if (this != internal_default_instance()) delete _impl_.catch_body_; -} - -void TryCatchStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TryCatchStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.TryCatchStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.try_body_ != nullptr); - _impl_.try_body_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.catch_body_ != nullptr); - _impl_.catch_body_->Clear(); - } - } - _impl_.func_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TryCatchStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 func_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_func_id(&has_bits); - _impl_.func_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Block try_body = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_try_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Block catch_body = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_catch_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TryCatchStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.TryCatchStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 func_id = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_func_id(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Block try_body = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::try_body(this), - _Internal::try_body(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Block catch_body = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::catch_body(this), - _Internal::catch_body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.TryCatchStmt) - return target; -} - -size_t TryCatchStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.TryCatchStmt) - size_t total_size = 0; - - if (_internal_has_try_body()) { - // required .solidity.test.sol2protofuzzer.Block try_body = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.try_body_); - } - - if (_internal_has_catch_body()) { - // required .solidity.test.sol2protofuzzer.Block catch_body = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.catch_body_); - } - - if (_internal_has_func_id()) { - // required uint32 func_id = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_func_id()); - } - - return total_size; -} -size_t TryCatchStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.TryCatchStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Block try_body = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.try_body_); - - // required .solidity.test.sol2protofuzzer.Block catch_body = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.catch_body_); - - // required uint32 func_id = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_func_id()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TryCatchStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TryCatchStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TryCatchStmt::GetClassData() const { return &_class_data_; } - - -void TryCatchStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.TryCatchStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_try_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_try_body()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_catch_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_catch_body()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.func_id_ = from._impl_.func_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TryCatchStmt::CopyFrom(const TryCatchStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.TryCatchStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TryCatchStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - if (_internal_has_try_body()) { - if (!_impl_.try_body_->IsInitialized()) return false; - } - if (_internal_has_catch_body()) { - if (!_impl_.catch_body_->IsInitialized()) return false; - } - return true; -} - -void TryCatchStmt::InternalSwap(TryCatchStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TryCatchStmt, _impl_.func_id_) - + sizeof(TryCatchStmt::_impl_.func_id_) - - PROTOBUF_FIELD_OFFSET(TryCatchStmt, _impl_.try_body_)>( - reinterpret_cast(&_impl_.try_body_), - reinterpret_cast(&other->_impl_.try_body_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TryCatchStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[58]); -} - -// =================================================================== - -class Block::_Internal { - public: -}; - -Block::Block(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.Block) -} -Block::Block(const Block& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Block* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.stmts_){from._impl_.stmts_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.Block) -} - -inline void Block::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.stmts_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -Block::~Block() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.Block) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Block::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.stmts_.~RepeatedPtrField(); -} - -void Block::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Block::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.Block) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.stmts_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Block::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.test.sol2protofuzzer.Statement stmts = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_stmts(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Block::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.Block) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Statement stmts = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_stmts_size()); i < n; i++) { - const auto& repfield = this->_internal_stmts(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.Block) - return target; -} - -size_t Block::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.Block) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Statement stmts = 1; - total_size += 1UL * this->_internal_stmts_size(); - for (const auto& msg : this->_impl_.stmts_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Block::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Block::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Block::GetClassData() const { return &_class_data_; } - - -void Block::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.Block) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.stmts_.MergeFrom(from._impl_.stmts_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Block::CopyFrom(const Block& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.Block) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Block::IsInitialized() const { - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.stmts_)) - return false; - return true; -} - -void Block::InternalSwap(Block* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.stmts_.InternalSwap(&other->_impl_.stmts_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Block::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[59]); -} - -// =================================================================== - -class UncheckedBlock::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Block& body(const UncheckedBlock* msg); - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Block& -UncheckedBlock::_Internal::body(const UncheckedBlock* msg) { - return *msg->_impl_.body_; -} -UncheckedBlock::UncheckedBlock(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.UncheckedBlock) -} -UncheckedBlock::UncheckedBlock(const UncheckedBlock& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - UncheckedBlock* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_body()) { - _this->_impl_.body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.body_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.UncheckedBlock) -} - -inline void UncheckedBlock::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr} - }; -} - -UncheckedBlock::~UncheckedBlock() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.UncheckedBlock) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void UncheckedBlock::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.body_; -} - -void UncheckedBlock::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void UncheckedBlock::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.UncheckedBlock) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.body_ != nullptr); - _impl_.body_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* UncheckedBlock::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Block body = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* UncheckedBlock::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.UncheckedBlock) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Block body = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::body(this), - _Internal::body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.UncheckedBlock) - return target; -} - -size_t UncheckedBlock::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.UncheckedBlock) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.Block body = 1; - if (_internal_has_body()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UncheckedBlock::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - UncheckedBlock::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UncheckedBlock::GetClassData() const { return &_class_data_; } - - -void UncheckedBlock::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.UncheckedBlock) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_body()) { - _this->_internal_mutable_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_body()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void UncheckedBlock::CopyFrom(const UncheckedBlock& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.UncheckedBlock) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UncheckedBlock::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_body()) { - if (!_impl_.body_->IsInitialized()) return false; - } - return true; -} - -void UncheckedBlock::InternalSwap(UncheckedBlock* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.body_, other->_impl_.body_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata UncheckedBlock::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[60]); -} - -// =================================================================== - -class IndexAssignStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_var_idx(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::test::sol2protofuzzer::Expression& index(const IndexAssignStmt* msg); - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Expression& value(const IndexAssignStmt* msg); - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -IndexAssignStmt::_Internal::index(const IndexAssignStmt* msg) { - return *msg->_impl_.index_; -} -const ::solidity::test::sol2protofuzzer::Expression& -IndexAssignStmt::_Internal::value(const IndexAssignStmt* msg) { - return *msg->_impl_.value_; -} -IndexAssignStmt::IndexAssignStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.IndexAssignStmt) -} -IndexAssignStmt::IndexAssignStmt(const IndexAssignStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IndexAssignStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.index_){nullptr} - , decltype(_impl_.value_){nullptr} - , decltype(_impl_.var_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_index()) { - _this->_impl_.index_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.index_); - } - if (from._internal_has_value()) { - _this->_impl_.value_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.value_); - } - _this->_impl_.var_idx_ = from._impl_.var_idx_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.IndexAssignStmt) -} - -inline void IndexAssignStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.index_){nullptr} - , decltype(_impl_.value_){nullptr} - , decltype(_impl_.var_idx_){0u} - }; -} - -IndexAssignStmt::~IndexAssignStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.IndexAssignStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IndexAssignStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.index_; - if (this != internal_default_instance()) delete _impl_.value_; -} - -void IndexAssignStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IndexAssignStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.IndexAssignStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.index_ != nullptr); - _impl_.index_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.value_ != nullptr); - _impl_.value_->Clear(); - } - } - _impl_.var_idx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IndexAssignStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 var_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_var_idx(&has_bits); - _impl_.var_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression index = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_index(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression value = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_value(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IndexAssignStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.IndexAssignStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 var_idx = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_var_idx(), target); - } - - // required .solidity.test.sol2protofuzzer.Expression index = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::index(this), - _Internal::index(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression value = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::value(this), - _Internal::value(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.IndexAssignStmt) - return target; -} - -size_t IndexAssignStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.IndexAssignStmt) - size_t total_size = 0; - - if (_internal_has_index()) { - // required .solidity.test.sol2protofuzzer.Expression index = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.index_); - } - - if (_internal_has_value()) { - // required .solidity.test.sol2protofuzzer.Expression value = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_); - } - - if (_internal_has_var_idx()) { - // required uint32 var_idx = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_var_idx()); - } - - return total_size; -} -size_t IndexAssignStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.IndexAssignStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression index = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.index_); - - // required .solidity.test.sol2protofuzzer.Expression value = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_); - - // required uint32 var_idx = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_var_idx()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IndexAssignStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IndexAssignStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IndexAssignStmt::GetClassData() const { return &_class_data_; } - - -void IndexAssignStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.IndexAssignStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_index()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_index()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_value()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_value()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.var_idx_ = from._impl_.var_idx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IndexAssignStmt::CopyFrom(const IndexAssignStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.IndexAssignStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IndexAssignStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_index()) { - if (!_impl_.index_->IsInitialized()) return false; - } - if (_internal_has_value()) { - if (!_impl_.value_->IsInitialized()) return false; - } - return true; -} - -void IndexAssignStmt::InternalSwap(IndexAssignStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IndexAssignStmt, _impl_.var_idx_) - + sizeof(IndexAssignStmt::_impl_.var_idx_) - - PROTOBUF_FIELD_OFFSET(IndexAssignStmt, _impl_.index_)>( - reinterpret_cast(&_impl_.index_), - reinterpret_cast(&other->_impl_.index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IndexAssignStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[61]); -} - -// =================================================================== - -class TupleAssignStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Expression& val1(const TupleAssignStmt* msg); - static void set_has_val1(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::Expression& val2(const TupleAssignStmt* msg); - static void set_has_val2(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -TupleAssignStmt::_Internal::val1(const TupleAssignStmt* msg) { - return *msg->_impl_.val1_; -} -const ::solidity::test::sol2protofuzzer::Expression& -TupleAssignStmt::_Internal::val2(const TupleAssignStmt* msg) { - return *msg->_impl_.val2_; -} -TupleAssignStmt::TupleAssignStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.TupleAssignStmt) -} -TupleAssignStmt::TupleAssignStmt(const TupleAssignStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TupleAssignStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val1_){nullptr} - , decltype(_impl_.val2_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_val1()) { - _this->_impl_.val1_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.val1_); - } - if (from._internal_has_val2()) { - _this->_impl_.val2_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.val2_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.TupleAssignStmt) -} - -inline void TupleAssignStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val1_){nullptr} - , decltype(_impl_.val2_){nullptr} - }; -} - -TupleAssignStmt::~TupleAssignStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.TupleAssignStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TupleAssignStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.val1_; - if (this != internal_default_instance()) delete _impl_.val2_; -} - -void TupleAssignStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TupleAssignStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.TupleAssignStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.val1_ != nullptr); - _impl_.val1_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.val2_ != nullptr); - _impl_.val2_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TupleAssignStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Expression val1 = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_val1(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Expression val2 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_val2(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TupleAssignStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.TupleAssignStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Expression val1 = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::val1(this), - _Internal::val1(this).GetCachedSize(), target, stream); - } - - // required .solidity.test.sol2protofuzzer.Expression val2 = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::val2(this), - _Internal::val2(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.TupleAssignStmt) - return target; -} - -size_t TupleAssignStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.TupleAssignStmt) - size_t total_size = 0; - - if (_internal_has_val1()) { - // required .solidity.test.sol2protofuzzer.Expression val1 = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.val1_); - } - - if (_internal_has_val2()) { - // required .solidity.test.sol2protofuzzer.Expression val2 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.val2_); - } - - return total_size; -} -size_t TupleAssignStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.TupleAssignStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Expression val1 = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.val1_); - - // required .solidity.test.sol2protofuzzer.Expression val2 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.val2_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TupleAssignStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TupleAssignStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TupleAssignStmt::GetClassData() const { return &_class_data_; } - - -void TupleAssignStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.TupleAssignStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_val1()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_val1()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_val2()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_val2()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TupleAssignStmt::CopyFrom(const TupleAssignStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.TupleAssignStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TupleAssignStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_val1()) { - if (!_impl_.val1_->IsInitialized()) return false; - } - if (_internal_has_val2()) { - if (!_impl_.val2_->IsInitialized()) return false; - } - return true; -} - -void TupleAssignStmt::InternalSwap(TupleAssignStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TupleAssignStmt, _impl_.val2_) - + sizeof(TupleAssignStmt::_impl_.val2_) - - PROTOBUF_FIELD_OFFSET(TupleAssignStmt, _impl_.val1_)>( - reinterpret_cast(&_impl_.val1_), - reinterpret_cast(&other->_impl_.val1_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TupleAssignStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[62]); -} - -// =================================================================== - -class ArrayPushStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_var_idx(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::Expression& value(const ArrayPushStmt* msg); - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000002) ^ 0x00000002) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Expression& -ArrayPushStmt::_Internal::value(const ArrayPushStmt* msg) { - return *msg->_impl_.value_; -} -ArrayPushStmt::ArrayPushStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ArrayPushStmt) -} -ArrayPushStmt::ArrayPushStmt(const ArrayPushStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ArrayPushStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){nullptr} - , decltype(_impl_.var_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_value()) { - _this->_impl_.value_ = new ::solidity::test::sol2protofuzzer::Expression(*from._impl_.value_); - } - _this->_impl_.var_idx_ = from._impl_.var_idx_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ArrayPushStmt) -} - -inline void ArrayPushStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){nullptr} - , decltype(_impl_.var_idx_){0u} - }; -} - -ArrayPushStmt::~ArrayPushStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ArrayPushStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ArrayPushStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.value_; -} - -void ArrayPushStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ArrayPushStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ArrayPushStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.value_ != nullptr); - _impl_.value_->Clear(); - } - _impl_.var_idx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ArrayPushStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 var_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_var_idx(&has_bits); - _impl_.var_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .solidity.test.sol2protofuzzer.Expression value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_value(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ArrayPushStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ArrayPushStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 var_idx = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_var_idx(), target); - } - - // optional .solidity.test.sol2protofuzzer.Expression value = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::value(this), - _Internal::value(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ArrayPushStmt) - return target; -} - -size_t ArrayPushStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ArrayPushStmt) - size_t total_size = 0; - - // required uint32 var_idx = 1; - if (_internal_has_var_idx()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_var_idx()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .solidity.test.sol2protofuzzer.Expression value = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ArrayPushStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ArrayPushStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ArrayPushStmt::GetClassData() const { return &_class_data_; } - - -void ArrayPushStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ArrayPushStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_value()->::solidity::test::sol2protofuzzer::Expression::MergeFrom( - from._internal_value()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.var_idx_ = from._impl_.var_idx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ArrayPushStmt::CopyFrom(const ArrayPushStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ArrayPushStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArrayPushStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_value()) { - if (!_impl_.value_->IsInitialized()) return false; - } - return true; -} - -void ArrayPushStmt::InternalSwap(ArrayPushStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ArrayPushStmt, _impl_.var_idx_) - + sizeof(ArrayPushStmt::_impl_.var_idx_) - - PROTOBUF_FIELD_OFFSET(ArrayPushStmt, _impl_.value_)>( - reinterpret_cast(&_impl_.value_), - reinterpret_cast(&other->_impl_.value_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ArrayPushStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[63]); -} - -// =================================================================== - -class ArrayPopStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_var_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -ArrayPopStmt::ArrayPopStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ArrayPopStmt) -} -ArrayPopStmt::ArrayPopStmt(const ArrayPopStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ArrayPopStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.var_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.var_idx_ = from._impl_.var_idx_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ArrayPopStmt) -} - -inline void ArrayPopStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.var_idx_){0u} - }; -} - -ArrayPopStmt::~ArrayPopStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ArrayPopStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ArrayPopStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ArrayPopStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ArrayPopStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ArrayPopStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.var_idx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ArrayPopStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 var_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_var_idx(&has_bits); - _impl_.var_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ArrayPopStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ArrayPopStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 var_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_var_idx(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ArrayPopStmt) - return target; -} - -size_t ArrayPopStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ArrayPopStmt) - size_t total_size = 0; - - // required uint32 var_idx = 1; - if (_internal_has_var_idx()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_var_idx()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ArrayPopStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ArrayPopStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ArrayPopStmt::GetClassData() const { return &_class_data_; } - - -void ArrayPopStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ArrayPopStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_var_idx()) { - _this->_internal_set_var_idx(from._internal_var_idx()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ArrayPopStmt::CopyFrom(const ArrayPopStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ArrayPopStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArrayPopStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void ArrayPopStmt::InternalSwap(ArrayPopStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.var_idx_, other->_impl_.var_idx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ArrayPopStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[64]); -} - -// =================================================================== - -class TupleDestructStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_func_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -TupleDestructStmt::TupleDestructStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.TupleDestructStmt) -} -TupleDestructStmt::TupleDestructStmt(const TupleDestructStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TupleDestructStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.func_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.func_id_ = from._impl_.func_id_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.TupleDestructStmt) -} - -inline void TupleDestructStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.func_id_){0u} - }; -} - -TupleDestructStmt::~TupleDestructStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.TupleDestructStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TupleDestructStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); -} - -void TupleDestructStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TupleDestructStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.TupleDestructStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - _impl_.func_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TupleDestructStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 func_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_func_id(&has_bits); - _impl_.func_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TupleDestructStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.TupleDestructStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 func_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_func_id(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.TupleDestructStmt) - return target; -} - -size_t TupleDestructStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.TupleDestructStmt) - size_t total_size = 0; - - // required uint32 func_id = 1; - if (_internal_has_func_id()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_func_id()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TupleDestructStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TupleDestructStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TupleDestructStmt::GetClassData() const { return &_class_data_; } - - -void TupleDestructStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.TupleDestructStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - if (from._internal_has_func_id()) { - _this->_internal_set_func_id(from._internal_func_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TupleDestructStmt::CopyFrom(const TupleDestructStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.TupleDestructStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TupleDestructStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - return true; -} - -void TupleDestructStmt::InternalSwap(TupleDestructStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - swap(_impl_.func_id_, other->_impl_.func_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TupleDestructStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[65]); -} - -// =================================================================== - -class StructLocalDeclStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_struct_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -StructLocalDeclStmt::StructLocalDeclStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.StructLocalDeclStmt) -} -StructLocalDeclStmt::StructLocalDeclStmt(const StructLocalDeclStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StructLocalDeclStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.struct_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.struct_idx_ = from._impl_.struct_idx_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.StructLocalDeclStmt) -} - -inline void StructLocalDeclStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.struct_idx_){0u} - }; -} - -StructLocalDeclStmt::~StructLocalDeclStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.StructLocalDeclStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StructLocalDeclStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void StructLocalDeclStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StructLocalDeclStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.StructLocalDeclStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.struct_idx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StructLocalDeclStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 struct_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_struct_idx(&has_bits); - _impl_.struct_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StructLocalDeclStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.StructLocalDeclStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 struct_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_struct_idx(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.StructLocalDeclStmt) - return target; -} - -size_t StructLocalDeclStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.StructLocalDeclStmt) - size_t total_size = 0; - - // required uint32 struct_idx = 1; - if (_internal_has_struct_idx()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_struct_idx()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructLocalDeclStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StructLocalDeclStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructLocalDeclStmt::GetClassData() const { return &_class_data_; } - - -void StructLocalDeclStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.StructLocalDeclStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_struct_idx()) { - _this->_internal_set_struct_idx(from._internal_struct_idx()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StructLocalDeclStmt::CopyFrom(const StructLocalDeclStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.StructLocalDeclStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructLocalDeclStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void StructLocalDeclStmt::InternalSwap(StructLocalDeclStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.struct_idx_, other->_impl_.struct_idx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StructLocalDeclStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[66]); -} - -// =================================================================== - -class StructTupleAliasStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_local_sel(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_sa_sel(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_sb_sel(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -StructTupleAliasStmt::StructTupleAliasStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.StructTupleAliasStmt) -} -StructTupleAliasStmt::StructTupleAliasStmt(const StructTupleAliasStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StructTupleAliasStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.local_sel_){} - , decltype(_impl_.sa_sel_){} - , decltype(_impl_.sb_sel_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.local_sel_, &from._impl_.local_sel_, - static_cast(reinterpret_cast(&_impl_.sb_sel_) - - reinterpret_cast(&_impl_.local_sel_)) + sizeof(_impl_.sb_sel_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.StructTupleAliasStmt) -} - -inline void StructTupleAliasStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.local_sel_){0u} - , decltype(_impl_.sa_sel_){0u} - , decltype(_impl_.sb_sel_){0u} - }; -} - -StructTupleAliasStmt::~StructTupleAliasStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.StructTupleAliasStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StructTupleAliasStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void StructTupleAliasStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StructTupleAliasStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.StructTupleAliasStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.local_sel_, 0, static_cast( - reinterpret_cast(&_impl_.sb_sel_) - - reinterpret_cast(&_impl_.local_sel_)) + sizeof(_impl_.sb_sel_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StructTupleAliasStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 local_sel = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_local_sel(&has_bits); - _impl_.local_sel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint32 sa_sel = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_sa_sel(&has_bits); - _impl_.sa_sel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint32 sb_sel = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_sb_sel(&has_bits); - _impl_.sb_sel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StructTupleAliasStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.StructTupleAliasStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 local_sel = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_local_sel(), target); - } - - // required uint32 sa_sel = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_sa_sel(), target); - } - - // required uint32 sb_sel = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_sb_sel(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.StructTupleAliasStmt) - return target; -} - -size_t StructTupleAliasStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.StructTupleAliasStmt) - size_t total_size = 0; - - if (_internal_has_local_sel()) { - // required uint32 local_sel = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_local_sel()); - } - - if (_internal_has_sa_sel()) { - // required uint32 sa_sel = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sa_sel()); - } - - if (_internal_has_sb_sel()) { - // required uint32 sb_sel = 3; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sb_sel()); - } - - return total_size; -} -size_t StructTupleAliasStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.StructTupleAliasStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required uint32 local_sel = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_local_sel()); - - // required uint32 sa_sel = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sa_sel()); - - // required uint32 sb_sel = 3; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sb_sel()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructTupleAliasStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StructTupleAliasStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructTupleAliasStmt::GetClassData() const { return &_class_data_; } - - -void StructTupleAliasStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.StructTupleAliasStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.local_sel_ = from._impl_.local_sel_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.sa_sel_ = from._impl_.sa_sel_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.sb_sel_ = from._impl_.sb_sel_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StructTupleAliasStmt::CopyFrom(const StructTupleAliasStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.StructTupleAliasStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructTupleAliasStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void StructTupleAliasStmt::InternalSwap(StructTupleAliasStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(StructTupleAliasStmt, _impl_.sb_sel_) - + sizeof(StructTupleAliasStmt::_impl_.sb_sel_) - - PROTOBUF_FIELD_OFFSET(StructTupleAliasStmt, _impl_.local_sel_)>( - reinterpret_cast(&_impl_.local_sel_), - reinterpret_cast(&other->_impl_.local_sel_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StructTupleAliasStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[67]); -} - -// =================================================================== - -class ArrayLengthExpr::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_var_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -ArrayLengthExpr::ArrayLengthExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ArrayLengthExpr) -} -ArrayLengthExpr::ArrayLengthExpr(const ArrayLengthExpr& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ArrayLengthExpr* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.var_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.var_idx_ = from._impl_.var_idx_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ArrayLengthExpr) -} - -inline void ArrayLengthExpr::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.var_idx_){0u} - }; -} - -ArrayLengthExpr::~ArrayLengthExpr() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ArrayLengthExpr) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ArrayLengthExpr::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ArrayLengthExpr::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ArrayLengthExpr::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ArrayLengthExpr) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.var_idx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ArrayLengthExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 var_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_var_idx(&has_bits); - _impl_.var_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ArrayLengthExpr::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ArrayLengthExpr) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 var_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_var_idx(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ArrayLengthExpr) - return target; -} - -size_t ArrayLengthExpr::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ArrayLengthExpr) - size_t total_size = 0; - - // required uint32 var_idx = 1; - if (_internal_has_var_idx()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_var_idx()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ArrayLengthExpr::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ArrayLengthExpr::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ArrayLengthExpr::GetClassData() const { return &_class_data_; } - - -void ArrayLengthExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ArrayLengthExpr) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_var_idx()) { - _this->_internal_set_var_idx(from._internal_var_idx()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ArrayLengthExpr::CopyFrom(const ArrayLengthExpr& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ArrayLengthExpr) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArrayLengthExpr::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void ArrayLengthExpr::InternalSwap(ArrayLengthExpr* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.var_idx_, other->_impl_.var_idx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ArrayLengthExpr::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[68]); -} - -// =================================================================== - -class Statement::_Internal { - public: - static const ::solidity::test::sol2protofuzzer::VarDeclStmt& var_decl(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::ExprStmt& expr_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::IfStmt& if_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::ForStmt& for_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::WhileStmt& while_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::DoWhileStmt& do_while(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::ReturnStmt& return_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::EmitStmt& emit_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::RevertStmt& revert_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::Block& block(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::UncheckedBlock& unchecked(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::BreakStmt& break_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::ContinueStmt& continue_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::RequireStmt& require_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::DeleteStmt& delete_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::TryCatchStmt& try_catch(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::IndexAssignStmt& index_assign(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::TupleAssignStmt& tuple_assign(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::SelfdestructStmt& selfdestruct_stmt(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::ArrayPushStmt& array_push(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::ArrayPopStmt& array_pop(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::TupleDestructStmt& tuple_destruct(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::BareMagicStmt& bare_magic(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::FixedAsmStmt& fixed_asm(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt& abi_encode_struct(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::FuncPtrStmt& func_ptr(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::StructLocalDeclStmt& struct_local_decl(const Statement* msg); - static const ::solidity::test::sol2protofuzzer::StructTupleAliasStmt& struct_tuple_alias(const Statement* msg); -}; - -const ::solidity::test::sol2protofuzzer::VarDeclStmt& -Statement::_Internal::var_decl(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.var_decl_; -} -const ::solidity::test::sol2protofuzzer::ExprStmt& -Statement::_Internal::expr_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.expr_stmt_; -} -const ::solidity::test::sol2protofuzzer::IfStmt& -Statement::_Internal::if_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.if_stmt_; -} -const ::solidity::test::sol2protofuzzer::ForStmt& -Statement::_Internal::for_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.for_stmt_; -} -const ::solidity::test::sol2protofuzzer::WhileStmt& -Statement::_Internal::while_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.while_stmt_; -} -const ::solidity::test::sol2protofuzzer::DoWhileStmt& -Statement::_Internal::do_while(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.do_while_; -} -const ::solidity::test::sol2protofuzzer::ReturnStmt& -Statement::_Internal::return_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.return_stmt_; -} -const ::solidity::test::sol2protofuzzer::EmitStmt& -Statement::_Internal::emit_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.emit_stmt_; -} -const ::solidity::test::sol2protofuzzer::RevertStmt& -Statement::_Internal::revert_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.revert_stmt_; -} -const ::solidity::test::sol2protofuzzer::Block& -Statement::_Internal::block(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.block_; -} -const ::solidity::test::sol2protofuzzer::UncheckedBlock& -Statement::_Internal::unchecked(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.unchecked_; -} -const ::solidity::test::sol2protofuzzer::BreakStmt& -Statement::_Internal::break_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.break_stmt_; -} -const ::solidity::test::sol2protofuzzer::ContinueStmt& -Statement::_Internal::continue_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.continue_stmt_; -} -const ::solidity::test::sol2protofuzzer::RequireStmt& -Statement::_Internal::require_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.require_stmt_; -} -const ::solidity::test::sol2protofuzzer::DeleteStmt& -Statement::_Internal::delete_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.delete_stmt_; -} -const ::solidity::test::sol2protofuzzer::TryCatchStmt& -Statement::_Internal::try_catch(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.try_catch_; -} -const ::solidity::test::sol2protofuzzer::IndexAssignStmt& -Statement::_Internal::index_assign(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.index_assign_; -} -const ::solidity::test::sol2protofuzzer::TupleAssignStmt& -Statement::_Internal::tuple_assign(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.tuple_assign_; -} -const ::solidity::test::sol2protofuzzer::SelfdestructStmt& -Statement::_Internal::selfdestruct_stmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.selfdestruct_stmt_; -} -const ::solidity::test::sol2protofuzzer::ArrayPushStmt& -Statement::_Internal::array_push(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.array_push_; -} -const ::solidity::test::sol2protofuzzer::ArrayPopStmt& -Statement::_Internal::array_pop(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.array_pop_; -} -const ::solidity::test::sol2protofuzzer::TupleDestructStmt& -Statement::_Internal::tuple_destruct(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.tuple_destruct_; -} -const ::solidity::test::sol2protofuzzer::BareMagicStmt& -Statement::_Internal::bare_magic(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.bare_magic_; -} -const ::solidity::test::sol2protofuzzer::FixedAsmStmt& -Statement::_Internal::fixed_asm(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.fixed_asm_; -} -const ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt& -Statement::_Internal::abi_encode_struct(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.abi_encode_struct_; -} -const ::solidity::test::sol2protofuzzer::FuncPtrStmt& -Statement::_Internal::func_ptr(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.func_ptr_; -} -const ::solidity::test::sol2protofuzzer::StructLocalDeclStmt& -Statement::_Internal::struct_local_decl(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.struct_local_decl_; -} -const ::solidity::test::sol2protofuzzer::StructTupleAliasStmt& -Statement::_Internal::struct_tuple_alias(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.struct_tuple_alias_; -} -void Statement::set_allocated_var_decl(::solidity::test::sol2protofuzzer::VarDeclStmt* var_decl) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (var_decl) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(var_decl); - if (message_arena != submessage_arena) { - var_decl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, var_decl, submessage_arena); - } - set_has_var_decl(); - _impl_.stmt_oneof_.var_decl_ = var_decl; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.var_decl) -} -void Statement::set_allocated_expr_stmt(::solidity::test::sol2protofuzzer::ExprStmt* expr_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (expr_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(expr_stmt); - if (message_arena != submessage_arena) { - expr_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, expr_stmt, submessage_arena); - } - set_has_expr_stmt(); - _impl_.stmt_oneof_.expr_stmt_ = expr_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.expr_stmt) -} -void Statement::set_allocated_if_stmt(::solidity::test::sol2protofuzzer::IfStmt* if_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (if_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(if_stmt); - if (message_arena != submessage_arena) { - if_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, if_stmt, submessage_arena); - } - set_has_if_stmt(); - _impl_.stmt_oneof_.if_stmt_ = if_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.if_stmt) -} -void Statement::set_allocated_for_stmt(::solidity::test::sol2protofuzzer::ForStmt* for_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (for_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(for_stmt); - if (message_arena != submessage_arena) { - for_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, for_stmt, submessage_arena); - } - set_has_for_stmt(); - _impl_.stmt_oneof_.for_stmt_ = for_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.for_stmt) -} -void Statement::set_allocated_while_stmt(::solidity::test::sol2protofuzzer::WhileStmt* while_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (while_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(while_stmt); - if (message_arena != submessage_arena) { - while_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, while_stmt, submessage_arena); - } - set_has_while_stmt(); - _impl_.stmt_oneof_.while_stmt_ = while_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.while_stmt) -} -void Statement::set_allocated_do_while(::solidity::test::sol2protofuzzer::DoWhileStmt* do_while) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (do_while) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(do_while); - if (message_arena != submessage_arena) { - do_while = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, do_while, submessage_arena); - } - set_has_do_while(); - _impl_.stmt_oneof_.do_while_ = do_while; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.do_while) -} -void Statement::set_allocated_return_stmt(::solidity::test::sol2protofuzzer::ReturnStmt* return_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (return_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(return_stmt); - if (message_arena != submessage_arena) { - return_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, return_stmt, submessage_arena); - } - set_has_return_stmt(); - _impl_.stmt_oneof_.return_stmt_ = return_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.return_stmt) -} -void Statement::set_allocated_emit_stmt(::solidity::test::sol2protofuzzer::EmitStmt* emit_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (emit_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(emit_stmt); - if (message_arena != submessage_arena) { - emit_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, emit_stmt, submessage_arena); - } - set_has_emit_stmt(); - _impl_.stmt_oneof_.emit_stmt_ = emit_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.emit_stmt) -} -void Statement::set_allocated_revert_stmt(::solidity::test::sol2protofuzzer::RevertStmt* revert_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (revert_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(revert_stmt); - if (message_arena != submessage_arena) { - revert_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, revert_stmt, submessage_arena); - } - set_has_revert_stmt(); - _impl_.stmt_oneof_.revert_stmt_ = revert_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.revert_stmt) -} -void Statement::set_allocated_block(::solidity::test::sol2protofuzzer::Block* block) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (block) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(block); - if (message_arena != submessage_arena) { - block = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, block, submessage_arena); - } - set_has_block(); - _impl_.stmt_oneof_.block_ = block; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.block) -} -void Statement::set_allocated_unchecked(::solidity::test::sol2protofuzzer::UncheckedBlock* unchecked) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (unchecked) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unchecked); - if (message_arena != submessage_arena) { - unchecked = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, unchecked, submessage_arena); - } - set_has_unchecked(); - _impl_.stmt_oneof_.unchecked_ = unchecked; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.unchecked) -} -void Statement::set_allocated_break_stmt(::solidity::test::sol2protofuzzer::BreakStmt* break_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (break_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(break_stmt); - if (message_arena != submessage_arena) { - break_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, break_stmt, submessage_arena); - } - set_has_break_stmt(); - _impl_.stmt_oneof_.break_stmt_ = break_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.break_stmt) -} -void Statement::set_allocated_continue_stmt(::solidity::test::sol2protofuzzer::ContinueStmt* continue_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (continue_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(continue_stmt); - if (message_arena != submessage_arena) { - continue_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, continue_stmt, submessage_arena); - } - set_has_continue_stmt(); - _impl_.stmt_oneof_.continue_stmt_ = continue_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.continue_stmt) -} -void Statement::set_allocated_require_stmt(::solidity::test::sol2protofuzzer::RequireStmt* require_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (require_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(require_stmt); - if (message_arena != submessage_arena) { - require_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, require_stmt, submessage_arena); - } - set_has_require_stmt(); - _impl_.stmt_oneof_.require_stmt_ = require_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.require_stmt) -} -void Statement::set_allocated_delete_stmt(::solidity::test::sol2protofuzzer::DeleteStmt* delete_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (delete_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(delete_stmt); - if (message_arena != submessage_arena) { - delete_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, delete_stmt, submessage_arena); - } - set_has_delete_stmt(); - _impl_.stmt_oneof_.delete_stmt_ = delete_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.delete_stmt) -} -void Statement::set_allocated_try_catch(::solidity::test::sol2protofuzzer::TryCatchStmt* try_catch) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (try_catch) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(try_catch); - if (message_arena != submessage_arena) { - try_catch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, try_catch, submessage_arena); - } - set_has_try_catch(); - _impl_.stmt_oneof_.try_catch_ = try_catch; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.try_catch) -} -void Statement::set_allocated_index_assign(::solidity::test::sol2protofuzzer::IndexAssignStmt* index_assign) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (index_assign) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(index_assign); - if (message_arena != submessage_arena) { - index_assign = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, index_assign, submessage_arena); - } - set_has_index_assign(); - _impl_.stmt_oneof_.index_assign_ = index_assign; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.index_assign) -} -void Statement::set_allocated_tuple_assign(::solidity::test::sol2protofuzzer::TupleAssignStmt* tuple_assign) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (tuple_assign) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tuple_assign); - if (message_arena != submessage_arena) { - tuple_assign = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, tuple_assign, submessage_arena); - } - set_has_tuple_assign(); - _impl_.stmt_oneof_.tuple_assign_ = tuple_assign; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.tuple_assign) -} -void Statement::set_allocated_selfdestruct_stmt(::solidity::test::sol2protofuzzer::SelfdestructStmt* selfdestruct_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (selfdestruct_stmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(selfdestruct_stmt); - if (message_arena != submessage_arena) { - selfdestruct_stmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, selfdestruct_stmt, submessage_arena); - } - set_has_selfdestruct_stmt(); - _impl_.stmt_oneof_.selfdestruct_stmt_ = selfdestruct_stmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.selfdestruct_stmt) -} -void Statement::set_allocated_array_push(::solidity::test::sol2protofuzzer::ArrayPushStmt* array_push) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (array_push) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(array_push); - if (message_arena != submessage_arena) { - array_push = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, array_push, submessage_arena); - } - set_has_array_push(); - _impl_.stmt_oneof_.array_push_ = array_push; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.array_push) -} -void Statement::set_allocated_array_pop(::solidity::test::sol2protofuzzer::ArrayPopStmt* array_pop) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (array_pop) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(array_pop); - if (message_arena != submessage_arena) { - array_pop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, array_pop, submessage_arena); - } - set_has_array_pop(); - _impl_.stmt_oneof_.array_pop_ = array_pop; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.array_pop) -} -void Statement::set_allocated_tuple_destruct(::solidity::test::sol2protofuzzer::TupleDestructStmt* tuple_destruct) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (tuple_destruct) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tuple_destruct); - if (message_arena != submessage_arena) { - tuple_destruct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, tuple_destruct, submessage_arena); - } - set_has_tuple_destruct(); - _impl_.stmt_oneof_.tuple_destruct_ = tuple_destruct; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.tuple_destruct) -} -void Statement::set_allocated_bare_magic(::solidity::test::sol2protofuzzer::BareMagicStmt* bare_magic) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (bare_magic) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(bare_magic); - if (message_arena != submessage_arena) { - bare_magic = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, bare_magic, submessage_arena); - } - set_has_bare_magic(); - _impl_.stmt_oneof_.bare_magic_ = bare_magic; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.bare_magic) -} -void Statement::set_allocated_fixed_asm(::solidity::test::sol2protofuzzer::FixedAsmStmt* fixed_asm) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (fixed_asm) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(fixed_asm); - if (message_arena != submessage_arena) { - fixed_asm = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fixed_asm, submessage_arena); - } - set_has_fixed_asm(); - _impl_.stmt_oneof_.fixed_asm_ = fixed_asm; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.fixed_asm) -} -void Statement::set_allocated_abi_encode_struct(::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* abi_encode_struct) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (abi_encode_struct) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(abi_encode_struct); - if (message_arena != submessage_arena) { - abi_encode_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, abi_encode_struct, submessage_arena); - } - set_has_abi_encode_struct(); - _impl_.stmt_oneof_.abi_encode_struct_ = abi_encode_struct; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.abi_encode_struct) -} -void Statement::set_allocated_func_ptr(::solidity::test::sol2protofuzzer::FuncPtrStmt* func_ptr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (func_ptr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(func_ptr); - if (message_arena != submessage_arena) { - func_ptr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, func_ptr, submessage_arena); - } - set_has_func_ptr(); - _impl_.stmt_oneof_.func_ptr_ = func_ptr; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.func_ptr) -} -void Statement::set_allocated_struct_local_decl(::solidity::test::sol2protofuzzer::StructLocalDeclStmt* struct_local_decl) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (struct_local_decl) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(struct_local_decl); - if (message_arena != submessage_arena) { - struct_local_decl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, struct_local_decl, submessage_arena); - } - set_has_struct_local_decl(); - _impl_.stmt_oneof_.struct_local_decl_ = struct_local_decl; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.struct_local_decl) -} -void Statement::set_allocated_struct_tuple_alias(::solidity::test::sol2protofuzzer::StructTupleAliasStmt* struct_tuple_alias) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (struct_tuple_alias) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(struct_tuple_alias); - if (message_arena != submessage_arena) { - struct_tuple_alias = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, struct_tuple_alias, submessage_arena); - } - set_has_struct_tuple_alias(); - _impl_.stmt_oneof_.struct_tuple_alias_ = struct_tuple_alias; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Statement.struct_tuple_alias) -} -Statement::Statement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.Statement) -} -Statement::Statement(const Statement& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Statement* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.stmt_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_stmt_oneof(); - switch (from.stmt_oneof_case()) { - case kVarDecl: { - _this->_internal_mutable_var_decl()->::solidity::test::sol2protofuzzer::VarDeclStmt::MergeFrom( - from._internal_var_decl()); - break; - } - case kExprStmt: { - _this->_internal_mutable_expr_stmt()->::solidity::test::sol2protofuzzer::ExprStmt::MergeFrom( - from._internal_expr_stmt()); - break; - } - case kIfStmt: { - _this->_internal_mutable_if_stmt()->::solidity::test::sol2protofuzzer::IfStmt::MergeFrom( - from._internal_if_stmt()); - break; - } - case kForStmt: { - _this->_internal_mutable_for_stmt()->::solidity::test::sol2protofuzzer::ForStmt::MergeFrom( - from._internal_for_stmt()); - break; - } - case kWhileStmt: { - _this->_internal_mutable_while_stmt()->::solidity::test::sol2protofuzzer::WhileStmt::MergeFrom( - from._internal_while_stmt()); - break; - } - case kDoWhile: { - _this->_internal_mutable_do_while()->::solidity::test::sol2protofuzzer::DoWhileStmt::MergeFrom( - from._internal_do_while()); - break; - } - case kReturnStmt: { - _this->_internal_mutable_return_stmt()->::solidity::test::sol2protofuzzer::ReturnStmt::MergeFrom( - from._internal_return_stmt()); - break; - } - case kEmitStmt: { - _this->_internal_mutable_emit_stmt()->::solidity::test::sol2protofuzzer::EmitStmt::MergeFrom( - from._internal_emit_stmt()); - break; - } - case kRevertStmt: { - _this->_internal_mutable_revert_stmt()->::solidity::test::sol2protofuzzer::RevertStmt::MergeFrom( - from._internal_revert_stmt()); - break; - } - case kBlock: { - _this->_internal_mutable_block()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_block()); - break; - } - case kUnchecked: { - _this->_internal_mutable_unchecked()->::solidity::test::sol2protofuzzer::UncheckedBlock::MergeFrom( - from._internal_unchecked()); - break; - } - case kBreakStmt: { - _this->_internal_mutable_break_stmt()->::solidity::test::sol2protofuzzer::BreakStmt::MergeFrom( - from._internal_break_stmt()); - break; - } - case kContinueStmt: { - _this->_internal_mutable_continue_stmt()->::solidity::test::sol2protofuzzer::ContinueStmt::MergeFrom( - from._internal_continue_stmt()); - break; - } - case kRequireStmt: { - _this->_internal_mutable_require_stmt()->::solidity::test::sol2protofuzzer::RequireStmt::MergeFrom( - from._internal_require_stmt()); - break; - } - case kDeleteStmt: { - _this->_internal_mutable_delete_stmt()->::solidity::test::sol2protofuzzer::DeleteStmt::MergeFrom( - from._internal_delete_stmt()); - break; - } - case kTryCatch: { - _this->_internal_mutable_try_catch()->::solidity::test::sol2protofuzzer::TryCatchStmt::MergeFrom( - from._internal_try_catch()); - break; - } - case kIndexAssign: { - _this->_internal_mutable_index_assign()->::solidity::test::sol2protofuzzer::IndexAssignStmt::MergeFrom( - from._internal_index_assign()); - break; - } - case kTupleAssign: { - _this->_internal_mutable_tuple_assign()->::solidity::test::sol2protofuzzer::TupleAssignStmt::MergeFrom( - from._internal_tuple_assign()); - break; - } - case kSelfdestructStmt: { - _this->_internal_mutable_selfdestruct_stmt()->::solidity::test::sol2protofuzzer::SelfdestructStmt::MergeFrom( - from._internal_selfdestruct_stmt()); - break; - } - case kArrayPush: { - _this->_internal_mutable_array_push()->::solidity::test::sol2protofuzzer::ArrayPushStmt::MergeFrom( - from._internal_array_push()); - break; - } - case kArrayPop: { - _this->_internal_mutable_array_pop()->::solidity::test::sol2protofuzzer::ArrayPopStmt::MergeFrom( - from._internal_array_pop()); - break; - } - case kTupleDestruct: { - _this->_internal_mutable_tuple_destruct()->::solidity::test::sol2protofuzzer::TupleDestructStmt::MergeFrom( - from._internal_tuple_destruct()); - break; - } - case kBareMagic: { - _this->_internal_mutable_bare_magic()->::solidity::test::sol2protofuzzer::BareMagicStmt::MergeFrom( - from._internal_bare_magic()); - break; - } - case kFixedAsm: { - _this->_internal_mutable_fixed_asm()->::solidity::test::sol2protofuzzer::FixedAsmStmt::MergeFrom( - from._internal_fixed_asm()); - break; - } - case kAbiEncodeStruct: { - _this->_internal_mutable_abi_encode_struct()->::solidity::test::sol2protofuzzer::AbiEncodeStructStmt::MergeFrom( - from._internal_abi_encode_struct()); - break; - } - case kFuncPtr: { - _this->_internal_mutable_func_ptr()->::solidity::test::sol2protofuzzer::FuncPtrStmt::MergeFrom( - from._internal_func_ptr()); - break; - } - case kStructLocalDecl: { - _this->_internal_mutable_struct_local_decl()->::solidity::test::sol2protofuzzer::StructLocalDeclStmt::MergeFrom( - from._internal_struct_local_decl()); - break; - } - case kStructTupleAlias: { - _this->_internal_mutable_struct_tuple_alias()->::solidity::test::sol2protofuzzer::StructTupleAliasStmt::MergeFrom( - from._internal_struct_tuple_alias()); - break; - } - case STMT_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.Statement) -} - -inline void Statement::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.stmt_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_stmt_oneof(); -} - -Statement::~Statement() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.Statement) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Statement::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_stmt_oneof()) { - clear_stmt_oneof(); - } -} - -void Statement::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Statement::clear_stmt_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.sol2protofuzzer.Statement) - switch (stmt_oneof_case()) { - case kVarDecl: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.var_decl_; - } - break; - } - case kExprStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.expr_stmt_; - } - break; - } - case kIfStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.if_stmt_; - } - break; - } - case kForStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.for_stmt_; - } - break; - } - case kWhileStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.while_stmt_; - } - break; - } - case kDoWhile: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.do_while_; - } - break; - } - case kReturnStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.return_stmt_; - } - break; - } - case kEmitStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.emit_stmt_; - } - break; - } - case kRevertStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.revert_stmt_; - } - break; - } - case kBlock: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.block_; - } - break; - } - case kUnchecked: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.unchecked_; - } - break; - } - case kBreakStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.break_stmt_; - } - break; - } - case kContinueStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.continue_stmt_; - } - break; - } - case kRequireStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.require_stmt_; - } - break; - } - case kDeleteStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.delete_stmt_; - } - break; - } - case kTryCatch: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.try_catch_; - } - break; - } - case kIndexAssign: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.index_assign_; - } - break; - } - case kTupleAssign: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.tuple_assign_; - } - break; - } - case kSelfdestructStmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.selfdestruct_stmt_; - } - break; - } - case kArrayPush: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.array_push_; - } - break; - } - case kArrayPop: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.array_pop_; - } - break; - } - case kTupleDestruct: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.tuple_destruct_; - } - break; - } - case kBareMagic: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.bare_magic_; - } - break; - } - case kFixedAsm: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.fixed_asm_; - } - break; - } - case kAbiEncodeStruct: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.abi_encode_struct_; - } - break; - } - case kFuncPtr: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.func_ptr_; - } - break; - } - case kStructLocalDecl: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.struct_local_decl_; - } - break; - } - case kStructTupleAlias: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.struct_tuple_alias_; - } - break; - } - case STMT_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = STMT_ONEOF_NOT_SET; -} - - -void Statement::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.Statement) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_stmt_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Statement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.test.sol2protofuzzer.VarDeclStmt var_decl = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_var_decl(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.ExprStmt expr_stmt = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_expr_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.IfStmt if_stmt = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_if_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.ForStmt for_stmt = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_for_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.WhileStmt while_stmt = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_while_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.DoWhileStmt do_while = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_do_while(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.ReturnStmt return_stmt = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_return_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.EmitStmt emit_stmt = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_emit_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.RevertStmt revert_stmt = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_revert_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.Block block = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_block(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.UncheckedBlock unchecked = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ctx->ParseMessage(_internal_mutable_unchecked(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.BreakStmt break_stmt = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_break_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.ContinueStmt continue_stmt = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_continue_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.RequireStmt require_stmt = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr = ctx->ParseMessage(_internal_mutable_require_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.DeleteStmt delete_stmt = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - ptr = ctx->ParseMessage(_internal_mutable_delete_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.TryCatchStmt try_catch = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - ptr = ctx->ParseMessage(_internal_mutable_try_catch(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.IndexAssignStmt index_assign = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - ptr = ctx->ParseMessage(_internal_mutable_index_assign(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.TupleAssignStmt tuple_assign = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - ptr = ctx->ParseMessage(_internal_mutable_tuple_assign(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.SelfdestructStmt selfdestruct_stmt = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - ptr = ctx->ParseMessage(_internal_mutable_selfdestruct_stmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.ArrayPushStmt array_push = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - ptr = ctx->ParseMessage(_internal_mutable_array_push(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.ArrayPopStmt array_pop = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { - ptr = ctx->ParseMessage(_internal_mutable_array_pop(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.TupleDestructStmt tuple_destruct = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { - ptr = ctx->ParseMessage(_internal_mutable_tuple_destruct(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.BareMagicStmt bare_magic = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { - ptr = ctx->ParseMessage(_internal_mutable_bare_magic(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.FixedAsmStmt fixed_asm = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 194)) { - ptr = ctx->ParseMessage(_internal_mutable_fixed_asm(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.AbiEncodeStructStmt abi_encode_struct = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 202)) { - ptr = ctx->ParseMessage(_internal_mutable_abi_encode_struct(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.FuncPtrStmt func_ptr = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 210)) { - ptr = ctx->ParseMessage(_internal_mutable_func_ptr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.StructLocalDeclStmt struct_local_decl = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 218)) { - ptr = ctx->ParseMessage(_internal_mutable_struct_local_decl(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.StructTupleAliasStmt struct_tuple_alias = 28; - case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 226)) { - ptr = ctx->ParseMessage(_internal_mutable_struct_tuple_alias(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Statement::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.Statement) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (stmt_oneof_case()) { - case kVarDecl: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::var_decl(this), - _Internal::var_decl(this).GetCachedSize(), target, stream); - break; - } - case kExprStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::expr_stmt(this), - _Internal::expr_stmt(this).GetCachedSize(), target, stream); - break; - } - case kIfStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::if_stmt(this), - _Internal::if_stmt(this).GetCachedSize(), target, stream); - break; - } - case kForStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::for_stmt(this), - _Internal::for_stmt(this).GetCachedSize(), target, stream); - break; - } - case kWhileStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::while_stmt(this), - _Internal::while_stmt(this).GetCachedSize(), target, stream); - break; - } - case kDoWhile: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::do_while(this), - _Internal::do_while(this).GetCachedSize(), target, stream); - break; - } - case kReturnStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::return_stmt(this), - _Internal::return_stmt(this).GetCachedSize(), target, stream); - break; - } - case kEmitStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::emit_stmt(this), - _Internal::emit_stmt(this).GetCachedSize(), target, stream); - break; - } - case kRevertStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::revert_stmt(this), - _Internal::revert_stmt(this).GetCachedSize(), target, stream); - break; - } - case kBlock: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::block(this), - _Internal::block(this).GetCachedSize(), target, stream); - break; - } - case kUnchecked: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, _Internal::unchecked(this), - _Internal::unchecked(this).GetCachedSize(), target, stream); - break; - } - case kBreakStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::break_stmt(this), - _Internal::break_stmt(this).GetCachedSize(), target, stream); - break; - } - case kContinueStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::continue_stmt(this), - _Internal::continue_stmt(this).GetCachedSize(), target, stream); - break; - } - case kRequireStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(14, _Internal::require_stmt(this), - _Internal::require_stmt(this).GetCachedSize(), target, stream); - break; - } - case kDeleteStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(15, _Internal::delete_stmt(this), - _Internal::delete_stmt(this).GetCachedSize(), target, stream); - break; - } - case kTryCatch: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(16, _Internal::try_catch(this), - _Internal::try_catch(this).GetCachedSize(), target, stream); - break; - } - case kIndexAssign: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(17, _Internal::index_assign(this), - _Internal::index_assign(this).GetCachedSize(), target, stream); - break; - } - case kTupleAssign: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(18, _Internal::tuple_assign(this), - _Internal::tuple_assign(this).GetCachedSize(), target, stream); - break; - } - case kSelfdestructStmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(19, _Internal::selfdestruct_stmt(this), - _Internal::selfdestruct_stmt(this).GetCachedSize(), target, stream); - break; - } - case kArrayPush: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(20, _Internal::array_push(this), - _Internal::array_push(this).GetCachedSize(), target, stream); - break; - } - case kArrayPop: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(21, _Internal::array_pop(this), - _Internal::array_pop(this).GetCachedSize(), target, stream); - break; - } - case kTupleDestruct: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(22, _Internal::tuple_destruct(this), - _Internal::tuple_destruct(this).GetCachedSize(), target, stream); - break; - } - case kBareMagic: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(23, _Internal::bare_magic(this), - _Internal::bare_magic(this).GetCachedSize(), target, stream); - break; - } - case kFixedAsm: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(24, _Internal::fixed_asm(this), - _Internal::fixed_asm(this).GetCachedSize(), target, stream); - break; - } - case kAbiEncodeStruct: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(25, _Internal::abi_encode_struct(this), - _Internal::abi_encode_struct(this).GetCachedSize(), target, stream); - break; - } - case kFuncPtr: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(26, _Internal::func_ptr(this), - _Internal::func_ptr(this).GetCachedSize(), target, stream); - break; - } - case kStructLocalDecl: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(27, _Internal::struct_local_decl(this), - _Internal::struct_local_decl(this).GetCachedSize(), target, stream); - break; - } - case kStructTupleAlias: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(28, _Internal::struct_tuple_alias(this), - _Internal::struct_tuple_alias(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.Statement) - return target; -} - -size_t Statement::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.Statement) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (stmt_oneof_case()) { - // .solidity.test.sol2protofuzzer.VarDeclStmt var_decl = 1; - case kVarDecl: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.var_decl_); - break; - } - // .solidity.test.sol2protofuzzer.ExprStmt expr_stmt = 2; - case kExprStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.expr_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.IfStmt if_stmt = 3; - case kIfStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.if_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.ForStmt for_stmt = 4; - case kForStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.for_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.WhileStmt while_stmt = 5; - case kWhileStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.while_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.DoWhileStmt do_while = 6; - case kDoWhile: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.do_while_); - break; - } - // .solidity.test.sol2protofuzzer.ReturnStmt return_stmt = 7; - case kReturnStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.return_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.EmitStmt emit_stmt = 8; - case kEmitStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.emit_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.RevertStmt revert_stmt = 9; - case kRevertStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.revert_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.Block block = 10; - case kBlock: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.block_); - break; - } - // .solidity.test.sol2protofuzzer.UncheckedBlock unchecked = 11; - case kUnchecked: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.unchecked_); - break; - } - // .solidity.test.sol2protofuzzer.BreakStmt break_stmt = 12; - case kBreakStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.break_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.ContinueStmt continue_stmt = 13; - case kContinueStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.continue_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.RequireStmt require_stmt = 14; - case kRequireStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.require_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.DeleteStmt delete_stmt = 15; - case kDeleteStmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.delete_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.TryCatchStmt try_catch = 16; - case kTryCatch: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.try_catch_); - break; - } - // .solidity.test.sol2protofuzzer.IndexAssignStmt index_assign = 17; - case kIndexAssign: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.index_assign_); - break; - } - // .solidity.test.sol2protofuzzer.TupleAssignStmt tuple_assign = 18; - case kTupleAssign: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.tuple_assign_); - break; - } - // .solidity.test.sol2protofuzzer.SelfdestructStmt selfdestruct_stmt = 19; - case kSelfdestructStmt: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.selfdestruct_stmt_); - break; - } - // .solidity.test.sol2protofuzzer.ArrayPushStmt array_push = 20; - case kArrayPush: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.array_push_); - break; - } - // .solidity.test.sol2protofuzzer.ArrayPopStmt array_pop = 21; - case kArrayPop: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.array_pop_); - break; - } - // .solidity.test.sol2protofuzzer.TupleDestructStmt tuple_destruct = 22; - case kTupleDestruct: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.tuple_destruct_); - break; - } - // .solidity.test.sol2protofuzzer.BareMagicStmt bare_magic = 23; - case kBareMagic: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.bare_magic_); - break; - } - // .solidity.test.sol2protofuzzer.FixedAsmStmt fixed_asm = 24; - case kFixedAsm: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.fixed_asm_); - break; - } - // .solidity.test.sol2protofuzzer.AbiEncodeStructStmt abi_encode_struct = 25; - case kAbiEncodeStruct: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.abi_encode_struct_); - break; - } - // .solidity.test.sol2protofuzzer.FuncPtrStmt func_ptr = 26; - case kFuncPtr: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.func_ptr_); - break; - } - // .solidity.test.sol2protofuzzer.StructLocalDeclStmt struct_local_decl = 27; - case kStructLocalDecl: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.struct_local_decl_); - break; - } - // .solidity.test.sol2protofuzzer.StructTupleAliasStmt struct_tuple_alias = 28; - case kStructTupleAlias: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.struct_tuple_alias_); - break; - } - case STMT_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Statement::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Statement::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Statement::GetClassData() const { return &_class_data_; } - - -void Statement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.Statement) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.stmt_oneof_case()) { - case kVarDecl: { - _this->_internal_mutable_var_decl()->::solidity::test::sol2protofuzzer::VarDeclStmt::MergeFrom( - from._internal_var_decl()); - break; - } - case kExprStmt: { - _this->_internal_mutable_expr_stmt()->::solidity::test::sol2protofuzzer::ExprStmt::MergeFrom( - from._internal_expr_stmt()); - break; - } - case kIfStmt: { - _this->_internal_mutable_if_stmt()->::solidity::test::sol2protofuzzer::IfStmt::MergeFrom( - from._internal_if_stmt()); - break; - } - case kForStmt: { - _this->_internal_mutable_for_stmt()->::solidity::test::sol2protofuzzer::ForStmt::MergeFrom( - from._internal_for_stmt()); - break; - } - case kWhileStmt: { - _this->_internal_mutable_while_stmt()->::solidity::test::sol2protofuzzer::WhileStmt::MergeFrom( - from._internal_while_stmt()); - break; - } - case kDoWhile: { - _this->_internal_mutable_do_while()->::solidity::test::sol2protofuzzer::DoWhileStmt::MergeFrom( - from._internal_do_while()); - break; - } - case kReturnStmt: { - _this->_internal_mutable_return_stmt()->::solidity::test::sol2protofuzzer::ReturnStmt::MergeFrom( - from._internal_return_stmt()); - break; - } - case kEmitStmt: { - _this->_internal_mutable_emit_stmt()->::solidity::test::sol2protofuzzer::EmitStmt::MergeFrom( - from._internal_emit_stmt()); - break; - } - case kRevertStmt: { - _this->_internal_mutable_revert_stmt()->::solidity::test::sol2protofuzzer::RevertStmt::MergeFrom( - from._internal_revert_stmt()); - break; - } - case kBlock: { - _this->_internal_mutable_block()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_block()); - break; - } - case kUnchecked: { - _this->_internal_mutable_unchecked()->::solidity::test::sol2protofuzzer::UncheckedBlock::MergeFrom( - from._internal_unchecked()); - break; - } - case kBreakStmt: { - _this->_internal_mutable_break_stmt()->::solidity::test::sol2protofuzzer::BreakStmt::MergeFrom( - from._internal_break_stmt()); - break; - } - case kContinueStmt: { - _this->_internal_mutable_continue_stmt()->::solidity::test::sol2protofuzzer::ContinueStmt::MergeFrom( - from._internal_continue_stmt()); - break; - } - case kRequireStmt: { - _this->_internal_mutable_require_stmt()->::solidity::test::sol2protofuzzer::RequireStmt::MergeFrom( - from._internal_require_stmt()); - break; - } - case kDeleteStmt: { - _this->_internal_mutable_delete_stmt()->::solidity::test::sol2protofuzzer::DeleteStmt::MergeFrom( - from._internal_delete_stmt()); - break; - } - case kTryCatch: { - _this->_internal_mutable_try_catch()->::solidity::test::sol2protofuzzer::TryCatchStmt::MergeFrom( - from._internal_try_catch()); - break; - } - case kIndexAssign: { - _this->_internal_mutable_index_assign()->::solidity::test::sol2protofuzzer::IndexAssignStmt::MergeFrom( - from._internal_index_assign()); - break; - } - case kTupleAssign: { - _this->_internal_mutable_tuple_assign()->::solidity::test::sol2protofuzzer::TupleAssignStmt::MergeFrom( - from._internal_tuple_assign()); - break; - } - case kSelfdestructStmt: { - _this->_internal_mutable_selfdestruct_stmt()->::solidity::test::sol2protofuzzer::SelfdestructStmt::MergeFrom( - from._internal_selfdestruct_stmt()); - break; - } - case kArrayPush: { - _this->_internal_mutable_array_push()->::solidity::test::sol2protofuzzer::ArrayPushStmt::MergeFrom( - from._internal_array_push()); - break; - } - case kArrayPop: { - _this->_internal_mutable_array_pop()->::solidity::test::sol2protofuzzer::ArrayPopStmt::MergeFrom( - from._internal_array_pop()); - break; - } - case kTupleDestruct: { - _this->_internal_mutable_tuple_destruct()->::solidity::test::sol2protofuzzer::TupleDestructStmt::MergeFrom( - from._internal_tuple_destruct()); - break; - } - case kBareMagic: { - _this->_internal_mutable_bare_magic()->::solidity::test::sol2protofuzzer::BareMagicStmt::MergeFrom( - from._internal_bare_magic()); - break; - } - case kFixedAsm: { - _this->_internal_mutable_fixed_asm()->::solidity::test::sol2protofuzzer::FixedAsmStmt::MergeFrom( - from._internal_fixed_asm()); - break; - } - case kAbiEncodeStruct: { - _this->_internal_mutable_abi_encode_struct()->::solidity::test::sol2protofuzzer::AbiEncodeStructStmt::MergeFrom( - from._internal_abi_encode_struct()); - break; - } - case kFuncPtr: { - _this->_internal_mutable_func_ptr()->::solidity::test::sol2protofuzzer::FuncPtrStmt::MergeFrom( - from._internal_func_ptr()); - break; - } - case kStructLocalDecl: { - _this->_internal_mutable_struct_local_decl()->::solidity::test::sol2protofuzzer::StructLocalDeclStmt::MergeFrom( - from._internal_struct_local_decl()); - break; - } - case kStructTupleAlias: { - _this->_internal_mutable_struct_tuple_alias()->::solidity::test::sol2protofuzzer::StructTupleAliasStmt::MergeFrom( - from._internal_struct_tuple_alias()); - break; - } - case STMT_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Statement::CopyFrom(const Statement& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.Statement) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Statement::IsInitialized() const { - switch (stmt_oneof_case()) { - case kVarDecl: { - if (_internal_has_var_decl()) { - if (!_impl_.stmt_oneof_.var_decl_->IsInitialized()) return false; - } - break; - } - case kExprStmt: { - if (_internal_has_expr_stmt()) { - if (!_impl_.stmt_oneof_.expr_stmt_->IsInitialized()) return false; - } - break; - } - case kIfStmt: { - if (_internal_has_if_stmt()) { - if (!_impl_.stmt_oneof_.if_stmt_->IsInitialized()) return false; - } - break; - } - case kForStmt: { - if (_internal_has_for_stmt()) { - if (!_impl_.stmt_oneof_.for_stmt_->IsInitialized()) return false; - } - break; - } - case kWhileStmt: { - if (_internal_has_while_stmt()) { - if (!_impl_.stmt_oneof_.while_stmt_->IsInitialized()) return false; - } - break; - } - case kDoWhile: { - if (_internal_has_do_while()) { - if (!_impl_.stmt_oneof_.do_while_->IsInitialized()) return false; - } - break; - } - case kReturnStmt: { - if (_internal_has_return_stmt()) { - if (!_impl_.stmt_oneof_.return_stmt_->IsInitialized()) return false; - } - break; - } - case kEmitStmt: { - if (_internal_has_emit_stmt()) { - if (!_impl_.stmt_oneof_.emit_stmt_->IsInitialized()) return false; - } - break; - } - case kRevertStmt: { - if (_internal_has_revert_stmt()) { - if (!_impl_.stmt_oneof_.revert_stmt_->IsInitialized()) return false; - } - break; - } - case kBlock: { - if (_internal_has_block()) { - if (!_impl_.stmt_oneof_.block_->IsInitialized()) return false; - } - break; - } - case kUnchecked: { - if (_internal_has_unchecked()) { - if (!_impl_.stmt_oneof_.unchecked_->IsInitialized()) return false; - } - break; - } - case kBreakStmt: { - break; - } - case kContinueStmt: { - break; - } - case kRequireStmt: { - if (_internal_has_require_stmt()) { - if (!_impl_.stmt_oneof_.require_stmt_->IsInitialized()) return false; - } - break; - } - case kDeleteStmt: { - if (_internal_has_delete_stmt()) { - if (!_impl_.stmt_oneof_.delete_stmt_->IsInitialized()) return false; - } - break; - } - case kTryCatch: { - if (_internal_has_try_catch()) { - if (!_impl_.stmt_oneof_.try_catch_->IsInitialized()) return false; - } - break; - } - case kIndexAssign: { - if (_internal_has_index_assign()) { - if (!_impl_.stmt_oneof_.index_assign_->IsInitialized()) return false; - } - break; - } - case kTupleAssign: { - if (_internal_has_tuple_assign()) { - if (!_impl_.stmt_oneof_.tuple_assign_->IsInitialized()) return false; - } - break; - } - case kSelfdestructStmt: { - if (_internal_has_selfdestruct_stmt()) { - if (!_impl_.stmt_oneof_.selfdestruct_stmt_->IsInitialized()) return false; - } - break; - } - case kArrayPush: { - if (_internal_has_array_push()) { - if (!_impl_.stmt_oneof_.array_push_->IsInitialized()) return false; - } - break; - } - case kArrayPop: { - if (_internal_has_array_pop()) { - if (!_impl_.stmt_oneof_.array_pop_->IsInitialized()) return false; - } - break; - } - case kTupleDestruct: { - if (_internal_has_tuple_destruct()) { - if (!_impl_.stmt_oneof_.tuple_destruct_->IsInitialized()) return false; - } - break; - } - case kBareMagic: { - if (_internal_has_bare_magic()) { - if (!_impl_.stmt_oneof_.bare_magic_->IsInitialized()) return false; - } - break; - } - case kFixedAsm: { - if (_internal_has_fixed_asm()) { - if (!_impl_.stmt_oneof_.fixed_asm_->IsInitialized()) return false; - } - break; - } - case kAbiEncodeStruct: { - if (_internal_has_abi_encode_struct()) { - if (!_impl_.stmt_oneof_.abi_encode_struct_->IsInitialized()) return false; - } - break; - } - case kFuncPtr: { - if (_internal_has_func_ptr()) { - if (!_impl_.stmt_oneof_.func_ptr_->IsInitialized()) return false; - } - break; - } - case kStructLocalDecl: { - if (_internal_has_struct_local_decl()) { - if (!_impl_.stmt_oneof_.struct_local_decl_->IsInitialized()) return false; - } - break; - } - case kStructTupleAlias: { - if (_internal_has_struct_tuple_alias()) { - if (!_impl_.stmt_oneof_.struct_tuple_alias_->IsInitialized()) return false; - } - break; - } - case STMT_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void Statement::InternalSwap(Statement* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.stmt_oneof_, other->_impl_.stmt_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Statement::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[69]); -} - -// =================================================================== - -class FuncPtrStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_target_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -FuncPtrStmt::FuncPtrStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.FuncPtrStmt) -} -FuncPtrStmt::FuncPtrStmt(const FuncPtrStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - FuncPtrStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.target_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.target_id_ = from._impl_.target_id_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.FuncPtrStmt) -} - -inline void FuncPtrStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.target_id_){0u} - }; -} - -FuncPtrStmt::~FuncPtrStmt() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.FuncPtrStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void FuncPtrStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); -} - -void FuncPtrStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void FuncPtrStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.FuncPtrStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - _impl_.target_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* FuncPtrStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 target_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_target_id(&has_bits); - _impl_.target_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_args(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* FuncPtrStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.FuncPtrStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 target_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_target_id(), target); - } - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_args_size()); i < n; i++) { - const auto& repfield = this->_internal_args(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.FuncPtrStmt) - return target; -} - -size_t FuncPtrStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.FuncPtrStmt) - size_t total_size = 0; - - // required uint32 target_id = 1; - if (_internal_has_target_id()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_target_id()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - total_size += 1UL * this->_internal_args_size(); - for (const auto& msg : this->_impl_.args_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FuncPtrStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - FuncPtrStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FuncPtrStmt::GetClassData() const { return &_class_data_; } - - -void FuncPtrStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.FuncPtrStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - if (from._internal_has_target_id()) { - _this->_internal_set_target_id(from._internal_target_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void FuncPtrStmt::CopyFrom(const FuncPtrStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.FuncPtrStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FuncPtrStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.args_)) - return false; - return true; -} - -void FuncPtrStmt::InternalSwap(FuncPtrStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - swap(_impl_.target_id_, other->_impl_.target_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata FuncPtrStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[70]); -} - -// =================================================================== - -class StructField::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::ElementaryType& type(const StructField* msg); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::StructArrayField& arr_field(const StructField* msg); - static const ::solidity::test::sol2protofuzzer::StructFunctionField& fn_field(const StructField* msg); - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::ElementaryType& -StructField::_Internal::type(const StructField* msg) { - return *msg->_impl_.type_; -} -const ::solidity::test::sol2protofuzzer::StructArrayField& -StructField::_Internal::arr_field(const StructField* msg) { - return *msg->_impl_.advanced_type_.arr_field_; -} -const ::solidity::test::sol2protofuzzer::StructFunctionField& -StructField::_Internal::fn_field(const StructField* msg) { - return *msg->_impl_.advanced_type_.fn_field_; -} -void StructField::set_allocated_arr_field(::solidity::test::sol2protofuzzer::StructArrayField* arr_field) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_advanced_type(); - if (arr_field) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arr_field); - if (message_arena != submessage_arena) { - arr_field = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, arr_field, submessage_arena); - } - set_has_arr_field(); - _impl_.advanced_type_.arr_field_ = arr_field; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.StructField.arr_field) -} -void StructField::set_allocated_fn_field(::solidity::test::sol2protofuzzer::StructFunctionField* fn_field) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_advanced_type(); - if (fn_field) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(fn_field); - if (message_arena != submessage_arena) { - fn_field = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fn_field, submessage_arena); - } - set_has_fn_field(); - _impl_.advanced_type_.fn_field_ = fn_field; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.StructField.fn_field) -} -StructField::StructField(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.StructField) -} -StructField::StructField(const StructField& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StructField* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){nullptr} - , decltype(_impl_.advanced_type_){} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_type()) { - _this->_impl_.type_ = new ::solidity::test::sol2protofuzzer::ElementaryType(*from._impl_.type_); - } - clear_has_advanced_type(); - switch (from.advanced_type_case()) { - case kArrField: { - _this->_internal_mutable_arr_field()->::solidity::test::sol2protofuzzer::StructArrayField::MergeFrom( - from._internal_arr_field()); - break; - } - case kFnField: { - _this->_internal_mutable_fn_field()->::solidity::test::sol2protofuzzer::StructFunctionField::MergeFrom( - from._internal_fn_field()); - break; - } - case ADVANCED_TYPE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.StructField) -} - -inline void StructField::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){nullptr} - , decltype(_impl_.advanced_type_){} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_advanced_type(); -} - -StructField::~StructField() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.StructField) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StructField::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.type_; - if (has_advanced_type()) { - clear_advanced_type(); - } -} - -void StructField::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StructField::clear_advanced_type() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.sol2protofuzzer.StructField) - switch (advanced_type_case()) { - case kArrField: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.advanced_type_.arr_field_; - } - break; - } - case kFnField: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.advanced_type_.fn_field_; - } - break; - } - case ADVANCED_TYPE_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = ADVANCED_TYPE_NOT_SET; -} - - -void StructField::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.StructField) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.type_ != nullptr); - _impl_.type_->Clear(); - } - clear_advanced_type(); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StructField::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.ElementaryType type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_type(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.StructArrayField arr_field = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_arr_field(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.sol2protofuzzer.StructFunctionField fn_field = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_fn_field(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StructField::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.StructField) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.ElementaryType type = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::type(this), - _Internal::type(this).GetCachedSize(), target, stream); - } - - switch (advanced_type_case()) { - case kArrField: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::arr_field(this), - _Internal::arr_field(this).GetCachedSize(), target, stream); - break; - } - case kFnField: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::fn_field(this), - _Internal::fn_field(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.StructField) - return target; -} - -size_t StructField::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.StructField) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.ElementaryType type = 1; - if (_internal_has_type()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (advanced_type_case()) { - // .solidity.test.sol2protofuzzer.StructArrayField arr_field = 2; - case kArrField: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.advanced_type_.arr_field_); - break; - } - // .solidity.test.sol2protofuzzer.StructFunctionField fn_field = 3; - case kFnField: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.advanced_type_.fn_field_); - break; - } - case ADVANCED_TYPE_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructField::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StructField::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructField::GetClassData() const { return &_class_data_; } - - -void StructField::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.StructField) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_type()) { - _this->_internal_mutable_type()->::solidity::test::sol2protofuzzer::ElementaryType::MergeFrom( - from._internal_type()); - } - switch (from.advanced_type_case()) { - case kArrField: { - _this->_internal_mutable_arr_field()->::solidity::test::sol2protofuzzer::StructArrayField::MergeFrom( - from._internal_arr_field()); - break; - } - case kFnField: { - _this->_internal_mutable_fn_field()->::solidity::test::sol2protofuzzer::StructFunctionField::MergeFrom( - from._internal_fn_field()); - break; - } - case ADVANCED_TYPE_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StructField::CopyFrom(const StructField& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.StructField) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructField::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_type()) { - if (!_impl_.type_->IsInitialized()) return false; - } - switch (advanced_type_case()) { - case kArrField: { - if (_internal_has_arr_field()) { - if (!_impl_.advanced_type_.arr_field_->IsInitialized()) return false; - } - break; - } - case kFnField: { - break; - } - case ADVANCED_TYPE_NOT_SET: { - break; - } - } - return true; -} - -void StructField::InternalSwap(StructField* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.type_, other->_impl_.type_); - swap(_impl_.advanced_type_, other->_impl_.advanced_type_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StructField::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[71]); -} - -// =================================================================== - -class StructArrayField::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::ElementaryType& base(const StructArrayField* msg); - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_outer_length(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_inner_length(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::ElementaryType& -StructArrayField::_Internal::base(const StructArrayField* msg) { - return *msg->_impl_.base_; -} -StructArrayField::StructArrayField(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.StructArrayField) -} -StructArrayField::StructArrayField(const StructArrayField& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StructArrayField* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.outer_length_){} - , decltype(_impl_.inner_length_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_base()) { - _this->_impl_.base_ = new ::solidity::test::sol2protofuzzer::ElementaryType(*from._impl_.base_); - } - ::memcpy(&_impl_.outer_length_, &from._impl_.outer_length_, - static_cast(reinterpret_cast(&_impl_.inner_length_) - - reinterpret_cast(&_impl_.outer_length_)) + sizeof(_impl_.inner_length_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.StructArrayField) -} - -inline void StructArrayField::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.outer_length_){0u} - , decltype(_impl_.inner_length_){0u} - }; -} - -StructArrayField::~StructArrayField() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.StructArrayField) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StructArrayField::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.base_; -} - -void StructArrayField::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StructArrayField::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.StructArrayField) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.base_ != nullptr); - _impl_.base_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.outer_length_, 0, static_cast( - reinterpret_cast(&_impl_.inner_length_) - - reinterpret_cast(&_impl_.outer_length_)) + sizeof(_impl_.inner_length_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StructArrayField::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.ElementaryType base = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 outer_length = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_outer_length(&has_bits); - _impl_.outer_length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 inner_length = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_inner_length(&has_bits); - _impl_.inner_length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StructArrayField::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.StructArrayField) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.ElementaryType base = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::base(this), - _Internal::base(this).GetCachedSize(), target, stream); - } - - // optional uint32 outer_length = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_outer_length(), target); - } - - // optional uint32 inner_length = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_inner_length(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.StructArrayField) - return target; -} - -size_t StructArrayField::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.StructArrayField) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.ElementaryType base = 1; - if (_internal_has_base()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.base_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000006u) { - // optional uint32 outer_length = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_outer_length()); - } - - // optional uint32 inner_length = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_inner_length()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructArrayField::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StructArrayField::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructArrayField::GetClassData() const { return &_class_data_; } - - -void StructArrayField::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.StructArrayField) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_base()->::solidity::test::sol2protofuzzer::ElementaryType::MergeFrom( - from._internal_base()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.outer_length_ = from._impl_.outer_length_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.inner_length_ = from._impl_.inner_length_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StructArrayField::CopyFrom(const StructArrayField& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.StructArrayField) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructArrayField::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_base()) { - if (!_impl_.base_->IsInitialized()) return false; - } - return true; -} - -void StructArrayField::InternalSwap(StructArrayField* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(StructArrayField, _impl_.inner_length_) - + sizeof(StructArrayField::_impl_.inner_length_) - - PROTOBUF_FIELD_OFFSET(StructArrayField, _impl_.base_)>( - reinterpret_cast(&_impl_.base_), - reinterpret_cast(&other->_impl_.base_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StructArrayField::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[72]); -} - -// =================================================================== - -class StructFunctionField::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_returns_calldata_array(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -StructFunctionField::StructFunctionField(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.StructFunctionField) -} -StructFunctionField::StructFunctionField(const StructFunctionField& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StructFunctionField* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.returns_calldata_array_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.returns_calldata_array_ = from._impl_.returns_calldata_array_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.StructFunctionField) -} - -inline void StructFunctionField::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.returns_calldata_array_){false} - }; -} - -StructFunctionField::~StructFunctionField() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.StructFunctionField) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StructFunctionField::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void StructFunctionField::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StructFunctionField::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.StructFunctionField) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.returns_calldata_array_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StructFunctionField::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool returns_calldata_array = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_returns_calldata_array(&has_bits); - _impl_.returns_calldata_array_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StructFunctionField::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.StructFunctionField) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool returns_calldata_array = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_returns_calldata_array(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.StructFunctionField) - return target; -} - -size_t StructFunctionField::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.StructFunctionField) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool returns_calldata_array = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructFunctionField::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StructFunctionField::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructFunctionField::GetClassData() const { return &_class_data_; } - - -void StructFunctionField::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.StructFunctionField) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_returns_calldata_array()) { - _this->_internal_set_returns_calldata_array(from._internal_returns_calldata_array()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StructFunctionField::CopyFrom(const StructFunctionField& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.StructFunctionField) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructFunctionField::IsInitialized() const { - return true; -} - -void StructFunctionField::InternalSwap(StructFunctionField* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.returns_calldata_array_, other->_impl_.returns_calldata_array_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StructFunctionField::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[73]); -} - -// =================================================================== - -class StructDef::_Internal { - public: -}; - -StructDef::StructDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.StructDef) -} -StructDef::StructDef(const StructDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StructDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.fields_){from._impl_.fields_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.StructDef) -} - -inline void StructDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.fields_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -StructDef::~StructDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.StructDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StructDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.fields_.~RepeatedPtrField(); -} - -void StructDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StructDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.StructDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.fields_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StructDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.test.sol2protofuzzer.StructField fields = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_fields(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StructDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.StructDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.StructField fields = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_fields_size()); i < n; i++) { - const auto& repfield = this->_internal_fields(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.StructDef) - return target; -} - -size_t StructDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.StructDef) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.StructField fields = 1; - total_size += 1UL * this->_internal_fields_size(); - for (const auto& msg : this->_impl_.fields_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StructDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructDef::GetClassData() const { return &_class_data_; } - - -void StructDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.StructDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.fields_.MergeFrom(from._impl_.fields_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StructDef::CopyFrom(const StructDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.StructDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructDef::IsInitialized() const { - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.fields_)) - return false; - return true; -} - -void StructDef::InternalSwap(StructDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.fields_.InternalSwap(&other->_impl_.fields_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StructDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[74]); -} - -// =================================================================== - -class EnumDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_num_members(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -EnumDef::EnumDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.EnumDef) -} -EnumDef::EnumDef(const EnumDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - EnumDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.num_members_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.num_members_ = from._impl_.num_members_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.EnumDef) -} - -inline void EnumDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.num_members_){0u} - }; -} - -EnumDef::~EnumDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.EnumDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void EnumDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void EnumDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void EnumDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.EnumDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.num_members_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* EnumDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 num_members = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_num_members(&has_bits); - _impl_.num_members_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* EnumDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.EnumDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 num_members = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_members(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.EnumDef) - return target; -} - -size_t EnumDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.EnumDef) - size_t total_size = 0; - - // required uint32 num_members = 1; - if (_internal_has_num_members()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_members()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EnumDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - EnumDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnumDef::GetClassData() const { return &_class_data_; } - - -void EnumDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.EnumDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_num_members()) { - _this->_internal_set_num_members(from._internal_num_members()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void EnumDef::CopyFrom(const EnumDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.EnumDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EnumDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void EnumDef::InternalSwap(EnumDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.num_members_, other->_impl_.num_members_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EnumDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[75]); -} - -// =================================================================== - -class EventDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_num_params(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -EventDef::EventDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.EventDef) -} -EventDef::EventDef(const EventDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - EventDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.indexed_params_){from._impl_.indexed_params_} - , decltype(_impl_.num_params_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.num_params_ = from._impl_.num_params_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.EventDef) -} - -inline void EventDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.indexed_params_){arena} - , decltype(_impl_.num_params_){0u} - }; -} - -EventDef::~EventDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.EventDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void EventDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.indexed_params_.~RepeatedField(); -} - -void EventDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void EventDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.EventDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.indexed_params_.Clear(); - _impl_.num_params_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* EventDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 num_params = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_num_params(&has_bits); - _impl_.num_params_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated bool indexed_params = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_indexed_params(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedBoolParser(_internal_mutable_indexed_params(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* EventDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.EventDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 num_params = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_params(), target); - } - - // repeated bool indexed_params = 2; - for (int i = 0, n = this->_internal_indexed_params_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_indexed_params(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.EventDef) - return target; -} - -size_t EventDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.EventDef) - size_t total_size = 0; - - // required uint32 num_params = 1; - if (_internal_has_num_params()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_params()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated bool indexed_params = 2; - { - unsigned int count = static_cast(this->_internal_indexed_params_size()); - size_t data_size = 1UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_indexed_params_size()); - total_size += data_size; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EventDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - EventDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EventDef::GetClassData() const { return &_class_data_; } - - -void EventDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.EventDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.indexed_params_.MergeFrom(from._impl_.indexed_params_); - if (from._internal_has_num_params()) { - _this->_internal_set_num_params(from._internal_num_params()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void EventDef::CopyFrom(const EventDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.EventDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EventDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void EventDef::InternalSwap(EventDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.indexed_params_.InternalSwap(&other->_impl_.indexed_params_); - swap(_impl_.num_params_, other->_impl_.num_params_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EventDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[76]); -} - -// =================================================================== - -class ErrorDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_num_params(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -ErrorDef::ErrorDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ErrorDef) -} -ErrorDef::ErrorDef(const ErrorDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ErrorDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.num_params_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.num_params_ = from._impl_.num_params_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ErrorDef) -} - -inline void ErrorDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.num_params_){0u} - }; -} - -ErrorDef::~ErrorDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ErrorDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ErrorDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ErrorDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ErrorDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ErrorDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.num_params_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ErrorDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 num_params = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_num_params(&has_bits); - _impl_.num_params_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ErrorDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ErrorDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 num_params = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_params(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ErrorDef) - return target; -} - -size_t ErrorDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ErrorDef) - size_t total_size = 0; - - // required uint32 num_params = 1; - if (_internal_has_num_params()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_params()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ErrorDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ErrorDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ErrorDef::GetClassData() const { return &_class_data_; } - - -void ErrorDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ErrorDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_num_params()) { - _this->_internal_set_num_params(from._internal_num_params()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ErrorDef::CopyFrom(const ErrorDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ErrorDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ErrorDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void ErrorDef::InternalSwap(ErrorDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.num_params_, other->_impl_.num_params_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ErrorDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[77]); -} - -// =================================================================== - -class ModifierDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Block& body(const ModifierDef* msg); - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Block& -ModifierDef::_Internal::body(const ModifierDef* msg) { - return *msg->_impl_.body_; -} -ModifierDef::ModifierDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ModifierDef) -} -ModifierDef::ModifierDef(const ModifierDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ModifierDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_body()) { - _this->_impl_.body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.body_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ModifierDef) -} - -inline void ModifierDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr} - }; -} - -ModifierDef::~ModifierDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ModifierDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ModifierDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.body_; -} - -void ModifierDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ModifierDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ModifierDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.body_ != nullptr); - _impl_.body_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ModifierDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Block body = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ModifierDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ModifierDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Block body = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::body(this), - _Internal::body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ModifierDef) - return target; -} - -size_t ModifierDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ModifierDef) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.Block body = 1; - if (_internal_has_body()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ModifierDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ModifierDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ModifierDef::GetClassData() const { return &_class_data_; } - - -void ModifierDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ModifierDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_body()) { - _this->_internal_mutable_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_body()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ModifierDef::CopyFrom(const ModifierDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ModifierDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ModifierDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_body()) { - if (!_impl_.body_->IsInitialized()) return false; - } - return true; -} - -void ModifierDef::InternalSwap(ModifierDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.body_, other->_impl_.body_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ModifierDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[78]); -} - -// =================================================================== - -class ReceiveDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Block& body(const ReceiveDef* msg); - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Block& -ReceiveDef::_Internal::body(const ReceiveDef* msg) { - return *msg->_impl_.body_; -} -ReceiveDef::ReceiveDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ReceiveDef) -} -ReceiveDef::ReceiveDef(const ReceiveDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ReceiveDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_body()) { - _this->_impl_.body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.body_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ReceiveDef) -} - -inline void ReceiveDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr} - }; -} - -ReceiveDef::~ReceiveDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ReceiveDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ReceiveDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.body_; -} - -void ReceiveDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ReceiveDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ReceiveDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.body_ != nullptr); - _impl_.body_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ReceiveDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Block body = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ReceiveDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ReceiveDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Block body = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::body(this), - _Internal::body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ReceiveDef) - return target; -} - -size_t ReceiveDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ReceiveDef) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.Block body = 1; - if (_internal_has_body()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReceiveDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ReceiveDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReceiveDef::GetClassData() const { return &_class_data_; } - - -void ReceiveDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ReceiveDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_body()) { - _this->_internal_mutable_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_body()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ReceiveDef::CopyFrom(const ReceiveDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ReceiveDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ReceiveDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_body()) { - if (!_impl_.body_->IsInitialized()) return false; - } - return true; -} - -void ReceiveDef::InternalSwap(ReceiveDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.body_, other->_impl_.body_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ReceiveDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[79]); -} - -// =================================================================== - -class FallbackDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Block& body(const FallbackDef* msg); - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Block& -FallbackDef::_Internal::body(const FallbackDef* msg) { - return *msg->_impl_.body_; -} -FallbackDef::FallbackDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.FallbackDef) -} -FallbackDef::FallbackDef(const FallbackDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - FallbackDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_body()) { - _this->_impl_.body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.body_); - } - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.FallbackDef) -} - -inline void FallbackDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr} - }; -} - -FallbackDef::~FallbackDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.FallbackDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void FallbackDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.body_; -} - -void FallbackDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void FallbackDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.FallbackDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.body_ != nullptr); - _impl_.body_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* FallbackDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Block body = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* FallbackDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.FallbackDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Block body = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::body(this), - _Internal::body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.FallbackDef) - return target; -} - -size_t FallbackDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.FallbackDef) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.Block body = 1; - if (_internal_has_body()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FallbackDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - FallbackDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FallbackDef::GetClassData() const { return &_class_data_; } - - -void FallbackDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.FallbackDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_body()) { - _this->_internal_mutable_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_body()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void FallbackDef::CopyFrom(const FallbackDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.FallbackDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FallbackDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_body()) { - if (!_impl_.body_->IsInitialized()) return false; - } - return true; -} - -void FallbackDef::InternalSwap(FallbackDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.body_, other->_impl_.body_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata FallbackDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[80]); -} - -// =================================================================== - -class FunctionDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_num_params(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_vis(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_mut(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::solidity::test::sol2protofuzzer::Block& body(const FunctionDef* msg); - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_modifier_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_share_name_with_prev(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_returns_two(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_non_virtual(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_override_base(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_returns_struct(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Block& -FunctionDef::_Internal::body(const FunctionDef* msg) { - return *msg->_impl_.body_; -} -FunctionDef::FunctionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.FunctionDef) -} -FunctionDef::FunctionDef(const FunctionDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - FunctionDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.param_types_){from._impl_.param_types_} - , decltype(_impl_.body_){nullptr} - , decltype(_impl_.num_params_){} - , decltype(_impl_.vis_){} - , decltype(_impl_.mut_){} - , decltype(_impl_.modifier_id_){} - , decltype(_impl_.share_name_with_prev_){} - , decltype(_impl_.returns_two_){} - , decltype(_impl_.non_virtual_){} - , decltype(_impl_.override_base_){} - , decltype(_impl_.returns_struct_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_body()) { - _this->_impl_.body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.body_); - } - ::memcpy(&_impl_.num_params_, &from._impl_.num_params_, - static_cast(reinterpret_cast(&_impl_.returns_struct_) - - reinterpret_cast(&_impl_.num_params_)) + sizeof(_impl_.returns_struct_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.FunctionDef) -} - -inline void FunctionDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.param_types_){arena} - , decltype(_impl_.body_){nullptr} - , decltype(_impl_.num_params_){0u} - , decltype(_impl_.vis_){0} - , decltype(_impl_.mut_){0} - , decltype(_impl_.modifier_id_){0u} - , decltype(_impl_.share_name_with_prev_){false} - , decltype(_impl_.returns_two_){false} - , decltype(_impl_.non_virtual_){false} - , decltype(_impl_.override_base_){false} - , decltype(_impl_.returns_struct_){false} - }; -} - -FunctionDef::~FunctionDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.FunctionDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void FunctionDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.param_types_.~RepeatedField(); - if (this != internal_default_instance()) delete _impl_.body_; -} - -void FunctionDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void FunctionDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.FunctionDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.param_types_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.body_ != nullptr); - _impl_.body_->Clear(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.num_params_, 0, static_cast( - reinterpret_cast(&_impl_.non_virtual_) - - reinterpret_cast(&_impl_.num_params_)) + sizeof(_impl_.non_virtual_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.override_base_, 0, static_cast( - reinterpret_cast(&_impl_.returns_struct_) - - reinterpret_cast(&_impl_.override_base_)) + sizeof(_impl_.returns_struct_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* FunctionDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 num_params = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_num_params(&has_bits); - _impl_.num_params_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Visibility vis = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::Visibility_IsValid(val))) { - _internal_set_vis(static_cast<::solidity::test::sol2protofuzzer::Visibility>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.StateMutability mut = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::StateMutability_IsValid(val))) { - _internal_set_mut(static_cast<::solidity::test::sol2protofuzzer::StateMutability>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Block body = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 modifier_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_modifier_id(&has_bits); - _impl_.modifier_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool share_name_with_prev = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_share_name_with_prev(&has_bits); - _impl_.share_name_with_prev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.ParamType param_types = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - ptr -= 1; - do { - ptr += 1; - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::ParamType_IsValid(val))) { - _internal_add_param_types(static_cast<::solidity::test::sol2protofuzzer::ParamType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(9, val, mutable_unknown_fields()); - } - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<72>(ptr)); - } else if (static_cast(tag) == 74) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(_internal_mutable_param_types(), ptr, ctx, ::solidity::test::sol2protofuzzer::ParamType_IsValid, &_internal_metadata_, 9); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool returns_two = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_returns_two(&has_bits); - _impl_.returns_two_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool non_virtual = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_non_virtual(&has_bits); - _impl_.non_virtual_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool override_base = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_override_base(&has_bits); - _impl_.override_base_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool returns_struct = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_returns_struct(&has_bits); - _impl_.returns_struct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* FunctionDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.FunctionDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 num_params = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_params(), target); - } - - // required .solidity.test.sol2protofuzzer.Visibility vis = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this->_internal_vis(), target); - } - - // required .solidity.test.sol2protofuzzer.StateMutability mut = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 4, this->_internal_mut(), target); - } - - // required .solidity.test.sol2protofuzzer.Block body = 6; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::body(this), - _Internal::body(this).GetCachedSize(), target, stream); - } - - // optional uint32 modifier_id = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_modifier_id(), target); - } - - // optional bool share_name_with_prev = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_share_name_with_prev(), target); - } - - // repeated .solidity.test.sol2protofuzzer.ParamType param_types = 9; - for (int i = 0, n = this->_internal_param_types_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 9, this->_internal_param_types(i), target); - } - - // optional bool returns_two = 10; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_returns_two(), target); - } - - // optional bool non_virtual = 11; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_non_virtual(), target); - } - - // optional bool override_base = 12; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_override_base(), target); - } - - // optional bool returns_struct = 13; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(13, this->_internal_returns_struct(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.FunctionDef) - return target; -} - -size_t FunctionDef::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.FunctionDef) - size_t total_size = 0; - - if (_internal_has_body()) { - // required .solidity.test.sol2protofuzzer.Block body = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - } - - if (_internal_has_num_params()) { - // required uint32 num_params = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_params()); - } - - if (_internal_has_vis()) { - // required .solidity.test.sol2protofuzzer.Visibility vis = 3; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_vis()); - } - - if (_internal_has_mut()) { - // required .solidity.test.sol2protofuzzer.StateMutability mut = 4; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_mut()); - } - - return total_size; -} -size_t FunctionDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.FunctionDef) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Block body = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - - // required uint32 num_params = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_params()); - - // required .solidity.test.sol2protofuzzer.Visibility vis = 3; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_vis()); - - // required .solidity.test.sol2protofuzzer.StateMutability mut = 4; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_mut()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.ParamType param_types = 9; - { - size_t data_size = 0; - unsigned int count = static_cast(this->_internal_param_types_size());for (unsigned int i = 0; i < count; i++) { - data_size += ::_pbi::WireFormatLite::EnumSize( - this->_internal_param_types(static_cast(i))); - } - total_size += (1UL * count) + data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000f0u) { - // optional uint32 modifier_id = 7; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_modifier_id()); - } - - // optional bool share_name_with_prev = 8; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional bool returns_two = 10; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional bool non_virtual = 11; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 1; - } - - } - if (cached_has_bits & 0x00000300u) { - // optional bool override_base = 12; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 1; - } - - // optional bool returns_struct = 13; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FunctionDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - FunctionDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FunctionDef::GetClassData() const { return &_class_data_; } - - -void FunctionDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.FunctionDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.param_types_.MergeFrom(from._impl_.param_types_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_body()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.num_params_ = from._impl_.num_params_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.vis_ = from._impl_.vis_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.mut_ = from._impl_.mut_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.modifier_id_ = from._impl_.modifier_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.share_name_with_prev_ = from._impl_.share_name_with_prev_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.returns_two_ = from._impl_.returns_two_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.non_virtual_ = from._impl_.non_virtual_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.override_base_ = from._impl_.override_base_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.returns_struct_ = from._impl_.returns_struct_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void FunctionDef::CopyFrom(const FunctionDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.FunctionDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FunctionDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_body()) { - if (!_impl_.body_->IsInitialized()) return false; - } - return true; -} - -void FunctionDef::InternalSwap(FunctionDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.param_types_.InternalSwap(&other->_impl_.param_types_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(FunctionDef, _impl_.returns_struct_) - + sizeof(FunctionDef::_impl_.returns_struct_) - - PROTOBUF_FIELD_OFFSET(FunctionDef, _impl_.body_)>( - reinterpret_cast(&_impl_.body_), - reinterpret_cast(&other->_impl_.body_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata FunctionDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[81]); -} - -// =================================================================== - -class ConstructorDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::Block& body(const ConstructorDef* msg); - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_payable(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_has_param(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Block& -ConstructorDef::_Internal::body(const ConstructorDef* msg) { - return *msg->_impl_.body_; -} -ConstructorDef::ConstructorDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ConstructorDef) -} -ConstructorDef::ConstructorDef(const ConstructorDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ConstructorDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr} - , decltype(_impl_.payable_){} - , decltype(_impl_.has_param_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_body()) { - _this->_impl_.body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.body_); - } - ::memcpy(&_impl_.payable_, &from._impl_.payable_, - static_cast(reinterpret_cast(&_impl_.has_param_) - - reinterpret_cast(&_impl_.payable_)) + sizeof(_impl_.has_param_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ConstructorDef) -} - -inline void ConstructorDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr} - , decltype(_impl_.payable_){false} - , decltype(_impl_.has_param_){false} - }; -} - -ConstructorDef::~ConstructorDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ConstructorDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ConstructorDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.body_; -} - -void ConstructorDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ConstructorDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ConstructorDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.body_ != nullptr); - _impl_.body_->Clear(); - } - ::memset(&_impl_.payable_, 0, static_cast( - reinterpret_cast(&_impl_.has_param_) - - reinterpret_cast(&_impl_.payable_)) + sizeof(_impl_.has_param_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ConstructorDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.Block body = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bool payable = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_payable(&has_bits); - _impl_.payable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool has_param = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_has_param(&has_bits); - _impl_.has_param_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ConstructorDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ConstructorDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.Block body = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::body(this), - _Internal::body(this).GetCachedSize(), target, stream); - } - - // required bool payable = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_payable(), target); - } - - // optional bool has_param = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_has_param(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ConstructorDef) - return target; -} - -size_t ConstructorDef::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.ConstructorDef) - size_t total_size = 0; - - if (_internal_has_body()) { - // required .solidity.test.sol2protofuzzer.Block body = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - } - - if (_internal_has_payable()) { - // required bool payable = 2; - total_size += 1 + 1; - } - - return total_size; -} -size_t ConstructorDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ConstructorDef) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Block body = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - - // required bool payable = 2; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool has_param = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ConstructorDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ConstructorDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ConstructorDef::GetClassData() const { return &_class_data_; } - - -void ConstructorDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ConstructorDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_body()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.payable_ = from._impl_.payable_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.has_param_ = from._impl_.has_param_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ConstructorDef::CopyFrom(const ConstructorDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ConstructorDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ConstructorDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_body()) { - if (!_impl_.body_->IsInitialized()) return false; - } - return true; -} - -void ConstructorDef::InternalSwap(ConstructorDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ConstructorDef, _impl_.has_param_) - + sizeof(ConstructorDef::_impl_.has_param_) - - PROTOBUF_FIELD_OFFSET(ConstructorDef, _impl_.body_)>( - reinterpret_cast(&_impl_.body_), - reinterpret_cast(&other->_impl_.body_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ConstructorDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[82]); -} - -// =================================================================== - -class StateVarDecl::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::sol2protofuzzer::TypeName& type(const StateVarDecl* msg); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_is_transient(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_is_constant(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_is_immutable(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::TypeName& -StateVarDecl::_Internal::type(const StateVarDecl* msg) { - return *msg->_impl_.type_; -} -StateVarDecl::StateVarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.StateVarDecl) -} -StateVarDecl::StateVarDecl(const StateVarDecl& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StateVarDecl* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){nullptr} - , decltype(_impl_.is_transient_){} - , decltype(_impl_.is_constant_){} - , decltype(_impl_.is_immutable_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_type()) { - _this->_impl_.type_ = new ::solidity::test::sol2protofuzzer::TypeName(*from._impl_.type_); - } - ::memcpy(&_impl_.is_transient_, &from._impl_.is_transient_, - static_cast(reinterpret_cast(&_impl_.is_immutable_) - - reinterpret_cast(&_impl_.is_transient_)) + sizeof(_impl_.is_immutable_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.StateVarDecl) -} - -inline void StateVarDecl::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){nullptr} - , decltype(_impl_.is_transient_){false} - , decltype(_impl_.is_constant_){false} - , decltype(_impl_.is_immutable_){false} - }; -} - -StateVarDecl::~StateVarDecl() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.StateVarDecl) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StateVarDecl::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.type_; -} - -void StateVarDecl::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StateVarDecl::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.StateVarDecl) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.type_ != nullptr); - _impl_.type_->Clear(); - } - ::memset(&_impl_.is_transient_, 0, static_cast( - reinterpret_cast(&_impl_.is_immutable_) - - reinterpret_cast(&_impl_.is_transient_)) + sizeof(_impl_.is_immutable_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StateVarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.TypeName type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_type(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_transient = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_is_transient(&has_bits); - _impl_.is_transient_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_constant = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_is_constant(&has_bits); - _impl_.is_constant_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_immutable = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_is_immutable(&has_bits); - _impl_.is_immutable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StateVarDecl::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.StateVarDecl) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.TypeName type = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::type(this), - _Internal::type(this).GetCachedSize(), target, stream); - } - - // optional bool is_transient = 5; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_is_transient(), target); - } - - // optional bool is_constant = 6; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_is_constant(), target); - } - - // optional bool is_immutable = 7; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_is_immutable(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.StateVarDecl) - return target; -} - -size_t StateVarDecl::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.StateVarDecl) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.TypeName type = 1; - if (_internal_has_type()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.type_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000eu) { - // optional bool is_transient = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional bool is_constant = 6; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool is_immutable = 7; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StateVarDecl::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StateVarDecl::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StateVarDecl::GetClassData() const { return &_class_data_; } - - -void StateVarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.StateVarDecl) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_type()->::solidity::test::sol2protofuzzer::TypeName::MergeFrom( - from._internal_type()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.is_transient_ = from._impl_.is_transient_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.is_constant_ = from._impl_.is_constant_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.is_immutable_ = from._impl_.is_immutable_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StateVarDecl::CopyFrom(const StateVarDecl& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.StateVarDecl) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StateVarDecl::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_type()) { - if (!_impl_.type_->IsInitialized()) return false; - } - return true; -} - -void StateVarDecl::InternalSwap(StateVarDecl* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(StateVarDecl, _impl_.is_immutable_) - + sizeof(StateVarDecl::_impl_.is_immutable_) - - PROTOBUF_FIELD_OFFSET(StateVarDecl, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StateVarDecl::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[83]); -} - -// =================================================================== - -class UsingForBinding::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_function_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_operator_kind(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -UsingForBinding::UsingForBinding(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.UsingForBinding) -} -UsingForBinding::UsingForBinding(const UsingForBinding& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - UsingForBinding* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.function_idx_){} - , decltype(_impl_.operator_kind_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.function_idx_, &from._impl_.function_idx_, - static_cast(reinterpret_cast(&_impl_.operator_kind_) - - reinterpret_cast(&_impl_.function_idx_)) + sizeof(_impl_.operator_kind_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.UsingForBinding) -} - -inline void UsingForBinding::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.function_idx_){0u} - , decltype(_impl_.operator_kind_){0} - }; -} - -UsingForBinding::~UsingForBinding() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.UsingForBinding) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void UsingForBinding::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void UsingForBinding::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void UsingForBinding::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.UsingForBinding) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.function_idx_, 0, static_cast( - reinterpret_cast(&_impl_.operator_kind_) - - reinterpret_cast(&_impl_.function_idx_)) + sizeof(_impl_.operator_kind_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* UsingForBinding::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 function_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_function_idx(&has_bits); - _impl_.function_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .solidity.test.sol2protofuzzer.UsingForBinding.OperatorKind operator_kind = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind_IsValid(val))) { - _internal_set_operator_kind(static_cast<::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* UsingForBinding::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.UsingForBinding) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 function_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_function_idx(), target); - } - - // optional .solidity.test.sol2protofuzzer.UsingForBinding.OperatorKind operator_kind = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_operator_kind(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.UsingForBinding) - return target; -} - -size_t UsingForBinding::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.UsingForBinding) - size_t total_size = 0; - - // required uint32 function_idx = 1; - if (_internal_has_function_idx()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_function_idx()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .solidity.test.sol2protofuzzer.UsingForBinding.OperatorKind operator_kind = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_operator_kind()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UsingForBinding::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - UsingForBinding::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UsingForBinding::GetClassData() const { return &_class_data_; } - - -void UsingForBinding::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.UsingForBinding) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.function_idx_ = from._impl_.function_idx_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.operator_kind_ = from._impl_.operator_kind_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void UsingForBinding::CopyFrom(const UsingForBinding& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.UsingForBinding) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UsingForBinding::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void UsingForBinding::InternalSwap(UsingForBinding* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(UsingForBinding, _impl_.operator_kind_) - + sizeof(UsingForBinding::_impl_.operator_kind_) - - PROTOBUF_FIELD_OFFSET(UsingForBinding, _impl_.function_idx_)>( - reinterpret_cast(&_impl_.function_idx_), - reinterpret_cast(&other->_impl_.function_idx_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata UsingForBinding::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[84]); -} - -// =================================================================== - -class UsingForDirective::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_target_type_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_is_global(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_allow_invalid_external(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_allow_self_referential(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -UsingForDirective::UsingForDirective(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.UsingForDirective) -} -UsingForDirective::UsingForDirective(const UsingForDirective& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - UsingForDirective* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.bindings_){from._impl_.bindings_} - , decltype(_impl_.target_type_idx_){} - , decltype(_impl_.is_global_){} - , decltype(_impl_.allow_invalid_external_){} - , decltype(_impl_.allow_self_referential_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.target_type_idx_, &from._impl_.target_type_idx_, - static_cast(reinterpret_cast(&_impl_.allow_self_referential_) - - reinterpret_cast(&_impl_.target_type_idx_)) + sizeof(_impl_.allow_self_referential_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.UsingForDirective) -} - -inline void UsingForDirective::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.bindings_){arena} - , decltype(_impl_.target_type_idx_){0u} - , decltype(_impl_.is_global_){false} - , decltype(_impl_.allow_invalid_external_){false} - , decltype(_impl_.allow_self_referential_){false} - }; -} - -UsingForDirective::~UsingForDirective() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.UsingForDirective) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void UsingForDirective::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.bindings_.~RepeatedPtrField(); -} - -void UsingForDirective::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void UsingForDirective::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.UsingForDirective) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.bindings_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.target_type_idx_, 0, static_cast( - reinterpret_cast(&_impl_.allow_self_referential_) - - reinterpret_cast(&_impl_.target_type_idx_)) + sizeof(_impl_.allow_self_referential_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* UsingForDirective::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 target_type_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_target_type_idx(&has_bits); - _impl_.target_type_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.UsingForBinding bindings = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_bindings(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional bool is_global = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_is_global(&has_bits); - _impl_.is_global_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool allow_invalid_external = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_allow_invalid_external(&has_bits); - _impl_.allow_invalid_external_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool allow_self_referential = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_allow_self_referential(&has_bits); - _impl_.allow_self_referential_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* UsingForDirective::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.UsingForDirective) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 target_type_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_target_type_idx(), target); - } - - // repeated .solidity.test.sol2protofuzzer.UsingForBinding bindings = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_bindings_size()); i < n; i++) { - const auto& repfield = this->_internal_bindings(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bool is_global = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_global(), target); - } - - // optional bool allow_invalid_external = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_allow_invalid_external(), target); - } - - // optional bool allow_self_referential = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_allow_self_referential(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.UsingForDirective) - return target; -} - -size_t UsingForDirective::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.UsingForDirective) - size_t total_size = 0; - - // required uint32 target_type_idx = 1; - if (_internal_has_target_type_idx()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_target_type_idx()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.UsingForBinding bindings = 2; - total_size += 1UL * this->_internal_bindings_size(); - for (const auto& msg : this->_impl_.bindings_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000eu) { - // optional bool is_global = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional bool allow_invalid_external = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool allow_self_referential = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UsingForDirective::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - UsingForDirective::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UsingForDirective::GetClassData() const { return &_class_data_; } - - -void UsingForDirective::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.UsingForDirective) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.bindings_.MergeFrom(from._impl_.bindings_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.target_type_idx_ = from._impl_.target_type_idx_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.is_global_ = from._impl_.is_global_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.allow_invalid_external_ = from._impl_.allow_invalid_external_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.allow_self_referential_ = from._impl_.allow_self_referential_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void UsingForDirective::CopyFrom(const UsingForDirective& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.UsingForDirective) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UsingForDirective::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.bindings_)) - return false; - return true; -} - -void UsingForDirective::InternalSwap(UsingForDirective* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.bindings_.InternalSwap(&other->_impl_.bindings_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(UsingForDirective, _impl_.allow_self_referential_) - + sizeof(UsingForDirective::_impl_.allow_self_referential_) - - PROTOBUF_FIELD_OFFSET(UsingForDirective, _impl_.target_type_idx_)>( - reinterpret_cast(&_impl_.target_type_idx_), - reinterpret_cast(&other->_impl_.target_type_idx_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata UsingForDirective::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[85]); -} - -// =================================================================== - -class ContractDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_kind(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::solidity::test::sol2protofuzzer::ConstructorDef& constructor(const ContractDef* msg); - static void set_has_constructor(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::test::sol2protofuzzer::ReceiveDef& receive(const ContractDef* msg); - static void set_has_receive(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::FallbackDef& fallback_func(const ContractDef* msg); - static void set_has_fallback_func(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000008) ^ 0x00000008) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::ConstructorDef& -ContractDef::_Internal::constructor(const ContractDef* msg) { - return *msg->_impl_.constructor_; -} -const ::solidity::test::sol2protofuzzer::ReceiveDef& -ContractDef::_Internal::receive(const ContractDef* msg) { - return *msg->_impl_.receive_; -} -const ::solidity::test::sol2protofuzzer::FallbackDef& -ContractDef::_Internal::fallback_func(const ContractDef* msg) { - return *msg->_impl_.fallback_func_; -} -ContractDef::ContractDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.ContractDef) -} -ContractDef::ContractDef(const ContractDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ContractDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.bases_){from._impl_.bases_} - , decltype(_impl_.structs_){from._impl_.structs_} - , decltype(_impl_.enums_){from._impl_.enums_} - , decltype(_impl_.state_vars_){from._impl_.state_vars_} - , decltype(_impl_.functions_){from._impl_.functions_} - , decltype(_impl_.events_){from._impl_.events_} - , decltype(_impl_.errors_){from._impl_.errors_} - , decltype(_impl_.modifiers_){from._impl_.modifiers_} - , decltype(_impl_.using_for_){from._impl_.using_for_} - , decltype(_impl_.constructor_){nullptr} - , decltype(_impl_.receive_){nullptr} - , decltype(_impl_.fallback_func_){nullptr} - , decltype(_impl_.kind_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_constructor()) { - _this->_impl_.constructor_ = new ::solidity::test::sol2protofuzzer::ConstructorDef(*from._impl_.constructor_); - } - if (from._internal_has_receive()) { - _this->_impl_.receive_ = new ::solidity::test::sol2protofuzzer::ReceiveDef(*from._impl_.receive_); - } - if (from._internal_has_fallback_func()) { - _this->_impl_.fallback_func_ = new ::solidity::test::sol2protofuzzer::FallbackDef(*from._impl_.fallback_func_); - } - _this->_impl_.kind_ = from._impl_.kind_; - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.ContractDef) -} - -inline void ContractDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.bases_){arena} - , decltype(_impl_.structs_){arena} - , decltype(_impl_.enums_){arena} - , decltype(_impl_.state_vars_){arena} - , decltype(_impl_.functions_){arena} - , decltype(_impl_.events_){arena} - , decltype(_impl_.errors_){arena} - , decltype(_impl_.modifiers_){arena} - , decltype(_impl_.using_for_){arena} - , decltype(_impl_.constructor_){nullptr} - , decltype(_impl_.receive_){nullptr} - , decltype(_impl_.fallback_func_){nullptr} - , decltype(_impl_.kind_){0} - }; -} - -ContractDef::~ContractDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.ContractDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ContractDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.bases_.~RepeatedField(); - _impl_.structs_.~RepeatedPtrField(); - _impl_.enums_.~RepeatedPtrField(); - _impl_.state_vars_.~RepeatedPtrField(); - _impl_.functions_.~RepeatedPtrField(); - _impl_.events_.~RepeatedPtrField(); - _impl_.errors_.~RepeatedPtrField(); - _impl_.modifiers_.~RepeatedPtrField(); - _impl_.using_for_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.constructor_; - if (this != internal_default_instance()) delete _impl_.receive_; - if (this != internal_default_instance()) delete _impl_.fallback_func_; -} - -void ContractDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ContractDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.ContractDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.bases_.Clear(); - _impl_.structs_.Clear(); - _impl_.enums_.Clear(); - _impl_.state_vars_.Clear(); - _impl_.functions_.Clear(); - _impl_.events_.Clear(); - _impl_.errors_.Clear(); - _impl_.modifiers_.Clear(); - _impl_.using_for_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.constructor_ != nullptr); - _impl_.constructor_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.receive_ != nullptr); - _impl_.receive_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.fallback_func_ != nullptr); - _impl_.fallback_func_->Clear(); - } - } - _impl_.kind_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ContractDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.sol2protofuzzer.ContractDef.Kind kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::sol2protofuzzer::ContractDef_Kind_IsValid(val))) { - _internal_set_kind(static_cast<::solidity::test::sol2protofuzzer::ContractDef_Kind>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // repeated uint32 bases = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_bases(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_bases(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.StructDef structs = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_structs(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.EnumDef enums = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_enums(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.StateVarDecl state_vars = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_state_vars(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.FunctionDef functions = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_functions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.EventDef events = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_events(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.ErrorDef errors = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_errors(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); - } else - goto handle_unusual; - continue; - // optional .solidity.test.sol2protofuzzer.ConstructorDef constructor = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_constructor(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.ModifierDef modifiers = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_modifiers(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr)); - } else - goto handle_unusual; - continue; - // optional .solidity.test.sol2protofuzzer.ReceiveDef receive = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ctx->ParseMessage(_internal_mutable_receive(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .solidity.test.sol2protofuzzer.FallbackDef fallback_func = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_fallback_func(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.UsingForDirective using_for = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_using_for(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ContractDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.ContractDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.sol2protofuzzer.ContractDef.Kind kind = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_kind(), target); - } - - // repeated uint32 bases = 2; - for (int i = 0, n = this->_internal_bases_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_bases(i), target); - } - - // repeated .solidity.test.sol2protofuzzer.StructDef structs = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_structs_size()); i < n; i++) { - const auto& repfield = this->_internal_structs(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .solidity.test.sol2protofuzzer.EnumDef enums = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_enums_size()); i < n; i++) { - const auto& repfield = this->_internal_enums(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .solidity.test.sol2protofuzzer.StateVarDecl state_vars = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_state_vars_size()); i < n; i++) { - const auto& repfield = this->_internal_state_vars(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .solidity.test.sol2protofuzzer.FunctionDef functions = 6; - for (unsigned i = 0, - n = static_cast(this->_internal_functions_size()); i < n; i++) { - const auto& repfield = this->_internal_functions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .solidity.test.sol2protofuzzer.EventDef events = 7; - for (unsigned i = 0, - n = static_cast(this->_internal_events_size()); i < n; i++) { - const auto& repfield = this->_internal_events(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .solidity.test.sol2protofuzzer.ErrorDef errors = 8; - for (unsigned i = 0, - n = static_cast(this->_internal_errors_size()); i < n; i++) { - const auto& repfield = this->_internal_errors(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional .solidity.test.sol2protofuzzer.ConstructorDef constructor = 9; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::constructor(this), - _Internal::constructor(this).GetCachedSize(), target, stream); - } - - // repeated .solidity.test.sol2protofuzzer.ModifierDef modifiers = 10; - for (unsigned i = 0, - n = static_cast(this->_internal_modifiers_size()); i < n; i++) { - const auto& repfield = this->_internal_modifiers(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional .solidity.test.sol2protofuzzer.ReceiveDef receive = 11; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, _Internal::receive(this), - _Internal::receive(this).GetCachedSize(), target, stream); - } - - // optional .solidity.test.sol2protofuzzer.FallbackDef fallback_func = 12; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::fallback_func(this), - _Internal::fallback_func(this).GetCachedSize(), target, stream); - } - - // repeated .solidity.test.sol2protofuzzer.UsingForDirective using_for = 13; - for (unsigned i = 0, - n = static_cast(this->_internal_using_for_size()); i < n; i++) { - const auto& repfield = this->_internal_using_for(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.ContractDef) - return target; -} - -size_t ContractDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.ContractDef) - size_t total_size = 0; - - // required .solidity.test.sol2protofuzzer.ContractDef.Kind kind = 1; - if (_internal_has_kind()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_kind()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 bases = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.bases_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_bases_size()); - total_size += data_size; - } - - // repeated .solidity.test.sol2protofuzzer.StructDef structs = 3; - total_size += 1UL * this->_internal_structs_size(); - for (const auto& msg : this->_impl_.structs_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.test.sol2protofuzzer.EnumDef enums = 4; - total_size += 1UL * this->_internal_enums_size(); - for (const auto& msg : this->_impl_.enums_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.test.sol2protofuzzer.StateVarDecl state_vars = 5; - total_size += 1UL * this->_internal_state_vars_size(); - for (const auto& msg : this->_impl_.state_vars_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.test.sol2protofuzzer.FunctionDef functions = 6; - total_size += 1UL * this->_internal_functions_size(); - for (const auto& msg : this->_impl_.functions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.test.sol2protofuzzer.EventDef events = 7; - total_size += 1UL * this->_internal_events_size(); - for (const auto& msg : this->_impl_.events_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.test.sol2protofuzzer.ErrorDef errors = 8; - total_size += 1UL * this->_internal_errors_size(); - for (const auto& msg : this->_impl_.errors_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.test.sol2protofuzzer.ModifierDef modifiers = 10; - total_size += 1UL * this->_internal_modifiers_size(); - for (const auto& msg : this->_impl_.modifiers_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.test.sol2protofuzzer.UsingForDirective using_for = 13; - total_size += 1UL * this->_internal_using_for_size(); - for (const auto& msg : this->_impl_.using_for_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .solidity.test.sol2protofuzzer.ConstructorDef constructor = 9; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.constructor_); - } - - // optional .solidity.test.sol2protofuzzer.ReceiveDef receive = 11; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.receive_); - } - - // optional .solidity.test.sol2protofuzzer.FallbackDef fallback_func = 12; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.fallback_func_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContractDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ContractDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContractDef::GetClassData() const { return &_class_data_; } - - -void ContractDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.ContractDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.bases_.MergeFrom(from._impl_.bases_); - _this->_impl_.structs_.MergeFrom(from._impl_.structs_); - _this->_impl_.enums_.MergeFrom(from._impl_.enums_); - _this->_impl_.state_vars_.MergeFrom(from._impl_.state_vars_); - _this->_impl_.functions_.MergeFrom(from._impl_.functions_); - _this->_impl_.events_.MergeFrom(from._impl_.events_); - _this->_impl_.errors_.MergeFrom(from._impl_.errors_); - _this->_impl_.modifiers_.MergeFrom(from._impl_.modifiers_); - _this->_impl_.using_for_.MergeFrom(from._impl_.using_for_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_constructor()->::solidity::test::sol2protofuzzer::ConstructorDef::MergeFrom( - from._internal_constructor()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_receive()->::solidity::test::sol2protofuzzer::ReceiveDef::MergeFrom( - from._internal_receive()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_fallback_func()->::solidity::test::sol2protofuzzer::FallbackDef::MergeFrom( - from._internal_fallback_func()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.kind_ = from._impl_.kind_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ContractDef::CopyFrom(const ContractDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.ContractDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ContractDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.structs_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.enums_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.state_vars_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.functions_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.events_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.errors_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.modifiers_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.using_for_)) - return false; - if (_internal_has_constructor()) { - if (!_impl_.constructor_->IsInitialized()) return false; - } - if (_internal_has_receive()) { - if (!_impl_.receive_->IsInitialized()) return false; - } - if (_internal_has_fallback_func()) { - if (!_impl_.fallback_func_->IsInitialized()) return false; - } - return true; -} - -void ContractDef::InternalSwap(ContractDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.bases_.InternalSwap(&other->_impl_.bases_); - _impl_.structs_.InternalSwap(&other->_impl_.structs_); - _impl_.enums_.InternalSwap(&other->_impl_.enums_); - _impl_.state_vars_.InternalSwap(&other->_impl_.state_vars_); - _impl_.functions_.InternalSwap(&other->_impl_.functions_); - _impl_.events_.InternalSwap(&other->_impl_.events_); - _impl_.errors_.InternalSwap(&other->_impl_.errors_); - _impl_.modifiers_.InternalSwap(&other->_impl_.modifiers_); - _impl_.using_for_.InternalSwap(&other->_impl_.using_for_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ContractDef, _impl_.kind_) - + sizeof(ContractDef::_impl_.kind_) - - PROTOBUF_FIELD_OFFSET(ContractDef, _impl_.constructor_)>( - reinterpret_cast(&_impl_.constructor_), - reinterpret_cast(&other->_impl_.constructor_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ContractDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[86]); -} - -// =================================================================== - -class FreeFunctionDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_num_params(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::test::sol2protofuzzer::Block& body(const FreeFunctionDef* msg); - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_emit_external(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_use_udvt_sig(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::sol2protofuzzer::Block& -FreeFunctionDef::_Internal::body(const FreeFunctionDef* msg) { - return *msg->_impl_.body_; -} -FreeFunctionDef::FreeFunctionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.FreeFunctionDef) -} -FreeFunctionDef::FreeFunctionDef(const FreeFunctionDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - FreeFunctionDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr} - , decltype(_impl_.num_params_){} - , decltype(_impl_.emit_external_){} - , decltype(_impl_.use_udvt_sig_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_body()) { - _this->_impl_.body_ = new ::solidity::test::sol2protofuzzer::Block(*from._impl_.body_); - } - ::memcpy(&_impl_.num_params_, &from._impl_.num_params_, - static_cast(reinterpret_cast(&_impl_.use_udvt_sig_) - - reinterpret_cast(&_impl_.num_params_)) + sizeof(_impl_.use_udvt_sig_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.FreeFunctionDef) -} - -inline void FreeFunctionDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){nullptr} - , decltype(_impl_.num_params_){0u} - , decltype(_impl_.emit_external_){false} - , decltype(_impl_.use_udvt_sig_){false} - }; -} - -FreeFunctionDef::~FreeFunctionDef() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.FreeFunctionDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void FreeFunctionDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.body_; -} - -void FreeFunctionDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void FreeFunctionDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.FreeFunctionDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.body_ != nullptr); - _impl_.body_->Clear(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.num_params_, 0, static_cast( - reinterpret_cast(&_impl_.use_udvt_sig_) - - reinterpret_cast(&_impl_.num_params_)) + sizeof(_impl_.use_udvt_sig_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* FreeFunctionDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 num_params = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_num_params(&has_bits); - _impl_.num_params_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.test.sol2protofuzzer.Block body = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool emit_external = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_emit_external(&has_bits); - _impl_.emit_external_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool use_udvt_sig = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_use_udvt_sig(&has_bits); - _impl_.use_udvt_sig_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* FreeFunctionDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.FreeFunctionDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 num_params = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_params(), target); - } - - // required .solidity.test.sol2protofuzzer.Block body = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::body(this), - _Internal::body(this).GetCachedSize(), target, stream); - } - - // optional bool emit_external = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_emit_external(), target); - } - - // optional bool use_udvt_sig = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_use_udvt_sig(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.FreeFunctionDef) - return target; -} - -size_t FreeFunctionDef::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.FreeFunctionDef) - size_t total_size = 0; - - if (_internal_has_body()) { - // required .solidity.test.sol2protofuzzer.Block body = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - } - - if (_internal_has_num_params()) { - // required uint32 num_params = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_params()); - } - - return total_size; -} -size_t FreeFunctionDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.FreeFunctionDef) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.sol2protofuzzer.Block body = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.body_); - - // required uint32 num_params = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_params()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000cu) { - // optional bool emit_external = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool use_udvt_sig = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FreeFunctionDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - FreeFunctionDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FreeFunctionDef::GetClassData() const { return &_class_data_; } - - -void FreeFunctionDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.FreeFunctionDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_body()->::solidity::test::sol2protofuzzer::Block::MergeFrom( - from._internal_body()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.num_params_ = from._impl_.num_params_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.emit_external_ = from._impl_.emit_external_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.use_udvt_sig_ = from._impl_.use_udvt_sig_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void FreeFunctionDef::CopyFrom(const FreeFunctionDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.FreeFunctionDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FreeFunctionDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_body()) { - if (!_impl_.body_->IsInitialized()) return false; - } - return true; -} - -void FreeFunctionDef::InternalSwap(FreeFunctionDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(FreeFunctionDef, _impl_.use_udvt_sig_) - + sizeof(FreeFunctionDef::_impl_.use_udvt_sig_) - - PROTOBUF_FIELD_OFFSET(FreeFunctionDef, _impl_.body_)>( - reinterpret_cast(&_impl_.body_), - reinterpret_cast(&other->_impl_.body_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata FreeFunctionDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[87]); -} - -// =================================================================== - -class Program::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_seed(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_via_ir(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_optimize(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_calldata_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_create2_salt(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_gen_udvt(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000001c) ^ 0x0000001c) != 0; - } -}; - -Program::Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.sol2protofuzzer.Program) -} -Program::Program(const Program& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Program* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.contracts_){from._impl_.contracts_} - , decltype(_impl_.free_functions_){from._impl_.free_functions_} - , decltype(_impl_.optimiser_seq_){from._impl_.optimiser_seq_} - , decltype(_impl_.optimiser_cleanup_seq_){from._impl_.optimiser_cleanup_seq_} - , decltype(_impl_.file_using_for_){from._impl_.file_using_for_} - , decltype(_impl_.calldata_data_){} - , decltype(_impl_.create2_salt_){} - , decltype(_impl_.seed_){} - , decltype(_impl_.via_ir_){} - , decltype(_impl_.optimize_){} - , decltype(_impl_.gen_udvt_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.calldata_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.calldata_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_calldata_data()) { - _this->_impl_.calldata_data_.Set(from._internal_calldata_data(), - _this->GetArenaForAllocation()); - } - _impl_.create2_salt_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.create2_salt_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_create2_salt()) { - _this->_impl_.create2_salt_.Set(from._internal_create2_salt(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.seed_, &from._impl_.seed_, - static_cast(reinterpret_cast(&_impl_.gen_udvt_) - - reinterpret_cast(&_impl_.seed_)) + sizeof(_impl_.gen_udvt_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.sol2protofuzzer.Program) -} - -inline void Program::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.contracts_){arena} - , decltype(_impl_.free_functions_){arena} - , decltype(_impl_.optimiser_seq_){arena} - , decltype(_impl_.optimiser_cleanup_seq_){arena} - , decltype(_impl_.file_using_for_){arena} - , decltype(_impl_.calldata_data_){} - , decltype(_impl_.create2_salt_){} - , decltype(_impl_.seed_){uint64_t{0u}} - , decltype(_impl_.via_ir_){false} - , decltype(_impl_.optimize_){false} - , decltype(_impl_.gen_udvt_){false} - }; - _impl_.calldata_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.calldata_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.create2_salt_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.create2_salt_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -Program::~Program() { - // @@protoc_insertion_point(destructor:solidity.test.sol2protofuzzer.Program) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Program::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.contracts_.~RepeatedPtrField(); - _impl_.free_functions_.~RepeatedPtrField(); - _impl_.optimiser_seq_.~RepeatedField(); - _impl_.optimiser_cleanup_seq_.~RepeatedField(); - _impl_.file_using_for_.~RepeatedPtrField(); - _impl_.calldata_data_.Destroy(); - _impl_.create2_salt_.Destroy(); -} - -void Program::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Program::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.sol2protofuzzer.Program) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.contracts_.Clear(); - _impl_.free_functions_.Clear(); - _impl_.optimiser_seq_.Clear(); - _impl_.optimiser_cleanup_seq_.Clear(); - _impl_.file_using_for_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.calldata_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.create2_salt_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.seed_, 0, static_cast( - reinterpret_cast(&_impl_.gen_udvt_) - - reinterpret_cast(&_impl_.seed_)) + sizeof(_impl_.gen_udvt_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Program::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.test.sol2protofuzzer.ContractDef contracts = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_contracts(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // required uint64 seed = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_seed(&has_bits); - _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bool via_ir = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_via_ir(&has_bits); - _impl_.via_ir_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bool optimize = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_optimize(&has_bits); - _impl_.optimize_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes calldata_data = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_calldata_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes create2_salt = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_create2_salt(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.FreeFunctionDef free_functions = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_free_functions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); - } else - goto handle_unusual; - continue; - // repeated uint32 optimiser_seq = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_optimiser_seq(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<64>(ptr)); - } else if (static_cast(tag) == 66) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_optimiser_seq(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 optimiser_cleanup_seq = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_optimiser_cleanup_seq(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<72>(ptr)); - } else if (static_cast(tag) == 74) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_optimiser_cleanup_seq(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool gen_udvt = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_gen_udvt(&has_bits); - _impl_.gen_udvt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.sol2protofuzzer.UsingForDirective file_using_for = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_file_using_for(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Program::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.sol2protofuzzer.Program) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.ContractDef contracts = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_contracts_size()); i < n; i++) { - const auto& repfield = this->_internal_contracts(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // required uint64 seed = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_seed(), target); - } - - // required bool via_ir = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_via_ir(), target); - } - - // required bool optimize = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_optimize(), target); - } - - // optional bytes calldata_data = 5; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 5, this->_internal_calldata_data(), target); - } - - // optional bytes create2_salt = 6; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 6, this->_internal_create2_salt(), target); - } - - // repeated .solidity.test.sol2protofuzzer.FreeFunctionDef free_functions = 7; - for (unsigned i = 0, - n = static_cast(this->_internal_free_functions_size()); i < n; i++) { - const auto& repfield = this->_internal_free_functions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated uint32 optimiser_seq = 8; - for (int i = 0, n = this->_internal_optimiser_seq_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_optimiser_seq(i), target); - } - - // repeated uint32 optimiser_cleanup_seq = 9; - for (int i = 0, n = this->_internal_optimiser_cleanup_seq_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_optimiser_cleanup_seq(i), target); - } - - // optional bool gen_udvt = 10; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_gen_udvt(), target); - } - - // repeated .solidity.test.sol2protofuzzer.UsingForDirective file_using_for = 11; - for (unsigned i = 0, - n = static_cast(this->_internal_file_using_for_size()); i < n; i++) { - const auto& repfield = this->_internal_file_using_for(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.sol2protofuzzer.Program) - return target; -} - -size_t Program::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.sol2protofuzzer.Program) - size_t total_size = 0; - - if (_internal_has_seed()) { - // required uint64 seed = 2; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_seed()); - } - - if (_internal_has_via_ir()) { - // required bool via_ir = 3; - total_size += 1 + 1; - } - - if (_internal_has_optimize()) { - // required bool optimize = 4; - total_size += 1 + 1; - } - - return total_size; -} -size_t Program::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.sol2protofuzzer.Program) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000001c) ^ 0x0000001c) == 0) { // All required fields are present. - // required uint64 seed = 2; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_seed()); - - // required bool via_ir = 3; - total_size += 1 + 1; - - // required bool optimize = 4; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.sol2protofuzzer.ContractDef contracts = 1; - total_size += 1UL * this->_internal_contracts_size(); - for (const auto& msg : this->_impl_.contracts_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.test.sol2protofuzzer.FreeFunctionDef free_functions = 7; - total_size += 1UL * this->_internal_free_functions_size(); - for (const auto& msg : this->_impl_.free_functions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated uint32 optimiser_seq = 8; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.optimiser_seq_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_optimiser_seq_size()); - total_size += data_size; - } - - // repeated uint32 optimiser_cleanup_seq = 9; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.optimiser_cleanup_seq_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_optimiser_cleanup_seq_size()); - total_size += data_size; - } - - // repeated .solidity.test.sol2protofuzzer.UsingForDirective file_using_for = 11; - total_size += 1UL * this->_internal_file_using_for_size(); - for (const auto& msg : this->_impl_.file_using_for_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes calldata_data = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_calldata_data()); - } - - // optional bytes create2_salt = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_create2_salt()); - } - - } - // optional bool gen_udvt = 10; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Program::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Program::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Program::GetClassData() const { return &_class_data_; } - - -void Program::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.sol2protofuzzer.Program) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.contracts_.MergeFrom(from._impl_.contracts_); - _this->_impl_.free_functions_.MergeFrom(from._impl_.free_functions_); - _this->_impl_.optimiser_seq_.MergeFrom(from._impl_.optimiser_seq_); - _this->_impl_.optimiser_cleanup_seq_.MergeFrom(from._impl_.optimiser_cleanup_seq_); - _this->_impl_.file_using_for_.MergeFrom(from._impl_.file_using_for_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_calldata_data(from._internal_calldata_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_create2_salt(from._internal_create2_salt()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.seed_ = from._impl_.seed_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.via_ir_ = from._impl_.via_ir_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.optimize_ = from._impl_.optimize_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.gen_udvt_ = from._impl_.gen_udvt_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Program::CopyFrom(const Program& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.sol2protofuzzer.Program) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Program::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.contracts_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.free_functions_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.file_using_for_)) - return false; - return true; -} - -void Program::InternalSwap(Program* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.contracts_.InternalSwap(&other->_impl_.contracts_); - _impl_.free_functions_.InternalSwap(&other->_impl_.free_functions_); - _impl_.optimiser_seq_.InternalSwap(&other->_impl_.optimiser_seq_); - _impl_.optimiser_cleanup_seq_.InternalSwap(&other->_impl_.optimiser_cleanup_seq_); - _impl_.file_using_for_.InternalSwap(&other->_impl_.file_using_for_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.calldata_data_, lhs_arena, - &other->_impl_.calldata_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.create2_salt_, lhs_arena, - &other->_impl_.create2_salt_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Program, _impl_.gen_udvt_) - + sizeof(Program::_impl_.gen_udvt_) - - PROTOBUF_FIELD_OFFSET(Program, _impl_.seed_)>( - reinterpret_cast(&_impl_.seed_), - reinterpret_cast(&other->_impl_.seed_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Program::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_sol2Proto_2eproto_getter, &descriptor_table_sol2Proto_2eproto_once, - file_level_metadata_sol2Proto_2eproto[88]); -} - -// @@protoc_insertion_point(namespace_scope) -} // namespace sol2protofuzzer -} // namespace test -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::IntegerType* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::IntegerType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::IntegerType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::FixedBytesType* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FixedBytesType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::FixedBytesType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::BoolType* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BoolType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::BoolType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ElementaryType* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ElementaryType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ElementaryType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ArrayType* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArrayType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ArrayType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ArraySizeExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArraySizeExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ArraySizeExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::MappingType* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::MappingType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::MappingType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::TypeName* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TypeName >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::TypeName >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::BoolLiteral* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BoolLiteral >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::BoolLiteral >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::IntegerLiteral* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::IntegerLiteral >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::IntegerLiteral >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::StringLiteral* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StringLiteral >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::StringLiteral >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::AddressLiteral* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AddressLiteral >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::AddressLiteral >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::Literal* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::Literal >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::Literal >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::VarRef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::VarRef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::VarRef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::BinaryOp* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BinaryOp >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::BinaryOp >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::UnaryOp* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::UnaryOp >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::UnaryOp >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::TernaryOp* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TernaryOp >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::TernaryOp >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::FuncCallExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FuncCallExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::FuncCallExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::IndexAccessExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::IndexAccessExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::IndexAccessExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::TypeConvExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TypeConvExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::TypeConvExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::MsgExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::MsgExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::MsgExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::BlockExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BlockExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::BlockExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::TxExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TxExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::TxExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::AbiEncodeExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AbiEncodeExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::AbiEncodeExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::AbiDecodeExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AbiDecodeExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::AbiDecodeExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::HashExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::HashExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::HashExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::MathExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::MathExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::MathExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::BuiltinExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BuiltinExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::BuiltinExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::EcrecoverExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::EcrecoverExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::EcrecoverExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::TypeInfoExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TypeInfoExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::TypeInfoExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::AssignExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AssignExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::AssignExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::StructMemberAccess* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructMemberAccess >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::StructMemberAccess >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::EnumLiteral* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::EnumLiteral >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::EnumLiteral >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::SuperCallExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::SuperCallExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::SuperCallExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::LibMemberCallExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::LibMemberCallExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::LibMemberCallExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ConcatExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ConcatExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ConcatExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::SelectorExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::SelectorExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::SelectorExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::Expression* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::Expression >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::Expression >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::UdvtExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::UdvtExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::UdvtExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArrayLiteralExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ArrayLiteralExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::VarDeclStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::VarDeclStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::VarDeclStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ExprStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ExprStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ExprStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::IfStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::IfStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::IfStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ForStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ForStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ForStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::WhileStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::WhileStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::WhileStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::DoWhileStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::DoWhileStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::DoWhileStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ReturnStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ReturnStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ReturnStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::BreakStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BreakStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::BreakStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ContinueStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ContinueStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ContinueStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::RequireStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::RequireStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::RequireStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::SelfdestructStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::SelfdestructStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::SelfdestructStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::BareMagicStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BareMagicStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::BareMagicStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::FixedAsmStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FixedAsmStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::FixedAsmStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::EmitStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::EmitStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::EmitStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::RevertStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::RevertStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::RevertStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::DeleteStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::DeleteStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::DeleteStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::TryCatchStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TryCatchStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::TryCatchStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::Block* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::Block >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::Block >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::UncheckedBlock* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::UncheckedBlock >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::UncheckedBlock >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::IndexAssignStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::IndexAssignStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::IndexAssignStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::TupleAssignStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TupleAssignStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::TupleAssignStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ArrayPushStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArrayPushStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ArrayPushStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ArrayPopStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArrayPopStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ArrayPopStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::TupleDestructStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TupleDestructStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::TupleDestructStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructLocalDeclStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::StructLocalDeclStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructTupleAliasStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::StructTupleAliasStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ArrayLengthExpr* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArrayLengthExpr >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ArrayLengthExpr >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::Statement* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::Statement >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::Statement >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::FuncPtrStmt* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FuncPtrStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::FuncPtrStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::StructField* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructField >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::StructField >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::StructArrayField* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructArrayField >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::StructArrayField >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::StructFunctionField* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructFunctionField >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::StructFunctionField >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::StructDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::StructDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::EnumDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::EnumDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::EnumDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::EventDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::EventDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::EventDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ErrorDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ErrorDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ErrorDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ModifierDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ModifierDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ModifierDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ReceiveDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ReceiveDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ReceiveDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::FallbackDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FallbackDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::FallbackDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::FunctionDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FunctionDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::FunctionDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ConstructorDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ConstructorDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ConstructorDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::StateVarDecl* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StateVarDecl >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::StateVarDecl >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::UsingForBinding* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::UsingForBinding >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::UsingForBinding >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::UsingForDirective* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::UsingForDirective >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::UsingForDirective >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::ContractDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ContractDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::ContractDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::FreeFunctionDef* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FreeFunctionDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::FreeFunctionDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::sol2protofuzzer::Program* -Arena::CreateMaybeMessage< ::solidity::test::sol2protofuzzer::Program >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::sol2protofuzzer::Program >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/tools/ossfuzz/sol2Proto.pb.h b/tools/ossfuzz/sol2Proto.pb.h deleted file mode 100644 index f524c06..0000000 --- a/tools/ossfuzz/sol2Proto.pb.h +++ /dev/null @@ -1,35756 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: sol2Proto.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_sol2Proto_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_sol2Proto_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021007 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_sol2Proto_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_sol2Proto_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_sol2Proto_2eproto; -namespace solidity { -namespace test { -namespace sol2protofuzzer { -class AbiDecodeExpr; -struct AbiDecodeExprDefaultTypeInternal; -extern AbiDecodeExprDefaultTypeInternal _AbiDecodeExpr_default_instance_; -class AbiEncodeCallExpr; -struct AbiEncodeCallExprDefaultTypeInternal; -extern AbiEncodeCallExprDefaultTypeInternal _AbiEncodeCallExpr_default_instance_; -class AbiEncodeExpr; -struct AbiEncodeExprDefaultTypeInternal; -extern AbiEncodeExprDefaultTypeInternal _AbiEncodeExpr_default_instance_; -class AbiEncodeStructStmt; -struct AbiEncodeStructStmtDefaultTypeInternal; -extern AbiEncodeStructStmtDefaultTypeInternal _AbiEncodeStructStmt_default_instance_; -class AddressLiteral; -struct AddressLiteralDefaultTypeInternal; -extern AddressLiteralDefaultTypeInternal _AddressLiteral_default_instance_; -class ArrayLengthExpr; -struct ArrayLengthExprDefaultTypeInternal; -extern ArrayLengthExprDefaultTypeInternal _ArrayLengthExpr_default_instance_; -class ArrayLiteralExpr; -struct ArrayLiteralExprDefaultTypeInternal; -extern ArrayLiteralExprDefaultTypeInternal _ArrayLiteralExpr_default_instance_; -class ArrayPopStmt; -struct ArrayPopStmtDefaultTypeInternal; -extern ArrayPopStmtDefaultTypeInternal _ArrayPopStmt_default_instance_; -class ArrayPushStmt; -struct ArrayPushStmtDefaultTypeInternal; -extern ArrayPushStmtDefaultTypeInternal _ArrayPushStmt_default_instance_; -class ArraySizeExpr; -struct ArraySizeExprDefaultTypeInternal; -extern ArraySizeExprDefaultTypeInternal _ArraySizeExpr_default_instance_; -class ArrayType; -struct ArrayTypeDefaultTypeInternal; -extern ArrayTypeDefaultTypeInternal _ArrayType_default_instance_; -class AssignExpr; -struct AssignExprDefaultTypeInternal; -extern AssignExprDefaultTypeInternal _AssignExpr_default_instance_; -class BareMagicStmt; -struct BareMagicStmtDefaultTypeInternal; -extern BareMagicStmtDefaultTypeInternal _BareMagicStmt_default_instance_; -class BinaryOp; -struct BinaryOpDefaultTypeInternal; -extern BinaryOpDefaultTypeInternal _BinaryOp_default_instance_; -class Block; -struct BlockDefaultTypeInternal; -extern BlockDefaultTypeInternal _Block_default_instance_; -class BlockExpr; -struct BlockExprDefaultTypeInternal; -extern BlockExprDefaultTypeInternal _BlockExpr_default_instance_; -class BoolLiteral; -struct BoolLiteralDefaultTypeInternal; -extern BoolLiteralDefaultTypeInternal _BoolLiteral_default_instance_; -class BoolType; -struct BoolTypeDefaultTypeInternal; -extern BoolTypeDefaultTypeInternal _BoolType_default_instance_; -class BreakStmt; -struct BreakStmtDefaultTypeInternal; -extern BreakStmtDefaultTypeInternal _BreakStmt_default_instance_; -class BuiltinExpr; -struct BuiltinExprDefaultTypeInternal; -extern BuiltinExprDefaultTypeInternal _BuiltinExpr_default_instance_; -class ConcatExpr; -struct ConcatExprDefaultTypeInternal; -extern ConcatExprDefaultTypeInternal _ConcatExpr_default_instance_; -class ConstructorDef; -struct ConstructorDefDefaultTypeInternal; -extern ConstructorDefDefaultTypeInternal _ConstructorDef_default_instance_; -class ContinueStmt; -struct ContinueStmtDefaultTypeInternal; -extern ContinueStmtDefaultTypeInternal _ContinueStmt_default_instance_; -class ContractDef; -struct ContractDefDefaultTypeInternal; -extern ContractDefDefaultTypeInternal _ContractDef_default_instance_; -class DeleteStmt; -struct DeleteStmtDefaultTypeInternal; -extern DeleteStmtDefaultTypeInternal _DeleteStmt_default_instance_; -class DoWhileStmt; -struct DoWhileStmtDefaultTypeInternal; -extern DoWhileStmtDefaultTypeInternal _DoWhileStmt_default_instance_; -class EcrecoverExpr; -struct EcrecoverExprDefaultTypeInternal; -extern EcrecoverExprDefaultTypeInternal _EcrecoverExpr_default_instance_; -class ElementaryType; -struct ElementaryTypeDefaultTypeInternal; -extern ElementaryTypeDefaultTypeInternal _ElementaryType_default_instance_; -class EmitStmt; -struct EmitStmtDefaultTypeInternal; -extern EmitStmtDefaultTypeInternal _EmitStmt_default_instance_; -class EnumDef; -struct EnumDefDefaultTypeInternal; -extern EnumDefDefaultTypeInternal _EnumDef_default_instance_; -class EnumLiteral; -struct EnumLiteralDefaultTypeInternal; -extern EnumLiteralDefaultTypeInternal _EnumLiteral_default_instance_; -class ErrorDef; -struct ErrorDefDefaultTypeInternal; -extern ErrorDefDefaultTypeInternal _ErrorDef_default_instance_; -class EventDef; -struct EventDefDefaultTypeInternal; -extern EventDefDefaultTypeInternal _EventDef_default_instance_; -class ExprStmt; -struct ExprStmtDefaultTypeInternal; -extern ExprStmtDefaultTypeInternal _ExprStmt_default_instance_; -class Expression; -struct ExpressionDefaultTypeInternal; -extern ExpressionDefaultTypeInternal _Expression_default_instance_; -class FallbackDef; -struct FallbackDefDefaultTypeInternal; -extern FallbackDefDefaultTypeInternal _FallbackDef_default_instance_; -class FixedAsmStmt; -struct FixedAsmStmtDefaultTypeInternal; -extern FixedAsmStmtDefaultTypeInternal _FixedAsmStmt_default_instance_; -class FixedBytesType; -struct FixedBytesTypeDefaultTypeInternal; -extern FixedBytesTypeDefaultTypeInternal _FixedBytesType_default_instance_; -class ForStmt; -struct ForStmtDefaultTypeInternal; -extern ForStmtDefaultTypeInternal _ForStmt_default_instance_; -class FreeFunctionDef; -struct FreeFunctionDefDefaultTypeInternal; -extern FreeFunctionDefDefaultTypeInternal _FreeFunctionDef_default_instance_; -class FuncCallExpr; -struct FuncCallExprDefaultTypeInternal; -extern FuncCallExprDefaultTypeInternal _FuncCallExpr_default_instance_; -class FuncPtrStmt; -struct FuncPtrStmtDefaultTypeInternal; -extern FuncPtrStmtDefaultTypeInternal _FuncPtrStmt_default_instance_; -class FunctionDef; -struct FunctionDefDefaultTypeInternal; -extern FunctionDefDefaultTypeInternal _FunctionDef_default_instance_; -class HashExpr; -struct HashExprDefaultTypeInternal; -extern HashExprDefaultTypeInternal _HashExpr_default_instance_; -class IfStmt; -struct IfStmtDefaultTypeInternal; -extern IfStmtDefaultTypeInternal _IfStmt_default_instance_; -class IndexAccessExpr; -struct IndexAccessExprDefaultTypeInternal; -extern IndexAccessExprDefaultTypeInternal _IndexAccessExpr_default_instance_; -class IndexAssignStmt; -struct IndexAssignStmtDefaultTypeInternal; -extern IndexAssignStmtDefaultTypeInternal _IndexAssignStmt_default_instance_; -class IntegerLiteral; -struct IntegerLiteralDefaultTypeInternal; -extern IntegerLiteralDefaultTypeInternal _IntegerLiteral_default_instance_; -class IntegerType; -struct IntegerTypeDefaultTypeInternal; -extern IntegerTypeDefaultTypeInternal _IntegerType_default_instance_; -class LibMemberCallExpr; -struct LibMemberCallExprDefaultTypeInternal; -extern LibMemberCallExprDefaultTypeInternal _LibMemberCallExpr_default_instance_; -class Literal; -struct LiteralDefaultTypeInternal; -extern LiteralDefaultTypeInternal _Literal_default_instance_; -class MappingType; -struct MappingTypeDefaultTypeInternal; -extern MappingTypeDefaultTypeInternal _MappingType_default_instance_; -class MathExpr; -struct MathExprDefaultTypeInternal; -extern MathExprDefaultTypeInternal _MathExpr_default_instance_; -class ModifierDef; -struct ModifierDefDefaultTypeInternal; -extern ModifierDefDefaultTypeInternal _ModifierDef_default_instance_; -class MsgExpr; -struct MsgExprDefaultTypeInternal; -extern MsgExprDefaultTypeInternal _MsgExpr_default_instance_; -class Program; -struct ProgramDefaultTypeInternal; -extern ProgramDefaultTypeInternal _Program_default_instance_; -class ReceiveDef; -struct ReceiveDefDefaultTypeInternal; -extern ReceiveDefDefaultTypeInternal _ReceiveDef_default_instance_; -class RequireStmt; -struct RequireStmtDefaultTypeInternal; -extern RequireStmtDefaultTypeInternal _RequireStmt_default_instance_; -class ReturnStmt; -struct ReturnStmtDefaultTypeInternal; -extern ReturnStmtDefaultTypeInternal _ReturnStmt_default_instance_; -class RevertStmt; -struct RevertStmtDefaultTypeInternal; -extern RevertStmtDefaultTypeInternal _RevertStmt_default_instance_; -class SelectorExpr; -struct SelectorExprDefaultTypeInternal; -extern SelectorExprDefaultTypeInternal _SelectorExpr_default_instance_; -class SelfdestructStmt; -struct SelfdestructStmtDefaultTypeInternal; -extern SelfdestructStmtDefaultTypeInternal _SelfdestructStmt_default_instance_; -class StateVarDecl; -struct StateVarDeclDefaultTypeInternal; -extern StateVarDeclDefaultTypeInternal _StateVarDecl_default_instance_; -class Statement; -struct StatementDefaultTypeInternal; -extern StatementDefaultTypeInternal _Statement_default_instance_; -class StringLiteral; -struct StringLiteralDefaultTypeInternal; -extern StringLiteralDefaultTypeInternal _StringLiteral_default_instance_; -class StructArrayField; -struct StructArrayFieldDefaultTypeInternal; -extern StructArrayFieldDefaultTypeInternal _StructArrayField_default_instance_; -class StructDef; -struct StructDefDefaultTypeInternal; -extern StructDefDefaultTypeInternal _StructDef_default_instance_; -class StructField; -struct StructFieldDefaultTypeInternal; -extern StructFieldDefaultTypeInternal _StructField_default_instance_; -class StructFunctionField; -struct StructFunctionFieldDefaultTypeInternal; -extern StructFunctionFieldDefaultTypeInternal _StructFunctionField_default_instance_; -class StructLocalDeclStmt; -struct StructLocalDeclStmtDefaultTypeInternal; -extern StructLocalDeclStmtDefaultTypeInternal _StructLocalDeclStmt_default_instance_; -class StructMemberAccess; -struct StructMemberAccessDefaultTypeInternal; -extern StructMemberAccessDefaultTypeInternal _StructMemberAccess_default_instance_; -class StructTupleAliasStmt; -struct StructTupleAliasStmtDefaultTypeInternal; -extern StructTupleAliasStmtDefaultTypeInternal _StructTupleAliasStmt_default_instance_; -class SuperCallExpr; -struct SuperCallExprDefaultTypeInternal; -extern SuperCallExprDefaultTypeInternal _SuperCallExpr_default_instance_; -class TernaryOp; -struct TernaryOpDefaultTypeInternal; -extern TernaryOpDefaultTypeInternal _TernaryOp_default_instance_; -class TryCatchStmt; -struct TryCatchStmtDefaultTypeInternal; -extern TryCatchStmtDefaultTypeInternal _TryCatchStmt_default_instance_; -class TupleAssignStmt; -struct TupleAssignStmtDefaultTypeInternal; -extern TupleAssignStmtDefaultTypeInternal _TupleAssignStmt_default_instance_; -class TupleDestructStmt; -struct TupleDestructStmtDefaultTypeInternal; -extern TupleDestructStmtDefaultTypeInternal _TupleDestructStmt_default_instance_; -class TxExpr; -struct TxExprDefaultTypeInternal; -extern TxExprDefaultTypeInternal _TxExpr_default_instance_; -class TypeConvExpr; -struct TypeConvExprDefaultTypeInternal; -extern TypeConvExprDefaultTypeInternal _TypeConvExpr_default_instance_; -class TypeInfoExpr; -struct TypeInfoExprDefaultTypeInternal; -extern TypeInfoExprDefaultTypeInternal _TypeInfoExpr_default_instance_; -class TypeName; -struct TypeNameDefaultTypeInternal; -extern TypeNameDefaultTypeInternal _TypeName_default_instance_; -class UdvtExpr; -struct UdvtExprDefaultTypeInternal; -extern UdvtExprDefaultTypeInternal _UdvtExpr_default_instance_; -class UnaryOp; -struct UnaryOpDefaultTypeInternal; -extern UnaryOpDefaultTypeInternal _UnaryOp_default_instance_; -class UncheckedBlock; -struct UncheckedBlockDefaultTypeInternal; -extern UncheckedBlockDefaultTypeInternal _UncheckedBlock_default_instance_; -class UsingForBinding; -struct UsingForBindingDefaultTypeInternal; -extern UsingForBindingDefaultTypeInternal _UsingForBinding_default_instance_; -class UsingForDirective; -struct UsingForDirectiveDefaultTypeInternal; -extern UsingForDirectiveDefaultTypeInternal _UsingForDirective_default_instance_; -class VarDeclStmt; -struct VarDeclStmtDefaultTypeInternal; -extern VarDeclStmtDefaultTypeInternal _VarDeclStmt_default_instance_; -class VarRef; -struct VarRefDefaultTypeInternal; -extern VarRefDefaultTypeInternal _VarRef_default_instance_; -class WhileStmt; -struct WhileStmtDefaultTypeInternal; -extern WhileStmtDefaultTypeInternal _WhileStmt_default_instance_; -} // namespace sol2protofuzzer -} // namespace test -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> ::solidity::test::sol2protofuzzer::AbiDecodeExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::AbiDecodeExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::AbiEncodeCallExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::AbiEncodeExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::AbiEncodeExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::AbiEncodeStructStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::AddressLiteral* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::AddressLiteral>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ArrayLengthExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ArrayLengthExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ArrayLiteralExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ArrayPopStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ArrayPopStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ArrayPushStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ArrayPushStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ArraySizeExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ArraySizeExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ArrayType* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ArrayType>(Arena*); -template<> ::solidity::test::sol2protofuzzer::AssignExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::AssignExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::BareMagicStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::BareMagicStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::BinaryOp* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::BinaryOp>(Arena*); -template<> ::solidity::test::sol2protofuzzer::Block* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(Arena*); -template<> ::solidity::test::sol2protofuzzer::BlockExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::BlockExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::BoolLiteral* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::BoolLiteral>(Arena*); -template<> ::solidity::test::sol2protofuzzer::BoolType* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::BoolType>(Arena*); -template<> ::solidity::test::sol2protofuzzer::BreakStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::BreakStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::BuiltinExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::BuiltinExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ConcatExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ConcatExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ConstructorDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ConstructorDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ContinueStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ContinueStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ContractDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ContractDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::DeleteStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::DeleteStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::DoWhileStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::DoWhileStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::EcrecoverExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::EcrecoverExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ElementaryType* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ElementaryType>(Arena*); -template<> ::solidity::test::sol2protofuzzer::EmitStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::EmitStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::EnumDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::EnumDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::EnumLiteral* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::EnumLiteral>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ErrorDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ErrorDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::EventDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::EventDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ExprStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ExprStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::Expression* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(Arena*); -template<> ::solidity::test::sol2protofuzzer::FallbackDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::FallbackDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::FixedAsmStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::FixedAsmStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::FixedBytesType* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::FixedBytesType>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ForStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ForStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::FreeFunctionDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::FreeFunctionDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::FuncCallExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::FuncCallExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::FuncPtrStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::FuncPtrStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::FunctionDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::FunctionDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::HashExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::HashExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::IfStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::IfStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::IndexAccessExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::IndexAccessExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::IndexAssignStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::IndexAssignStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::IntegerLiteral* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::IntegerLiteral>(Arena*); -template<> ::solidity::test::sol2protofuzzer::IntegerType* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::IntegerType>(Arena*); -template<> ::solidity::test::sol2protofuzzer::LibMemberCallExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::LibMemberCallExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::Literal* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::Literal>(Arena*); -template<> ::solidity::test::sol2protofuzzer::MappingType* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::MappingType>(Arena*); -template<> ::solidity::test::sol2protofuzzer::MathExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::MathExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ModifierDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ModifierDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::MsgExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::MsgExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::Program* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::Program>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ReceiveDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ReceiveDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::RequireStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::RequireStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::ReturnStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::ReturnStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::RevertStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::RevertStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::SelectorExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::SelectorExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::SelfdestructStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::SelfdestructStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::StateVarDecl* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::StateVarDecl>(Arena*); -template<> ::solidity::test::sol2protofuzzer::Statement* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::Statement>(Arena*); -template<> ::solidity::test::sol2protofuzzer::StringLiteral* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::StringLiteral>(Arena*); -template<> ::solidity::test::sol2protofuzzer::StructArrayField* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::StructArrayField>(Arena*); -template<> ::solidity::test::sol2protofuzzer::StructDef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::StructDef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::StructField* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::StructField>(Arena*); -template<> ::solidity::test::sol2protofuzzer::StructFunctionField* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::StructFunctionField>(Arena*); -template<> ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::StructLocalDeclStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::StructMemberAccess* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::StructMemberAccess>(Arena*); -template<> ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::StructTupleAliasStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::SuperCallExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::SuperCallExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::TernaryOp* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::TernaryOp>(Arena*); -template<> ::solidity::test::sol2protofuzzer::TryCatchStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::TryCatchStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::TupleAssignStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::TupleAssignStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::TupleDestructStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::TupleDestructStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::TxExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::TxExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::TypeConvExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::TypeConvExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::TypeInfoExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::TypeInfoExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::TypeName* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::TypeName>(Arena*); -template<> ::solidity::test::sol2protofuzzer::UdvtExpr* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::UdvtExpr>(Arena*); -template<> ::solidity::test::sol2protofuzzer::UnaryOp* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::UnaryOp>(Arena*); -template<> ::solidity::test::sol2protofuzzer::UncheckedBlock* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::UncheckedBlock>(Arena*); -template<> ::solidity::test::sol2protofuzzer::UsingForBinding* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::UsingForBinding>(Arena*); -template<> ::solidity::test::sol2protofuzzer::UsingForDirective* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::UsingForDirective>(Arena*); -template<> ::solidity::test::sol2protofuzzer::VarDeclStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::VarDeclStmt>(Arena*); -template<> ::solidity::test::sol2protofuzzer::VarRef* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::VarRef>(Arena*); -template<> ::solidity::test::sol2protofuzzer::WhileStmt* Arena::CreateMaybeMessage<::solidity::test::sol2protofuzzer::WhileStmt>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace solidity { -namespace test { -namespace sol2protofuzzer { - -enum IntegerType_Width : int { - IntegerType_Width_W8 = 0, - IntegerType_Width_W16 = 1, - IntegerType_Width_W24 = 2, - IntegerType_Width_W32 = 3, - IntegerType_Width_W40 = 4, - IntegerType_Width_W48 = 5, - IntegerType_Width_W56 = 6, - IntegerType_Width_W64 = 7, - IntegerType_Width_W72 = 8, - IntegerType_Width_W80 = 9, - IntegerType_Width_W88 = 10, - IntegerType_Width_W96 = 11, - IntegerType_Width_W104 = 12, - IntegerType_Width_W112 = 13, - IntegerType_Width_W120 = 14, - IntegerType_Width_W128 = 15, - IntegerType_Width_W136 = 16, - IntegerType_Width_W144 = 17, - IntegerType_Width_W152 = 18, - IntegerType_Width_W160 = 19, - IntegerType_Width_W168 = 20, - IntegerType_Width_W176 = 21, - IntegerType_Width_W184 = 22, - IntegerType_Width_W192 = 23, - IntegerType_Width_W200 = 24, - IntegerType_Width_W208 = 25, - IntegerType_Width_W216 = 26, - IntegerType_Width_W224 = 27, - IntegerType_Width_W232 = 28, - IntegerType_Width_W240 = 29, - IntegerType_Width_W248 = 30, - IntegerType_Width_W256 = 31 -}; -bool IntegerType_Width_IsValid(int value); -constexpr IntegerType_Width IntegerType_Width_Width_MIN = IntegerType_Width_W8; -constexpr IntegerType_Width IntegerType_Width_Width_MAX = IntegerType_Width_W256; -constexpr int IntegerType_Width_Width_ARRAYSIZE = IntegerType_Width_Width_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IntegerType_Width_descriptor(); -template -inline const std::string& IntegerType_Width_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function IntegerType_Width_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - IntegerType_Width_descriptor(), enum_t_value); -} -inline bool IntegerType_Width_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IntegerType_Width* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - IntegerType_Width_descriptor(), name, value); -} -enum FixedBytesType_Width : int { - FixedBytesType_Width_B1 = 0, - FixedBytesType_Width_B2 = 1, - FixedBytesType_Width_B3 = 2, - FixedBytesType_Width_B4 = 3, - FixedBytesType_Width_B5 = 4, - FixedBytesType_Width_B6 = 5, - FixedBytesType_Width_B7 = 6, - FixedBytesType_Width_B8 = 7, - FixedBytesType_Width_B9 = 8, - FixedBytesType_Width_B10 = 9, - FixedBytesType_Width_B11 = 10, - FixedBytesType_Width_B12 = 11, - FixedBytesType_Width_B13 = 12, - FixedBytesType_Width_B14 = 13, - FixedBytesType_Width_B15 = 14, - FixedBytesType_Width_B16 = 15, - FixedBytesType_Width_B17 = 16, - FixedBytesType_Width_B18 = 17, - FixedBytesType_Width_B19 = 18, - FixedBytesType_Width_B20 = 19, - FixedBytesType_Width_B21 = 20, - FixedBytesType_Width_B22 = 21, - FixedBytesType_Width_B23 = 22, - FixedBytesType_Width_B24 = 23, - FixedBytesType_Width_B25 = 24, - FixedBytesType_Width_B26 = 25, - FixedBytesType_Width_B27 = 26, - FixedBytesType_Width_B28 = 27, - FixedBytesType_Width_B29 = 28, - FixedBytesType_Width_B30 = 29, - FixedBytesType_Width_B31 = 30, - FixedBytesType_Width_B32 = 31 -}; -bool FixedBytesType_Width_IsValid(int value); -constexpr FixedBytesType_Width FixedBytesType_Width_Width_MIN = FixedBytesType_Width_B1; -constexpr FixedBytesType_Width FixedBytesType_Width_Width_MAX = FixedBytesType_Width_B32; -constexpr int FixedBytesType_Width_Width_ARRAYSIZE = FixedBytesType_Width_Width_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FixedBytesType_Width_descriptor(); -template -inline const std::string& FixedBytesType_Width_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function FixedBytesType_Width_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - FixedBytesType_Width_descriptor(), enum_t_value); -} -inline bool FixedBytesType_Width_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FixedBytesType_Width* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - FixedBytesType_Width_descriptor(), name, value); -} -enum ArraySizeExpr_Kind : int { - ArraySizeExpr_Kind_BUCKET = 0, - ArraySizeExpr_Kind_ABI_SUBSCRIPT = 1, - ArraySizeExpr_Kind_BLOCK_SUBSCRIPT = 2, - ArraySizeExpr_Kind_MSG_SUBSCRIPT = 3, - ArraySizeExpr_Kind_TX_SUBSCRIPT = 4, - ArraySizeExpr_Kind_ABI_CALL = 5, - ArraySizeExpr_Kind_TYPE_INDEX = 6 -}; -bool ArraySizeExpr_Kind_IsValid(int value); -constexpr ArraySizeExpr_Kind ArraySizeExpr_Kind_Kind_MIN = ArraySizeExpr_Kind_BUCKET; -constexpr ArraySizeExpr_Kind ArraySizeExpr_Kind_Kind_MAX = ArraySizeExpr_Kind_TYPE_INDEX; -constexpr int ArraySizeExpr_Kind_Kind_ARRAYSIZE = ArraySizeExpr_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ArraySizeExpr_Kind_descriptor(); -template -inline const std::string& ArraySizeExpr_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ArraySizeExpr_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ArraySizeExpr_Kind_descriptor(), enum_t_value); -} -inline bool ArraySizeExpr_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ArraySizeExpr_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ArraySizeExpr_Kind_descriptor(), name, value); -} -enum IntegerLiteral_EtherUnit : int { - IntegerLiteral_EtherUnit_WEI = 0, - IntegerLiteral_EtherUnit_GWEI = 1, - IntegerLiteral_EtherUnit_ETHER = 2 -}; -bool IntegerLiteral_EtherUnit_IsValid(int value); -constexpr IntegerLiteral_EtherUnit IntegerLiteral_EtherUnit_EtherUnit_MIN = IntegerLiteral_EtherUnit_WEI; -constexpr IntegerLiteral_EtherUnit IntegerLiteral_EtherUnit_EtherUnit_MAX = IntegerLiteral_EtherUnit_ETHER; -constexpr int IntegerLiteral_EtherUnit_EtherUnit_ARRAYSIZE = IntegerLiteral_EtherUnit_EtherUnit_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IntegerLiteral_EtherUnit_descriptor(); -template -inline const std::string& IntegerLiteral_EtherUnit_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function IntegerLiteral_EtherUnit_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - IntegerLiteral_EtherUnit_descriptor(), enum_t_value); -} -inline bool IntegerLiteral_EtherUnit_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IntegerLiteral_EtherUnit* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - IntegerLiteral_EtherUnit_descriptor(), name, value); -} -enum BinaryOp_Op : int { - BinaryOp_Op_ADD = 0, - BinaryOp_Op_SUB = 1, - BinaryOp_Op_MUL = 2, - BinaryOp_Op_DIV = 3, - BinaryOp_Op_MOD = 4, - BinaryOp_Op_EXP = 5, - BinaryOp_Op_BIT_AND = 6, - BinaryOp_Op_BIT_OR = 7, - BinaryOp_Op_BIT_XOR = 8, - BinaryOp_Op_SHL = 9, - BinaryOp_Op_SHR = 10, - BinaryOp_Op_LT = 11, - BinaryOp_Op_GT = 12, - BinaryOp_Op_LTE = 13, - BinaryOp_Op_GTE = 14, - BinaryOp_Op_EQ = 15, - BinaryOp_Op_NEQ = 16, - BinaryOp_Op_AND = 17, - BinaryOp_Op_OR = 18 -}; -bool BinaryOp_Op_IsValid(int value); -constexpr BinaryOp_Op BinaryOp_Op_Op_MIN = BinaryOp_Op_ADD; -constexpr BinaryOp_Op BinaryOp_Op_Op_MAX = BinaryOp_Op_OR; -constexpr int BinaryOp_Op_Op_ARRAYSIZE = BinaryOp_Op_Op_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BinaryOp_Op_descriptor(); -template -inline const std::string& BinaryOp_Op_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function BinaryOp_Op_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - BinaryOp_Op_descriptor(), enum_t_value); -} -inline bool BinaryOp_Op_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BinaryOp_Op* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - BinaryOp_Op_descriptor(), name, value); -} -enum UnaryOp_Op : int { - UnaryOp_Op_LNOT = 0, - UnaryOp_Op_BNOT = 1, - UnaryOp_Op_NEG = 2, - UnaryOp_Op_INC_PRE = 3, - UnaryOp_Op_DEC_PRE = 4, - UnaryOp_Op_INC_POST = 5, - UnaryOp_Op_DEC_POST = 6 -}; -bool UnaryOp_Op_IsValid(int value); -constexpr UnaryOp_Op UnaryOp_Op_Op_MIN = UnaryOp_Op_LNOT; -constexpr UnaryOp_Op UnaryOp_Op_Op_MAX = UnaryOp_Op_DEC_POST; -constexpr int UnaryOp_Op_Op_ARRAYSIZE = UnaryOp_Op_Op_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UnaryOp_Op_descriptor(); -template -inline const std::string& UnaryOp_Op_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function UnaryOp_Op_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - UnaryOp_Op_descriptor(), enum_t_value); -} -inline bool UnaryOp_Op_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UnaryOp_Op* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - UnaryOp_Op_descriptor(), name, value); -} -enum MsgExpr_Field : int { - MsgExpr_Field_SENDER = 0, - MsgExpr_Field_VALUE = 1, - MsgExpr_Field_SIG = 2, - MsgExpr_Field_DATA = 3 -}; -bool MsgExpr_Field_IsValid(int value); -constexpr MsgExpr_Field MsgExpr_Field_Field_MIN = MsgExpr_Field_SENDER; -constexpr MsgExpr_Field MsgExpr_Field_Field_MAX = MsgExpr_Field_DATA; -constexpr int MsgExpr_Field_Field_ARRAYSIZE = MsgExpr_Field_Field_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MsgExpr_Field_descriptor(); -template -inline const std::string& MsgExpr_Field_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function MsgExpr_Field_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - MsgExpr_Field_descriptor(), enum_t_value); -} -inline bool MsgExpr_Field_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MsgExpr_Field* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - MsgExpr_Field_descriptor(), name, value); -} -enum BlockExpr_Field : int { - BlockExpr_Field_TIMESTAMP = 0, - BlockExpr_Field_NUMBER = 1, - BlockExpr_Field_CHAINID = 2, - BlockExpr_Field_BASEFEE = 3, - BlockExpr_Field_PREVRANDAO = 4, - BlockExpr_Field_GASLIMIT = 5, - BlockExpr_Field_COINBASE = 6, - BlockExpr_Field_BLOBBASEFEE = 7 -}; -bool BlockExpr_Field_IsValid(int value); -constexpr BlockExpr_Field BlockExpr_Field_Field_MIN = BlockExpr_Field_TIMESTAMP; -constexpr BlockExpr_Field BlockExpr_Field_Field_MAX = BlockExpr_Field_BLOBBASEFEE; -constexpr int BlockExpr_Field_Field_ARRAYSIZE = BlockExpr_Field_Field_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BlockExpr_Field_descriptor(); -template -inline const std::string& BlockExpr_Field_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function BlockExpr_Field_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - BlockExpr_Field_descriptor(), enum_t_value); -} -inline bool BlockExpr_Field_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BlockExpr_Field* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - BlockExpr_Field_descriptor(), name, value); -} -enum TxExpr_Field : int { - TxExpr_Field_ORIGIN = 0, - TxExpr_Field_GASPRICE = 1 -}; -bool TxExpr_Field_IsValid(int value); -constexpr TxExpr_Field TxExpr_Field_Field_MIN = TxExpr_Field_ORIGIN; -constexpr TxExpr_Field TxExpr_Field_Field_MAX = TxExpr_Field_GASPRICE; -constexpr int TxExpr_Field_Field_ARRAYSIZE = TxExpr_Field_Field_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TxExpr_Field_descriptor(); -template -inline const std::string& TxExpr_Field_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function TxExpr_Field_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - TxExpr_Field_descriptor(), enum_t_value); -} -inline bool TxExpr_Field_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TxExpr_Field* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - TxExpr_Field_descriptor(), name, value); -} -enum AbiEncodeExpr_Kind : int { - AbiEncodeExpr_Kind_ENCODE = 0, - AbiEncodeExpr_Kind_ENCODE_PACKED = 1, - AbiEncodeExpr_Kind_ENCODE_WITH_SELECTOR = 2, - AbiEncodeExpr_Kind_ENCODE_WITH_SIGNATURE = 3 -}; -bool AbiEncodeExpr_Kind_IsValid(int value); -constexpr AbiEncodeExpr_Kind AbiEncodeExpr_Kind_Kind_MIN = AbiEncodeExpr_Kind_ENCODE; -constexpr AbiEncodeExpr_Kind AbiEncodeExpr_Kind_Kind_MAX = AbiEncodeExpr_Kind_ENCODE_WITH_SIGNATURE; -constexpr int AbiEncodeExpr_Kind_Kind_ARRAYSIZE = AbiEncodeExpr_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AbiEncodeExpr_Kind_descriptor(); -template -inline const std::string& AbiEncodeExpr_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function AbiEncodeExpr_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - AbiEncodeExpr_Kind_descriptor(), enum_t_value); -} -inline bool AbiEncodeExpr_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AbiEncodeExpr_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - AbiEncodeExpr_Kind_descriptor(), name, value); -} -enum HashExpr_Kind : int { - HashExpr_Kind_KECCAK256 = 0, - HashExpr_Kind_SHA256 = 1, - HashExpr_Kind_RIPEMD160 = 2 -}; -bool HashExpr_Kind_IsValid(int value); -constexpr HashExpr_Kind HashExpr_Kind_Kind_MIN = HashExpr_Kind_KECCAK256; -constexpr HashExpr_Kind HashExpr_Kind_Kind_MAX = HashExpr_Kind_RIPEMD160; -constexpr int HashExpr_Kind_Kind_ARRAYSIZE = HashExpr_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HashExpr_Kind_descriptor(); -template -inline const std::string& HashExpr_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function HashExpr_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - HashExpr_Kind_descriptor(), enum_t_value); -} -inline bool HashExpr_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HashExpr_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - HashExpr_Kind_descriptor(), name, value); -} -enum MathExpr_Kind : int { - MathExpr_Kind_ADDMOD = 0, - MathExpr_Kind_MULMOD = 1 -}; -bool MathExpr_Kind_IsValid(int value); -constexpr MathExpr_Kind MathExpr_Kind_Kind_MIN = MathExpr_Kind_ADDMOD; -constexpr MathExpr_Kind MathExpr_Kind_Kind_MAX = MathExpr_Kind_MULMOD; -constexpr int MathExpr_Kind_Kind_ARRAYSIZE = MathExpr_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MathExpr_Kind_descriptor(); -template -inline const std::string& MathExpr_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function MathExpr_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - MathExpr_Kind_descriptor(), enum_t_value); -} -inline bool MathExpr_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MathExpr_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - MathExpr_Kind_descriptor(), name, value); -} -enum BuiltinExpr_Kind : int { - BuiltinExpr_Kind_GASLEFT = 0, - BuiltinExpr_Kind_BLOCKHASH = 1, - BuiltinExpr_Kind_BLOBHASH = 2, - BuiltinExpr_Kind_THIS_BALANCE = 3, - BuiltinExpr_Kind_CALLDATALOAD = 4, - BuiltinExpr_Kind_CALLDATASIZE = 5 -}; -bool BuiltinExpr_Kind_IsValid(int value); -constexpr BuiltinExpr_Kind BuiltinExpr_Kind_Kind_MIN = BuiltinExpr_Kind_GASLEFT; -constexpr BuiltinExpr_Kind BuiltinExpr_Kind_Kind_MAX = BuiltinExpr_Kind_CALLDATASIZE; -constexpr int BuiltinExpr_Kind_Kind_ARRAYSIZE = BuiltinExpr_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BuiltinExpr_Kind_descriptor(); -template -inline const std::string& BuiltinExpr_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function BuiltinExpr_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - BuiltinExpr_Kind_descriptor(), enum_t_value); -} -inline bool BuiltinExpr_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BuiltinExpr_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - BuiltinExpr_Kind_descriptor(), name, value); -} -enum TypeInfoExpr_Kind : int { - TypeInfoExpr_Kind_MIN = 0, - TypeInfoExpr_Kind_MAX = 1 -}; -bool TypeInfoExpr_Kind_IsValid(int value); -constexpr TypeInfoExpr_Kind TypeInfoExpr_Kind_Kind_MIN = TypeInfoExpr_Kind_MIN; -constexpr TypeInfoExpr_Kind TypeInfoExpr_Kind_Kind_MAX = TypeInfoExpr_Kind_MAX; -constexpr int TypeInfoExpr_Kind_Kind_ARRAYSIZE = TypeInfoExpr_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TypeInfoExpr_Kind_descriptor(); -template -inline const std::string& TypeInfoExpr_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function TypeInfoExpr_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - TypeInfoExpr_Kind_descriptor(), enum_t_value); -} -inline bool TypeInfoExpr_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TypeInfoExpr_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - TypeInfoExpr_Kind_descriptor(), name, value); -} -enum AssignExpr_Op : int { - AssignExpr_Op_ASSIGN = 0, - AssignExpr_Op_ADD_ASSIGN = 1, - AssignExpr_Op_SUB_ASSIGN = 2, - AssignExpr_Op_MUL_ASSIGN = 3, - AssignExpr_Op_DIV_ASSIGN = 4, - AssignExpr_Op_MOD_ASSIGN = 5, - AssignExpr_Op_AND_ASSIGN = 6, - AssignExpr_Op_OR_ASSIGN = 7, - AssignExpr_Op_XOR_ASSIGN = 8, - AssignExpr_Op_SHL_ASSIGN = 9, - AssignExpr_Op_SHR_ASSIGN = 10 -}; -bool AssignExpr_Op_IsValid(int value); -constexpr AssignExpr_Op AssignExpr_Op_Op_MIN = AssignExpr_Op_ASSIGN; -constexpr AssignExpr_Op AssignExpr_Op_Op_MAX = AssignExpr_Op_SHR_ASSIGN; -constexpr int AssignExpr_Op_Op_ARRAYSIZE = AssignExpr_Op_Op_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AssignExpr_Op_descriptor(); -template -inline const std::string& AssignExpr_Op_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function AssignExpr_Op_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - AssignExpr_Op_descriptor(), enum_t_value); -} -inline bool AssignExpr_Op_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AssignExpr_Op* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - AssignExpr_Op_descriptor(), name, value); -} -enum ConcatExpr_Kind : int { - ConcatExpr_Kind_BYTES_CONCAT = 0, - ConcatExpr_Kind_STRING_CONCAT = 1 -}; -bool ConcatExpr_Kind_IsValid(int value); -constexpr ConcatExpr_Kind ConcatExpr_Kind_Kind_MIN = ConcatExpr_Kind_BYTES_CONCAT; -constexpr ConcatExpr_Kind ConcatExpr_Kind_Kind_MAX = ConcatExpr_Kind_STRING_CONCAT; -constexpr int ConcatExpr_Kind_Kind_ARRAYSIZE = ConcatExpr_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConcatExpr_Kind_descriptor(); -template -inline const std::string& ConcatExpr_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ConcatExpr_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ConcatExpr_Kind_descriptor(), enum_t_value); -} -inline bool ConcatExpr_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConcatExpr_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ConcatExpr_Kind_descriptor(), name, value); -} -enum ArrayLiteralExpr_Kind : int { - ArrayLiteralExpr_Kind_UINT256 = 0, - ArrayLiteralExpr_Kind_INT256 = 1, - ArrayLiteralExpr_Kind_ADDRESS = 2, - ArrayLiteralExpr_Kind_BYTES32 = 3, - ArrayLiteralExpr_Kind_BOOL = 4, - ArrayLiteralExpr_Kind_MIXED_SIGN = 5, - ArrayLiteralExpr_Kind_MIXED_WIDTH = 6, - ArrayLiteralExpr_Kind_MIXED_BYTES = 7, - ArrayLiteralExpr_Kind_NESTED = 8 -}; -bool ArrayLiteralExpr_Kind_IsValid(int value); -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr_Kind_Kind_MIN = ArrayLiteralExpr_Kind_UINT256; -constexpr ArrayLiteralExpr_Kind ArrayLiteralExpr_Kind_Kind_MAX = ArrayLiteralExpr_Kind_NESTED; -constexpr int ArrayLiteralExpr_Kind_Kind_ARRAYSIZE = ArrayLiteralExpr_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ArrayLiteralExpr_Kind_descriptor(); -template -inline const std::string& ArrayLiteralExpr_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ArrayLiteralExpr_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ArrayLiteralExpr_Kind_descriptor(), enum_t_value); -} -inline bool ArrayLiteralExpr_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ArrayLiteralExpr_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ArrayLiteralExpr_Kind_descriptor(), name, value); -} -enum BareMagicStmt_Kind : int { - BareMagicStmt_Kind_ABI_ENCODE_CALL = 0, - BareMagicStmt_Kind_ABI_ENCODE = 1, - BareMagicStmt_Kind_ABI_ENCODE_PACKED = 2, - BareMagicStmt_Kind_ABI_DECODE = 3, - BareMagicStmt_Kind_ABI_ENCODE_WITH_SELECTOR = 4, - BareMagicStmt_Kind_ABI_ENCODE_WITH_SIGNATURE = 5 -}; -bool BareMagicStmt_Kind_IsValid(int value); -constexpr BareMagicStmt_Kind BareMagicStmt_Kind_Kind_MIN = BareMagicStmt_Kind_ABI_ENCODE_CALL; -constexpr BareMagicStmt_Kind BareMagicStmt_Kind_Kind_MAX = BareMagicStmt_Kind_ABI_ENCODE_WITH_SIGNATURE; -constexpr int BareMagicStmt_Kind_Kind_ARRAYSIZE = BareMagicStmt_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BareMagicStmt_Kind_descriptor(); -template -inline const std::string& BareMagicStmt_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function BareMagicStmt_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - BareMagicStmt_Kind_descriptor(), enum_t_value); -} -inline bool BareMagicStmt_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BareMagicStmt_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - BareMagicStmt_Kind_descriptor(), name, value); -} -enum FixedAsmStmt_Kind : int { - FixedAsmStmt_Kind_FIXED_LOCAL = 0, - FixedAsmStmt_Kind_UFIXED_LOCAL = 1 -}; -bool FixedAsmStmt_Kind_IsValid(int value); -constexpr FixedAsmStmt_Kind FixedAsmStmt_Kind_Kind_MIN = FixedAsmStmt_Kind_FIXED_LOCAL; -constexpr FixedAsmStmt_Kind FixedAsmStmt_Kind_Kind_MAX = FixedAsmStmt_Kind_UFIXED_LOCAL; -constexpr int FixedAsmStmt_Kind_Kind_ARRAYSIZE = FixedAsmStmt_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FixedAsmStmt_Kind_descriptor(); -template -inline const std::string& FixedAsmStmt_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function FixedAsmStmt_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - FixedAsmStmt_Kind_descriptor(), enum_t_value); -} -inline bool FixedAsmStmt_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FixedAsmStmt_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - FixedAsmStmt_Kind_descriptor(), name, value); -} -enum UsingForBinding_OperatorKind : int { - UsingForBinding_OperatorKind_OP_NONE = 0, - UsingForBinding_OperatorKind_OP_ADD = 1, - UsingForBinding_OperatorKind_OP_SUB = 2, - UsingForBinding_OperatorKind_OP_MUL = 3, - UsingForBinding_OperatorKind_OP_DIV = 4, - UsingForBinding_OperatorKind_OP_MOD = 5, - UsingForBinding_OperatorKind_OP_EQ = 6, - UsingForBinding_OperatorKind_OP_NEQ = 7, - UsingForBinding_OperatorKind_OP_LT = 8, - UsingForBinding_OperatorKind_OP_GT = 9, - UsingForBinding_OperatorKind_OP_LTE = 10, - UsingForBinding_OperatorKind_OP_GTE = 11, - UsingForBinding_OperatorKind_OP_BIT_AND = 12, - UsingForBinding_OperatorKind_OP_BIT_OR = 13, - UsingForBinding_OperatorKind_OP_BIT_XOR = 14, - UsingForBinding_OperatorKind_OP_BIT_NOT = 15, - UsingForBinding_OperatorKind_OP_UNARY_MINUS = 16 -}; -bool UsingForBinding_OperatorKind_IsValid(int value); -constexpr UsingForBinding_OperatorKind UsingForBinding_OperatorKind_OperatorKind_MIN = UsingForBinding_OperatorKind_OP_NONE; -constexpr UsingForBinding_OperatorKind UsingForBinding_OperatorKind_OperatorKind_MAX = UsingForBinding_OperatorKind_OP_UNARY_MINUS; -constexpr int UsingForBinding_OperatorKind_OperatorKind_ARRAYSIZE = UsingForBinding_OperatorKind_OperatorKind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UsingForBinding_OperatorKind_descriptor(); -template -inline const std::string& UsingForBinding_OperatorKind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function UsingForBinding_OperatorKind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - UsingForBinding_OperatorKind_descriptor(), enum_t_value); -} -inline bool UsingForBinding_OperatorKind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UsingForBinding_OperatorKind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - UsingForBinding_OperatorKind_descriptor(), name, value); -} -enum ContractDef_Kind : int { - ContractDef_Kind_CONTRACT = 0, - ContractDef_Kind_LIBRARY = 1 -}; -bool ContractDef_Kind_IsValid(int value); -constexpr ContractDef_Kind ContractDef_Kind_Kind_MIN = ContractDef_Kind_CONTRACT; -constexpr ContractDef_Kind ContractDef_Kind_Kind_MAX = ContractDef_Kind_LIBRARY; -constexpr int ContractDef_Kind_Kind_ARRAYSIZE = ContractDef_Kind_Kind_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContractDef_Kind_descriptor(); -template -inline const std::string& ContractDef_Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ContractDef_Kind_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ContractDef_Kind_descriptor(), enum_t_value); -} -inline bool ContractDef_Kind_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContractDef_Kind* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ContractDef_Kind_descriptor(), name, value); -} -enum Visibility : int { - PUBLIC = 0, - EXTERNAL = 1, - INTERNAL = 2, - PRIVATE = 3 -}; -bool Visibility_IsValid(int value); -constexpr Visibility Visibility_MIN = PUBLIC; -constexpr Visibility Visibility_MAX = PRIVATE; -constexpr int Visibility_ARRAYSIZE = Visibility_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Visibility_descriptor(); -template -inline const std::string& Visibility_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Visibility_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Visibility_descriptor(), enum_t_value); -} -inline bool Visibility_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Visibility* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - Visibility_descriptor(), name, value); -} -enum StateMutability : int { - PURE = 0, - VIEW = 1, - PAYABLE = 2, - NONPAYABLE = 3 -}; -bool StateMutability_IsValid(int value); -constexpr StateMutability StateMutability_MIN = PURE; -constexpr StateMutability StateMutability_MAX = NONPAYABLE; -constexpr int StateMutability_ARRAYSIZE = StateMutability_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StateMutability_descriptor(); -template -inline const std::string& StateMutability_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function StateMutability_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - StateMutability_descriptor(), enum_t_value); -} -inline bool StateMutability_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StateMutability* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - StateMutability_descriptor(), name, value); -} -enum ParamType : int { - PARAM_UINT256 = 0, - PARAM_BOOL = 1, - PARAM_ADDRESS = 2, - PARAM_BYTES32 = 3, - PARAM_STRUCT = 4 -}; -bool ParamType_IsValid(int value); -constexpr ParamType ParamType_MIN = PARAM_UINT256; -constexpr ParamType ParamType_MAX = PARAM_STRUCT; -constexpr int ParamType_ARRAYSIZE = ParamType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ParamType_descriptor(); -template -inline const std::string& ParamType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ParamType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ParamType_descriptor(), enum_t_value); -} -inline bool ParamType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ParamType_descriptor(), name, value); -} -// =================================================================== - -class IntegerType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.IntegerType) */ { - public: - inline IntegerType() : IntegerType(nullptr) {} - ~IntegerType() override; - explicit PROTOBUF_CONSTEXPR IntegerType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IntegerType(const IntegerType& from); - IntegerType(IntegerType&& from) noexcept - : IntegerType() { - *this = ::std::move(from); - } - - inline IntegerType& operator=(const IntegerType& from) { - CopyFrom(from); - return *this; - } - inline IntegerType& operator=(IntegerType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IntegerType& default_instance() { - return *internal_default_instance(); - } - static inline const IntegerType* internal_default_instance() { - return reinterpret_cast( - &_IntegerType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(IntegerType& a, IntegerType& b) { - a.Swap(&b); - } - inline void Swap(IntegerType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IntegerType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IntegerType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IntegerType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IntegerType& from) { - IntegerType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IntegerType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.IntegerType"; - } - protected: - explicit IntegerType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef IntegerType_Width Width; - static constexpr Width W8 = - IntegerType_Width_W8; - static constexpr Width W16 = - IntegerType_Width_W16; - static constexpr Width W24 = - IntegerType_Width_W24; - static constexpr Width W32 = - IntegerType_Width_W32; - static constexpr Width W40 = - IntegerType_Width_W40; - static constexpr Width W48 = - IntegerType_Width_W48; - static constexpr Width W56 = - IntegerType_Width_W56; - static constexpr Width W64 = - IntegerType_Width_W64; - static constexpr Width W72 = - IntegerType_Width_W72; - static constexpr Width W80 = - IntegerType_Width_W80; - static constexpr Width W88 = - IntegerType_Width_W88; - static constexpr Width W96 = - IntegerType_Width_W96; - static constexpr Width W104 = - IntegerType_Width_W104; - static constexpr Width W112 = - IntegerType_Width_W112; - static constexpr Width W120 = - IntegerType_Width_W120; - static constexpr Width W128 = - IntegerType_Width_W128; - static constexpr Width W136 = - IntegerType_Width_W136; - static constexpr Width W144 = - IntegerType_Width_W144; - static constexpr Width W152 = - IntegerType_Width_W152; - static constexpr Width W160 = - IntegerType_Width_W160; - static constexpr Width W168 = - IntegerType_Width_W168; - static constexpr Width W176 = - IntegerType_Width_W176; - static constexpr Width W184 = - IntegerType_Width_W184; - static constexpr Width W192 = - IntegerType_Width_W192; - static constexpr Width W200 = - IntegerType_Width_W200; - static constexpr Width W208 = - IntegerType_Width_W208; - static constexpr Width W216 = - IntegerType_Width_W216; - static constexpr Width W224 = - IntegerType_Width_W224; - static constexpr Width W232 = - IntegerType_Width_W232; - static constexpr Width W240 = - IntegerType_Width_W240; - static constexpr Width W248 = - IntegerType_Width_W248; - static constexpr Width W256 = - IntegerType_Width_W256; - static inline bool Width_IsValid(int value) { - return IntegerType_Width_IsValid(value); - } - static constexpr Width Width_MIN = - IntegerType_Width_Width_MIN; - static constexpr Width Width_MAX = - IntegerType_Width_Width_MAX; - static constexpr int Width_ARRAYSIZE = - IntegerType_Width_Width_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Width_descriptor() { - return IntegerType_Width_descriptor(); - } - template - static inline const std::string& Width_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Width_Name."); - return IntegerType_Width_Name(enum_t_value); - } - static inline bool Width_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Width* value) { - return IntegerType_Width_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kWidthFieldNumber = 1, - kIsSignedFieldNumber = 2, - }; - // required .solidity.test.sol2protofuzzer.IntegerType.Width width = 1; - bool has_width() const; - private: - bool _internal_has_width() const; - public: - void clear_width(); - ::solidity::test::sol2protofuzzer::IntegerType_Width width() const; - void set_width(::solidity::test::sol2protofuzzer::IntegerType_Width value); - private: - ::solidity::test::sol2protofuzzer::IntegerType_Width _internal_width() const; - void _internal_set_width(::solidity::test::sol2protofuzzer::IntegerType_Width value); - public: - - // required bool is_signed = 2; - bool has_is_signed() const; - private: - bool _internal_has_is_signed() const; - public: - void clear_is_signed(); - bool is_signed() const; - void set_is_signed(bool value); - private: - bool _internal_is_signed() const; - void _internal_set_is_signed(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.IntegerType) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int width_; - bool is_signed_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class FixedBytesType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.FixedBytesType) */ { - public: - inline FixedBytesType() : FixedBytesType(nullptr) {} - ~FixedBytesType() override; - explicit PROTOBUF_CONSTEXPR FixedBytesType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - FixedBytesType(const FixedBytesType& from); - FixedBytesType(FixedBytesType&& from) noexcept - : FixedBytesType() { - *this = ::std::move(from); - } - - inline FixedBytesType& operator=(const FixedBytesType& from) { - CopyFrom(from); - return *this; - } - inline FixedBytesType& operator=(FixedBytesType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const FixedBytesType& default_instance() { - return *internal_default_instance(); - } - static inline const FixedBytesType* internal_default_instance() { - return reinterpret_cast( - &_FixedBytesType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(FixedBytesType& a, FixedBytesType& b) { - a.Swap(&b); - } - inline void Swap(FixedBytesType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FixedBytesType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - FixedBytesType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FixedBytesType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const FixedBytesType& from) { - FixedBytesType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(FixedBytesType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.FixedBytesType"; - } - protected: - explicit FixedBytesType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef FixedBytesType_Width Width; - static constexpr Width B1 = - FixedBytesType_Width_B1; - static constexpr Width B2 = - FixedBytesType_Width_B2; - static constexpr Width B3 = - FixedBytesType_Width_B3; - static constexpr Width B4 = - FixedBytesType_Width_B4; - static constexpr Width B5 = - FixedBytesType_Width_B5; - static constexpr Width B6 = - FixedBytesType_Width_B6; - static constexpr Width B7 = - FixedBytesType_Width_B7; - static constexpr Width B8 = - FixedBytesType_Width_B8; - static constexpr Width B9 = - FixedBytesType_Width_B9; - static constexpr Width B10 = - FixedBytesType_Width_B10; - static constexpr Width B11 = - FixedBytesType_Width_B11; - static constexpr Width B12 = - FixedBytesType_Width_B12; - static constexpr Width B13 = - FixedBytesType_Width_B13; - static constexpr Width B14 = - FixedBytesType_Width_B14; - static constexpr Width B15 = - FixedBytesType_Width_B15; - static constexpr Width B16 = - FixedBytesType_Width_B16; - static constexpr Width B17 = - FixedBytesType_Width_B17; - static constexpr Width B18 = - FixedBytesType_Width_B18; - static constexpr Width B19 = - FixedBytesType_Width_B19; - static constexpr Width B20 = - FixedBytesType_Width_B20; - static constexpr Width B21 = - FixedBytesType_Width_B21; - static constexpr Width B22 = - FixedBytesType_Width_B22; - static constexpr Width B23 = - FixedBytesType_Width_B23; - static constexpr Width B24 = - FixedBytesType_Width_B24; - static constexpr Width B25 = - FixedBytesType_Width_B25; - static constexpr Width B26 = - FixedBytesType_Width_B26; - static constexpr Width B27 = - FixedBytesType_Width_B27; - static constexpr Width B28 = - FixedBytesType_Width_B28; - static constexpr Width B29 = - FixedBytesType_Width_B29; - static constexpr Width B30 = - FixedBytesType_Width_B30; - static constexpr Width B31 = - FixedBytesType_Width_B31; - static constexpr Width B32 = - FixedBytesType_Width_B32; - static inline bool Width_IsValid(int value) { - return FixedBytesType_Width_IsValid(value); - } - static constexpr Width Width_MIN = - FixedBytesType_Width_Width_MIN; - static constexpr Width Width_MAX = - FixedBytesType_Width_Width_MAX; - static constexpr int Width_ARRAYSIZE = - FixedBytesType_Width_Width_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Width_descriptor() { - return FixedBytesType_Width_descriptor(); - } - template - static inline const std::string& Width_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Width_Name."); - return FixedBytesType_Width_Name(enum_t_value); - } - static inline bool Width_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Width* value) { - return FixedBytesType_Width_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kWidthFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.FixedBytesType.Width width = 1; - bool has_width() const; - private: - bool _internal_has_width() const; - public: - void clear_width(); - ::solidity::test::sol2protofuzzer::FixedBytesType_Width width() const; - void set_width(::solidity::test::sol2protofuzzer::FixedBytesType_Width value); - private: - ::solidity::test::sol2protofuzzer::FixedBytesType_Width _internal_width() const; - void _internal_set_width(::solidity::test::sol2protofuzzer::FixedBytesType_Width value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.FixedBytesType) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int width_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class BoolType final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.BoolType) */ { - public: - inline BoolType() : BoolType(nullptr) {} - explicit PROTOBUF_CONSTEXPR BoolType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BoolType(const BoolType& from); - BoolType(BoolType&& from) noexcept - : BoolType() { - *this = ::std::move(from); - } - - inline BoolType& operator=(const BoolType& from) { - CopyFrom(from); - return *this; - } - inline BoolType& operator=(BoolType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BoolType& default_instance() { - return *internal_default_instance(); - } - static inline const BoolType* internal_default_instance() { - return reinterpret_cast( - &_BoolType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(BoolType& a, BoolType& b) { - a.Swap(&b); - } - inline void Swap(BoolType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BoolType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BoolType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const BoolType& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const BoolType& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.BoolType"; - } - protected: - explicit BoolType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.BoolType) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ElementaryType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ElementaryType) */ { - public: - inline ElementaryType() : ElementaryType(nullptr) {} - ~ElementaryType() override; - explicit PROTOBUF_CONSTEXPR ElementaryType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ElementaryType(const ElementaryType& from); - ElementaryType(ElementaryType&& from) noexcept - : ElementaryType() { - *this = ::std::move(from); - } - - inline ElementaryType& operator=(const ElementaryType& from) { - CopyFrom(from); - return *this; - } - inline ElementaryType& operator=(ElementaryType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ElementaryType& default_instance() { - return *internal_default_instance(); - } - enum TypeOneofCase { - kBoolType = 1, - kIntType = 2, - kAddressPayable = 3, - kFixedBytes = 4, - kIsString = 5, - TYPE_ONEOF_NOT_SET = 0, - }; - - static inline const ElementaryType* internal_default_instance() { - return reinterpret_cast( - &_ElementaryType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(ElementaryType& a, ElementaryType& b) { - a.Swap(&b); - } - inline void Swap(ElementaryType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ElementaryType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ElementaryType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ElementaryType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ElementaryType& from) { - ElementaryType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ElementaryType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ElementaryType"; - } - protected: - explicit ElementaryType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBoolTypeFieldNumber = 1, - kIntTypeFieldNumber = 2, - kAddressPayableFieldNumber = 3, - kFixedBytesFieldNumber = 4, - kIsStringFieldNumber = 5, - }; - // .solidity.test.sol2protofuzzer.BoolType bool_type = 1; - bool has_bool_type() const; - private: - bool _internal_has_bool_type() const; - public: - void clear_bool_type(); - const ::solidity::test::sol2protofuzzer::BoolType& bool_type() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::BoolType* release_bool_type(); - ::solidity::test::sol2protofuzzer::BoolType* mutable_bool_type(); - void set_allocated_bool_type(::solidity::test::sol2protofuzzer::BoolType* bool_type); - private: - const ::solidity::test::sol2protofuzzer::BoolType& _internal_bool_type() const; - ::solidity::test::sol2protofuzzer::BoolType* _internal_mutable_bool_type(); - public: - void unsafe_arena_set_allocated_bool_type( - ::solidity::test::sol2protofuzzer::BoolType* bool_type); - ::solidity::test::sol2protofuzzer::BoolType* unsafe_arena_release_bool_type(); - - // .solidity.test.sol2protofuzzer.IntegerType int_type = 2; - bool has_int_type() const; - private: - bool _internal_has_int_type() const; - public: - void clear_int_type(); - const ::solidity::test::sol2protofuzzer::IntegerType& int_type() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::IntegerType* release_int_type(); - ::solidity::test::sol2protofuzzer::IntegerType* mutable_int_type(); - void set_allocated_int_type(::solidity::test::sol2protofuzzer::IntegerType* int_type); - private: - const ::solidity::test::sol2protofuzzer::IntegerType& _internal_int_type() const; - ::solidity::test::sol2protofuzzer::IntegerType* _internal_mutable_int_type(); - public: - void unsafe_arena_set_allocated_int_type( - ::solidity::test::sol2protofuzzer::IntegerType* int_type); - ::solidity::test::sol2protofuzzer::IntegerType* unsafe_arena_release_int_type(); - - // bool address_payable = 3; - bool has_address_payable() const; - private: - bool _internal_has_address_payable() const; - public: - void clear_address_payable(); - bool address_payable() const; - void set_address_payable(bool value); - private: - bool _internal_address_payable() const; - void _internal_set_address_payable(bool value); - public: - - // .solidity.test.sol2protofuzzer.FixedBytesType fixed_bytes = 4; - bool has_fixed_bytes() const; - private: - bool _internal_has_fixed_bytes() const; - public: - void clear_fixed_bytes(); - const ::solidity::test::sol2protofuzzer::FixedBytesType& fixed_bytes() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::FixedBytesType* release_fixed_bytes(); - ::solidity::test::sol2protofuzzer::FixedBytesType* mutable_fixed_bytes(); - void set_allocated_fixed_bytes(::solidity::test::sol2protofuzzer::FixedBytesType* fixed_bytes); - private: - const ::solidity::test::sol2protofuzzer::FixedBytesType& _internal_fixed_bytes() const; - ::solidity::test::sol2protofuzzer::FixedBytesType* _internal_mutable_fixed_bytes(); - public: - void unsafe_arena_set_allocated_fixed_bytes( - ::solidity::test::sol2protofuzzer::FixedBytesType* fixed_bytes); - ::solidity::test::sol2protofuzzer::FixedBytesType* unsafe_arena_release_fixed_bytes(); - - // bool is_string = 5; - bool has_is_string() const; - private: - bool _internal_has_is_string() const; - public: - void clear_is_string(); - bool is_string() const; - void set_is_string(bool value); - private: - bool _internal_is_string() const; - void _internal_set_is_string(bool value); - public: - - void clear_type_oneof(); - TypeOneofCase type_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ElementaryType) - private: - class _Internal; - void set_has_bool_type(); - void set_has_int_type(); - void set_has_address_payable(); - void set_has_fixed_bytes(); - void set_has_is_string(); - - inline bool has_type_oneof() const; - inline void clear_has_type_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union TypeOneofUnion { - constexpr TypeOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::sol2protofuzzer::BoolType* bool_type_; - ::solidity::test::sol2protofuzzer::IntegerType* int_type_; - bool address_payable_; - ::solidity::test::sol2protofuzzer::FixedBytesType* fixed_bytes_; - bool is_string_; - } type_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ArrayType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ArrayType) */ { - public: - inline ArrayType() : ArrayType(nullptr) {} - ~ArrayType() override; - explicit PROTOBUF_CONSTEXPR ArrayType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ArrayType(const ArrayType& from); - ArrayType(ArrayType&& from) noexcept - : ArrayType() { - *this = ::std::move(from); - } - - inline ArrayType& operator=(const ArrayType& from) { - CopyFrom(from); - return *this; - } - inline ArrayType& operator=(ArrayType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ArrayType& default_instance() { - return *internal_default_instance(); - } - static inline const ArrayType* internal_default_instance() { - return reinterpret_cast( - &_ArrayType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(ArrayType& a, ArrayType& b) { - a.Swap(&b); - } - inline void Swap(ArrayType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArrayType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArrayType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ArrayType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ArrayType& from) { - ArrayType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ArrayType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ArrayType"; - } - protected: - explicit ArrayType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBaseFieldNumber = 1, - kSizeExprFieldNumber = 3, - kLengthFieldNumber = 2, - }; - // required .solidity.test.sol2protofuzzer.ElementaryType base = 1; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - const ::solidity::test::sol2protofuzzer::ElementaryType& base() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ElementaryType* release_base(); - ::solidity::test::sol2protofuzzer::ElementaryType* mutable_base(); - void set_allocated_base(::solidity::test::sol2protofuzzer::ElementaryType* base); - private: - const ::solidity::test::sol2protofuzzer::ElementaryType& _internal_base() const; - ::solidity::test::sol2protofuzzer::ElementaryType* _internal_mutable_base(); - public: - void unsafe_arena_set_allocated_base( - ::solidity::test::sol2protofuzzer::ElementaryType* base); - ::solidity::test::sol2protofuzzer::ElementaryType* unsafe_arena_release_base(); - - // optional .solidity.test.sol2protofuzzer.ArraySizeExpr size_expr = 3; - bool has_size_expr() const; - private: - bool _internal_has_size_expr() const; - public: - void clear_size_expr(); - const ::solidity::test::sol2protofuzzer::ArraySizeExpr& size_expr() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ArraySizeExpr* release_size_expr(); - ::solidity::test::sol2protofuzzer::ArraySizeExpr* mutable_size_expr(); - void set_allocated_size_expr(::solidity::test::sol2protofuzzer::ArraySizeExpr* size_expr); - private: - const ::solidity::test::sol2protofuzzer::ArraySizeExpr& _internal_size_expr() const; - ::solidity::test::sol2protofuzzer::ArraySizeExpr* _internal_mutable_size_expr(); - public: - void unsafe_arena_set_allocated_size_expr( - ::solidity::test::sol2protofuzzer::ArraySizeExpr* size_expr); - ::solidity::test::sol2protofuzzer::ArraySizeExpr* unsafe_arena_release_size_expr(); - - // optional uint32 length = 2; - bool has_length() const; - private: - bool _internal_has_length() const; - public: - void clear_length(); - uint32_t length() const; - void set_length(uint32_t value); - private: - uint32_t _internal_length() const; - void _internal_set_length(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ArrayType) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::ElementaryType* base_; - ::solidity::test::sol2protofuzzer::ArraySizeExpr* size_expr_; - uint32_t length_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ArraySizeExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ArraySizeExpr) */ { - public: - inline ArraySizeExpr() : ArraySizeExpr(nullptr) {} - ~ArraySizeExpr() override; - explicit PROTOBUF_CONSTEXPR ArraySizeExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ArraySizeExpr(const ArraySizeExpr& from); - ArraySizeExpr(ArraySizeExpr&& from) noexcept - : ArraySizeExpr() { - *this = ::std::move(from); - } - - inline ArraySizeExpr& operator=(const ArraySizeExpr& from) { - CopyFrom(from); - return *this; - } - inline ArraySizeExpr& operator=(ArraySizeExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ArraySizeExpr& default_instance() { - return *internal_default_instance(); - } - static inline const ArraySizeExpr* internal_default_instance() { - return reinterpret_cast( - &_ArraySizeExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(ArraySizeExpr& a, ArraySizeExpr& b) { - a.Swap(&b); - } - inline void Swap(ArraySizeExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArraySizeExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArraySizeExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ArraySizeExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ArraySizeExpr& from) { - ArraySizeExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ArraySizeExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ArraySizeExpr"; - } - protected: - explicit ArraySizeExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef ArraySizeExpr_Kind Kind; - static constexpr Kind BUCKET = - ArraySizeExpr_Kind_BUCKET; - static constexpr Kind ABI_SUBSCRIPT = - ArraySizeExpr_Kind_ABI_SUBSCRIPT; - static constexpr Kind BLOCK_SUBSCRIPT = - ArraySizeExpr_Kind_BLOCK_SUBSCRIPT; - static constexpr Kind MSG_SUBSCRIPT = - ArraySizeExpr_Kind_MSG_SUBSCRIPT; - static constexpr Kind TX_SUBSCRIPT = - ArraySizeExpr_Kind_TX_SUBSCRIPT; - static constexpr Kind ABI_CALL = - ArraySizeExpr_Kind_ABI_CALL; - static constexpr Kind TYPE_INDEX = - ArraySizeExpr_Kind_TYPE_INDEX; - static inline bool Kind_IsValid(int value) { - return ArraySizeExpr_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - ArraySizeExpr_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - ArraySizeExpr_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - ArraySizeExpr_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return ArraySizeExpr_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return ArraySizeExpr_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return ArraySizeExpr_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kKindFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.ArraySizeExpr.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind value); - private: - ::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ArraySizeExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int kind_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class MappingType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.MappingType) */ { - public: - inline MappingType() : MappingType(nullptr) {} - ~MappingType() override; - explicit PROTOBUF_CONSTEXPR MappingType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MappingType(const MappingType& from); - MappingType(MappingType&& from) noexcept - : MappingType() { - *this = ::std::move(from); - } - - inline MappingType& operator=(const MappingType& from) { - CopyFrom(from); - return *this; - } - inline MappingType& operator=(MappingType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MappingType& default_instance() { - return *internal_default_instance(); - } - static inline const MappingType* internal_default_instance() { - return reinterpret_cast( - &_MappingType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(MappingType& a, MappingType& b) { - a.Swap(&b); - } - inline void Swap(MappingType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MappingType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MappingType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MappingType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MappingType& from) { - MappingType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MappingType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.MappingType"; - } - protected: - explicit MappingType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKeyFieldNumber = 1, - kValueFieldNumber = 2, - }; - // required .solidity.test.sol2protofuzzer.ElementaryType key = 1; - bool has_key() const; - private: - bool _internal_has_key() const; - public: - void clear_key(); - const ::solidity::test::sol2protofuzzer::ElementaryType& key() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ElementaryType* release_key(); - ::solidity::test::sol2protofuzzer::ElementaryType* mutable_key(); - void set_allocated_key(::solidity::test::sol2protofuzzer::ElementaryType* key); - private: - const ::solidity::test::sol2protofuzzer::ElementaryType& _internal_key() const; - ::solidity::test::sol2protofuzzer::ElementaryType* _internal_mutable_key(); - public: - void unsafe_arena_set_allocated_key( - ::solidity::test::sol2protofuzzer::ElementaryType* key); - ::solidity::test::sol2protofuzzer::ElementaryType* unsafe_arena_release_key(); - - // required .solidity.test.sol2protofuzzer.ElementaryType value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const ::solidity::test::sol2protofuzzer::ElementaryType& value() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ElementaryType* release_value(); - ::solidity::test::sol2protofuzzer::ElementaryType* mutable_value(); - void set_allocated_value(::solidity::test::sol2protofuzzer::ElementaryType* value); - private: - const ::solidity::test::sol2protofuzzer::ElementaryType& _internal_value() const; - ::solidity::test::sol2protofuzzer::ElementaryType* _internal_mutable_value(); - public: - void unsafe_arena_set_allocated_value( - ::solidity::test::sol2protofuzzer::ElementaryType* value); - ::solidity::test::sol2protofuzzer::ElementaryType* unsafe_arena_release_value(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.MappingType) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::ElementaryType* key_; - ::solidity::test::sol2protofuzzer::ElementaryType* value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class TypeName final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.TypeName) */ { - public: - inline TypeName() : TypeName(nullptr) {} - ~TypeName() override; - explicit PROTOBUF_CONSTEXPR TypeName(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TypeName(const TypeName& from); - TypeName(TypeName&& from) noexcept - : TypeName() { - *this = ::std::move(from); - } - - inline TypeName& operator=(const TypeName& from) { - CopyFrom(from); - return *this; - } - inline TypeName& operator=(TypeName&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TypeName& default_instance() { - return *internal_default_instance(); - } - enum TypeOneofCase { - kElementary = 1, - kArray = 2, - kMapping = 3, - kStructRef = 4, - kEnumRef = 5, - TYPE_ONEOF_NOT_SET = 0, - }; - - static inline const TypeName* internal_default_instance() { - return reinterpret_cast( - &_TypeName_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(TypeName& a, TypeName& b) { - a.Swap(&b); - } - inline void Swap(TypeName* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TypeName* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TypeName* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TypeName& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TypeName& from) { - TypeName::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TypeName* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.TypeName"; - } - protected: - explicit TypeName(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kElementaryFieldNumber = 1, - kArrayFieldNumber = 2, - kMappingFieldNumber = 3, - kStructRefFieldNumber = 4, - kEnumRefFieldNumber = 5, - }; - // .solidity.test.sol2protofuzzer.ElementaryType elementary = 1; - bool has_elementary() const; - private: - bool _internal_has_elementary() const; - public: - void clear_elementary(); - const ::solidity::test::sol2protofuzzer::ElementaryType& elementary() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ElementaryType* release_elementary(); - ::solidity::test::sol2protofuzzer::ElementaryType* mutable_elementary(); - void set_allocated_elementary(::solidity::test::sol2protofuzzer::ElementaryType* elementary); - private: - const ::solidity::test::sol2protofuzzer::ElementaryType& _internal_elementary() const; - ::solidity::test::sol2protofuzzer::ElementaryType* _internal_mutable_elementary(); - public: - void unsafe_arena_set_allocated_elementary( - ::solidity::test::sol2protofuzzer::ElementaryType* elementary); - ::solidity::test::sol2protofuzzer::ElementaryType* unsafe_arena_release_elementary(); - - // .solidity.test.sol2protofuzzer.ArrayType array = 2; - bool has_array() const; - private: - bool _internal_has_array() const; - public: - void clear_array(); - const ::solidity::test::sol2protofuzzer::ArrayType& array() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ArrayType* release_array(); - ::solidity::test::sol2protofuzzer::ArrayType* mutable_array(); - void set_allocated_array(::solidity::test::sol2protofuzzer::ArrayType* array); - private: - const ::solidity::test::sol2protofuzzer::ArrayType& _internal_array() const; - ::solidity::test::sol2protofuzzer::ArrayType* _internal_mutable_array(); - public: - void unsafe_arena_set_allocated_array( - ::solidity::test::sol2protofuzzer::ArrayType* array); - ::solidity::test::sol2protofuzzer::ArrayType* unsafe_arena_release_array(); - - // .solidity.test.sol2protofuzzer.MappingType mapping = 3; - bool has_mapping() const; - private: - bool _internal_has_mapping() const; - public: - void clear_mapping(); - const ::solidity::test::sol2protofuzzer::MappingType& mapping() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::MappingType* release_mapping(); - ::solidity::test::sol2protofuzzer::MappingType* mutable_mapping(); - void set_allocated_mapping(::solidity::test::sol2protofuzzer::MappingType* mapping); - private: - const ::solidity::test::sol2protofuzzer::MappingType& _internal_mapping() const; - ::solidity::test::sol2protofuzzer::MappingType* _internal_mutable_mapping(); - public: - void unsafe_arena_set_allocated_mapping( - ::solidity::test::sol2protofuzzer::MappingType* mapping); - ::solidity::test::sol2protofuzzer::MappingType* unsafe_arena_release_mapping(); - - // uint32 struct_ref = 4; - bool has_struct_ref() const; - private: - bool _internal_has_struct_ref() const; - public: - void clear_struct_ref(); - uint32_t struct_ref() const; - void set_struct_ref(uint32_t value); - private: - uint32_t _internal_struct_ref() const; - void _internal_set_struct_ref(uint32_t value); - public: - - // uint32 enum_ref = 5; - bool has_enum_ref() const; - private: - bool _internal_has_enum_ref() const; - public: - void clear_enum_ref(); - uint32_t enum_ref() const; - void set_enum_ref(uint32_t value); - private: - uint32_t _internal_enum_ref() const; - void _internal_set_enum_ref(uint32_t value); - public: - - void clear_type_oneof(); - TypeOneofCase type_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.TypeName) - private: - class _Internal; - void set_has_elementary(); - void set_has_array(); - void set_has_mapping(); - void set_has_struct_ref(); - void set_has_enum_ref(); - - inline bool has_type_oneof() const; - inline void clear_has_type_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union TypeOneofUnion { - constexpr TypeOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::sol2protofuzzer::ElementaryType* elementary_; - ::solidity::test::sol2protofuzzer::ArrayType* array_; - ::solidity::test::sol2protofuzzer::MappingType* mapping_; - uint32_t struct_ref_; - uint32_t enum_ref_; - } type_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class BoolLiteral final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.BoolLiteral) */ { - public: - inline BoolLiteral() : BoolLiteral(nullptr) {} - ~BoolLiteral() override; - explicit PROTOBUF_CONSTEXPR BoolLiteral(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BoolLiteral(const BoolLiteral& from); - BoolLiteral(BoolLiteral&& from) noexcept - : BoolLiteral() { - *this = ::std::move(from); - } - - inline BoolLiteral& operator=(const BoolLiteral& from) { - CopyFrom(from); - return *this; - } - inline BoolLiteral& operator=(BoolLiteral&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BoolLiteral& default_instance() { - return *internal_default_instance(); - } - static inline const BoolLiteral* internal_default_instance() { - return reinterpret_cast( - &_BoolLiteral_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(BoolLiteral& a, BoolLiteral& b) { - a.Swap(&b); - } - inline void Swap(BoolLiteral* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BoolLiteral* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BoolLiteral* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const BoolLiteral& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const BoolLiteral& from) { - BoolLiteral::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(BoolLiteral* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.BoolLiteral"; - } - protected: - explicit BoolLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValFieldNumber = 1, - }; - // required bool val = 1; - bool has_val() const; - private: - bool _internal_has_val() const; - public: - void clear_val(); - bool val() const; - void set_val(bool value); - private: - bool _internal_val() const; - void _internal_set_val(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.BoolLiteral) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool val_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class IntegerLiteral final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.IntegerLiteral) */ { - public: - inline IntegerLiteral() : IntegerLiteral(nullptr) {} - ~IntegerLiteral() override; - explicit PROTOBUF_CONSTEXPR IntegerLiteral(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IntegerLiteral(const IntegerLiteral& from); - IntegerLiteral(IntegerLiteral&& from) noexcept - : IntegerLiteral() { - *this = ::std::move(from); - } - - inline IntegerLiteral& operator=(const IntegerLiteral& from) { - CopyFrom(from); - return *this; - } - inline IntegerLiteral& operator=(IntegerLiteral&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IntegerLiteral& default_instance() { - return *internal_default_instance(); - } - static inline const IntegerLiteral* internal_default_instance() { - return reinterpret_cast( - &_IntegerLiteral_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(IntegerLiteral& a, IntegerLiteral& b) { - a.Swap(&b); - } - inline void Swap(IntegerLiteral* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IntegerLiteral* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IntegerLiteral* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IntegerLiteral& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IntegerLiteral& from) { - IntegerLiteral::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IntegerLiteral* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.IntegerLiteral"; - } - protected: - explicit IntegerLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef IntegerLiteral_EtherUnit EtherUnit; - static constexpr EtherUnit WEI = - IntegerLiteral_EtherUnit_WEI; - static constexpr EtherUnit GWEI = - IntegerLiteral_EtherUnit_GWEI; - static constexpr EtherUnit ETHER = - IntegerLiteral_EtherUnit_ETHER; - static inline bool EtherUnit_IsValid(int value) { - return IntegerLiteral_EtherUnit_IsValid(value); - } - static constexpr EtherUnit EtherUnit_MIN = - IntegerLiteral_EtherUnit_EtherUnit_MIN; - static constexpr EtherUnit EtherUnit_MAX = - IntegerLiteral_EtherUnit_EtherUnit_MAX; - static constexpr int EtherUnit_ARRAYSIZE = - IntegerLiteral_EtherUnit_EtherUnit_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - EtherUnit_descriptor() { - return IntegerLiteral_EtherUnit_descriptor(); - } - template - static inline const std::string& EtherUnit_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EtherUnit_Name."); - return IntegerLiteral_EtherUnit_Name(enum_t_value); - } - static inline bool EtherUnit_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - EtherUnit* value) { - return IntegerLiteral_EtherUnit_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kValFieldNumber = 1, - kNegativeFieldNumber = 2, - kEtherUnitFieldNumber = 3, - }; - // required uint64 val = 1; - bool has_val() const; - private: - bool _internal_has_val() const; - public: - void clear_val(); - uint64_t val() const; - void set_val(uint64_t value); - private: - uint64_t _internal_val() const; - void _internal_set_val(uint64_t value); - public: - - // required bool negative = 2; - bool has_negative() const; - private: - bool _internal_has_negative() const; - public: - void clear_negative(); - bool negative() const; - void set_negative(bool value); - private: - bool _internal_negative() const; - void _internal_set_negative(bool value); - public: - - // optional .solidity.test.sol2protofuzzer.IntegerLiteral.EtherUnit ether_unit = 3; - bool has_ether_unit() const; - private: - bool _internal_has_ether_unit() const; - public: - void clear_ether_unit(); - ::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit ether_unit() const; - void set_ether_unit(::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit value); - private: - ::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit _internal_ether_unit() const; - void _internal_set_ether_unit(::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.IntegerLiteral) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t val_; - bool negative_; - int ether_unit_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class StringLiteral final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.StringLiteral) */ { - public: - inline StringLiteral() : StringLiteral(nullptr) {} - ~StringLiteral() override; - explicit PROTOBUF_CONSTEXPR StringLiteral(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StringLiteral(const StringLiteral& from); - StringLiteral(StringLiteral&& from) noexcept - : StringLiteral() { - *this = ::std::move(from); - } - - inline StringLiteral& operator=(const StringLiteral& from) { - CopyFrom(from); - return *this; - } - inline StringLiteral& operator=(StringLiteral&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StringLiteral& default_instance() { - return *internal_default_instance(); - } - static inline const StringLiteral* internal_default_instance() { - return reinterpret_cast( - &_StringLiteral_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(StringLiteral& a, StringLiteral& b) { - a.Swap(&b); - } - inline void Swap(StringLiteral* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StringLiteral* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StringLiteral* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StringLiteral& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StringLiteral& from) { - StringLiteral::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StringLiteral* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.StringLiteral"; - } - protected: - explicit StringLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSeedFieldNumber = 1, - }; - // required uint32 seed = 1; - bool has_seed() const; - private: - bool _internal_has_seed() const; - public: - void clear_seed(); - uint32_t seed() const; - void set_seed(uint32_t value); - private: - uint32_t _internal_seed() const; - void _internal_set_seed(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.StringLiteral) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t seed_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class AddressLiteral final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.AddressLiteral) */ { - public: - inline AddressLiteral() : AddressLiteral(nullptr) {} - ~AddressLiteral() override; - explicit PROTOBUF_CONSTEXPR AddressLiteral(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - AddressLiteral(const AddressLiteral& from); - AddressLiteral(AddressLiteral&& from) noexcept - : AddressLiteral() { - *this = ::std::move(from); - } - - inline AddressLiteral& operator=(const AddressLiteral& from) { - CopyFrom(from); - return *this; - } - inline AddressLiteral& operator=(AddressLiteral&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AddressLiteral& default_instance() { - return *internal_default_instance(); - } - static inline const AddressLiteral* internal_default_instance() { - return reinterpret_cast( - &_AddressLiteral_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(AddressLiteral& a, AddressLiteral& b) { - a.Swap(&b); - } - inline void Swap(AddressLiteral* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AddressLiteral* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AddressLiteral* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AddressLiteral& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const AddressLiteral& from) { - AddressLiteral::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(AddressLiteral* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.AddressLiteral"; - } - protected: - explicit AddressLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValFieldNumber = 1, - }; - // required uint64 val = 1; - bool has_val() const; - private: - bool _internal_has_val() const; - public: - void clear_val(); - uint64_t val() const; - void set_val(uint64_t value); - private: - uint64_t _internal_val() const; - void _internal_set_val(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.AddressLiteral) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t val_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class Literal final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.Literal) */ { - public: - inline Literal() : Literal(nullptr) {} - ~Literal() override; - explicit PROTOBUF_CONSTEXPR Literal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Literal(const Literal& from); - Literal(Literal&& from) noexcept - : Literal() { - *this = ::std::move(from); - } - - inline Literal& operator=(const Literal& from) { - CopyFrom(from); - return *this; - } - inline Literal& operator=(Literal&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Literal& default_instance() { - return *internal_default_instance(); - } - enum LitOneofCase { - kBoolLit = 1, - kIntLit = 2, - kStrLit = 3, - kAddrLit = 4, - LIT_ONEOF_NOT_SET = 0, - }; - - static inline const Literal* internal_default_instance() { - return reinterpret_cast( - &_Literal_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(Literal& a, Literal& b) { - a.Swap(&b); - } - inline void Swap(Literal* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Literal* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Literal* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Literal& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Literal& from) { - Literal::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Literal* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.Literal"; - } - protected: - explicit Literal(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBoolLitFieldNumber = 1, - kIntLitFieldNumber = 2, - kStrLitFieldNumber = 3, - kAddrLitFieldNumber = 4, - }; - // .solidity.test.sol2protofuzzer.BoolLiteral bool_lit = 1; - bool has_bool_lit() const; - private: - bool _internal_has_bool_lit() const; - public: - void clear_bool_lit(); - const ::solidity::test::sol2protofuzzer::BoolLiteral& bool_lit() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::BoolLiteral* release_bool_lit(); - ::solidity::test::sol2protofuzzer::BoolLiteral* mutable_bool_lit(); - void set_allocated_bool_lit(::solidity::test::sol2protofuzzer::BoolLiteral* bool_lit); - private: - const ::solidity::test::sol2protofuzzer::BoolLiteral& _internal_bool_lit() const; - ::solidity::test::sol2protofuzzer::BoolLiteral* _internal_mutable_bool_lit(); - public: - void unsafe_arena_set_allocated_bool_lit( - ::solidity::test::sol2protofuzzer::BoolLiteral* bool_lit); - ::solidity::test::sol2protofuzzer::BoolLiteral* unsafe_arena_release_bool_lit(); - - // .solidity.test.sol2protofuzzer.IntegerLiteral int_lit = 2; - bool has_int_lit() const; - private: - bool _internal_has_int_lit() const; - public: - void clear_int_lit(); - const ::solidity::test::sol2protofuzzer::IntegerLiteral& int_lit() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::IntegerLiteral* release_int_lit(); - ::solidity::test::sol2protofuzzer::IntegerLiteral* mutable_int_lit(); - void set_allocated_int_lit(::solidity::test::sol2protofuzzer::IntegerLiteral* int_lit); - private: - const ::solidity::test::sol2protofuzzer::IntegerLiteral& _internal_int_lit() const; - ::solidity::test::sol2protofuzzer::IntegerLiteral* _internal_mutable_int_lit(); - public: - void unsafe_arena_set_allocated_int_lit( - ::solidity::test::sol2protofuzzer::IntegerLiteral* int_lit); - ::solidity::test::sol2protofuzzer::IntegerLiteral* unsafe_arena_release_int_lit(); - - // .solidity.test.sol2protofuzzer.StringLiteral str_lit = 3; - bool has_str_lit() const; - private: - bool _internal_has_str_lit() const; - public: - void clear_str_lit(); - const ::solidity::test::sol2protofuzzer::StringLiteral& str_lit() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::StringLiteral* release_str_lit(); - ::solidity::test::sol2protofuzzer::StringLiteral* mutable_str_lit(); - void set_allocated_str_lit(::solidity::test::sol2protofuzzer::StringLiteral* str_lit); - private: - const ::solidity::test::sol2protofuzzer::StringLiteral& _internal_str_lit() const; - ::solidity::test::sol2protofuzzer::StringLiteral* _internal_mutable_str_lit(); - public: - void unsafe_arena_set_allocated_str_lit( - ::solidity::test::sol2protofuzzer::StringLiteral* str_lit); - ::solidity::test::sol2protofuzzer::StringLiteral* unsafe_arena_release_str_lit(); - - // .solidity.test.sol2protofuzzer.AddressLiteral addr_lit = 4; - bool has_addr_lit() const; - private: - bool _internal_has_addr_lit() const; - public: - void clear_addr_lit(); - const ::solidity::test::sol2protofuzzer::AddressLiteral& addr_lit() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::AddressLiteral* release_addr_lit(); - ::solidity::test::sol2protofuzzer::AddressLiteral* mutable_addr_lit(); - void set_allocated_addr_lit(::solidity::test::sol2protofuzzer::AddressLiteral* addr_lit); - private: - const ::solidity::test::sol2protofuzzer::AddressLiteral& _internal_addr_lit() const; - ::solidity::test::sol2protofuzzer::AddressLiteral* _internal_mutable_addr_lit(); - public: - void unsafe_arena_set_allocated_addr_lit( - ::solidity::test::sol2protofuzzer::AddressLiteral* addr_lit); - ::solidity::test::sol2protofuzzer::AddressLiteral* unsafe_arena_release_addr_lit(); - - void clear_lit_oneof(); - LitOneofCase lit_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.Literal) - private: - class _Internal; - void set_has_bool_lit(); - void set_has_int_lit(); - void set_has_str_lit(); - void set_has_addr_lit(); - - inline bool has_lit_oneof() const; - inline void clear_has_lit_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union LitOneofUnion { - constexpr LitOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::sol2protofuzzer::BoolLiteral* bool_lit_; - ::solidity::test::sol2protofuzzer::IntegerLiteral* int_lit_; - ::solidity::test::sol2protofuzzer::StringLiteral* str_lit_; - ::solidity::test::sol2protofuzzer::AddressLiteral* addr_lit_; - } lit_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class VarRef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.VarRef) */ { - public: - inline VarRef() : VarRef(nullptr) {} - ~VarRef() override; - explicit PROTOBUF_CONSTEXPR VarRef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - VarRef(const VarRef& from); - VarRef(VarRef&& from) noexcept - : VarRef() { - *this = ::std::move(from); - } - - inline VarRef& operator=(const VarRef& from) { - CopyFrom(from); - return *this; - } - inline VarRef& operator=(VarRef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const VarRef& default_instance() { - return *internal_default_instance(); - } - static inline const VarRef* internal_default_instance() { - return reinterpret_cast( - &_VarRef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(VarRef& a, VarRef& b) { - a.Swap(&b); - } - inline void Swap(VarRef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(VarRef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - VarRef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VarRef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const VarRef& from) { - VarRef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(VarRef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.VarRef"; - } - protected: - explicit VarRef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIndexFieldNumber = 1, - }; - // required uint32 index = 1; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - uint32_t index() const; - void set_index(uint32_t value); - private: - uint32_t _internal_index() const; - void _internal_set_index(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.VarRef) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class BinaryOp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.BinaryOp) */ { - public: - inline BinaryOp() : BinaryOp(nullptr) {} - ~BinaryOp() override; - explicit PROTOBUF_CONSTEXPR BinaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BinaryOp(const BinaryOp& from); - BinaryOp(BinaryOp&& from) noexcept - : BinaryOp() { - *this = ::std::move(from); - } - - inline BinaryOp& operator=(const BinaryOp& from) { - CopyFrom(from); - return *this; - } - inline BinaryOp& operator=(BinaryOp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BinaryOp& default_instance() { - return *internal_default_instance(); - } - static inline const BinaryOp* internal_default_instance() { - return reinterpret_cast( - &_BinaryOp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(BinaryOp& a, BinaryOp& b) { - a.Swap(&b); - } - inline void Swap(BinaryOp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BinaryOp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BinaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const BinaryOp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const BinaryOp& from) { - BinaryOp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(BinaryOp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.BinaryOp"; - } - protected: - explicit BinaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef BinaryOp_Op Op; - static constexpr Op ADD = - BinaryOp_Op_ADD; - static constexpr Op SUB = - BinaryOp_Op_SUB; - static constexpr Op MUL = - BinaryOp_Op_MUL; - static constexpr Op DIV = - BinaryOp_Op_DIV; - static constexpr Op MOD = - BinaryOp_Op_MOD; - static constexpr Op EXP = - BinaryOp_Op_EXP; - static constexpr Op BIT_AND = - BinaryOp_Op_BIT_AND; - static constexpr Op BIT_OR = - BinaryOp_Op_BIT_OR; - static constexpr Op BIT_XOR = - BinaryOp_Op_BIT_XOR; - static constexpr Op SHL = - BinaryOp_Op_SHL; - static constexpr Op SHR = - BinaryOp_Op_SHR; - static constexpr Op LT = - BinaryOp_Op_LT; - static constexpr Op GT = - BinaryOp_Op_GT; - static constexpr Op LTE = - BinaryOp_Op_LTE; - static constexpr Op GTE = - BinaryOp_Op_GTE; - static constexpr Op EQ = - BinaryOp_Op_EQ; - static constexpr Op NEQ = - BinaryOp_Op_NEQ; - static constexpr Op AND = - BinaryOp_Op_AND; - static constexpr Op OR = - BinaryOp_Op_OR; - static inline bool Op_IsValid(int value) { - return BinaryOp_Op_IsValid(value); - } - static constexpr Op Op_MIN = - BinaryOp_Op_Op_MIN; - static constexpr Op Op_MAX = - BinaryOp_Op_Op_MAX; - static constexpr int Op_ARRAYSIZE = - BinaryOp_Op_Op_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Op_descriptor() { - return BinaryOp_Op_descriptor(); - } - template - static inline const std::string& Op_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Op_Name."); - return BinaryOp_Op_Name(enum_t_value); - } - static inline bool Op_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Op* value) { - return BinaryOp_Op_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kLeftFieldNumber = 2, - kRightFieldNumber = 3, - kOpFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Expression left = 2; - bool has_left() const; - private: - bool _internal_has_left() const; - public: - void clear_left(); - const ::solidity::test::sol2protofuzzer::Expression& left() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_left(); - ::solidity::test::sol2protofuzzer::Expression* mutable_left(); - void set_allocated_left(::solidity::test::sol2protofuzzer::Expression* left); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_left() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_left(); - public: - void unsafe_arena_set_allocated_left( - ::solidity::test::sol2protofuzzer::Expression* left); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_left(); - - // required .solidity.test.sol2protofuzzer.Expression right = 3; - bool has_right() const; - private: - bool _internal_has_right() const; - public: - void clear_right(); - const ::solidity::test::sol2protofuzzer::Expression& right() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_right(); - ::solidity::test::sol2protofuzzer::Expression* mutable_right(); - void set_allocated_right(::solidity::test::sol2protofuzzer::Expression* right); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_right() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_right(); - public: - void unsafe_arena_set_allocated_right( - ::solidity::test::sol2protofuzzer::Expression* right); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_right(); - - // required .solidity.test.sol2protofuzzer.BinaryOp.Op op = 1; - bool has_op() const; - private: - bool _internal_has_op() const; - public: - void clear_op(); - ::solidity::test::sol2protofuzzer::BinaryOp_Op op() const; - void set_op(::solidity::test::sol2protofuzzer::BinaryOp_Op value); - private: - ::solidity::test::sol2protofuzzer::BinaryOp_Op _internal_op() const; - void _internal_set_op(::solidity::test::sol2protofuzzer::BinaryOp_Op value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.BinaryOp) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* left_; - ::solidity::test::sol2protofuzzer::Expression* right_; - int op_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class UnaryOp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.UnaryOp) */ { - public: - inline UnaryOp() : UnaryOp(nullptr) {} - ~UnaryOp() override; - explicit PROTOBUF_CONSTEXPR UnaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - UnaryOp(const UnaryOp& from); - UnaryOp(UnaryOp&& from) noexcept - : UnaryOp() { - *this = ::std::move(from); - } - - inline UnaryOp& operator=(const UnaryOp& from) { - CopyFrom(from); - return *this; - } - inline UnaryOp& operator=(UnaryOp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const UnaryOp& default_instance() { - return *internal_default_instance(); - } - static inline const UnaryOp* internal_default_instance() { - return reinterpret_cast( - &_UnaryOp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(UnaryOp& a, UnaryOp& b) { - a.Swap(&b); - } - inline void Swap(UnaryOp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UnaryOp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UnaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UnaryOp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const UnaryOp& from) { - UnaryOp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(UnaryOp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.UnaryOp"; - } - protected: - explicit UnaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef UnaryOp_Op Op; - static constexpr Op LNOT = - UnaryOp_Op_LNOT; - static constexpr Op BNOT = - UnaryOp_Op_BNOT; - static constexpr Op NEG = - UnaryOp_Op_NEG; - static constexpr Op INC_PRE = - UnaryOp_Op_INC_PRE; - static constexpr Op DEC_PRE = - UnaryOp_Op_DEC_PRE; - static constexpr Op INC_POST = - UnaryOp_Op_INC_POST; - static constexpr Op DEC_POST = - UnaryOp_Op_DEC_POST; - static inline bool Op_IsValid(int value) { - return UnaryOp_Op_IsValid(value); - } - static constexpr Op Op_MIN = - UnaryOp_Op_Op_MIN; - static constexpr Op Op_MAX = - UnaryOp_Op_Op_MAX; - static constexpr int Op_ARRAYSIZE = - UnaryOp_Op_Op_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Op_descriptor() { - return UnaryOp_Op_descriptor(); - } - template - static inline const std::string& Op_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Op_Name."); - return UnaryOp_Op_Name(enum_t_value); - } - static inline bool Op_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Op* value) { - return UnaryOp_Op_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kOperandFieldNumber = 2, - kOpFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Expression operand = 2; - bool has_operand() const; - private: - bool _internal_has_operand() const; - public: - void clear_operand(); - const ::solidity::test::sol2protofuzzer::Expression& operand() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_operand(); - ::solidity::test::sol2protofuzzer::Expression* mutable_operand(); - void set_allocated_operand(::solidity::test::sol2protofuzzer::Expression* operand); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_operand() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_operand(); - public: - void unsafe_arena_set_allocated_operand( - ::solidity::test::sol2protofuzzer::Expression* operand); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_operand(); - - // required .solidity.test.sol2protofuzzer.UnaryOp.Op op = 1; - bool has_op() const; - private: - bool _internal_has_op() const; - public: - void clear_op(); - ::solidity::test::sol2protofuzzer::UnaryOp_Op op() const; - void set_op(::solidity::test::sol2protofuzzer::UnaryOp_Op value); - private: - ::solidity::test::sol2protofuzzer::UnaryOp_Op _internal_op() const; - void _internal_set_op(::solidity::test::sol2protofuzzer::UnaryOp_Op value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.UnaryOp) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* operand_; - int op_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class TernaryOp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.TernaryOp) */ { - public: - inline TernaryOp() : TernaryOp(nullptr) {} - ~TernaryOp() override; - explicit PROTOBUF_CONSTEXPR TernaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TernaryOp(const TernaryOp& from); - TernaryOp(TernaryOp&& from) noexcept - : TernaryOp() { - *this = ::std::move(from); - } - - inline TernaryOp& operator=(const TernaryOp& from) { - CopyFrom(from); - return *this; - } - inline TernaryOp& operator=(TernaryOp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TernaryOp& default_instance() { - return *internal_default_instance(); - } - static inline const TernaryOp* internal_default_instance() { - return reinterpret_cast( - &_TernaryOp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(TernaryOp& a, TernaryOp& b) { - a.Swap(&b); - } - inline void Swap(TernaryOp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TernaryOp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TernaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TernaryOp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TernaryOp& from) { - TernaryOp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TernaryOp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.TernaryOp"; - } - protected: - explicit TernaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCondFieldNumber = 1, - kTrueValFieldNumber = 2, - kFalseValFieldNumber = 3, - }; - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - bool has_cond() const; - private: - bool _internal_has_cond() const; - public: - void clear_cond(); - const ::solidity::test::sol2protofuzzer::Expression& cond() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_cond(); - ::solidity::test::sol2protofuzzer::Expression* mutable_cond(); - void set_allocated_cond(::solidity::test::sol2protofuzzer::Expression* cond); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_cond() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_cond(); - public: - void unsafe_arena_set_allocated_cond( - ::solidity::test::sol2protofuzzer::Expression* cond); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_cond(); - - // required .solidity.test.sol2protofuzzer.Expression true_val = 2; - bool has_true_val() const; - private: - bool _internal_has_true_val() const; - public: - void clear_true_val(); - const ::solidity::test::sol2protofuzzer::Expression& true_val() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_true_val(); - ::solidity::test::sol2protofuzzer::Expression* mutable_true_val(); - void set_allocated_true_val(::solidity::test::sol2protofuzzer::Expression* true_val); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_true_val() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_true_val(); - public: - void unsafe_arena_set_allocated_true_val( - ::solidity::test::sol2protofuzzer::Expression* true_val); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_true_val(); - - // required .solidity.test.sol2protofuzzer.Expression false_val = 3; - bool has_false_val() const; - private: - bool _internal_has_false_val() const; - public: - void clear_false_val(); - const ::solidity::test::sol2protofuzzer::Expression& false_val() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_false_val(); - ::solidity::test::sol2protofuzzer::Expression* mutable_false_val(); - void set_allocated_false_val(::solidity::test::sol2protofuzzer::Expression* false_val); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_false_val() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_false_val(); - public: - void unsafe_arena_set_allocated_false_val( - ::solidity::test::sol2protofuzzer::Expression* false_val); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_false_val(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.TernaryOp) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* cond_; - ::solidity::test::sol2protofuzzer::Expression* true_val_; - ::solidity::test::sol2protofuzzer::Expression* false_val_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class FuncCallExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.FuncCallExpr) */ { - public: - inline FuncCallExpr() : FuncCallExpr(nullptr) {} - ~FuncCallExpr() override; - explicit PROTOBUF_CONSTEXPR FuncCallExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - FuncCallExpr(const FuncCallExpr& from); - FuncCallExpr(FuncCallExpr&& from) noexcept - : FuncCallExpr() { - *this = ::std::move(from); - } - - inline FuncCallExpr& operator=(const FuncCallExpr& from) { - CopyFrom(from); - return *this; - } - inline FuncCallExpr& operator=(FuncCallExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const FuncCallExpr& default_instance() { - return *internal_default_instance(); - } - static inline const FuncCallExpr* internal_default_instance() { - return reinterpret_cast( - &_FuncCallExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(FuncCallExpr& a, FuncCallExpr& b) { - a.Swap(&b); - } - inline void Swap(FuncCallExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FuncCallExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - FuncCallExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FuncCallExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const FuncCallExpr& from) { - FuncCallExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(FuncCallExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.FuncCallExpr"; - } - protected: - explicit FuncCallExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kFuncIdFieldNumber = 1, - kUseNamedArgsFieldNumber = 3, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required uint32 func_id = 1; - bool has_func_id() const; - private: - bool _internal_has_func_id() const; - public: - void clear_func_id(); - uint32_t func_id() const; - void set_func_id(uint32_t value); - private: - uint32_t _internal_func_id() const; - void _internal_set_func_id(uint32_t value); - public: - - // optional bool use_named_args = 3; - bool has_use_named_args() const; - private: - bool _internal_has_use_named_args() const; - public: - void clear_use_named_args(); - bool use_named_args() const; - void set_use_named_args(bool value); - private: - bool _internal_use_named_args() const; - void _internal_set_use_named_args(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.FuncCallExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - uint32_t func_id_; - bool use_named_args_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class IndexAccessExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.IndexAccessExpr) */ { - public: - inline IndexAccessExpr() : IndexAccessExpr(nullptr) {} - ~IndexAccessExpr() override; - explicit PROTOBUF_CONSTEXPR IndexAccessExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IndexAccessExpr(const IndexAccessExpr& from); - IndexAccessExpr(IndexAccessExpr&& from) noexcept - : IndexAccessExpr() { - *this = ::std::move(from); - } - - inline IndexAccessExpr& operator=(const IndexAccessExpr& from) { - CopyFrom(from); - return *this; - } - inline IndexAccessExpr& operator=(IndexAccessExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IndexAccessExpr& default_instance() { - return *internal_default_instance(); - } - static inline const IndexAccessExpr* internal_default_instance() { - return reinterpret_cast( - &_IndexAccessExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(IndexAccessExpr& a, IndexAccessExpr& b) { - a.Swap(&b); - } - inline void Swap(IndexAccessExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IndexAccessExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IndexAccessExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IndexAccessExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IndexAccessExpr& from) { - IndexAccessExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IndexAccessExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.IndexAccessExpr"; - } - protected: - explicit IndexAccessExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBaseFieldNumber = 1, - kIndexFieldNumber = 2, - }; - // required .solidity.test.sol2protofuzzer.Expression base = 1; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - const ::solidity::test::sol2protofuzzer::Expression& base() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_base(); - ::solidity::test::sol2protofuzzer::Expression* mutable_base(); - void set_allocated_base(::solidity::test::sol2protofuzzer::Expression* base); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_base() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_base(); - public: - void unsafe_arena_set_allocated_base( - ::solidity::test::sol2protofuzzer::Expression* base); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_base(); - - // required .solidity.test.sol2protofuzzer.Expression index = 2; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - const ::solidity::test::sol2protofuzzer::Expression& index() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_index(); - ::solidity::test::sol2protofuzzer::Expression* mutable_index(); - void set_allocated_index(::solidity::test::sol2protofuzzer::Expression* index); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_index() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_index(); - public: - void unsafe_arena_set_allocated_index( - ::solidity::test::sol2protofuzzer::Expression* index); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_index(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.IndexAccessExpr) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* base_; - ::solidity::test::sol2protofuzzer::Expression* index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class TypeConvExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.TypeConvExpr) */ { - public: - inline TypeConvExpr() : TypeConvExpr(nullptr) {} - ~TypeConvExpr() override; - explicit PROTOBUF_CONSTEXPR TypeConvExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TypeConvExpr(const TypeConvExpr& from); - TypeConvExpr(TypeConvExpr&& from) noexcept - : TypeConvExpr() { - *this = ::std::move(from); - } - - inline TypeConvExpr& operator=(const TypeConvExpr& from) { - CopyFrom(from); - return *this; - } - inline TypeConvExpr& operator=(TypeConvExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TypeConvExpr& default_instance() { - return *internal_default_instance(); - } - static inline const TypeConvExpr* internal_default_instance() { - return reinterpret_cast( - &_TypeConvExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(TypeConvExpr& a, TypeConvExpr& b) { - a.Swap(&b); - } - inline void Swap(TypeConvExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TypeConvExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TypeConvExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TypeConvExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TypeConvExpr& from) { - TypeConvExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TypeConvExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.TypeConvExpr"; - } - protected: - explicit TypeConvExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kToTypeFieldNumber = 1, - kArgFieldNumber = 2, - }; - // required .solidity.test.sol2protofuzzer.ElementaryType to_type = 1; - bool has_to_type() const; - private: - bool _internal_has_to_type() const; - public: - void clear_to_type(); - const ::solidity::test::sol2protofuzzer::ElementaryType& to_type() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ElementaryType* release_to_type(); - ::solidity::test::sol2protofuzzer::ElementaryType* mutable_to_type(); - void set_allocated_to_type(::solidity::test::sol2protofuzzer::ElementaryType* to_type); - private: - const ::solidity::test::sol2protofuzzer::ElementaryType& _internal_to_type() const; - ::solidity::test::sol2protofuzzer::ElementaryType* _internal_mutable_to_type(); - public: - void unsafe_arena_set_allocated_to_type( - ::solidity::test::sol2protofuzzer::ElementaryType* to_type); - ::solidity::test::sol2protofuzzer::ElementaryType* unsafe_arena_release_to_type(); - - // required .solidity.test.sol2protofuzzer.Expression arg = 2; - bool has_arg() const; - private: - bool _internal_has_arg() const; - public: - void clear_arg(); - const ::solidity::test::sol2protofuzzer::Expression& arg() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_arg(); - ::solidity::test::sol2protofuzzer::Expression* mutable_arg(); - void set_allocated_arg(::solidity::test::sol2protofuzzer::Expression* arg); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_arg() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_arg(); - public: - void unsafe_arena_set_allocated_arg( - ::solidity::test::sol2protofuzzer::Expression* arg); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_arg(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.TypeConvExpr) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::ElementaryType* to_type_; - ::solidity::test::sol2protofuzzer::Expression* arg_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class MsgExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.MsgExpr) */ { - public: - inline MsgExpr() : MsgExpr(nullptr) {} - ~MsgExpr() override; - explicit PROTOBUF_CONSTEXPR MsgExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MsgExpr(const MsgExpr& from); - MsgExpr(MsgExpr&& from) noexcept - : MsgExpr() { - *this = ::std::move(from); - } - - inline MsgExpr& operator=(const MsgExpr& from) { - CopyFrom(from); - return *this; - } - inline MsgExpr& operator=(MsgExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MsgExpr& default_instance() { - return *internal_default_instance(); - } - static inline const MsgExpr* internal_default_instance() { - return reinterpret_cast( - &_MsgExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(MsgExpr& a, MsgExpr& b) { - a.Swap(&b); - } - inline void Swap(MsgExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MsgExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MsgExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MsgExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MsgExpr& from) { - MsgExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MsgExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.MsgExpr"; - } - protected: - explicit MsgExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef MsgExpr_Field Field; - static constexpr Field SENDER = - MsgExpr_Field_SENDER; - static constexpr Field VALUE = - MsgExpr_Field_VALUE; - static constexpr Field SIG = - MsgExpr_Field_SIG; - static constexpr Field DATA = - MsgExpr_Field_DATA; - static inline bool Field_IsValid(int value) { - return MsgExpr_Field_IsValid(value); - } - static constexpr Field Field_MIN = - MsgExpr_Field_Field_MIN; - static constexpr Field Field_MAX = - MsgExpr_Field_Field_MAX; - static constexpr int Field_ARRAYSIZE = - MsgExpr_Field_Field_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Field_descriptor() { - return MsgExpr_Field_descriptor(); - } - template - static inline const std::string& Field_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Field_Name."); - return MsgExpr_Field_Name(enum_t_value); - } - static inline bool Field_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Field* value) { - return MsgExpr_Field_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kFieldFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.MsgExpr.Field field = 1; - bool has_field() const; - private: - bool _internal_has_field() const; - public: - void clear_field(); - ::solidity::test::sol2protofuzzer::MsgExpr_Field field() const; - void set_field(::solidity::test::sol2protofuzzer::MsgExpr_Field value); - private: - ::solidity::test::sol2protofuzzer::MsgExpr_Field _internal_field() const; - void _internal_set_field(::solidity::test::sol2protofuzzer::MsgExpr_Field value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.MsgExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int field_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class BlockExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.BlockExpr) */ { - public: - inline BlockExpr() : BlockExpr(nullptr) {} - ~BlockExpr() override; - explicit PROTOBUF_CONSTEXPR BlockExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BlockExpr(const BlockExpr& from); - BlockExpr(BlockExpr&& from) noexcept - : BlockExpr() { - *this = ::std::move(from); - } - - inline BlockExpr& operator=(const BlockExpr& from) { - CopyFrom(from); - return *this; - } - inline BlockExpr& operator=(BlockExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BlockExpr& default_instance() { - return *internal_default_instance(); - } - static inline const BlockExpr* internal_default_instance() { - return reinterpret_cast( - &_BlockExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(BlockExpr& a, BlockExpr& b) { - a.Swap(&b); - } - inline void Swap(BlockExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BlockExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BlockExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const BlockExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const BlockExpr& from) { - BlockExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(BlockExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.BlockExpr"; - } - protected: - explicit BlockExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef BlockExpr_Field Field; - static constexpr Field TIMESTAMP = - BlockExpr_Field_TIMESTAMP; - static constexpr Field NUMBER = - BlockExpr_Field_NUMBER; - static constexpr Field CHAINID = - BlockExpr_Field_CHAINID; - static constexpr Field BASEFEE = - BlockExpr_Field_BASEFEE; - static constexpr Field PREVRANDAO = - BlockExpr_Field_PREVRANDAO; - static constexpr Field GASLIMIT = - BlockExpr_Field_GASLIMIT; - static constexpr Field COINBASE = - BlockExpr_Field_COINBASE; - static constexpr Field BLOBBASEFEE = - BlockExpr_Field_BLOBBASEFEE; - static inline bool Field_IsValid(int value) { - return BlockExpr_Field_IsValid(value); - } - static constexpr Field Field_MIN = - BlockExpr_Field_Field_MIN; - static constexpr Field Field_MAX = - BlockExpr_Field_Field_MAX; - static constexpr int Field_ARRAYSIZE = - BlockExpr_Field_Field_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Field_descriptor() { - return BlockExpr_Field_descriptor(); - } - template - static inline const std::string& Field_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Field_Name."); - return BlockExpr_Field_Name(enum_t_value); - } - static inline bool Field_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Field* value) { - return BlockExpr_Field_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kFieldFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.BlockExpr.Field field = 1; - bool has_field() const; - private: - bool _internal_has_field() const; - public: - void clear_field(); - ::solidity::test::sol2protofuzzer::BlockExpr_Field field() const; - void set_field(::solidity::test::sol2protofuzzer::BlockExpr_Field value); - private: - ::solidity::test::sol2protofuzzer::BlockExpr_Field _internal_field() const; - void _internal_set_field(::solidity::test::sol2protofuzzer::BlockExpr_Field value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.BlockExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int field_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class TxExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.TxExpr) */ { - public: - inline TxExpr() : TxExpr(nullptr) {} - ~TxExpr() override; - explicit PROTOBUF_CONSTEXPR TxExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TxExpr(const TxExpr& from); - TxExpr(TxExpr&& from) noexcept - : TxExpr() { - *this = ::std::move(from); - } - - inline TxExpr& operator=(const TxExpr& from) { - CopyFrom(from); - return *this; - } - inline TxExpr& operator=(TxExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TxExpr& default_instance() { - return *internal_default_instance(); - } - static inline const TxExpr* internal_default_instance() { - return reinterpret_cast( - &_TxExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(TxExpr& a, TxExpr& b) { - a.Swap(&b); - } - inline void Swap(TxExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TxExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TxExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TxExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TxExpr& from) { - TxExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TxExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.TxExpr"; - } - protected: - explicit TxExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef TxExpr_Field Field; - static constexpr Field ORIGIN = - TxExpr_Field_ORIGIN; - static constexpr Field GASPRICE = - TxExpr_Field_GASPRICE; - static inline bool Field_IsValid(int value) { - return TxExpr_Field_IsValid(value); - } - static constexpr Field Field_MIN = - TxExpr_Field_Field_MIN; - static constexpr Field Field_MAX = - TxExpr_Field_Field_MAX; - static constexpr int Field_ARRAYSIZE = - TxExpr_Field_Field_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Field_descriptor() { - return TxExpr_Field_descriptor(); - } - template - static inline const std::string& Field_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Field_Name."); - return TxExpr_Field_Name(enum_t_value); - } - static inline bool Field_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Field* value) { - return TxExpr_Field_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kFieldFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.TxExpr.Field field = 1; - bool has_field() const; - private: - bool _internal_has_field() const; - public: - void clear_field(); - ::solidity::test::sol2protofuzzer::TxExpr_Field field() const; - void set_field(::solidity::test::sol2protofuzzer::TxExpr_Field value); - private: - ::solidity::test::sol2protofuzzer::TxExpr_Field _internal_field() const; - void _internal_set_field(::solidity::test::sol2protofuzzer::TxExpr_Field value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.TxExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int field_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class AbiEncodeExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.AbiEncodeExpr) */ { - public: - inline AbiEncodeExpr() : AbiEncodeExpr(nullptr) {} - ~AbiEncodeExpr() override; - explicit PROTOBUF_CONSTEXPR AbiEncodeExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - AbiEncodeExpr(const AbiEncodeExpr& from); - AbiEncodeExpr(AbiEncodeExpr&& from) noexcept - : AbiEncodeExpr() { - *this = ::std::move(from); - } - - inline AbiEncodeExpr& operator=(const AbiEncodeExpr& from) { - CopyFrom(from); - return *this; - } - inline AbiEncodeExpr& operator=(AbiEncodeExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AbiEncodeExpr& default_instance() { - return *internal_default_instance(); - } - static inline const AbiEncodeExpr* internal_default_instance() { - return reinterpret_cast( - &_AbiEncodeExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(AbiEncodeExpr& a, AbiEncodeExpr& b) { - a.Swap(&b); - } - inline void Swap(AbiEncodeExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AbiEncodeExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AbiEncodeExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AbiEncodeExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const AbiEncodeExpr& from) { - AbiEncodeExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(AbiEncodeExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.AbiEncodeExpr"; - } - protected: - explicit AbiEncodeExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef AbiEncodeExpr_Kind Kind; - static constexpr Kind ENCODE = - AbiEncodeExpr_Kind_ENCODE; - static constexpr Kind ENCODE_PACKED = - AbiEncodeExpr_Kind_ENCODE_PACKED; - static constexpr Kind ENCODE_WITH_SELECTOR = - AbiEncodeExpr_Kind_ENCODE_WITH_SELECTOR; - static constexpr Kind ENCODE_WITH_SIGNATURE = - AbiEncodeExpr_Kind_ENCODE_WITH_SIGNATURE; - static inline bool Kind_IsValid(int value) { - return AbiEncodeExpr_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - AbiEncodeExpr_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - AbiEncodeExpr_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - AbiEncodeExpr_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return AbiEncodeExpr_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return AbiEncodeExpr_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return AbiEncodeExpr_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kKindFieldNumber = 1, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required .solidity.test.sol2protofuzzer.AbiEncodeExpr.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind value); - private: - ::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.AbiEncodeExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - int kind_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class AbiDecodeExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.AbiDecodeExpr) */ { - public: - inline AbiDecodeExpr() : AbiDecodeExpr(nullptr) {} - ~AbiDecodeExpr() override; - explicit PROTOBUF_CONSTEXPR AbiDecodeExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - AbiDecodeExpr(const AbiDecodeExpr& from); - AbiDecodeExpr(AbiDecodeExpr&& from) noexcept - : AbiDecodeExpr() { - *this = ::std::move(from); - } - - inline AbiDecodeExpr& operator=(const AbiDecodeExpr& from) { - CopyFrom(from); - return *this; - } - inline AbiDecodeExpr& operator=(AbiDecodeExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AbiDecodeExpr& default_instance() { - return *internal_default_instance(); - } - static inline const AbiDecodeExpr* internal_default_instance() { - return reinterpret_cast( - &_AbiDecodeExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(AbiDecodeExpr& a, AbiDecodeExpr& b) { - a.Swap(&b); - } - inline void Swap(AbiDecodeExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AbiDecodeExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AbiDecodeExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AbiDecodeExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const AbiDecodeExpr& from) { - AbiDecodeExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(AbiDecodeExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.AbiDecodeExpr"; - } - protected: - explicit AbiDecodeExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValueFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Expression value = 1; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const ::solidity::test::sol2protofuzzer::Expression& value() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_value(); - ::solidity::test::sol2protofuzzer::Expression* mutable_value(); - void set_allocated_value(::solidity::test::sol2protofuzzer::Expression* value); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_value() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_value(); - public: - void unsafe_arena_set_allocated_value( - ::solidity::test::sol2protofuzzer::Expression* value); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_value(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.AbiDecodeExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class AbiEncodeCallExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) */ { - public: - inline AbiEncodeCallExpr() : AbiEncodeCallExpr(nullptr) {} - ~AbiEncodeCallExpr() override; - explicit PROTOBUF_CONSTEXPR AbiEncodeCallExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - AbiEncodeCallExpr(const AbiEncodeCallExpr& from); - AbiEncodeCallExpr(AbiEncodeCallExpr&& from) noexcept - : AbiEncodeCallExpr() { - *this = ::std::move(from); - } - - inline AbiEncodeCallExpr& operator=(const AbiEncodeCallExpr& from) { - CopyFrom(from); - return *this; - } - inline AbiEncodeCallExpr& operator=(AbiEncodeCallExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AbiEncodeCallExpr& default_instance() { - return *internal_default_instance(); - } - static inline const AbiEncodeCallExpr* internal_default_instance() { - return reinterpret_cast( - &_AbiEncodeCallExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(AbiEncodeCallExpr& a, AbiEncodeCallExpr& b) { - a.Swap(&b); - } - inline void Swap(AbiEncodeCallExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AbiEncodeCallExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AbiEncodeCallExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AbiEncodeCallExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const AbiEncodeCallExpr& from) { - AbiEncodeCallExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(AbiEncodeCallExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.AbiEncodeCallExpr"; - } - protected: - explicit AbiEncodeCallExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kFuncIdFieldNumber = 1, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required uint32 func_id = 1; - bool has_func_id() const; - private: - bool _internal_has_func_id() const; - public: - void clear_func_id(); - uint32_t func_id() const; - void set_func_id(uint32_t value); - private: - uint32_t _internal_func_id() const; - void _internal_set_func_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.AbiEncodeCallExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - uint32_t func_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class HashExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.HashExpr) */ { - public: - inline HashExpr() : HashExpr(nullptr) {} - ~HashExpr() override; - explicit PROTOBUF_CONSTEXPR HashExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - HashExpr(const HashExpr& from); - HashExpr(HashExpr&& from) noexcept - : HashExpr() { - *this = ::std::move(from); - } - - inline HashExpr& operator=(const HashExpr& from) { - CopyFrom(from); - return *this; - } - inline HashExpr& operator=(HashExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const HashExpr& default_instance() { - return *internal_default_instance(); - } - static inline const HashExpr* internal_default_instance() { - return reinterpret_cast( - &_HashExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(HashExpr& a, HashExpr& b) { - a.Swap(&b); - } - inline void Swap(HashExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(HashExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - HashExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const HashExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const HashExpr& from) { - HashExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(HashExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.HashExpr"; - } - protected: - explicit HashExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef HashExpr_Kind Kind; - static constexpr Kind KECCAK256 = - HashExpr_Kind_KECCAK256; - static constexpr Kind SHA256 = - HashExpr_Kind_SHA256; - static constexpr Kind RIPEMD160 = - HashExpr_Kind_RIPEMD160; - static inline bool Kind_IsValid(int value) { - return HashExpr_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - HashExpr_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - HashExpr_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - HashExpr_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return HashExpr_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return HashExpr_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return HashExpr_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kArgFieldNumber = 2, - kKindFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Expression arg = 2; - bool has_arg() const; - private: - bool _internal_has_arg() const; - public: - void clear_arg(); - const ::solidity::test::sol2protofuzzer::Expression& arg() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_arg(); - ::solidity::test::sol2protofuzzer::Expression* mutable_arg(); - void set_allocated_arg(::solidity::test::sol2protofuzzer::Expression* arg); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_arg() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_arg(); - public: - void unsafe_arena_set_allocated_arg( - ::solidity::test::sol2protofuzzer::Expression* arg); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_arg(); - - // required .solidity.test.sol2protofuzzer.HashExpr.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::HashExpr_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::HashExpr_Kind value); - private: - ::solidity::test::sol2protofuzzer::HashExpr_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::HashExpr_Kind value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.HashExpr) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* arg_; - int kind_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class MathExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.MathExpr) */ { - public: - inline MathExpr() : MathExpr(nullptr) {} - ~MathExpr() override; - explicit PROTOBUF_CONSTEXPR MathExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MathExpr(const MathExpr& from); - MathExpr(MathExpr&& from) noexcept - : MathExpr() { - *this = ::std::move(from); - } - - inline MathExpr& operator=(const MathExpr& from) { - CopyFrom(from); - return *this; - } - inline MathExpr& operator=(MathExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MathExpr& default_instance() { - return *internal_default_instance(); - } - static inline const MathExpr* internal_default_instance() { - return reinterpret_cast( - &_MathExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(MathExpr& a, MathExpr& b) { - a.Swap(&b); - } - inline void Swap(MathExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MathExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MathExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MathExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MathExpr& from) { - MathExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MathExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.MathExpr"; - } - protected: - explicit MathExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef MathExpr_Kind Kind; - static constexpr Kind ADDMOD = - MathExpr_Kind_ADDMOD; - static constexpr Kind MULMOD = - MathExpr_Kind_MULMOD; - static inline bool Kind_IsValid(int value) { - return MathExpr_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - MathExpr_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - MathExpr_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - MathExpr_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return MathExpr_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return MathExpr_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return MathExpr_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kXFieldNumber = 2, - kYFieldNumber = 3, - kModFieldNumber = 4, - kKindFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Expression x = 2; - bool has_x() const; - private: - bool _internal_has_x() const; - public: - void clear_x(); - const ::solidity::test::sol2protofuzzer::Expression& x() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_x(); - ::solidity::test::sol2protofuzzer::Expression* mutable_x(); - void set_allocated_x(::solidity::test::sol2protofuzzer::Expression* x); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_x() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_x(); - public: - void unsafe_arena_set_allocated_x( - ::solidity::test::sol2protofuzzer::Expression* x); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_x(); - - // required .solidity.test.sol2protofuzzer.Expression y = 3; - bool has_y() const; - private: - bool _internal_has_y() const; - public: - void clear_y(); - const ::solidity::test::sol2protofuzzer::Expression& y() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_y(); - ::solidity::test::sol2protofuzzer::Expression* mutable_y(); - void set_allocated_y(::solidity::test::sol2protofuzzer::Expression* y); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_y() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_y(); - public: - void unsafe_arena_set_allocated_y( - ::solidity::test::sol2protofuzzer::Expression* y); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_y(); - - // required .solidity.test.sol2protofuzzer.Expression mod = 4; - bool has_mod() const; - private: - bool _internal_has_mod() const; - public: - void clear_mod(); - const ::solidity::test::sol2protofuzzer::Expression& mod() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_mod(); - ::solidity::test::sol2protofuzzer::Expression* mutable_mod(); - void set_allocated_mod(::solidity::test::sol2protofuzzer::Expression* mod); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_mod() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_mod(); - public: - void unsafe_arena_set_allocated_mod( - ::solidity::test::sol2protofuzzer::Expression* mod); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_mod(); - - // required .solidity.test.sol2protofuzzer.MathExpr.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::MathExpr_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::MathExpr_Kind value); - private: - ::solidity::test::sol2protofuzzer::MathExpr_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::MathExpr_Kind value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.MathExpr) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* x_; - ::solidity::test::sol2protofuzzer::Expression* y_; - ::solidity::test::sol2protofuzzer::Expression* mod_; - int kind_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class BuiltinExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.BuiltinExpr) */ { - public: - inline BuiltinExpr() : BuiltinExpr(nullptr) {} - ~BuiltinExpr() override; - explicit PROTOBUF_CONSTEXPR BuiltinExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BuiltinExpr(const BuiltinExpr& from); - BuiltinExpr(BuiltinExpr&& from) noexcept - : BuiltinExpr() { - *this = ::std::move(from); - } - - inline BuiltinExpr& operator=(const BuiltinExpr& from) { - CopyFrom(from); - return *this; - } - inline BuiltinExpr& operator=(BuiltinExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BuiltinExpr& default_instance() { - return *internal_default_instance(); - } - static inline const BuiltinExpr* internal_default_instance() { - return reinterpret_cast( - &_BuiltinExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(BuiltinExpr& a, BuiltinExpr& b) { - a.Swap(&b); - } - inline void Swap(BuiltinExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BuiltinExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BuiltinExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const BuiltinExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const BuiltinExpr& from) { - BuiltinExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(BuiltinExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.BuiltinExpr"; - } - protected: - explicit BuiltinExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef BuiltinExpr_Kind Kind; - static constexpr Kind GASLEFT = - BuiltinExpr_Kind_GASLEFT; - static constexpr Kind BLOCKHASH = - BuiltinExpr_Kind_BLOCKHASH; - static constexpr Kind BLOBHASH = - BuiltinExpr_Kind_BLOBHASH; - static constexpr Kind THIS_BALANCE = - BuiltinExpr_Kind_THIS_BALANCE; - static constexpr Kind CALLDATALOAD = - BuiltinExpr_Kind_CALLDATALOAD; - static constexpr Kind CALLDATASIZE = - BuiltinExpr_Kind_CALLDATASIZE; - static inline bool Kind_IsValid(int value) { - return BuiltinExpr_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - BuiltinExpr_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - BuiltinExpr_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - BuiltinExpr_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return BuiltinExpr_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return BuiltinExpr_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return BuiltinExpr_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kArgFieldNumber = 2, - kKindFieldNumber = 1, - }; - // optional .solidity.test.sol2protofuzzer.Expression arg = 2; - bool has_arg() const; - private: - bool _internal_has_arg() const; - public: - void clear_arg(); - const ::solidity::test::sol2protofuzzer::Expression& arg() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_arg(); - ::solidity::test::sol2protofuzzer::Expression* mutable_arg(); - void set_allocated_arg(::solidity::test::sol2protofuzzer::Expression* arg); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_arg() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_arg(); - public: - void unsafe_arena_set_allocated_arg( - ::solidity::test::sol2protofuzzer::Expression* arg); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_arg(); - - // required .solidity.test.sol2protofuzzer.BuiltinExpr.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::BuiltinExpr_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::BuiltinExpr_Kind value); - private: - ::solidity::test::sol2protofuzzer::BuiltinExpr_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::BuiltinExpr_Kind value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.BuiltinExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* arg_; - int kind_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class EcrecoverExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.EcrecoverExpr) */ { - public: - inline EcrecoverExpr() : EcrecoverExpr(nullptr) {} - ~EcrecoverExpr() override; - explicit PROTOBUF_CONSTEXPR EcrecoverExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - EcrecoverExpr(const EcrecoverExpr& from); - EcrecoverExpr(EcrecoverExpr&& from) noexcept - : EcrecoverExpr() { - *this = ::std::move(from); - } - - inline EcrecoverExpr& operator=(const EcrecoverExpr& from) { - CopyFrom(from); - return *this; - } - inline EcrecoverExpr& operator=(EcrecoverExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const EcrecoverExpr& default_instance() { - return *internal_default_instance(); - } - static inline const EcrecoverExpr* internal_default_instance() { - return reinterpret_cast( - &_EcrecoverExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(EcrecoverExpr& a, EcrecoverExpr& b) { - a.Swap(&b); - } - inline void Swap(EcrecoverExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(EcrecoverExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - EcrecoverExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const EcrecoverExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const EcrecoverExpr& from) { - EcrecoverExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EcrecoverExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.EcrecoverExpr"; - } - protected: - explicit EcrecoverExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHashFieldNumber = 1, - kVFieldNumber = 2, - kRFieldNumber = 3, - kSFieldNumber = 4, - }; - // required .solidity.test.sol2protofuzzer.Expression hash = 1; - bool has_hash() const; - private: - bool _internal_has_hash() const; - public: - void clear_hash(); - const ::solidity::test::sol2protofuzzer::Expression& hash() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_hash(); - ::solidity::test::sol2protofuzzer::Expression* mutable_hash(); - void set_allocated_hash(::solidity::test::sol2protofuzzer::Expression* hash); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_hash() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_hash(); - public: - void unsafe_arena_set_allocated_hash( - ::solidity::test::sol2protofuzzer::Expression* hash); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_hash(); - - // required .solidity.test.sol2protofuzzer.Expression v = 2; - bool has_v() const; - private: - bool _internal_has_v() const; - public: - void clear_v(); - const ::solidity::test::sol2protofuzzer::Expression& v() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_v(); - ::solidity::test::sol2protofuzzer::Expression* mutable_v(); - void set_allocated_v(::solidity::test::sol2protofuzzer::Expression* v); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_v() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_v(); - public: - void unsafe_arena_set_allocated_v( - ::solidity::test::sol2protofuzzer::Expression* v); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_v(); - - // required .solidity.test.sol2protofuzzer.Expression r = 3; - bool has_r() const; - private: - bool _internal_has_r() const; - public: - void clear_r(); - const ::solidity::test::sol2protofuzzer::Expression& r() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_r(); - ::solidity::test::sol2protofuzzer::Expression* mutable_r(); - void set_allocated_r(::solidity::test::sol2protofuzzer::Expression* r); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_r() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_r(); - public: - void unsafe_arena_set_allocated_r( - ::solidity::test::sol2protofuzzer::Expression* r); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_r(); - - // required .solidity.test.sol2protofuzzer.Expression s = 4; - bool has_s() const; - private: - bool _internal_has_s() const; - public: - void clear_s(); - const ::solidity::test::sol2protofuzzer::Expression& s() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_s(); - ::solidity::test::sol2protofuzzer::Expression* mutable_s(); - void set_allocated_s(::solidity::test::sol2protofuzzer::Expression* s); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_s() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_s(); - public: - void unsafe_arena_set_allocated_s( - ::solidity::test::sol2protofuzzer::Expression* s); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_s(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.EcrecoverExpr) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* hash_; - ::solidity::test::sol2protofuzzer::Expression* v_; - ::solidity::test::sol2protofuzzer::Expression* r_; - ::solidity::test::sol2protofuzzer::Expression* s_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class TypeInfoExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.TypeInfoExpr) */ { - public: - inline TypeInfoExpr() : TypeInfoExpr(nullptr) {} - ~TypeInfoExpr() override; - explicit PROTOBUF_CONSTEXPR TypeInfoExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TypeInfoExpr(const TypeInfoExpr& from); - TypeInfoExpr(TypeInfoExpr&& from) noexcept - : TypeInfoExpr() { - *this = ::std::move(from); - } - - inline TypeInfoExpr& operator=(const TypeInfoExpr& from) { - CopyFrom(from); - return *this; - } - inline TypeInfoExpr& operator=(TypeInfoExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TypeInfoExpr& default_instance() { - return *internal_default_instance(); - } - static inline const TypeInfoExpr* internal_default_instance() { - return reinterpret_cast( - &_TypeInfoExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(TypeInfoExpr& a, TypeInfoExpr& b) { - a.Swap(&b); - } - inline void Swap(TypeInfoExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TypeInfoExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TypeInfoExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TypeInfoExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TypeInfoExpr& from) { - TypeInfoExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TypeInfoExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.TypeInfoExpr"; - } - protected: - explicit TypeInfoExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef TypeInfoExpr_Kind Kind; - static constexpr Kind MIN = - TypeInfoExpr_Kind_MIN; - static constexpr Kind MAX = - TypeInfoExpr_Kind_MAX; - static inline bool Kind_IsValid(int value) { - return TypeInfoExpr_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - TypeInfoExpr_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - TypeInfoExpr_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - TypeInfoExpr_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return TypeInfoExpr_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return TypeInfoExpr_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return TypeInfoExpr_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kIntTypeFieldNumber = 2, - kKindFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.IntegerType int_type = 2; - bool has_int_type() const; - private: - bool _internal_has_int_type() const; - public: - void clear_int_type(); - const ::solidity::test::sol2protofuzzer::IntegerType& int_type() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::IntegerType* release_int_type(); - ::solidity::test::sol2protofuzzer::IntegerType* mutable_int_type(); - void set_allocated_int_type(::solidity::test::sol2protofuzzer::IntegerType* int_type); - private: - const ::solidity::test::sol2protofuzzer::IntegerType& _internal_int_type() const; - ::solidity::test::sol2protofuzzer::IntegerType* _internal_mutable_int_type(); - public: - void unsafe_arena_set_allocated_int_type( - ::solidity::test::sol2protofuzzer::IntegerType* int_type); - ::solidity::test::sol2protofuzzer::IntegerType* unsafe_arena_release_int_type(); - - // required .solidity.test.sol2protofuzzer.TypeInfoExpr.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind value); - private: - ::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.TypeInfoExpr) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::IntegerType* int_type_; - int kind_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class AssignExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.AssignExpr) */ { - public: - inline AssignExpr() : AssignExpr(nullptr) {} - ~AssignExpr() override; - explicit PROTOBUF_CONSTEXPR AssignExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - AssignExpr(const AssignExpr& from); - AssignExpr(AssignExpr&& from) noexcept - : AssignExpr() { - *this = ::std::move(from); - } - - inline AssignExpr& operator=(const AssignExpr& from) { - CopyFrom(from); - return *this; - } - inline AssignExpr& operator=(AssignExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AssignExpr& default_instance() { - return *internal_default_instance(); - } - static inline const AssignExpr* internal_default_instance() { - return reinterpret_cast( - &_AssignExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(AssignExpr& a, AssignExpr& b) { - a.Swap(&b); - } - inline void Swap(AssignExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AssignExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AssignExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AssignExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const AssignExpr& from) { - AssignExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(AssignExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.AssignExpr"; - } - protected: - explicit AssignExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef AssignExpr_Op Op; - static constexpr Op ASSIGN = - AssignExpr_Op_ASSIGN; - static constexpr Op ADD_ASSIGN = - AssignExpr_Op_ADD_ASSIGN; - static constexpr Op SUB_ASSIGN = - AssignExpr_Op_SUB_ASSIGN; - static constexpr Op MUL_ASSIGN = - AssignExpr_Op_MUL_ASSIGN; - static constexpr Op DIV_ASSIGN = - AssignExpr_Op_DIV_ASSIGN; - static constexpr Op MOD_ASSIGN = - AssignExpr_Op_MOD_ASSIGN; - static constexpr Op AND_ASSIGN = - AssignExpr_Op_AND_ASSIGN; - static constexpr Op OR_ASSIGN = - AssignExpr_Op_OR_ASSIGN; - static constexpr Op XOR_ASSIGN = - AssignExpr_Op_XOR_ASSIGN; - static constexpr Op SHL_ASSIGN = - AssignExpr_Op_SHL_ASSIGN; - static constexpr Op SHR_ASSIGN = - AssignExpr_Op_SHR_ASSIGN; - static inline bool Op_IsValid(int value) { - return AssignExpr_Op_IsValid(value); - } - static constexpr Op Op_MIN = - AssignExpr_Op_Op_MIN; - static constexpr Op Op_MAX = - AssignExpr_Op_Op_MAX; - static constexpr int Op_ARRAYSIZE = - AssignExpr_Op_Op_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Op_descriptor() { - return AssignExpr_Op_descriptor(); - } - template - static inline const std::string& Op_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Op_Name."); - return AssignExpr_Op_Name(enum_t_value); - } - static inline bool Op_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Op* value) { - return AssignExpr_Op_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kLhsFieldNumber = 2, - kRhsFieldNumber = 3, - kOpFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.VarRef lhs = 2; - bool has_lhs() const; - private: - bool _internal_has_lhs() const; - public: - void clear_lhs(); - const ::solidity::test::sol2protofuzzer::VarRef& lhs() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::VarRef* release_lhs(); - ::solidity::test::sol2protofuzzer::VarRef* mutable_lhs(); - void set_allocated_lhs(::solidity::test::sol2protofuzzer::VarRef* lhs); - private: - const ::solidity::test::sol2protofuzzer::VarRef& _internal_lhs() const; - ::solidity::test::sol2protofuzzer::VarRef* _internal_mutable_lhs(); - public: - void unsafe_arena_set_allocated_lhs( - ::solidity::test::sol2protofuzzer::VarRef* lhs); - ::solidity::test::sol2protofuzzer::VarRef* unsafe_arena_release_lhs(); - - // required .solidity.test.sol2protofuzzer.Expression rhs = 3; - bool has_rhs() const; - private: - bool _internal_has_rhs() const; - public: - void clear_rhs(); - const ::solidity::test::sol2protofuzzer::Expression& rhs() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_rhs(); - ::solidity::test::sol2protofuzzer::Expression* mutable_rhs(); - void set_allocated_rhs(::solidity::test::sol2protofuzzer::Expression* rhs); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_rhs() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_rhs(); - public: - void unsafe_arena_set_allocated_rhs( - ::solidity::test::sol2protofuzzer::Expression* rhs); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_rhs(); - - // required .solidity.test.sol2protofuzzer.AssignExpr.Op op = 1; - bool has_op() const; - private: - bool _internal_has_op() const; - public: - void clear_op(); - ::solidity::test::sol2protofuzzer::AssignExpr_Op op() const; - void set_op(::solidity::test::sol2protofuzzer::AssignExpr_Op value); - private: - ::solidity::test::sol2protofuzzer::AssignExpr_Op _internal_op() const; - void _internal_set_op(::solidity::test::sol2protofuzzer::AssignExpr_Op value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.AssignExpr) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::VarRef* lhs_; - ::solidity::test::sol2protofuzzer::Expression* rhs_; - int op_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class StructMemberAccess final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.StructMemberAccess) */ { - public: - inline StructMemberAccess() : StructMemberAccess(nullptr) {} - ~StructMemberAccess() override; - explicit PROTOBUF_CONSTEXPR StructMemberAccess(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StructMemberAccess(const StructMemberAccess& from); - StructMemberAccess(StructMemberAccess&& from) noexcept - : StructMemberAccess() { - *this = ::std::move(from); - } - - inline StructMemberAccess& operator=(const StructMemberAccess& from) { - CopyFrom(from); - return *this; - } - inline StructMemberAccess& operator=(StructMemberAccess&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StructMemberAccess& default_instance() { - return *internal_default_instance(); - } - static inline const StructMemberAccess* internal_default_instance() { - return reinterpret_cast( - &_StructMemberAccess_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(StructMemberAccess& a, StructMemberAccess& b) { - a.Swap(&b); - } - inline void Swap(StructMemberAccess* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StructMemberAccess* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StructMemberAccess* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StructMemberAccess& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StructMemberAccess& from) { - StructMemberAccess::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StructMemberAccess* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.StructMemberAccess"; - } - protected: - explicit StructMemberAccess(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStructVarFieldNumber = 1, - kFieldIdxFieldNumber = 2, - }; - // required .solidity.test.sol2protofuzzer.VarRef struct_var = 1; - bool has_struct_var() const; - private: - bool _internal_has_struct_var() const; - public: - void clear_struct_var(); - const ::solidity::test::sol2protofuzzer::VarRef& struct_var() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::VarRef* release_struct_var(); - ::solidity::test::sol2protofuzzer::VarRef* mutable_struct_var(); - void set_allocated_struct_var(::solidity::test::sol2protofuzzer::VarRef* struct_var); - private: - const ::solidity::test::sol2protofuzzer::VarRef& _internal_struct_var() const; - ::solidity::test::sol2protofuzzer::VarRef* _internal_mutable_struct_var(); - public: - void unsafe_arena_set_allocated_struct_var( - ::solidity::test::sol2protofuzzer::VarRef* struct_var); - ::solidity::test::sol2protofuzzer::VarRef* unsafe_arena_release_struct_var(); - - // required uint32 field_idx = 2; - bool has_field_idx() const; - private: - bool _internal_has_field_idx() const; - public: - void clear_field_idx(); - uint32_t field_idx() const; - void set_field_idx(uint32_t value); - private: - uint32_t _internal_field_idx() const; - void _internal_set_field_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.StructMemberAccess) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::VarRef* struct_var_; - uint32_t field_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class EnumLiteral final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.EnumLiteral) */ { - public: - inline EnumLiteral() : EnumLiteral(nullptr) {} - ~EnumLiteral() override; - explicit PROTOBUF_CONSTEXPR EnumLiteral(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - EnumLiteral(const EnumLiteral& from); - EnumLiteral(EnumLiteral&& from) noexcept - : EnumLiteral() { - *this = ::std::move(from); - } - - inline EnumLiteral& operator=(const EnumLiteral& from) { - CopyFrom(from); - return *this; - } - inline EnumLiteral& operator=(EnumLiteral&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const EnumLiteral& default_instance() { - return *internal_default_instance(); - } - static inline const EnumLiteral* internal_default_instance() { - return reinterpret_cast( - &_EnumLiteral_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(EnumLiteral& a, EnumLiteral& b) { - a.Swap(&b); - } - inline void Swap(EnumLiteral* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(EnumLiteral* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - EnumLiteral* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const EnumLiteral& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const EnumLiteral& from) { - EnumLiteral::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EnumLiteral* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.EnumLiteral"; - } - protected: - explicit EnumLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEnumIdxFieldNumber = 1, - kMemberIdxFieldNumber = 2, - }; - // required uint32 enum_idx = 1; - bool has_enum_idx() const; - private: - bool _internal_has_enum_idx() const; - public: - void clear_enum_idx(); - uint32_t enum_idx() const; - void set_enum_idx(uint32_t value); - private: - uint32_t _internal_enum_idx() const; - void _internal_set_enum_idx(uint32_t value); - public: - - // required uint32 member_idx = 2; - bool has_member_idx() const; - private: - bool _internal_has_member_idx() const; - public: - void clear_member_idx(); - uint32_t member_idx() const; - void set_member_idx(uint32_t value); - private: - uint32_t _internal_member_idx() const; - void _internal_set_member_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.EnumLiteral) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t enum_idx_; - uint32_t member_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class SuperCallExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.SuperCallExpr) */ { - public: - inline SuperCallExpr() : SuperCallExpr(nullptr) {} - ~SuperCallExpr() override; - explicit PROTOBUF_CONSTEXPR SuperCallExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - SuperCallExpr(const SuperCallExpr& from); - SuperCallExpr(SuperCallExpr&& from) noexcept - : SuperCallExpr() { - *this = ::std::move(from); - } - - inline SuperCallExpr& operator=(const SuperCallExpr& from) { - CopyFrom(from); - return *this; - } - inline SuperCallExpr& operator=(SuperCallExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SuperCallExpr& default_instance() { - return *internal_default_instance(); - } - static inline const SuperCallExpr* internal_default_instance() { - return reinterpret_cast( - &_SuperCallExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(SuperCallExpr& a, SuperCallExpr& b) { - a.Swap(&b); - } - inline void Swap(SuperCallExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SuperCallExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SuperCallExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const SuperCallExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const SuperCallExpr& from) { - SuperCallExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(SuperCallExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.SuperCallExpr"; - } - protected: - explicit SuperCallExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kFuncIdxFieldNumber = 1, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required uint32 func_idx = 1; - bool has_func_idx() const; - private: - bool _internal_has_func_idx() const; - public: - void clear_func_idx(); - uint32_t func_idx() const; - void set_func_idx(uint32_t value); - private: - uint32_t _internal_func_idx() const; - void _internal_set_func_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.SuperCallExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - uint32_t func_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class LibMemberCallExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.LibMemberCallExpr) */ { - public: - inline LibMemberCallExpr() : LibMemberCallExpr(nullptr) {} - ~LibMemberCallExpr() override; - explicit PROTOBUF_CONSTEXPR LibMemberCallExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - LibMemberCallExpr(const LibMemberCallExpr& from); - LibMemberCallExpr(LibMemberCallExpr&& from) noexcept - : LibMemberCallExpr() { - *this = ::std::move(from); - } - - inline LibMemberCallExpr& operator=(const LibMemberCallExpr& from) { - CopyFrom(from); - return *this; - } - inline LibMemberCallExpr& operator=(LibMemberCallExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const LibMemberCallExpr& default_instance() { - return *internal_default_instance(); - } - static inline const LibMemberCallExpr* internal_default_instance() { - return reinterpret_cast( - &_LibMemberCallExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(LibMemberCallExpr& a, LibMemberCallExpr& b) { - a.Swap(&b); - } - inline void Swap(LibMemberCallExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(LibMemberCallExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - LibMemberCallExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const LibMemberCallExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const LibMemberCallExpr& from) { - LibMemberCallExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(LibMemberCallExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.LibMemberCallExpr"; - } - protected: - explicit LibMemberCallExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 3, - kReceiverFieldNumber = 1, - kFuncIdxFieldNumber = 2, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 3; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required .solidity.test.sol2protofuzzer.Expression receiver = 1; - bool has_receiver() const; - private: - bool _internal_has_receiver() const; - public: - void clear_receiver(); - const ::solidity::test::sol2protofuzzer::Expression& receiver() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_receiver(); - ::solidity::test::sol2protofuzzer::Expression* mutable_receiver(); - void set_allocated_receiver(::solidity::test::sol2protofuzzer::Expression* receiver); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_receiver() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_receiver(); - public: - void unsafe_arena_set_allocated_receiver( - ::solidity::test::sol2protofuzzer::Expression* receiver); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_receiver(); - - // required uint32 func_idx = 2; - bool has_func_idx() const; - private: - bool _internal_has_func_idx() const; - public: - void clear_func_idx(); - uint32_t func_idx() const; - void set_func_idx(uint32_t value); - private: - uint32_t _internal_func_idx() const; - void _internal_set_func_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.LibMemberCallExpr) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - ::solidity::test::sol2protofuzzer::Expression* receiver_; - uint32_t func_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ConcatExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ConcatExpr) */ { - public: - inline ConcatExpr() : ConcatExpr(nullptr) {} - ~ConcatExpr() override; - explicit PROTOBUF_CONSTEXPR ConcatExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ConcatExpr(const ConcatExpr& from); - ConcatExpr(ConcatExpr&& from) noexcept - : ConcatExpr() { - *this = ::std::move(from); - } - - inline ConcatExpr& operator=(const ConcatExpr& from) { - CopyFrom(from); - return *this; - } - inline ConcatExpr& operator=(ConcatExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ConcatExpr& default_instance() { - return *internal_default_instance(); - } - static inline const ConcatExpr* internal_default_instance() { - return reinterpret_cast( - &_ConcatExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(ConcatExpr& a, ConcatExpr& b) { - a.Swap(&b); - } - inline void Swap(ConcatExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ConcatExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ConcatExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ConcatExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ConcatExpr& from) { - ConcatExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ConcatExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ConcatExpr"; - } - protected: - explicit ConcatExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef ConcatExpr_Kind Kind; - static constexpr Kind BYTES_CONCAT = - ConcatExpr_Kind_BYTES_CONCAT; - static constexpr Kind STRING_CONCAT = - ConcatExpr_Kind_STRING_CONCAT; - static inline bool Kind_IsValid(int value) { - return ConcatExpr_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - ConcatExpr_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - ConcatExpr_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - ConcatExpr_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return ConcatExpr_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return ConcatExpr_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return ConcatExpr_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kKindFieldNumber = 1, - kUseNamedArgsFieldNumber = 3, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required .solidity.test.sol2protofuzzer.ConcatExpr.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::ConcatExpr_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::ConcatExpr_Kind value); - private: - ::solidity::test::sol2protofuzzer::ConcatExpr_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::ConcatExpr_Kind value); - public: - - // optional bool use_named_args = 3; - bool has_use_named_args() const; - private: - bool _internal_has_use_named_args() const; - public: - void clear_use_named_args(); - bool use_named_args() const; - void set_use_named_args(bool value); - private: - bool _internal_use_named_args() const; - void _internal_set_use_named_args(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ConcatExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - int kind_; - bool use_named_args_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class SelectorExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.SelectorExpr) */ { - public: - inline SelectorExpr() : SelectorExpr(nullptr) {} - ~SelectorExpr() override; - explicit PROTOBUF_CONSTEXPR SelectorExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - SelectorExpr(const SelectorExpr& from); - SelectorExpr(SelectorExpr&& from) noexcept - : SelectorExpr() { - *this = ::std::move(from); - } - - inline SelectorExpr& operator=(const SelectorExpr& from) { - CopyFrom(from); - return *this; - } - inline SelectorExpr& operator=(SelectorExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SelectorExpr& default_instance() { - return *internal_default_instance(); - } - static inline const SelectorExpr* internal_default_instance() { - return reinterpret_cast( - &_SelectorExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(SelectorExpr& a, SelectorExpr& b) { - a.Swap(&b); - } - inline void Swap(SelectorExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SelectorExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SelectorExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const SelectorExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const SelectorExpr& from) { - SelectorExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(SelectorExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.SelectorExpr"; - } - protected: - explicit SelectorExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFuncIdxFieldNumber = 1, - }; - // required uint32 func_idx = 1; - bool has_func_idx() const; - private: - bool _internal_has_func_idx() const; - public: - void clear_func_idx(); - uint32_t func_idx() const; - void set_func_idx(uint32_t value); - private: - uint32_t _internal_func_idx() const; - void _internal_set_func_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.SelectorExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t func_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class Expression final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.Expression) */ { - public: - inline Expression() : Expression(nullptr) {} - ~Expression() override; - explicit PROTOBUF_CONSTEXPR Expression(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Expression(const Expression& from); - Expression(Expression&& from) noexcept - : Expression() { - *this = ::std::move(from); - } - - inline Expression& operator=(const Expression& from) { - CopyFrom(from); - return *this; - } - inline Expression& operator=(Expression&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Expression& default_instance() { - return *internal_default_instance(); - } - enum ExprOneofCase { - kLit = 1, - kVarRef = 2, - kBinOp = 3, - kUnOp = 4, - kTernary = 5, - kFuncCall = 6, - kIndexAccess = 7, - kTypeConv = 8, - kMsgExpr = 9, - kBlockExpr = 10, - kTxExpr = 11, - kAbiEncode = 12, - kHashExpr = 13, - kMathExpr = 14, - kBuiltin = 15, - kAssign = 16, - kStructAccess = 17, - kEnumLit = 18, - kEcrecover = 19, - kTypeInfo = 20, - kSuperCall = 21, - kLibMemberCall = 22, - kConcat = 23, - kSelector = 24, - kArrayLength = 25, - kAbiDecode = 26, - kAbiEncodeCall = 27, - kUdvtExpr = 28, - kArrayLit = 29, - EXPR_ONEOF_NOT_SET = 0, - }; - - static inline const Expression* internal_default_instance() { - return reinterpret_cast( - &_Expression_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(Expression& a, Expression& b) { - a.Swap(&b); - } - inline void Swap(Expression* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Expression* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Expression* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Expression& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Expression& from) { - Expression::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Expression* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.Expression"; - } - protected: - explicit Expression(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLitFieldNumber = 1, - kVarRefFieldNumber = 2, - kBinOpFieldNumber = 3, - kUnOpFieldNumber = 4, - kTernaryFieldNumber = 5, - kFuncCallFieldNumber = 6, - kIndexAccessFieldNumber = 7, - kTypeConvFieldNumber = 8, - kMsgExprFieldNumber = 9, - kBlockExprFieldNumber = 10, - kTxExprFieldNumber = 11, - kAbiEncodeFieldNumber = 12, - kHashExprFieldNumber = 13, - kMathExprFieldNumber = 14, - kBuiltinFieldNumber = 15, - kAssignFieldNumber = 16, - kStructAccessFieldNumber = 17, - kEnumLitFieldNumber = 18, - kEcrecoverFieldNumber = 19, - kTypeInfoFieldNumber = 20, - kSuperCallFieldNumber = 21, - kLibMemberCallFieldNumber = 22, - kConcatFieldNumber = 23, - kSelectorFieldNumber = 24, - kArrayLengthFieldNumber = 25, - kAbiDecodeFieldNumber = 26, - kAbiEncodeCallFieldNumber = 27, - kUdvtExprFieldNumber = 28, - kArrayLitFieldNumber = 29, - }; - // .solidity.test.sol2protofuzzer.Literal lit = 1; - bool has_lit() const; - private: - bool _internal_has_lit() const; - public: - void clear_lit(); - const ::solidity::test::sol2protofuzzer::Literal& lit() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Literal* release_lit(); - ::solidity::test::sol2protofuzzer::Literal* mutable_lit(); - void set_allocated_lit(::solidity::test::sol2protofuzzer::Literal* lit); - private: - const ::solidity::test::sol2protofuzzer::Literal& _internal_lit() const; - ::solidity::test::sol2protofuzzer::Literal* _internal_mutable_lit(); - public: - void unsafe_arena_set_allocated_lit( - ::solidity::test::sol2protofuzzer::Literal* lit); - ::solidity::test::sol2protofuzzer::Literal* unsafe_arena_release_lit(); - - // .solidity.test.sol2protofuzzer.VarRef var_ref = 2; - bool has_var_ref() const; - private: - bool _internal_has_var_ref() const; - public: - void clear_var_ref(); - const ::solidity::test::sol2protofuzzer::VarRef& var_ref() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::VarRef* release_var_ref(); - ::solidity::test::sol2protofuzzer::VarRef* mutable_var_ref(); - void set_allocated_var_ref(::solidity::test::sol2protofuzzer::VarRef* var_ref); - private: - const ::solidity::test::sol2protofuzzer::VarRef& _internal_var_ref() const; - ::solidity::test::sol2protofuzzer::VarRef* _internal_mutable_var_ref(); - public: - void unsafe_arena_set_allocated_var_ref( - ::solidity::test::sol2protofuzzer::VarRef* var_ref); - ::solidity::test::sol2protofuzzer::VarRef* unsafe_arena_release_var_ref(); - - // .solidity.test.sol2protofuzzer.BinaryOp bin_op = 3; - bool has_bin_op() const; - private: - bool _internal_has_bin_op() const; - public: - void clear_bin_op(); - const ::solidity::test::sol2protofuzzer::BinaryOp& bin_op() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::BinaryOp* release_bin_op(); - ::solidity::test::sol2protofuzzer::BinaryOp* mutable_bin_op(); - void set_allocated_bin_op(::solidity::test::sol2protofuzzer::BinaryOp* bin_op); - private: - const ::solidity::test::sol2protofuzzer::BinaryOp& _internal_bin_op() const; - ::solidity::test::sol2protofuzzer::BinaryOp* _internal_mutable_bin_op(); - public: - void unsafe_arena_set_allocated_bin_op( - ::solidity::test::sol2protofuzzer::BinaryOp* bin_op); - ::solidity::test::sol2protofuzzer::BinaryOp* unsafe_arena_release_bin_op(); - - // .solidity.test.sol2protofuzzer.UnaryOp un_op = 4; - bool has_un_op() const; - private: - bool _internal_has_un_op() const; - public: - void clear_un_op(); - const ::solidity::test::sol2protofuzzer::UnaryOp& un_op() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::UnaryOp* release_un_op(); - ::solidity::test::sol2protofuzzer::UnaryOp* mutable_un_op(); - void set_allocated_un_op(::solidity::test::sol2protofuzzer::UnaryOp* un_op); - private: - const ::solidity::test::sol2protofuzzer::UnaryOp& _internal_un_op() const; - ::solidity::test::sol2protofuzzer::UnaryOp* _internal_mutable_un_op(); - public: - void unsafe_arena_set_allocated_un_op( - ::solidity::test::sol2protofuzzer::UnaryOp* un_op); - ::solidity::test::sol2protofuzzer::UnaryOp* unsafe_arena_release_un_op(); - - // .solidity.test.sol2protofuzzer.TernaryOp ternary = 5; - bool has_ternary() const; - private: - bool _internal_has_ternary() const; - public: - void clear_ternary(); - const ::solidity::test::sol2protofuzzer::TernaryOp& ternary() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::TernaryOp* release_ternary(); - ::solidity::test::sol2protofuzzer::TernaryOp* mutable_ternary(); - void set_allocated_ternary(::solidity::test::sol2protofuzzer::TernaryOp* ternary); - private: - const ::solidity::test::sol2protofuzzer::TernaryOp& _internal_ternary() const; - ::solidity::test::sol2protofuzzer::TernaryOp* _internal_mutable_ternary(); - public: - void unsafe_arena_set_allocated_ternary( - ::solidity::test::sol2protofuzzer::TernaryOp* ternary); - ::solidity::test::sol2protofuzzer::TernaryOp* unsafe_arena_release_ternary(); - - // .solidity.test.sol2protofuzzer.FuncCallExpr func_call = 6; - bool has_func_call() const; - private: - bool _internal_has_func_call() const; - public: - void clear_func_call(); - const ::solidity::test::sol2protofuzzer::FuncCallExpr& func_call() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::FuncCallExpr* release_func_call(); - ::solidity::test::sol2protofuzzer::FuncCallExpr* mutable_func_call(); - void set_allocated_func_call(::solidity::test::sol2protofuzzer::FuncCallExpr* func_call); - private: - const ::solidity::test::sol2protofuzzer::FuncCallExpr& _internal_func_call() const; - ::solidity::test::sol2protofuzzer::FuncCallExpr* _internal_mutable_func_call(); - public: - void unsafe_arena_set_allocated_func_call( - ::solidity::test::sol2protofuzzer::FuncCallExpr* func_call); - ::solidity::test::sol2protofuzzer::FuncCallExpr* unsafe_arena_release_func_call(); - - // .solidity.test.sol2protofuzzer.IndexAccessExpr index_access = 7; - bool has_index_access() const; - private: - bool _internal_has_index_access() const; - public: - void clear_index_access(); - const ::solidity::test::sol2protofuzzer::IndexAccessExpr& index_access() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::IndexAccessExpr* release_index_access(); - ::solidity::test::sol2protofuzzer::IndexAccessExpr* mutable_index_access(); - void set_allocated_index_access(::solidity::test::sol2protofuzzer::IndexAccessExpr* index_access); - private: - const ::solidity::test::sol2protofuzzer::IndexAccessExpr& _internal_index_access() const; - ::solidity::test::sol2protofuzzer::IndexAccessExpr* _internal_mutable_index_access(); - public: - void unsafe_arena_set_allocated_index_access( - ::solidity::test::sol2protofuzzer::IndexAccessExpr* index_access); - ::solidity::test::sol2protofuzzer::IndexAccessExpr* unsafe_arena_release_index_access(); - - // .solidity.test.sol2protofuzzer.TypeConvExpr type_conv = 8; - bool has_type_conv() const; - private: - bool _internal_has_type_conv() const; - public: - void clear_type_conv(); - const ::solidity::test::sol2protofuzzer::TypeConvExpr& type_conv() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::TypeConvExpr* release_type_conv(); - ::solidity::test::sol2protofuzzer::TypeConvExpr* mutable_type_conv(); - void set_allocated_type_conv(::solidity::test::sol2protofuzzer::TypeConvExpr* type_conv); - private: - const ::solidity::test::sol2protofuzzer::TypeConvExpr& _internal_type_conv() const; - ::solidity::test::sol2protofuzzer::TypeConvExpr* _internal_mutable_type_conv(); - public: - void unsafe_arena_set_allocated_type_conv( - ::solidity::test::sol2protofuzzer::TypeConvExpr* type_conv); - ::solidity::test::sol2protofuzzer::TypeConvExpr* unsafe_arena_release_type_conv(); - - // .solidity.test.sol2protofuzzer.MsgExpr msg_expr = 9; - bool has_msg_expr() const; - private: - bool _internal_has_msg_expr() const; - public: - void clear_msg_expr(); - const ::solidity::test::sol2protofuzzer::MsgExpr& msg_expr() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::MsgExpr* release_msg_expr(); - ::solidity::test::sol2protofuzzer::MsgExpr* mutable_msg_expr(); - void set_allocated_msg_expr(::solidity::test::sol2protofuzzer::MsgExpr* msg_expr); - private: - const ::solidity::test::sol2protofuzzer::MsgExpr& _internal_msg_expr() const; - ::solidity::test::sol2protofuzzer::MsgExpr* _internal_mutable_msg_expr(); - public: - void unsafe_arena_set_allocated_msg_expr( - ::solidity::test::sol2protofuzzer::MsgExpr* msg_expr); - ::solidity::test::sol2protofuzzer::MsgExpr* unsafe_arena_release_msg_expr(); - - // .solidity.test.sol2protofuzzer.BlockExpr block_expr = 10; - bool has_block_expr() const; - private: - bool _internal_has_block_expr() const; - public: - void clear_block_expr(); - const ::solidity::test::sol2protofuzzer::BlockExpr& block_expr() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::BlockExpr* release_block_expr(); - ::solidity::test::sol2protofuzzer::BlockExpr* mutable_block_expr(); - void set_allocated_block_expr(::solidity::test::sol2protofuzzer::BlockExpr* block_expr); - private: - const ::solidity::test::sol2protofuzzer::BlockExpr& _internal_block_expr() const; - ::solidity::test::sol2protofuzzer::BlockExpr* _internal_mutable_block_expr(); - public: - void unsafe_arena_set_allocated_block_expr( - ::solidity::test::sol2protofuzzer::BlockExpr* block_expr); - ::solidity::test::sol2protofuzzer::BlockExpr* unsafe_arena_release_block_expr(); - - // .solidity.test.sol2protofuzzer.TxExpr tx_expr = 11; - bool has_tx_expr() const; - private: - bool _internal_has_tx_expr() const; - public: - void clear_tx_expr(); - const ::solidity::test::sol2protofuzzer::TxExpr& tx_expr() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::TxExpr* release_tx_expr(); - ::solidity::test::sol2protofuzzer::TxExpr* mutable_tx_expr(); - void set_allocated_tx_expr(::solidity::test::sol2protofuzzer::TxExpr* tx_expr); - private: - const ::solidity::test::sol2protofuzzer::TxExpr& _internal_tx_expr() const; - ::solidity::test::sol2protofuzzer::TxExpr* _internal_mutable_tx_expr(); - public: - void unsafe_arena_set_allocated_tx_expr( - ::solidity::test::sol2protofuzzer::TxExpr* tx_expr); - ::solidity::test::sol2protofuzzer::TxExpr* unsafe_arena_release_tx_expr(); - - // .solidity.test.sol2protofuzzer.AbiEncodeExpr abi_encode = 12; - bool has_abi_encode() const; - private: - bool _internal_has_abi_encode() const; - public: - void clear_abi_encode(); - const ::solidity::test::sol2protofuzzer::AbiEncodeExpr& abi_encode() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::AbiEncodeExpr* release_abi_encode(); - ::solidity::test::sol2protofuzzer::AbiEncodeExpr* mutable_abi_encode(); - void set_allocated_abi_encode(::solidity::test::sol2protofuzzer::AbiEncodeExpr* abi_encode); - private: - const ::solidity::test::sol2protofuzzer::AbiEncodeExpr& _internal_abi_encode() const; - ::solidity::test::sol2protofuzzer::AbiEncodeExpr* _internal_mutable_abi_encode(); - public: - void unsafe_arena_set_allocated_abi_encode( - ::solidity::test::sol2protofuzzer::AbiEncodeExpr* abi_encode); - ::solidity::test::sol2protofuzzer::AbiEncodeExpr* unsafe_arena_release_abi_encode(); - - // .solidity.test.sol2protofuzzer.HashExpr hash_expr = 13; - bool has_hash_expr() const; - private: - bool _internal_has_hash_expr() const; - public: - void clear_hash_expr(); - const ::solidity::test::sol2protofuzzer::HashExpr& hash_expr() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::HashExpr* release_hash_expr(); - ::solidity::test::sol2protofuzzer::HashExpr* mutable_hash_expr(); - void set_allocated_hash_expr(::solidity::test::sol2protofuzzer::HashExpr* hash_expr); - private: - const ::solidity::test::sol2protofuzzer::HashExpr& _internal_hash_expr() const; - ::solidity::test::sol2protofuzzer::HashExpr* _internal_mutable_hash_expr(); - public: - void unsafe_arena_set_allocated_hash_expr( - ::solidity::test::sol2protofuzzer::HashExpr* hash_expr); - ::solidity::test::sol2protofuzzer::HashExpr* unsafe_arena_release_hash_expr(); - - // .solidity.test.sol2protofuzzer.MathExpr math_expr = 14; - bool has_math_expr() const; - private: - bool _internal_has_math_expr() const; - public: - void clear_math_expr(); - const ::solidity::test::sol2protofuzzer::MathExpr& math_expr() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::MathExpr* release_math_expr(); - ::solidity::test::sol2protofuzzer::MathExpr* mutable_math_expr(); - void set_allocated_math_expr(::solidity::test::sol2protofuzzer::MathExpr* math_expr); - private: - const ::solidity::test::sol2protofuzzer::MathExpr& _internal_math_expr() const; - ::solidity::test::sol2protofuzzer::MathExpr* _internal_mutable_math_expr(); - public: - void unsafe_arena_set_allocated_math_expr( - ::solidity::test::sol2protofuzzer::MathExpr* math_expr); - ::solidity::test::sol2protofuzzer::MathExpr* unsafe_arena_release_math_expr(); - - // .solidity.test.sol2protofuzzer.BuiltinExpr builtin = 15; - bool has_builtin() const; - private: - bool _internal_has_builtin() const; - public: - void clear_builtin(); - const ::solidity::test::sol2protofuzzer::BuiltinExpr& builtin() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::BuiltinExpr* release_builtin(); - ::solidity::test::sol2protofuzzer::BuiltinExpr* mutable_builtin(); - void set_allocated_builtin(::solidity::test::sol2protofuzzer::BuiltinExpr* builtin); - private: - const ::solidity::test::sol2protofuzzer::BuiltinExpr& _internal_builtin() const; - ::solidity::test::sol2protofuzzer::BuiltinExpr* _internal_mutable_builtin(); - public: - void unsafe_arena_set_allocated_builtin( - ::solidity::test::sol2protofuzzer::BuiltinExpr* builtin); - ::solidity::test::sol2protofuzzer::BuiltinExpr* unsafe_arena_release_builtin(); - - // .solidity.test.sol2protofuzzer.AssignExpr assign = 16; - bool has_assign() const; - private: - bool _internal_has_assign() const; - public: - void clear_assign(); - const ::solidity::test::sol2protofuzzer::AssignExpr& assign() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::AssignExpr* release_assign(); - ::solidity::test::sol2protofuzzer::AssignExpr* mutable_assign(); - void set_allocated_assign(::solidity::test::sol2protofuzzer::AssignExpr* assign); - private: - const ::solidity::test::sol2protofuzzer::AssignExpr& _internal_assign() const; - ::solidity::test::sol2protofuzzer::AssignExpr* _internal_mutable_assign(); - public: - void unsafe_arena_set_allocated_assign( - ::solidity::test::sol2protofuzzer::AssignExpr* assign); - ::solidity::test::sol2protofuzzer::AssignExpr* unsafe_arena_release_assign(); - - // .solidity.test.sol2protofuzzer.StructMemberAccess struct_access = 17; - bool has_struct_access() const; - private: - bool _internal_has_struct_access() const; - public: - void clear_struct_access(); - const ::solidity::test::sol2protofuzzer::StructMemberAccess& struct_access() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::StructMemberAccess* release_struct_access(); - ::solidity::test::sol2protofuzzer::StructMemberAccess* mutable_struct_access(); - void set_allocated_struct_access(::solidity::test::sol2protofuzzer::StructMemberAccess* struct_access); - private: - const ::solidity::test::sol2protofuzzer::StructMemberAccess& _internal_struct_access() const; - ::solidity::test::sol2protofuzzer::StructMemberAccess* _internal_mutable_struct_access(); - public: - void unsafe_arena_set_allocated_struct_access( - ::solidity::test::sol2protofuzzer::StructMemberAccess* struct_access); - ::solidity::test::sol2protofuzzer::StructMemberAccess* unsafe_arena_release_struct_access(); - - // .solidity.test.sol2protofuzzer.EnumLiteral enum_lit = 18; - bool has_enum_lit() const; - private: - bool _internal_has_enum_lit() const; - public: - void clear_enum_lit(); - const ::solidity::test::sol2protofuzzer::EnumLiteral& enum_lit() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::EnumLiteral* release_enum_lit(); - ::solidity::test::sol2protofuzzer::EnumLiteral* mutable_enum_lit(); - void set_allocated_enum_lit(::solidity::test::sol2protofuzzer::EnumLiteral* enum_lit); - private: - const ::solidity::test::sol2protofuzzer::EnumLiteral& _internal_enum_lit() const; - ::solidity::test::sol2protofuzzer::EnumLiteral* _internal_mutable_enum_lit(); - public: - void unsafe_arena_set_allocated_enum_lit( - ::solidity::test::sol2protofuzzer::EnumLiteral* enum_lit); - ::solidity::test::sol2protofuzzer::EnumLiteral* unsafe_arena_release_enum_lit(); - - // .solidity.test.sol2protofuzzer.EcrecoverExpr ecrecover = 19; - bool has_ecrecover() const; - private: - bool _internal_has_ecrecover() const; - public: - void clear_ecrecover(); - const ::solidity::test::sol2protofuzzer::EcrecoverExpr& ecrecover() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::EcrecoverExpr* release_ecrecover(); - ::solidity::test::sol2protofuzzer::EcrecoverExpr* mutable_ecrecover(); - void set_allocated_ecrecover(::solidity::test::sol2protofuzzer::EcrecoverExpr* ecrecover); - private: - const ::solidity::test::sol2protofuzzer::EcrecoverExpr& _internal_ecrecover() const; - ::solidity::test::sol2protofuzzer::EcrecoverExpr* _internal_mutable_ecrecover(); - public: - void unsafe_arena_set_allocated_ecrecover( - ::solidity::test::sol2protofuzzer::EcrecoverExpr* ecrecover); - ::solidity::test::sol2protofuzzer::EcrecoverExpr* unsafe_arena_release_ecrecover(); - - // .solidity.test.sol2protofuzzer.TypeInfoExpr type_info = 20; - bool has_type_info() const; - private: - bool _internal_has_type_info() const; - public: - void clear_type_info(); - const ::solidity::test::sol2protofuzzer::TypeInfoExpr& type_info() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::TypeInfoExpr* release_type_info(); - ::solidity::test::sol2protofuzzer::TypeInfoExpr* mutable_type_info(); - void set_allocated_type_info(::solidity::test::sol2protofuzzer::TypeInfoExpr* type_info); - private: - const ::solidity::test::sol2protofuzzer::TypeInfoExpr& _internal_type_info() const; - ::solidity::test::sol2protofuzzer::TypeInfoExpr* _internal_mutable_type_info(); - public: - void unsafe_arena_set_allocated_type_info( - ::solidity::test::sol2protofuzzer::TypeInfoExpr* type_info); - ::solidity::test::sol2protofuzzer::TypeInfoExpr* unsafe_arena_release_type_info(); - - // .solidity.test.sol2protofuzzer.SuperCallExpr super_call = 21; - bool has_super_call() const; - private: - bool _internal_has_super_call() const; - public: - void clear_super_call(); - const ::solidity::test::sol2protofuzzer::SuperCallExpr& super_call() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::SuperCallExpr* release_super_call(); - ::solidity::test::sol2protofuzzer::SuperCallExpr* mutable_super_call(); - void set_allocated_super_call(::solidity::test::sol2protofuzzer::SuperCallExpr* super_call); - private: - const ::solidity::test::sol2protofuzzer::SuperCallExpr& _internal_super_call() const; - ::solidity::test::sol2protofuzzer::SuperCallExpr* _internal_mutable_super_call(); - public: - void unsafe_arena_set_allocated_super_call( - ::solidity::test::sol2protofuzzer::SuperCallExpr* super_call); - ::solidity::test::sol2protofuzzer::SuperCallExpr* unsafe_arena_release_super_call(); - - // .solidity.test.sol2protofuzzer.LibMemberCallExpr lib_member_call = 22; - bool has_lib_member_call() const; - private: - bool _internal_has_lib_member_call() const; - public: - void clear_lib_member_call(); - const ::solidity::test::sol2protofuzzer::LibMemberCallExpr& lib_member_call() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::LibMemberCallExpr* release_lib_member_call(); - ::solidity::test::sol2protofuzzer::LibMemberCallExpr* mutable_lib_member_call(); - void set_allocated_lib_member_call(::solidity::test::sol2protofuzzer::LibMemberCallExpr* lib_member_call); - private: - const ::solidity::test::sol2protofuzzer::LibMemberCallExpr& _internal_lib_member_call() const; - ::solidity::test::sol2protofuzzer::LibMemberCallExpr* _internal_mutable_lib_member_call(); - public: - void unsafe_arena_set_allocated_lib_member_call( - ::solidity::test::sol2protofuzzer::LibMemberCallExpr* lib_member_call); - ::solidity::test::sol2protofuzzer::LibMemberCallExpr* unsafe_arena_release_lib_member_call(); - - // .solidity.test.sol2protofuzzer.ConcatExpr concat = 23; - bool has_concat() const; - private: - bool _internal_has_concat() const; - public: - void clear_concat(); - const ::solidity::test::sol2protofuzzer::ConcatExpr& concat() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ConcatExpr* release_concat(); - ::solidity::test::sol2protofuzzer::ConcatExpr* mutable_concat(); - void set_allocated_concat(::solidity::test::sol2protofuzzer::ConcatExpr* concat); - private: - const ::solidity::test::sol2protofuzzer::ConcatExpr& _internal_concat() const; - ::solidity::test::sol2protofuzzer::ConcatExpr* _internal_mutable_concat(); - public: - void unsafe_arena_set_allocated_concat( - ::solidity::test::sol2protofuzzer::ConcatExpr* concat); - ::solidity::test::sol2protofuzzer::ConcatExpr* unsafe_arena_release_concat(); - - // .solidity.test.sol2protofuzzer.SelectorExpr selector = 24; - bool has_selector() const; - private: - bool _internal_has_selector() const; - public: - void clear_selector(); - const ::solidity::test::sol2protofuzzer::SelectorExpr& selector() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::SelectorExpr* release_selector(); - ::solidity::test::sol2protofuzzer::SelectorExpr* mutable_selector(); - void set_allocated_selector(::solidity::test::sol2protofuzzer::SelectorExpr* selector); - private: - const ::solidity::test::sol2protofuzzer::SelectorExpr& _internal_selector() const; - ::solidity::test::sol2protofuzzer::SelectorExpr* _internal_mutable_selector(); - public: - void unsafe_arena_set_allocated_selector( - ::solidity::test::sol2protofuzzer::SelectorExpr* selector); - ::solidity::test::sol2protofuzzer::SelectorExpr* unsafe_arena_release_selector(); - - // .solidity.test.sol2protofuzzer.ArrayLengthExpr array_length = 25; - bool has_array_length() const; - private: - bool _internal_has_array_length() const; - public: - void clear_array_length(); - const ::solidity::test::sol2protofuzzer::ArrayLengthExpr& array_length() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ArrayLengthExpr* release_array_length(); - ::solidity::test::sol2protofuzzer::ArrayLengthExpr* mutable_array_length(); - void set_allocated_array_length(::solidity::test::sol2protofuzzer::ArrayLengthExpr* array_length); - private: - const ::solidity::test::sol2protofuzzer::ArrayLengthExpr& _internal_array_length() const; - ::solidity::test::sol2protofuzzer::ArrayLengthExpr* _internal_mutable_array_length(); - public: - void unsafe_arena_set_allocated_array_length( - ::solidity::test::sol2protofuzzer::ArrayLengthExpr* array_length); - ::solidity::test::sol2protofuzzer::ArrayLengthExpr* unsafe_arena_release_array_length(); - - // .solidity.test.sol2protofuzzer.AbiDecodeExpr abi_decode = 26; - bool has_abi_decode() const; - private: - bool _internal_has_abi_decode() const; - public: - void clear_abi_decode(); - const ::solidity::test::sol2protofuzzer::AbiDecodeExpr& abi_decode() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::AbiDecodeExpr* release_abi_decode(); - ::solidity::test::sol2protofuzzer::AbiDecodeExpr* mutable_abi_decode(); - void set_allocated_abi_decode(::solidity::test::sol2protofuzzer::AbiDecodeExpr* abi_decode); - private: - const ::solidity::test::sol2protofuzzer::AbiDecodeExpr& _internal_abi_decode() const; - ::solidity::test::sol2protofuzzer::AbiDecodeExpr* _internal_mutable_abi_decode(); - public: - void unsafe_arena_set_allocated_abi_decode( - ::solidity::test::sol2protofuzzer::AbiDecodeExpr* abi_decode); - ::solidity::test::sol2protofuzzer::AbiDecodeExpr* unsafe_arena_release_abi_decode(); - - // .solidity.test.sol2protofuzzer.AbiEncodeCallExpr abi_encode_call = 27; - bool has_abi_encode_call() const; - private: - bool _internal_has_abi_encode_call() const; - public: - void clear_abi_encode_call(); - const ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr& abi_encode_call() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* release_abi_encode_call(); - ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* mutable_abi_encode_call(); - void set_allocated_abi_encode_call(::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* abi_encode_call); - private: - const ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr& _internal_abi_encode_call() const; - ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* _internal_mutable_abi_encode_call(); - public: - void unsafe_arena_set_allocated_abi_encode_call( - ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* abi_encode_call); - ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* unsafe_arena_release_abi_encode_call(); - - // .solidity.test.sol2protofuzzer.UdvtExpr udvt_expr = 28; - bool has_udvt_expr() const; - private: - bool _internal_has_udvt_expr() const; - public: - void clear_udvt_expr(); - const ::solidity::test::sol2protofuzzer::UdvtExpr& udvt_expr() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::UdvtExpr* release_udvt_expr(); - ::solidity::test::sol2protofuzzer::UdvtExpr* mutable_udvt_expr(); - void set_allocated_udvt_expr(::solidity::test::sol2protofuzzer::UdvtExpr* udvt_expr); - private: - const ::solidity::test::sol2protofuzzer::UdvtExpr& _internal_udvt_expr() const; - ::solidity::test::sol2protofuzzer::UdvtExpr* _internal_mutable_udvt_expr(); - public: - void unsafe_arena_set_allocated_udvt_expr( - ::solidity::test::sol2protofuzzer::UdvtExpr* udvt_expr); - ::solidity::test::sol2protofuzzer::UdvtExpr* unsafe_arena_release_udvt_expr(); - - // .solidity.test.sol2protofuzzer.ArrayLiteralExpr array_lit = 29; - bool has_array_lit() const; - private: - bool _internal_has_array_lit() const; - public: - void clear_array_lit(); - const ::solidity::test::sol2protofuzzer::ArrayLiteralExpr& array_lit() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* release_array_lit(); - ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* mutable_array_lit(); - void set_allocated_array_lit(::solidity::test::sol2protofuzzer::ArrayLiteralExpr* array_lit); - private: - const ::solidity::test::sol2protofuzzer::ArrayLiteralExpr& _internal_array_lit() const; - ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* _internal_mutable_array_lit(); - public: - void unsafe_arena_set_allocated_array_lit( - ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* array_lit); - ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* unsafe_arena_release_array_lit(); - - void clear_expr_oneof(); - ExprOneofCase expr_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.Expression) - private: - class _Internal; - void set_has_lit(); - void set_has_var_ref(); - void set_has_bin_op(); - void set_has_un_op(); - void set_has_ternary(); - void set_has_func_call(); - void set_has_index_access(); - void set_has_type_conv(); - void set_has_msg_expr(); - void set_has_block_expr(); - void set_has_tx_expr(); - void set_has_abi_encode(); - void set_has_hash_expr(); - void set_has_math_expr(); - void set_has_builtin(); - void set_has_assign(); - void set_has_struct_access(); - void set_has_enum_lit(); - void set_has_ecrecover(); - void set_has_type_info(); - void set_has_super_call(); - void set_has_lib_member_call(); - void set_has_concat(); - void set_has_selector(); - void set_has_array_length(); - void set_has_abi_decode(); - void set_has_abi_encode_call(); - void set_has_udvt_expr(); - void set_has_array_lit(); - - inline bool has_expr_oneof() const; - inline void clear_has_expr_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union ExprOneofUnion { - constexpr ExprOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::sol2protofuzzer::Literal* lit_; - ::solidity::test::sol2protofuzzer::VarRef* var_ref_; - ::solidity::test::sol2protofuzzer::BinaryOp* bin_op_; - ::solidity::test::sol2protofuzzer::UnaryOp* un_op_; - ::solidity::test::sol2protofuzzer::TernaryOp* ternary_; - ::solidity::test::sol2protofuzzer::FuncCallExpr* func_call_; - ::solidity::test::sol2protofuzzer::IndexAccessExpr* index_access_; - ::solidity::test::sol2protofuzzer::TypeConvExpr* type_conv_; - ::solidity::test::sol2protofuzzer::MsgExpr* msg_expr_; - ::solidity::test::sol2protofuzzer::BlockExpr* block_expr_; - ::solidity::test::sol2protofuzzer::TxExpr* tx_expr_; - ::solidity::test::sol2protofuzzer::AbiEncodeExpr* abi_encode_; - ::solidity::test::sol2protofuzzer::HashExpr* hash_expr_; - ::solidity::test::sol2protofuzzer::MathExpr* math_expr_; - ::solidity::test::sol2protofuzzer::BuiltinExpr* builtin_; - ::solidity::test::sol2protofuzzer::AssignExpr* assign_; - ::solidity::test::sol2protofuzzer::StructMemberAccess* struct_access_; - ::solidity::test::sol2protofuzzer::EnumLiteral* enum_lit_; - ::solidity::test::sol2protofuzzer::EcrecoverExpr* ecrecover_; - ::solidity::test::sol2protofuzzer::TypeInfoExpr* type_info_; - ::solidity::test::sol2protofuzzer::SuperCallExpr* super_call_; - ::solidity::test::sol2protofuzzer::LibMemberCallExpr* lib_member_call_; - ::solidity::test::sol2protofuzzer::ConcatExpr* concat_; - ::solidity::test::sol2protofuzzer::SelectorExpr* selector_; - ::solidity::test::sol2protofuzzer::ArrayLengthExpr* array_length_; - ::solidity::test::sol2protofuzzer::AbiDecodeExpr* abi_decode_; - ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* abi_encode_call_; - ::solidity::test::sol2protofuzzer::UdvtExpr* udvt_expr_; - ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* array_lit_; - } expr_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class UdvtExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.UdvtExpr) */ { - public: - inline UdvtExpr() : UdvtExpr(nullptr) {} - ~UdvtExpr() override; - explicit PROTOBUF_CONSTEXPR UdvtExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - UdvtExpr(const UdvtExpr& from); - UdvtExpr(UdvtExpr&& from) noexcept - : UdvtExpr() { - *this = ::std::move(from); - } - - inline UdvtExpr& operator=(const UdvtExpr& from) { - CopyFrom(from); - return *this; - } - inline UdvtExpr& operator=(UdvtExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const UdvtExpr& default_instance() { - return *internal_default_instance(); - } - static inline const UdvtExpr* internal_default_instance() { - return reinterpret_cast( - &_UdvtExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(UdvtExpr& a, UdvtExpr& b) { - a.Swap(&b); - } - inline void Swap(UdvtExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UdvtExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UdvtExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UdvtExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const UdvtExpr& from) { - UdvtExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(UdvtExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.UdvtExpr"; - } - protected: - explicit UdvtExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInnerFieldNumber = 1, - kWrapOnlyFieldNumber = 2, - }; - // required .solidity.test.sol2protofuzzer.Expression inner = 1; - bool has_inner() const; - private: - bool _internal_has_inner() const; - public: - void clear_inner(); - const ::solidity::test::sol2protofuzzer::Expression& inner() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_inner(); - ::solidity::test::sol2protofuzzer::Expression* mutable_inner(); - void set_allocated_inner(::solidity::test::sol2protofuzzer::Expression* inner); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_inner() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_inner(); - public: - void unsafe_arena_set_allocated_inner( - ::solidity::test::sol2protofuzzer::Expression* inner); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_inner(); - - // required bool wrap_only = 2; - bool has_wrap_only() const; - private: - bool _internal_has_wrap_only() const; - public: - void clear_wrap_only(); - bool wrap_only() const; - void set_wrap_only(bool value); - private: - bool _internal_wrap_only() const; - void _internal_set_wrap_only(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.UdvtExpr) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* inner_; - bool wrap_only_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ArrayLiteralExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ArrayLiteralExpr) */ { - public: - inline ArrayLiteralExpr() : ArrayLiteralExpr(nullptr) {} - ~ArrayLiteralExpr() override; - explicit PROTOBUF_CONSTEXPR ArrayLiteralExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ArrayLiteralExpr(const ArrayLiteralExpr& from); - ArrayLiteralExpr(ArrayLiteralExpr&& from) noexcept - : ArrayLiteralExpr() { - *this = ::std::move(from); - } - - inline ArrayLiteralExpr& operator=(const ArrayLiteralExpr& from) { - CopyFrom(from); - return *this; - } - inline ArrayLiteralExpr& operator=(ArrayLiteralExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ArrayLiteralExpr& default_instance() { - return *internal_default_instance(); - } - static inline const ArrayLiteralExpr* internal_default_instance() { - return reinterpret_cast( - &_ArrayLiteralExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(ArrayLiteralExpr& a, ArrayLiteralExpr& b) { - a.Swap(&b); - } - inline void Swap(ArrayLiteralExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArrayLiteralExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArrayLiteralExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ArrayLiteralExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ArrayLiteralExpr& from) { - ArrayLiteralExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ArrayLiteralExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ArrayLiteralExpr"; - } - protected: - explicit ArrayLiteralExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef ArrayLiteralExpr_Kind Kind; - static constexpr Kind UINT256 = - ArrayLiteralExpr_Kind_UINT256; - static constexpr Kind INT256 = - ArrayLiteralExpr_Kind_INT256; - static constexpr Kind ADDRESS = - ArrayLiteralExpr_Kind_ADDRESS; - static constexpr Kind BYTES32 = - ArrayLiteralExpr_Kind_BYTES32; - static constexpr Kind BOOL = - ArrayLiteralExpr_Kind_BOOL; - static constexpr Kind MIXED_SIGN = - ArrayLiteralExpr_Kind_MIXED_SIGN; - static constexpr Kind MIXED_WIDTH = - ArrayLiteralExpr_Kind_MIXED_WIDTH; - static constexpr Kind MIXED_BYTES = - ArrayLiteralExpr_Kind_MIXED_BYTES; - static constexpr Kind NESTED = - ArrayLiteralExpr_Kind_NESTED; - static inline bool Kind_IsValid(int value) { - return ArrayLiteralExpr_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - ArrayLiteralExpr_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - ArrayLiteralExpr_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - ArrayLiteralExpr_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return ArrayLiteralExpr_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return ArrayLiteralExpr_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return ArrayLiteralExpr_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kElemsFieldNumber = 2, - kKindFieldNumber = 1, - kIndexFieldNumber = 3, - }; - // repeated .solidity.test.sol2protofuzzer.Expression elems = 2; - int elems_size() const; - private: - int _internal_elems_size() const; - public: - void clear_elems(); - ::solidity::test::sol2protofuzzer::Expression* mutable_elems(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_elems(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_elems(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_elems(); - public: - const ::solidity::test::sol2protofuzzer::Expression& elems(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_elems(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - elems() const; - - // required .solidity.test.sol2protofuzzer.ArrayLiteralExpr.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind value); - private: - ::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind value); - public: - - // optional uint32 index = 3; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - uint32_t index() const; - void set_index(uint32_t value); - private: - uint32_t _internal_index() const; - void _internal_set_index(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ArrayLiteralExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > elems_; - int kind_; - uint32_t index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class VarDeclStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.VarDeclStmt) */ { - public: - inline VarDeclStmt() : VarDeclStmt(nullptr) {} - ~VarDeclStmt() override; - explicit PROTOBUF_CONSTEXPR VarDeclStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - VarDeclStmt(const VarDeclStmt& from); - VarDeclStmt(VarDeclStmt&& from) noexcept - : VarDeclStmt() { - *this = ::std::move(from); - } - - inline VarDeclStmt& operator=(const VarDeclStmt& from) { - CopyFrom(from); - return *this; - } - inline VarDeclStmt& operator=(VarDeclStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const VarDeclStmt& default_instance() { - return *internal_default_instance(); - } - static inline const VarDeclStmt* internal_default_instance() { - return reinterpret_cast( - &_VarDeclStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 41; - - friend void swap(VarDeclStmt& a, VarDeclStmt& b) { - a.Swap(&b); - } - inline void Swap(VarDeclStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(VarDeclStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - VarDeclStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VarDeclStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const VarDeclStmt& from) { - VarDeclStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(VarDeclStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.VarDeclStmt"; - } - protected: - explicit VarDeclStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInitFieldNumber = 2, - }; - // optional .solidity.test.sol2protofuzzer.Expression init = 2; - bool has_init() const; - private: - bool _internal_has_init() const; - public: - void clear_init(); - const ::solidity::test::sol2protofuzzer::Expression& init() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_init(); - ::solidity::test::sol2protofuzzer::Expression* mutable_init(); - void set_allocated_init(::solidity::test::sol2protofuzzer::Expression* init); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_init() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_init(); - public: - void unsafe_arena_set_allocated_init( - ::solidity::test::sol2protofuzzer::Expression* init); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_init(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.VarDeclStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* init_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ExprStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ExprStmt) */ { - public: - inline ExprStmt() : ExprStmt(nullptr) {} - ~ExprStmt() override; - explicit PROTOBUF_CONSTEXPR ExprStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ExprStmt(const ExprStmt& from); - ExprStmt(ExprStmt&& from) noexcept - : ExprStmt() { - *this = ::std::move(from); - } - - inline ExprStmt& operator=(const ExprStmt& from) { - CopyFrom(from); - return *this; - } - inline ExprStmt& operator=(ExprStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ExprStmt& default_instance() { - return *internal_default_instance(); - } - static inline const ExprStmt* internal_default_instance() { - return reinterpret_cast( - &_ExprStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 42; - - friend void swap(ExprStmt& a, ExprStmt& b) { - a.Swap(&b); - } - inline void Swap(ExprStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ExprStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ExprStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ExprStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ExprStmt& from) { - ExprStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ExprStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ExprStmt"; - } - protected: - explicit ExprStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kExprFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Expression expr = 1; - bool has_expr() const; - private: - bool _internal_has_expr() const; - public: - void clear_expr(); - const ::solidity::test::sol2protofuzzer::Expression& expr() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_expr(); - ::solidity::test::sol2protofuzzer::Expression* mutable_expr(); - void set_allocated_expr(::solidity::test::sol2protofuzzer::Expression* expr); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_expr() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_expr(); - public: - void unsafe_arena_set_allocated_expr( - ::solidity::test::sol2protofuzzer::Expression* expr); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_expr(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ExprStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* expr_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class IfStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.IfStmt) */ { - public: - inline IfStmt() : IfStmt(nullptr) {} - ~IfStmt() override; - explicit PROTOBUF_CONSTEXPR IfStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IfStmt(const IfStmt& from); - IfStmt(IfStmt&& from) noexcept - : IfStmt() { - *this = ::std::move(from); - } - - inline IfStmt& operator=(const IfStmt& from) { - CopyFrom(from); - return *this; - } - inline IfStmt& operator=(IfStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IfStmt& default_instance() { - return *internal_default_instance(); - } - static inline const IfStmt* internal_default_instance() { - return reinterpret_cast( - &_IfStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 43; - - friend void swap(IfStmt& a, IfStmt& b) { - a.Swap(&b); - } - inline void Swap(IfStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IfStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IfStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IfStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IfStmt& from) { - IfStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IfStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.IfStmt"; - } - protected: - explicit IfStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCondFieldNumber = 1, - kIfBodyFieldNumber = 2, - kElseBodyFieldNumber = 3, - }; - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - bool has_cond() const; - private: - bool _internal_has_cond() const; - public: - void clear_cond(); - const ::solidity::test::sol2protofuzzer::Expression& cond() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_cond(); - ::solidity::test::sol2protofuzzer::Expression* mutable_cond(); - void set_allocated_cond(::solidity::test::sol2protofuzzer::Expression* cond); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_cond() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_cond(); - public: - void unsafe_arena_set_allocated_cond( - ::solidity::test::sol2protofuzzer::Expression* cond); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_cond(); - - // required .solidity.test.sol2protofuzzer.Block if_body = 2; - bool has_if_body() const; - private: - bool _internal_has_if_body() const; - public: - void clear_if_body(); - const ::solidity::test::sol2protofuzzer::Block& if_body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_if_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_if_body(); - void set_allocated_if_body(::solidity::test::sol2protofuzzer::Block* if_body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_if_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_if_body(); - public: - void unsafe_arena_set_allocated_if_body( - ::solidity::test::sol2protofuzzer::Block* if_body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_if_body(); - - // optional .solidity.test.sol2protofuzzer.Block else_body = 3; - bool has_else_body() const; - private: - bool _internal_has_else_body() const; - public: - void clear_else_body(); - const ::solidity::test::sol2protofuzzer::Block& else_body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_else_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_else_body(); - void set_allocated_else_body(::solidity::test::sol2protofuzzer::Block* else_body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_else_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_else_body(); - public: - void unsafe_arena_set_allocated_else_body( - ::solidity::test::sol2protofuzzer::Block* else_body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_else_body(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.IfStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* cond_; - ::solidity::test::sol2protofuzzer::Block* if_body_; - ::solidity::test::sol2protofuzzer::Block* else_body_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ForStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ForStmt) */ { - public: - inline ForStmt() : ForStmt(nullptr) {} - ~ForStmt() override; - explicit PROTOBUF_CONSTEXPR ForStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ForStmt(const ForStmt& from); - ForStmt(ForStmt&& from) noexcept - : ForStmt() { - *this = ::std::move(from); - } - - inline ForStmt& operator=(const ForStmt& from) { - CopyFrom(from); - return *this; - } - inline ForStmt& operator=(ForStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ForStmt& default_instance() { - return *internal_default_instance(); - } - static inline const ForStmt* internal_default_instance() { - return reinterpret_cast( - &_ForStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 44; - - friend void swap(ForStmt& a, ForStmt& b) { - a.Swap(&b); - } - inline void Swap(ForStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ForStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ForStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ForStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ForStmt& from) { - ForStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ForStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ForStmt"; - } - protected: - explicit ForStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBodyFieldNumber = 4, - }; - // required .solidity.test.sol2protofuzzer.Block body = 4; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const ::solidity::test::sol2protofuzzer::Block& body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_body(); - void set_allocated_body(::solidity::test::sol2protofuzzer::Block* body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_body(); - public: - void unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_body(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ForStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Block* body_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class WhileStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.WhileStmt) */ { - public: - inline WhileStmt() : WhileStmt(nullptr) {} - ~WhileStmt() override; - explicit PROTOBUF_CONSTEXPR WhileStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - WhileStmt(const WhileStmt& from); - WhileStmt(WhileStmt&& from) noexcept - : WhileStmt() { - *this = ::std::move(from); - } - - inline WhileStmt& operator=(const WhileStmt& from) { - CopyFrom(from); - return *this; - } - inline WhileStmt& operator=(WhileStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const WhileStmt& default_instance() { - return *internal_default_instance(); - } - static inline const WhileStmt* internal_default_instance() { - return reinterpret_cast( - &_WhileStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 45; - - friend void swap(WhileStmt& a, WhileStmt& b) { - a.Swap(&b); - } - inline void Swap(WhileStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(WhileStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - WhileStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const WhileStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const WhileStmt& from) { - WhileStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(WhileStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.WhileStmt"; - } - protected: - explicit WhileStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCondFieldNumber = 1, - kBodyFieldNumber = 2, - }; - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - bool has_cond() const; - private: - bool _internal_has_cond() const; - public: - void clear_cond(); - const ::solidity::test::sol2protofuzzer::Expression& cond() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_cond(); - ::solidity::test::sol2protofuzzer::Expression* mutable_cond(); - void set_allocated_cond(::solidity::test::sol2protofuzzer::Expression* cond); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_cond() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_cond(); - public: - void unsafe_arena_set_allocated_cond( - ::solidity::test::sol2protofuzzer::Expression* cond); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_cond(); - - // required .solidity.test.sol2protofuzzer.Block body = 2; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const ::solidity::test::sol2protofuzzer::Block& body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_body(); - void set_allocated_body(::solidity::test::sol2protofuzzer::Block* body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_body(); - public: - void unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_body(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.WhileStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* cond_; - ::solidity::test::sol2protofuzzer::Block* body_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class DoWhileStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.DoWhileStmt) */ { - public: - inline DoWhileStmt() : DoWhileStmt(nullptr) {} - ~DoWhileStmt() override; - explicit PROTOBUF_CONSTEXPR DoWhileStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - DoWhileStmt(const DoWhileStmt& from); - DoWhileStmt(DoWhileStmt&& from) noexcept - : DoWhileStmt() { - *this = ::std::move(from); - } - - inline DoWhileStmt& operator=(const DoWhileStmt& from) { - CopyFrom(from); - return *this; - } - inline DoWhileStmt& operator=(DoWhileStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DoWhileStmt& default_instance() { - return *internal_default_instance(); - } - static inline const DoWhileStmt* internal_default_instance() { - return reinterpret_cast( - &_DoWhileStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 46; - - friend void swap(DoWhileStmt& a, DoWhileStmt& b) { - a.Swap(&b); - } - inline void Swap(DoWhileStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DoWhileStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DoWhileStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DoWhileStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const DoWhileStmt& from) { - DoWhileStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(DoWhileStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.DoWhileStmt"; - } - protected: - explicit DoWhileStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCondFieldNumber = 1, - kBodyFieldNumber = 2, - }; - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - bool has_cond() const; - private: - bool _internal_has_cond() const; - public: - void clear_cond(); - const ::solidity::test::sol2protofuzzer::Expression& cond() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_cond(); - ::solidity::test::sol2protofuzzer::Expression* mutable_cond(); - void set_allocated_cond(::solidity::test::sol2protofuzzer::Expression* cond); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_cond() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_cond(); - public: - void unsafe_arena_set_allocated_cond( - ::solidity::test::sol2protofuzzer::Expression* cond); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_cond(); - - // required .solidity.test.sol2protofuzzer.Block body = 2; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const ::solidity::test::sol2protofuzzer::Block& body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_body(); - void set_allocated_body(::solidity::test::sol2protofuzzer::Block* body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_body(); - public: - void unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_body(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.DoWhileStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* cond_; - ::solidity::test::sol2protofuzzer::Block* body_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ReturnStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ReturnStmt) */ { - public: - inline ReturnStmt() : ReturnStmt(nullptr) {} - ~ReturnStmt() override; - explicit PROTOBUF_CONSTEXPR ReturnStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ReturnStmt(const ReturnStmt& from); - ReturnStmt(ReturnStmt&& from) noexcept - : ReturnStmt() { - *this = ::std::move(from); - } - - inline ReturnStmt& operator=(const ReturnStmt& from) { - CopyFrom(from); - return *this; - } - inline ReturnStmt& operator=(ReturnStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ReturnStmt& default_instance() { - return *internal_default_instance(); - } - static inline const ReturnStmt* internal_default_instance() { - return reinterpret_cast( - &_ReturnStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 47; - - friend void swap(ReturnStmt& a, ReturnStmt& b) { - a.Swap(&b); - } - inline void Swap(ReturnStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ReturnStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ReturnStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ReturnStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ReturnStmt& from) { - ReturnStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ReturnStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ReturnStmt"; - } - protected: - explicit ReturnStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValFieldNumber = 1, - }; - // optional .solidity.test.sol2protofuzzer.Expression val = 1; - bool has_val() const; - private: - bool _internal_has_val() const; - public: - void clear_val(); - const ::solidity::test::sol2protofuzzer::Expression& val() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_val(); - ::solidity::test::sol2protofuzzer::Expression* mutable_val(); - void set_allocated_val(::solidity::test::sol2protofuzzer::Expression* val); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_val() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_val(); - public: - void unsafe_arena_set_allocated_val( - ::solidity::test::sol2protofuzzer::Expression* val); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_val(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ReturnStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* val_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class BreakStmt final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.BreakStmt) */ { - public: - inline BreakStmt() : BreakStmt(nullptr) {} - explicit PROTOBUF_CONSTEXPR BreakStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BreakStmt(const BreakStmt& from); - BreakStmt(BreakStmt&& from) noexcept - : BreakStmt() { - *this = ::std::move(from); - } - - inline BreakStmt& operator=(const BreakStmt& from) { - CopyFrom(from); - return *this; - } - inline BreakStmt& operator=(BreakStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BreakStmt& default_instance() { - return *internal_default_instance(); - } - static inline const BreakStmt* internal_default_instance() { - return reinterpret_cast( - &_BreakStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 48; - - friend void swap(BreakStmt& a, BreakStmt& b) { - a.Swap(&b); - } - inline void Swap(BreakStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BreakStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BreakStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const BreakStmt& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const BreakStmt& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.BreakStmt"; - } - protected: - explicit BreakStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.BreakStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ContinueStmt final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ContinueStmt) */ { - public: - inline ContinueStmt() : ContinueStmt(nullptr) {} - explicit PROTOBUF_CONSTEXPR ContinueStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ContinueStmt(const ContinueStmt& from); - ContinueStmt(ContinueStmt&& from) noexcept - : ContinueStmt() { - *this = ::std::move(from); - } - - inline ContinueStmt& operator=(const ContinueStmt& from) { - CopyFrom(from); - return *this; - } - inline ContinueStmt& operator=(ContinueStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ContinueStmt& default_instance() { - return *internal_default_instance(); - } - static inline const ContinueStmt* internal_default_instance() { - return reinterpret_cast( - &_ContinueStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 49; - - friend void swap(ContinueStmt& a, ContinueStmt& b) { - a.Swap(&b); - } - inline void Swap(ContinueStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ContinueStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ContinueStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const ContinueStmt& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const ContinueStmt& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ContinueStmt"; - } - protected: - explicit ContinueStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ContinueStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class RequireStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.RequireStmt) */ { - public: - inline RequireStmt() : RequireStmt(nullptr) {} - ~RequireStmt() override; - explicit PROTOBUF_CONSTEXPR RequireStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - RequireStmt(const RequireStmt& from); - RequireStmt(RequireStmt&& from) noexcept - : RequireStmt() { - *this = ::std::move(from); - } - - inline RequireStmt& operator=(const RequireStmt& from) { - CopyFrom(from); - return *this; - } - inline RequireStmt& operator=(RequireStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const RequireStmt& default_instance() { - return *internal_default_instance(); - } - static inline const RequireStmt* internal_default_instance() { - return reinterpret_cast( - &_RequireStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 50; - - friend void swap(RequireStmt& a, RequireStmt& b) { - a.Swap(&b); - } - inline void Swap(RequireStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RequireStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RequireStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const RequireStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const RequireStmt& from) { - RequireStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(RequireStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.RequireStmt"; - } - protected: - explicit RequireStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCondFieldNumber = 1, - kIsAssertFieldNumber = 2, - kWithMessageFieldNumber = 3, - kUseNamedArgsFieldNumber = 5, - kErrorIdFieldNumber = 4, - }; - // required .solidity.test.sol2protofuzzer.Expression cond = 1; - bool has_cond() const; - private: - bool _internal_has_cond() const; - public: - void clear_cond(); - const ::solidity::test::sol2protofuzzer::Expression& cond() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_cond(); - ::solidity::test::sol2protofuzzer::Expression* mutable_cond(); - void set_allocated_cond(::solidity::test::sol2protofuzzer::Expression* cond); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_cond() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_cond(); - public: - void unsafe_arena_set_allocated_cond( - ::solidity::test::sol2protofuzzer::Expression* cond); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_cond(); - - // required bool is_assert = 2; - bool has_is_assert() const; - private: - bool _internal_has_is_assert() const; - public: - void clear_is_assert(); - bool is_assert() const; - void set_is_assert(bool value); - private: - bool _internal_is_assert() const; - void _internal_set_is_assert(bool value); - public: - - // optional bool with_message = 3; - bool has_with_message() const; - private: - bool _internal_has_with_message() const; - public: - void clear_with_message(); - bool with_message() const; - void set_with_message(bool value); - private: - bool _internal_with_message() const; - void _internal_set_with_message(bool value); - public: - - // optional bool use_named_args = 5; - bool has_use_named_args() const; - private: - bool _internal_has_use_named_args() const; - public: - void clear_use_named_args(); - bool use_named_args() const; - void set_use_named_args(bool value); - private: - bool _internal_use_named_args() const; - void _internal_set_use_named_args(bool value); - public: - - // optional uint32 error_id = 4; - bool has_error_id() const; - private: - bool _internal_has_error_id() const; - public: - void clear_error_id(); - uint32_t error_id() const; - void set_error_id(uint32_t value); - private: - uint32_t _internal_error_id() const; - void _internal_set_error_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.RequireStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* cond_; - bool is_assert_; - bool with_message_; - bool use_named_args_; - uint32_t error_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class SelfdestructStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.SelfdestructStmt) */ { - public: - inline SelfdestructStmt() : SelfdestructStmt(nullptr) {} - ~SelfdestructStmt() override; - explicit PROTOBUF_CONSTEXPR SelfdestructStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - SelfdestructStmt(const SelfdestructStmt& from); - SelfdestructStmt(SelfdestructStmt&& from) noexcept - : SelfdestructStmt() { - *this = ::std::move(from); - } - - inline SelfdestructStmt& operator=(const SelfdestructStmt& from) { - CopyFrom(from); - return *this; - } - inline SelfdestructStmt& operator=(SelfdestructStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SelfdestructStmt& default_instance() { - return *internal_default_instance(); - } - static inline const SelfdestructStmt* internal_default_instance() { - return reinterpret_cast( - &_SelfdestructStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 51; - - friend void swap(SelfdestructStmt& a, SelfdestructStmt& b) { - a.Swap(&b); - } - inline void Swap(SelfdestructStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SelfdestructStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SelfdestructStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const SelfdestructStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const SelfdestructStmt& from) { - SelfdestructStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(SelfdestructStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.SelfdestructStmt"; - } - protected: - explicit SelfdestructStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBeneficiaryFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Expression beneficiary = 1; - bool has_beneficiary() const; - private: - bool _internal_has_beneficiary() const; - public: - void clear_beneficiary(); - const ::solidity::test::sol2protofuzzer::Expression& beneficiary() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_beneficiary(); - ::solidity::test::sol2protofuzzer::Expression* mutable_beneficiary(); - void set_allocated_beneficiary(::solidity::test::sol2protofuzzer::Expression* beneficiary); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_beneficiary() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_beneficiary(); - public: - void unsafe_arena_set_allocated_beneficiary( - ::solidity::test::sol2protofuzzer::Expression* beneficiary); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_beneficiary(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.SelfdestructStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* beneficiary_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class BareMagicStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.BareMagicStmt) */ { - public: - inline BareMagicStmt() : BareMagicStmt(nullptr) {} - ~BareMagicStmt() override; - explicit PROTOBUF_CONSTEXPR BareMagicStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BareMagicStmt(const BareMagicStmt& from); - BareMagicStmt(BareMagicStmt&& from) noexcept - : BareMagicStmt() { - *this = ::std::move(from); - } - - inline BareMagicStmt& operator=(const BareMagicStmt& from) { - CopyFrom(from); - return *this; - } - inline BareMagicStmt& operator=(BareMagicStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BareMagicStmt& default_instance() { - return *internal_default_instance(); - } - static inline const BareMagicStmt* internal_default_instance() { - return reinterpret_cast( - &_BareMagicStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 52; - - friend void swap(BareMagicStmt& a, BareMagicStmt& b) { - a.Swap(&b); - } - inline void Swap(BareMagicStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BareMagicStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BareMagicStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const BareMagicStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const BareMagicStmt& from) { - BareMagicStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(BareMagicStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.BareMagicStmt"; - } - protected: - explicit BareMagicStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef BareMagicStmt_Kind Kind; - static constexpr Kind ABI_ENCODE_CALL = - BareMagicStmt_Kind_ABI_ENCODE_CALL; - static constexpr Kind ABI_ENCODE = - BareMagicStmt_Kind_ABI_ENCODE; - static constexpr Kind ABI_ENCODE_PACKED = - BareMagicStmt_Kind_ABI_ENCODE_PACKED; - static constexpr Kind ABI_DECODE = - BareMagicStmt_Kind_ABI_DECODE; - static constexpr Kind ABI_ENCODE_WITH_SELECTOR = - BareMagicStmt_Kind_ABI_ENCODE_WITH_SELECTOR; - static constexpr Kind ABI_ENCODE_WITH_SIGNATURE = - BareMagicStmt_Kind_ABI_ENCODE_WITH_SIGNATURE; - static inline bool Kind_IsValid(int value) { - return BareMagicStmt_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - BareMagicStmt_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - BareMagicStmt_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - BareMagicStmt_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return BareMagicStmt_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return BareMagicStmt_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return BareMagicStmt_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kKindFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.BareMagicStmt.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::BareMagicStmt_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::BareMagicStmt_Kind value); - private: - ::solidity::test::sol2protofuzzer::BareMagicStmt_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::BareMagicStmt_Kind value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.BareMagicStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int kind_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class FixedAsmStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.FixedAsmStmt) */ { - public: - inline FixedAsmStmt() : FixedAsmStmt(nullptr) {} - ~FixedAsmStmt() override; - explicit PROTOBUF_CONSTEXPR FixedAsmStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - FixedAsmStmt(const FixedAsmStmt& from); - FixedAsmStmt(FixedAsmStmt&& from) noexcept - : FixedAsmStmt() { - *this = ::std::move(from); - } - - inline FixedAsmStmt& operator=(const FixedAsmStmt& from) { - CopyFrom(from); - return *this; - } - inline FixedAsmStmt& operator=(FixedAsmStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const FixedAsmStmt& default_instance() { - return *internal_default_instance(); - } - static inline const FixedAsmStmt* internal_default_instance() { - return reinterpret_cast( - &_FixedAsmStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 53; - - friend void swap(FixedAsmStmt& a, FixedAsmStmt& b) { - a.Swap(&b); - } - inline void Swap(FixedAsmStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FixedAsmStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - FixedAsmStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FixedAsmStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const FixedAsmStmt& from) { - FixedAsmStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(FixedAsmStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.FixedAsmStmt"; - } - protected: - explicit FixedAsmStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef FixedAsmStmt_Kind Kind; - static constexpr Kind FIXED_LOCAL = - FixedAsmStmt_Kind_FIXED_LOCAL; - static constexpr Kind UFIXED_LOCAL = - FixedAsmStmt_Kind_UFIXED_LOCAL; - static inline bool Kind_IsValid(int value) { - return FixedAsmStmt_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - FixedAsmStmt_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - FixedAsmStmt_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - FixedAsmStmt_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return FixedAsmStmt_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return FixedAsmStmt_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return FixedAsmStmt_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kKindFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.FixedAsmStmt.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind value); - private: - ::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.FixedAsmStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int kind_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class AbiEncodeStructStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) */ { - public: - inline AbiEncodeStructStmt() : AbiEncodeStructStmt(nullptr) {} - ~AbiEncodeStructStmt() override; - explicit PROTOBUF_CONSTEXPR AbiEncodeStructStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - AbiEncodeStructStmt(const AbiEncodeStructStmt& from); - AbiEncodeStructStmt(AbiEncodeStructStmt&& from) noexcept - : AbiEncodeStructStmt() { - *this = ::std::move(from); - } - - inline AbiEncodeStructStmt& operator=(const AbiEncodeStructStmt& from) { - CopyFrom(from); - return *this; - } - inline AbiEncodeStructStmt& operator=(AbiEncodeStructStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AbiEncodeStructStmt& default_instance() { - return *internal_default_instance(); - } - static inline const AbiEncodeStructStmt* internal_default_instance() { - return reinterpret_cast( - &_AbiEncodeStructStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 54; - - friend void swap(AbiEncodeStructStmt& a, AbiEncodeStructStmt& b) { - a.Swap(&b); - } - inline void Swap(AbiEncodeStructStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AbiEncodeStructStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AbiEncodeStructStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AbiEncodeStructStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const AbiEncodeStructStmt& from) { - AbiEncodeStructStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(AbiEncodeStructStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.AbiEncodeStructStmt"; - } - protected: - explicit AbiEncodeStructStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStructIdxFieldNumber = 1, - kWrapInArrayFieldNumber = 2, - }; - // required uint32 struct_idx = 1; - bool has_struct_idx() const; - private: - bool _internal_has_struct_idx() const; - public: - void clear_struct_idx(); - uint32_t struct_idx() const; - void set_struct_idx(uint32_t value); - private: - uint32_t _internal_struct_idx() const; - void _internal_set_struct_idx(uint32_t value); - public: - - // optional bool wrap_in_array = 2; - bool has_wrap_in_array() const; - private: - bool _internal_has_wrap_in_array() const; - public: - void clear_wrap_in_array(); - bool wrap_in_array() const; - void set_wrap_in_array(bool value); - private: - bool _internal_wrap_in_array() const; - void _internal_set_wrap_in_array(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.AbiEncodeStructStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t struct_idx_; - bool wrap_in_array_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class EmitStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.EmitStmt) */ { - public: - inline EmitStmt() : EmitStmt(nullptr) {} - ~EmitStmt() override; - explicit PROTOBUF_CONSTEXPR EmitStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - EmitStmt(const EmitStmt& from); - EmitStmt(EmitStmt&& from) noexcept - : EmitStmt() { - *this = ::std::move(from); - } - - inline EmitStmt& operator=(const EmitStmt& from) { - CopyFrom(from); - return *this; - } - inline EmitStmt& operator=(EmitStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const EmitStmt& default_instance() { - return *internal_default_instance(); - } - static inline const EmitStmt* internal_default_instance() { - return reinterpret_cast( - &_EmitStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 55; - - friend void swap(EmitStmt& a, EmitStmt& b) { - a.Swap(&b); - } - inline void Swap(EmitStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(EmitStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - EmitStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const EmitStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const EmitStmt& from) { - EmitStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EmitStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.EmitStmt"; - } - protected: - explicit EmitStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kEventIdFieldNumber = 1, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required uint32 event_id = 1; - bool has_event_id() const; - private: - bool _internal_has_event_id() const; - public: - void clear_event_id(); - uint32_t event_id() const; - void set_event_id(uint32_t value); - private: - uint32_t _internal_event_id() const; - void _internal_set_event_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.EmitStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - uint32_t event_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class RevertStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.RevertStmt) */ { - public: - inline RevertStmt() : RevertStmt(nullptr) {} - ~RevertStmt() override; - explicit PROTOBUF_CONSTEXPR RevertStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - RevertStmt(const RevertStmt& from); - RevertStmt(RevertStmt&& from) noexcept - : RevertStmt() { - *this = ::std::move(from); - } - - inline RevertStmt& operator=(const RevertStmt& from) { - CopyFrom(from); - return *this; - } - inline RevertStmt& operator=(RevertStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const RevertStmt& default_instance() { - return *internal_default_instance(); - } - static inline const RevertStmt* internal_default_instance() { - return reinterpret_cast( - &_RevertStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 56; - - friend void swap(RevertStmt& a, RevertStmt& b) { - a.Swap(&b); - } - inline void Swap(RevertStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RevertStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RevertStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const RevertStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const RevertStmt& from) { - RevertStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(RevertStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.RevertStmt"; - } - protected: - explicit RevertStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kErrorIdFieldNumber = 1, - kUseNamedArgsFieldNumber = 3, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required uint32 error_id = 1; - bool has_error_id() const; - private: - bool _internal_has_error_id() const; - public: - void clear_error_id(); - uint32_t error_id() const; - void set_error_id(uint32_t value); - private: - uint32_t _internal_error_id() const; - void _internal_set_error_id(uint32_t value); - public: - - // optional bool use_named_args = 3; - bool has_use_named_args() const; - private: - bool _internal_has_use_named_args() const; - public: - void clear_use_named_args(); - bool use_named_args() const; - void set_use_named_args(bool value); - private: - bool _internal_use_named_args() const; - void _internal_set_use_named_args(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.RevertStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - uint32_t error_id_; - bool use_named_args_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class DeleteStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.DeleteStmt) */ { - public: - inline DeleteStmt() : DeleteStmt(nullptr) {} - ~DeleteStmt() override; - explicit PROTOBUF_CONSTEXPR DeleteStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - DeleteStmt(const DeleteStmt& from); - DeleteStmt(DeleteStmt&& from) noexcept - : DeleteStmt() { - *this = ::std::move(from); - } - - inline DeleteStmt& operator=(const DeleteStmt& from) { - CopyFrom(from); - return *this; - } - inline DeleteStmt& operator=(DeleteStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeleteStmt& default_instance() { - return *internal_default_instance(); - } - static inline const DeleteStmt* internal_default_instance() { - return reinterpret_cast( - &_DeleteStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 57; - - friend void swap(DeleteStmt& a, DeleteStmt& b) { - a.Swap(&b); - } - inline void Swap(DeleteStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeleteStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeleteStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DeleteStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const DeleteStmt& from) { - DeleteStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(DeleteStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.DeleteStmt"; - } - protected: - explicit DeleteStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTargetFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.VarRef target = 1; - bool has_target() const; - private: - bool _internal_has_target() const; - public: - void clear_target(); - const ::solidity::test::sol2protofuzzer::VarRef& target() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::VarRef* release_target(); - ::solidity::test::sol2protofuzzer::VarRef* mutable_target(); - void set_allocated_target(::solidity::test::sol2protofuzzer::VarRef* target); - private: - const ::solidity::test::sol2protofuzzer::VarRef& _internal_target() const; - ::solidity::test::sol2protofuzzer::VarRef* _internal_mutable_target(); - public: - void unsafe_arena_set_allocated_target( - ::solidity::test::sol2protofuzzer::VarRef* target); - ::solidity::test::sol2protofuzzer::VarRef* unsafe_arena_release_target(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.DeleteStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::VarRef* target_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class TryCatchStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.TryCatchStmt) */ { - public: - inline TryCatchStmt() : TryCatchStmt(nullptr) {} - ~TryCatchStmt() override; - explicit PROTOBUF_CONSTEXPR TryCatchStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TryCatchStmt(const TryCatchStmt& from); - TryCatchStmt(TryCatchStmt&& from) noexcept - : TryCatchStmt() { - *this = ::std::move(from); - } - - inline TryCatchStmt& operator=(const TryCatchStmt& from) { - CopyFrom(from); - return *this; - } - inline TryCatchStmt& operator=(TryCatchStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TryCatchStmt& default_instance() { - return *internal_default_instance(); - } - static inline const TryCatchStmt* internal_default_instance() { - return reinterpret_cast( - &_TryCatchStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 58; - - friend void swap(TryCatchStmt& a, TryCatchStmt& b) { - a.Swap(&b); - } - inline void Swap(TryCatchStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TryCatchStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TryCatchStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TryCatchStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TryCatchStmt& from) { - TryCatchStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TryCatchStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.TryCatchStmt"; - } - protected: - explicit TryCatchStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kTryBodyFieldNumber = 3, - kCatchBodyFieldNumber = 4, - kFuncIdFieldNumber = 1, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required .solidity.test.sol2protofuzzer.Block try_body = 3; - bool has_try_body() const; - private: - bool _internal_has_try_body() const; - public: - void clear_try_body(); - const ::solidity::test::sol2protofuzzer::Block& try_body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_try_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_try_body(); - void set_allocated_try_body(::solidity::test::sol2protofuzzer::Block* try_body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_try_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_try_body(); - public: - void unsafe_arena_set_allocated_try_body( - ::solidity::test::sol2protofuzzer::Block* try_body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_try_body(); - - // required .solidity.test.sol2protofuzzer.Block catch_body = 4; - bool has_catch_body() const; - private: - bool _internal_has_catch_body() const; - public: - void clear_catch_body(); - const ::solidity::test::sol2protofuzzer::Block& catch_body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_catch_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_catch_body(); - void set_allocated_catch_body(::solidity::test::sol2protofuzzer::Block* catch_body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_catch_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_catch_body(); - public: - void unsafe_arena_set_allocated_catch_body( - ::solidity::test::sol2protofuzzer::Block* catch_body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_catch_body(); - - // required uint32 func_id = 1; - bool has_func_id() const; - private: - bool _internal_has_func_id() const; - public: - void clear_func_id(); - uint32_t func_id() const; - void set_func_id(uint32_t value); - private: - uint32_t _internal_func_id() const; - void _internal_set_func_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.TryCatchStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - ::solidity::test::sol2protofuzzer::Block* try_body_; - ::solidity::test::sol2protofuzzer::Block* catch_body_; - uint32_t func_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class Block final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.Block) */ { - public: - inline Block() : Block(nullptr) {} - ~Block() override; - explicit PROTOBUF_CONSTEXPR Block(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Block(const Block& from); - Block(Block&& from) noexcept - : Block() { - *this = ::std::move(from); - } - - inline Block& operator=(const Block& from) { - CopyFrom(from); - return *this; - } - inline Block& operator=(Block&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Block& default_instance() { - return *internal_default_instance(); - } - static inline const Block* internal_default_instance() { - return reinterpret_cast( - &_Block_default_instance_); - } - static constexpr int kIndexInFileMessages = - 59; - - friend void swap(Block& a, Block& b) { - a.Swap(&b); - } - inline void Swap(Block* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Block* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Block* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Block& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Block& from) { - Block::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Block* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.Block"; - } - protected: - explicit Block(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStmtsFieldNumber = 1, - }; - // repeated .solidity.test.sol2protofuzzer.Statement stmts = 1; - int stmts_size() const; - private: - int _internal_stmts_size() const; - public: - void clear_stmts(); - ::solidity::test::sol2protofuzzer::Statement* mutable_stmts(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Statement >* - mutable_stmts(); - private: - const ::solidity::test::sol2protofuzzer::Statement& _internal_stmts(int index) const; - ::solidity::test::sol2protofuzzer::Statement* _internal_add_stmts(); - public: - const ::solidity::test::sol2protofuzzer::Statement& stmts(int index) const; - ::solidity::test::sol2protofuzzer::Statement* add_stmts(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Statement >& - stmts() const; - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.Block) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Statement > stmts_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class UncheckedBlock final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.UncheckedBlock) */ { - public: - inline UncheckedBlock() : UncheckedBlock(nullptr) {} - ~UncheckedBlock() override; - explicit PROTOBUF_CONSTEXPR UncheckedBlock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - UncheckedBlock(const UncheckedBlock& from); - UncheckedBlock(UncheckedBlock&& from) noexcept - : UncheckedBlock() { - *this = ::std::move(from); - } - - inline UncheckedBlock& operator=(const UncheckedBlock& from) { - CopyFrom(from); - return *this; - } - inline UncheckedBlock& operator=(UncheckedBlock&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const UncheckedBlock& default_instance() { - return *internal_default_instance(); - } - static inline const UncheckedBlock* internal_default_instance() { - return reinterpret_cast( - &_UncheckedBlock_default_instance_); - } - static constexpr int kIndexInFileMessages = - 60; - - friend void swap(UncheckedBlock& a, UncheckedBlock& b) { - a.Swap(&b); - } - inline void Swap(UncheckedBlock* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UncheckedBlock* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UncheckedBlock* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UncheckedBlock& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const UncheckedBlock& from) { - UncheckedBlock::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(UncheckedBlock* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.UncheckedBlock"; - } - protected: - explicit UncheckedBlock(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBodyFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Block body = 1; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const ::solidity::test::sol2protofuzzer::Block& body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_body(); - void set_allocated_body(::solidity::test::sol2protofuzzer::Block* body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_body(); - public: - void unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_body(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.UncheckedBlock) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Block* body_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class IndexAssignStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.IndexAssignStmt) */ { - public: - inline IndexAssignStmt() : IndexAssignStmt(nullptr) {} - ~IndexAssignStmt() override; - explicit PROTOBUF_CONSTEXPR IndexAssignStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IndexAssignStmt(const IndexAssignStmt& from); - IndexAssignStmt(IndexAssignStmt&& from) noexcept - : IndexAssignStmt() { - *this = ::std::move(from); - } - - inline IndexAssignStmt& operator=(const IndexAssignStmt& from) { - CopyFrom(from); - return *this; - } - inline IndexAssignStmt& operator=(IndexAssignStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IndexAssignStmt& default_instance() { - return *internal_default_instance(); - } - static inline const IndexAssignStmt* internal_default_instance() { - return reinterpret_cast( - &_IndexAssignStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 61; - - friend void swap(IndexAssignStmt& a, IndexAssignStmt& b) { - a.Swap(&b); - } - inline void Swap(IndexAssignStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IndexAssignStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IndexAssignStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IndexAssignStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IndexAssignStmt& from) { - IndexAssignStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IndexAssignStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.IndexAssignStmt"; - } - protected: - explicit IndexAssignStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIndexFieldNumber = 2, - kValueFieldNumber = 3, - kVarIdxFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Expression index = 2; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - const ::solidity::test::sol2protofuzzer::Expression& index() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_index(); - ::solidity::test::sol2protofuzzer::Expression* mutable_index(); - void set_allocated_index(::solidity::test::sol2protofuzzer::Expression* index); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_index() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_index(); - public: - void unsafe_arena_set_allocated_index( - ::solidity::test::sol2protofuzzer::Expression* index); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_index(); - - // required .solidity.test.sol2protofuzzer.Expression value = 3; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const ::solidity::test::sol2protofuzzer::Expression& value() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_value(); - ::solidity::test::sol2protofuzzer::Expression* mutable_value(); - void set_allocated_value(::solidity::test::sol2protofuzzer::Expression* value); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_value() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_value(); - public: - void unsafe_arena_set_allocated_value( - ::solidity::test::sol2protofuzzer::Expression* value); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_value(); - - // required uint32 var_idx = 1; - bool has_var_idx() const; - private: - bool _internal_has_var_idx() const; - public: - void clear_var_idx(); - uint32_t var_idx() const; - void set_var_idx(uint32_t value); - private: - uint32_t _internal_var_idx() const; - void _internal_set_var_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.IndexAssignStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* index_; - ::solidity::test::sol2protofuzzer::Expression* value_; - uint32_t var_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class TupleAssignStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.TupleAssignStmt) */ { - public: - inline TupleAssignStmt() : TupleAssignStmt(nullptr) {} - ~TupleAssignStmt() override; - explicit PROTOBUF_CONSTEXPR TupleAssignStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TupleAssignStmt(const TupleAssignStmt& from); - TupleAssignStmt(TupleAssignStmt&& from) noexcept - : TupleAssignStmt() { - *this = ::std::move(from); - } - - inline TupleAssignStmt& operator=(const TupleAssignStmt& from) { - CopyFrom(from); - return *this; - } - inline TupleAssignStmt& operator=(TupleAssignStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TupleAssignStmt& default_instance() { - return *internal_default_instance(); - } - static inline const TupleAssignStmt* internal_default_instance() { - return reinterpret_cast( - &_TupleAssignStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 62; - - friend void swap(TupleAssignStmt& a, TupleAssignStmt& b) { - a.Swap(&b); - } - inline void Swap(TupleAssignStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TupleAssignStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TupleAssignStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TupleAssignStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TupleAssignStmt& from) { - TupleAssignStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TupleAssignStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.TupleAssignStmt"; - } - protected: - explicit TupleAssignStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVal1FieldNumber = 1, - kVal2FieldNumber = 2, - }; - // required .solidity.test.sol2protofuzzer.Expression val1 = 1; - bool has_val1() const; - private: - bool _internal_has_val1() const; - public: - void clear_val1(); - const ::solidity::test::sol2protofuzzer::Expression& val1() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_val1(); - ::solidity::test::sol2protofuzzer::Expression* mutable_val1(); - void set_allocated_val1(::solidity::test::sol2protofuzzer::Expression* val1); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_val1() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_val1(); - public: - void unsafe_arena_set_allocated_val1( - ::solidity::test::sol2protofuzzer::Expression* val1); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_val1(); - - // required .solidity.test.sol2protofuzzer.Expression val2 = 2; - bool has_val2() const; - private: - bool _internal_has_val2() const; - public: - void clear_val2(); - const ::solidity::test::sol2protofuzzer::Expression& val2() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_val2(); - ::solidity::test::sol2protofuzzer::Expression* mutable_val2(); - void set_allocated_val2(::solidity::test::sol2protofuzzer::Expression* val2); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_val2() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_val2(); - public: - void unsafe_arena_set_allocated_val2( - ::solidity::test::sol2protofuzzer::Expression* val2); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_val2(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.TupleAssignStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* val1_; - ::solidity::test::sol2protofuzzer::Expression* val2_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ArrayPushStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ArrayPushStmt) */ { - public: - inline ArrayPushStmt() : ArrayPushStmt(nullptr) {} - ~ArrayPushStmt() override; - explicit PROTOBUF_CONSTEXPR ArrayPushStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ArrayPushStmt(const ArrayPushStmt& from); - ArrayPushStmt(ArrayPushStmt&& from) noexcept - : ArrayPushStmt() { - *this = ::std::move(from); - } - - inline ArrayPushStmt& operator=(const ArrayPushStmt& from) { - CopyFrom(from); - return *this; - } - inline ArrayPushStmt& operator=(ArrayPushStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ArrayPushStmt& default_instance() { - return *internal_default_instance(); - } - static inline const ArrayPushStmt* internal_default_instance() { - return reinterpret_cast( - &_ArrayPushStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 63; - - friend void swap(ArrayPushStmt& a, ArrayPushStmt& b) { - a.Swap(&b); - } - inline void Swap(ArrayPushStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArrayPushStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArrayPushStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ArrayPushStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ArrayPushStmt& from) { - ArrayPushStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ArrayPushStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ArrayPushStmt"; - } - protected: - explicit ArrayPushStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValueFieldNumber = 2, - kVarIdxFieldNumber = 1, - }; - // optional .solidity.test.sol2protofuzzer.Expression value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const ::solidity::test::sol2protofuzzer::Expression& value() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Expression* release_value(); - ::solidity::test::sol2protofuzzer::Expression* mutable_value(); - void set_allocated_value(::solidity::test::sol2protofuzzer::Expression* value); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_value() const; - ::solidity::test::sol2protofuzzer::Expression* _internal_mutable_value(); - public: - void unsafe_arena_set_allocated_value( - ::solidity::test::sol2protofuzzer::Expression* value); - ::solidity::test::sol2protofuzzer::Expression* unsafe_arena_release_value(); - - // required uint32 var_idx = 1; - bool has_var_idx() const; - private: - bool _internal_has_var_idx() const; - public: - void clear_var_idx(); - uint32_t var_idx() const; - void set_var_idx(uint32_t value); - private: - uint32_t _internal_var_idx() const; - void _internal_set_var_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ArrayPushStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Expression* value_; - uint32_t var_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ArrayPopStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ArrayPopStmt) */ { - public: - inline ArrayPopStmt() : ArrayPopStmt(nullptr) {} - ~ArrayPopStmt() override; - explicit PROTOBUF_CONSTEXPR ArrayPopStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ArrayPopStmt(const ArrayPopStmt& from); - ArrayPopStmt(ArrayPopStmt&& from) noexcept - : ArrayPopStmt() { - *this = ::std::move(from); - } - - inline ArrayPopStmt& operator=(const ArrayPopStmt& from) { - CopyFrom(from); - return *this; - } - inline ArrayPopStmt& operator=(ArrayPopStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ArrayPopStmt& default_instance() { - return *internal_default_instance(); - } - static inline const ArrayPopStmt* internal_default_instance() { - return reinterpret_cast( - &_ArrayPopStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 64; - - friend void swap(ArrayPopStmt& a, ArrayPopStmt& b) { - a.Swap(&b); - } - inline void Swap(ArrayPopStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArrayPopStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArrayPopStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ArrayPopStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ArrayPopStmt& from) { - ArrayPopStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ArrayPopStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ArrayPopStmt"; - } - protected: - explicit ArrayPopStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVarIdxFieldNumber = 1, - }; - // required uint32 var_idx = 1; - bool has_var_idx() const; - private: - bool _internal_has_var_idx() const; - public: - void clear_var_idx(); - uint32_t var_idx() const; - void set_var_idx(uint32_t value); - private: - uint32_t _internal_var_idx() const; - void _internal_set_var_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ArrayPopStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t var_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class TupleDestructStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.TupleDestructStmt) */ { - public: - inline TupleDestructStmt() : TupleDestructStmt(nullptr) {} - ~TupleDestructStmt() override; - explicit PROTOBUF_CONSTEXPR TupleDestructStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TupleDestructStmt(const TupleDestructStmt& from); - TupleDestructStmt(TupleDestructStmt&& from) noexcept - : TupleDestructStmt() { - *this = ::std::move(from); - } - - inline TupleDestructStmt& operator=(const TupleDestructStmt& from) { - CopyFrom(from); - return *this; - } - inline TupleDestructStmt& operator=(TupleDestructStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TupleDestructStmt& default_instance() { - return *internal_default_instance(); - } - static inline const TupleDestructStmt* internal_default_instance() { - return reinterpret_cast( - &_TupleDestructStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 65; - - friend void swap(TupleDestructStmt& a, TupleDestructStmt& b) { - a.Swap(&b); - } - inline void Swap(TupleDestructStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TupleDestructStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TupleDestructStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TupleDestructStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TupleDestructStmt& from) { - TupleDestructStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TupleDestructStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.TupleDestructStmt"; - } - protected: - explicit TupleDestructStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kFuncIdFieldNumber = 1, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required uint32 func_id = 1; - bool has_func_id() const; - private: - bool _internal_has_func_id() const; - public: - void clear_func_id(); - uint32_t func_id() const; - void set_func_id(uint32_t value); - private: - uint32_t _internal_func_id() const; - void _internal_set_func_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.TupleDestructStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - uint32_t func_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class StructLocalDeclStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.StructLocalDeclStmt) */ { - public: - inline StructLocalDeclStmt() : StructLocalDeclStmt(nullptr) {} - ~StructLocalDeclStmt() override; - explicit PROTOBUF_CONSTEXPR StructLocalDeclStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StructLocalDeclStmt(const StructLocalDeclStmt& from); - StructLocalDeclStmt(StructLocalDeclStmt&& from) noexcept - : StructLocalDeclStmt() { - *this = ::std::move(from); - } - - inline StructLocalDeclStmt& operator=(const StructLocalDeclStmt& from) { - CopyFrom(from); - return *this; - } - inline StructLocalDeclStmt& operator=(StructLocalDeclStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StructLocalDeclStmt& default_instance() { - return *internal_default_instance(); - } - static inline const StructLocalDeclStmt* internal_default_instance() { - return reinterpret_cast( - &_StructLocalDeclStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 66; - - friend void swap(StructLocalDeclStmt& a, StructLocalDeclStmt& b) { - a.Swap(&b); - } - inline void Swap(StructLocalDeclStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StructLocalDeclStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StructLocalDeclStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StructLocalDeclStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StructLocalDeclStmt& from) { - StructLocalDeclStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StructLocalDeclStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.StructLocalDeclStmt"; - } - protected: - explicit StructLocalDeclStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStructIdxFieldNumber = 1, - }; - // required uint32 struct_idx = 1; - bool has_struct_idx() const; - private: - bool _internal_has_struct_idx() const; - public: - void clear_struct_idx(); - uint32_t struct_idx() const; - void set_struct_idx(uint32_t value); - private: - uint32_t _internal_struct_idx() const; - void _internal_set_struct_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.StructLocalDeclStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t struct_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class StructTupleAliasStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.StructTupleAliasStmt) */ { - public: - inline StructTupleAliasStmt() : StructTupleAliasStmt(nullptr) {} - ~StructTupleAliasStmt() override; - explicit PROTOBUF_CONSTEXPR StructTupleAliasStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StructTupleAliasStmt(const StructTupleAliasStmt& from); - StructTupleAliasStmt(StructTupleAliasStmt&& from) noexcept - : StructTupleAliasStmt() { - *this = ::std::move(from); - } - - inline StructTupleAliasStmt& operator=(const StructTupleAliasStmt& from) { - CopyFrom(from); - return *this; - } - inline StructTupleAliasStmt& operator=(StructTupleAliasStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StructTupleAliasStmt& default_instance() { - return *internal_default_instance(); - } - static inline const StructTupleAliasStmt* internal_default_instance() { - return reinterpret_cast( - &_StructTupleAliasStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 67; - - friend void swap(StructTupleAliasStmt& a, StructTupleAliasStmt& b) { - a.Swap(&b); - } - inline void Swap(StructTupleAliasStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StructTupleAliasStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StructTupleAliasStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StructTupleAliasStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StructTupleAliasStmt& from) { - StructTupleAliasStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StructTupleAliasStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.StructTupleAliasStmt"; - } - protected: - explicit StructTupleAliasStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLocalSelFieldNumber = 1, - kSaSelFieldNumber = 2, - kSbSelFieldNumber = 3, - }; - // required uint32 local_sel = 1; - bool has_local_sel() const; - private: - bool _internal_has_local_sel() const; - public: - void clear_local_sel(); - uint32_t local_sel() const; - void set_local_sel(uint32_t value); - private: - uint32_t _internal_local_sel() const; - void _internal_set_local_sel(uint32_t value); - public: - - // required uint32 sa_sel = 2; - bool has_sa_sel() const; - private: - bool _internal_has_sa_sel() const; - public: - void clear_sa_sel(); - uint32_t sa_sel() const; - void set_sa_sel(uint32_t value); - private: - uint32_t _internal_sa_sel() const; - void _internal_set_sa_sel(uint32_t value); - public: - - // required uint32 sb_sel = 3; - bool has_sb_sel() const; - private: - bool _internal_has_sb_sel() const; - public: - void clear_sb_sel(); - uint32_t sb_sel() const; - void set_sb_sel(uint32_t value); - private: - uint32_t _internal_sb_sel() const; - void _internal_set_sb_sel(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.StructTupleAliasStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t local_sel_; - uint32_t sa_sel_; - uint32_t sb_sel_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ArrayLengthExpr final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ArrayLengthExpr) */ { - public: - inline ArrayLengthExpr() : ArrayLengthExpr(nullptr) {} - ~ArrayLengthExpr() override; - explicit PROTOBUF_CONSTEXPR ArrayLengthExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ArrayLengthExpr(const ArrayLengthExpr& from); - ArrayLengthExpr(ArrayLengthExpr&& from) noexcept - : ArrayLengthExpr() { - *this = ::std::move(from); - } - - inline ArrayLengthExpr& operator=(const ArrayLengthExpr& from) { - CopyFrom(from); - return *this; - } - inline ArrayLengthExpr& operator=(ArrayLengthExpr&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ArrayLengthExpr& default_instance() { - return *internal_default_instance(); - } - static inline const ArrayLengthExpr* internal_default_instance() { - return reinterpret_cast( - &_ArrayLengthExpr_default_instance_); - } - static constexpr int kIndexInFileMessages = - 68; - - friend void swap(ArrayLengthExpr& a, ArrayLengthExpr& b) { - a.Swap(&b); - } - inline void Swap(ArrayLengthExpr* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArrayLengthExpr* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArrayLengthExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ArrayLengthExpr& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ArrayLengthExpr& from) { - ArrayLengthExpr::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ArrayLengthExpr* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ArrayLengthExpr"; - } - protected: - explicit ArrayLengthExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVarIdxFieldNumber = 1, - }; - // required uint32 var_idx = 1; - bool has_var_idx() const; - private: - bool _internal_has_var_idx() const; - public: - void clear_var_idx(); - uint32_t var_idx() const; - void set_var_idx(uint32_t value); - private: - uint32_t _internal_var_idx() const; - void _internal_set_var_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ArrayLengthExpr) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t var_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class Statement final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.Statement) */ { - public: - inline Statement() : Statement(nullptr) {} - ~Statement() override; - explicit PROTOBUF_CONSTEXPR Statement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Statement(const Statement& from); - Statement(Statement&& from) noexcept - : Statement() { - *this = ::std::move(from); - } - - inline Statement& operator=(const Statement& from) { - CopyFrom(from); - return *this; - } - inline Statement& operator=(Statement&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Statement& default_instance() { - return *internal_default_instance(); - } - enum StmtOneofCase { - kVarDecl = 1, - kExprStmt = 2, - kIfStmt = 3, - kForStmt = 4, - kWhileStmt = 5, - kDoWhile = 6, - kReturnStmt = 7, - kEmitStmt = 8, - kRevertStmt = 9, - kBlock = 10, - kUnchecked = 11, - kBreakStmt = 12, - kContinueStmt = 13, - kRequireStmt = 14, - kDeleteStmt = 15, - kTryCatch = 16, - kIndexAssign = 17, - kTupleAssign = 18, - kSelfdestructStmt = 19, - kArrayPush = 20, - kArrayPop = 21, - kTupleDestruct = 22, - kBareMagic = 23, - kFixedAsm = 24, - kAbiEncodeStruct = 25, - kFuncPtr = 26, - kStructLocalDecl = 27, - kStructTupleAlias = 28, - STMT_ONEOF_NOT_SET = 0, - }; - - static inline const Statement* internal_default_instance() { - return reinterpret_cast( - &_Statement_default_instance_); - } - static constexpr int kIndexInFileMessages = - 69; - - friend void swap(Statement& a, Statement& b) { - a.Swap(&b); - } - inline void Swap(Statement* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Statement* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Statement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Statement& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Statement& from) { - Statement::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Statement* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.Statement"; - } - protected: - explicit Statement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVarDeclFieldNumber = 1, - kExprStmtFieldNumber = 2, - kIfStmtFieldNumber = 3, - kForStmtFieldNumber = 4, - kWhileStmtFieldNumber = 5, - kDoWhileFieldNumber = 6, - kReturnStmtFieldNumber = 7, - kEmitStmtFieldNumber = 8, - kRevertStmtFieldNumber = 9, - kBlockFieldNumber = 10, - kUncheckedFieldNumber = 11, - kBreakStmtFieldNumber = 12, - kContinueStmtFieldNumber = 13, - kRequireStmtFieldNumber = 14, - kDeleteStmtFieldNumber = 15, - kTryCatchFieldNumber = 16, - kIndexAssignFieldNumber = 17, - kTupleAssignFieldNumber = 18, - kSelfdestructStmtFieldNumber = 19, - kArrayPushFieldNumber = 20, - kArrayPopFieldNumber = 21, - kTupleDestructFieldNumber = 22, - kBareMagicFieldNumber = 23, - kFixedAsmFieldNumber = 24, - kAbiEncodeStructFieldNumber = 25, - kFuncPtrFieldNumber = 26, - kStructLocalDeclFieldNumber = 27, - kStructTupleAliasFieldNumber = 28, - }; - // .solidity.test.sol2protofuzzer.VarDeclStmt var_decl = 1; - bool has_var_decl() const; - private: - bool _internal_has_var_decl() const; - public: - void clear_var_decl(); - const ::solidity::test::sol2protofuzzer::VarDeclStmt& var_decl() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::VarDeclStmt* release_var_decl(); - ::solidity::test::sol2protofuzzer::VarDeclStmt* mutable_var_decl(); - void set_allocated_var_decl(::solidity::test::sol2protofuzzer::VarDeclStmt* var_decl); - private: - const ::solidity::test::sol2protofuzzer::VarDeclStmt& _internal_var_decl() const; - ::solidity::test::sol2protofuzzer::VarDeclStmt* _internal_mutable_var_decl(); - public: - void unsafe_arena_set_allocated_var_decl( - ::solidity::test::sol2protofuzzer::VarDeclStmt* var_decl); - ::solidity::test::sol2protofuzzer::VarDeclStmt* unsafe_arena_release_var_decl(); - - // .solidity.test.sol2protofuzzer.ExprStmt expr_stmt = 2; - bool has_expr_stmt() const; - private: - bool _internal_has_expr_stmt() const; - public: - void clear_expr_stmt(); - const ::solidity::test::sol2protofuzzer::ExprStmt& expr_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ExprStmt* release_expr_stmt(); - ::solidity::test::sol2protofuzzer::ExprStmt* mutable_expr_stmt(); - void set_allocated_expr_stmt(::solidity::test::sol2protofuzzer::ExprStmt* expr_stmt); - private: - const ::solidity::test::sol2protofuzzer::ExprStmt& _internal_expr_stmt() const; - ::solidity::test::sol2protofuzzer::ExprStmt* _internal_mutable_expr_stmt(); - public: - void unsafe_arena_set_allocated_expr_stmt( - ::solidity::test::sol2protofuzzer::ExprStmt* expr_stmt); - ::solidity::test::sol2protofuzzer::ExprStmt* unsafe_arena_release_expr_stmt(); - - // .solidity.test.sol2protofuzzer.IfStmt if_stmt = 3; - bool has_if_stmt() const; - private: - bool _internal_has_if_stmt() const; - public: - void clear_if_stmt(); - const ::solidity::test::sol2protofuzzer::IfStmt& if_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::IfStmt* release_if_stmt(); - ::solidity::test::sol2protofuzzer::IfStmt* mutable_if_stmt(); - void set_allocated_if_stmt(::solidity::test::sol2protofuzzer::IfStmt* if_stmt); - private: - const ::solidity::test::sol2protofuzzer::IfStmt& _internal_if_stmt() const; - ::solidity::test::sol2protofuzzer::IfStmt* _internal_mutable_if_stmt(); - public: - void unsafe_arena_set_allocated_if_stmt( - ::solidity::test::sol2protofuzzer::IfStmt* if_stmt); - ::solidity::test::sol2protofuzzer::IfStmt* unsafe_arena_release_if_stmt(); - - // .solidity.test.sol2protofuzzer.ForStmt for_stmt = 4; - bool has_for_stmt() const; - private: - bool _internal_has_for_stmt() const; - public: - void clear_for_stmt(); - const ::solidity::test::sol2protofuzzer::ForStmt& for_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ForStmt* release_for_stmt(); - ::solidity::test::sol2protofuzzer::ForStmt* mutable_for_stmt(); - void set_allocated_for_stmt(::solidity::test::sol2protofuzzer::ForStmt* for_stmt); - private: - const ::solidity::test::sol2protofuzzer::ForStmt& _internal_for_stmt() const; - ::solidity::test::sol2protofuzzer::ForStmt* _internal_mutable_for_stmt(); - public: - void unsafe_arena_set_allocated_for_stmt( - ::solidity::test::sol2protofuzzer::ForStmt* for_stmt); - ::solidity::test::sol2protofuzzer::ForStmt* unsafe_arena_release_for_stmt(); - - // .solidity.test.sol2protofuzzer.WhileStmt while_stmt = 5; - bool has_while_stmt() const; - private: - bool _internal_has_while_stmt() const; - public: - void clear_while_stmt(); - const ::solidity::test::sol2protofuzzer::WhileStmt& while_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::WhileStmt* release_while_stmt(); - ::solidity::test::sol2protofuzzer::WhileStmt* mutable_while_stmt(); - void set_allocated_while_stmt(::solidity::test::sol2protofuzzer::WhileStmt* while_stmt); - private: - const ::solidity::test::sol2protofuzzer::WhileStmt& _internal_while_stmt() const; - ::solidity::test::sol2protofuzzer::WhileStmt* _internal_mutable_while_stmt(); - public: - void unsafe_arena_set_allocated_while_stmt( - ::solidity::test::sol2protofuzzer::WhileStmt* while_stmt); - ::solidity::test::sol2protofuzzer::WhileStmt* unsafe_arena_release_while_stmt(); - - // .solidity.test.sol2protofuzzer.DoWhileStmt do_while = 6; - bool has_do_while() const; - private: - bool _internal_has_do_while() const; - public: - void clear_do_while(); - const ::solidity::test::sol2protofuzzer::DoWhileStmt& do_while() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::DoWhileStmt* release_do_while(); - ::solidity::test::sol2protofuzzer::DoWhileStmt* mutable_do_while(); - void set_allocated_do_while(::solidity::test::sol2protofuzzer::DoWhileStmt* do_while); - private: - const ::solidity::test::sol2protofuzzer::DoWhileStmt& _internal_do_while() const; - ::solidity::test::sol2protofuzzer::DoWhileStmt* _internal_mutable_do_while(); - public: - void unsafe_arena_set_allocated_do_while( - ::solidity::test::sol2protofuzzer::DoWhileStmt* do_while); - ::solidity::test::sol2protofuzzer::DoWhileStmt* unsafe_arena_release_do_while(); - - // .solidity.test.sol2protofuzzer.ReturnStmt return_stmt = 7; - bool has_return_stmt() const; - private: - bool _internal_has_return_stmt() const; - public: - void clear_return_stmt(); - const ::solidity::test::sol2protofuzzer::ReturnStmt& return_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ReturnStmt* release_return_stmt(); - ::solidity::test::sol2protofuzzer::ReturnStmt* mutable_return_stmt(); - void set_allocated_return_stmt(::solidity::test::sol2protofuzzer::ReturnStmt* return_stmt); - private: - const ::solidity::test::sol2protofuzzer::ReturnStmt& _internal_return_stmt() const; - ::solidity::test::sol2protofuzzer::ReturnStmt* _internal_mutable_return_stmt(); - public: - void unsafe_arena_set_allocated_return_stmt( - ::solidity::test::sol2protofuzzer::ReturnStmt* return_stmt); - ::solidity::test::sol2protofuzzer::ReturnStmt* unsafe_arena_release_return_stmt(); - - // .solidity.test.sol2protofuzzer.EmitStmt emit_stmt = 8; - bool has_emit_stmt() const; - private: - bool _internal_has_emit_stmt() const; - public: - void clear_emit_stmt(); - const ::solidity::test::sol2protofuzzer::EmitStmt& emit_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::EmitStmt* release_emit_stmt(); - ::solidity::test::sol2protofuzzer::EmitStmt* mutable_emit_stmt(); - void set_allocated_emit_stmt(::solidity::test::sol2protofuzzer::EmitStmt* emit_stmt); - private: - const ::solidity::test::sol2protofuzzer::EmitStmt& _internal_emit_stmt() const; - ::solidity::test::sol2protofuzzer::EmitStmt* _internal_mutable_emit_stmt(); - public: - void unsafe_arena_set_allocated_emit_stmt( - ::solidity::test::sol2protofuzzer::EmitStmt* emit_stmt); - ::solidity::test::sol2protofuzzer::EmitStmt* unsafe_arena_release_emit_stmt(); - - // .solidity.test.sol2protofuzzer.RevertStmt revert_stmt = 9; - bool has_revert_stmt() const; - private: - bool _internal_has_revert_stmt() const; - public: - void clear_revert_stmt(); - const ::solidity::test::sol2protofuzzer::RevertStmt& revert_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::RevertStmt* release_revert_stmt(); - ::solidity::test::sol2protofuzzer::RevertStmt* mutable_revert_stmt(); - void set_allocated_revert_stmt(::solidity::test::sol2protofuzzer::RevertStmt* revert_stmt); - private: - const ::solidity::test::sol2protofuzzer::RevertStmt& _internal_revert_stmt() const; - ::solidity::test::sol2protofuzzer::RevertStmt* _internal_mutable_revert_stmt(); - public: - void unsafe_arena_set_allocated_revert_stmt( - ::solidity::test::sol2protofuzzer::RevertStmt* revert_stmt); - ::solidity::test::sol2protofuzzer::RevertStmt* unsafe_arena_release_revert_stmt(); - - // .solidity.test.sol2protofuzzer.Block block = 10; - bool has_block() const; - private: - bool _internal_has_block() const; - public: - void clear_block(); - const ::solidity::test::sol2protofuzzer::Block& block() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_block(); - ::solidity::test::sol2protofuzzer::Block* mutable_block(); - void set_allocated_block(::solidity::test::sol2protofuzzer::Block* block); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_block() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_block(); - public: - void unsafe_arena_set_allocated_block( - ::solidity::test::sol2protofuzzer::Block* block); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_block(); - - // .solidity.test.sol2protofuzzer.UncheckedBlock unchecked = 11; - bool has_unchecked() const; - private: - bool _internal_has_unchecked() const; - public: - void clear_unchecked(); - const ::solidity::test::sol2protofuzzer::UncheckedBlock& unchecked() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::UncheckedBlock* release_unchecked(); - ::solidity::test::sol2protofuzzer::UncheckedBlock* mutable_unchecked(); - void set_allocated_unchecked(::solidity::test::sol2protofuzzer::UncheckedBlock* unchecked); - private: - const ::solidity::test::sol2protofuzzer::UncheckedBlock& _internal_unchecked() const; - ::solidity::test::sol2protofuzzer::UncheckedBlock* _internal_mutable_unchecked(); - public: - void unsafe_arena_set_allocated_unchecked( - ::solidity::test::sol2protofuzzer::UncheckedBlock* unchecked); - ::solidity::test::sol2protofuzzer::UncheckedBlock* unsafe_arena_release_unchecked(); - - // .solidity.test.sol2protofuzzer.BreakStmt break_stmt = 12; - bool has_break_stmt() const; - private: - bool _internal_has_break_stmt() const; - public: - void clear_break_stmt(); - const ::solidity::test::sol2protofuzzer::BreakStmt& break_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::BreakStmt* release_break_stmt(); - ::solidity::test::sol2protofuzzer::BreakStmt* mutable_break_stmt(); - void set_allocated_break_stmt(::solidity::test::sol2protofuzzer::BreakStmt* break_stmt); - private: - const ::solidity::test::sol2protofuzzer::BreakStmt& _internal_break_stmt() const; - ::solidity::test::sol2protofuzzer::BreakStmt* _internal_mutable_break_stmt(); - public: - void unsafe_arena_set_allocated_break_stmt( - ::solidity::test::sol2protofuzzer::BreakStmt* break_stmt); - ::solidity::test::sol2protofuzzer::BreakStmt* unsafe_arena_release_break_stmt(); - - // .solidity.test.sol2protofuzzer.ContinueStmt continue_stmt = 13; - bool has_continue_stmt() const; - private: - bool _internal_has_continue_stmt() const; - public: - void clear_continue_stmt(); - const ::solidity::test::sol2protofuzzer::ContinueStmt& continue_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ContinueStmt* release_continue_stmt(); - ::solidity::test::sol2protofuzzer::ContinueStmt* mutable_continue_stmt(); - void set_allocated_continue_stmt(::solidity::test::sol2protofuzzer::ContinueStmt* continue_stmt); - private: - const ::solidity::test::sol2protofuzzer::ContinueStmt& _internal_continue_stmt() const; - ::solidity::test::sol2protofuzzer::ContinueStmt* _internal_mutable_continue_stmt(); - public: - void unsafe_arena_set_allocated_continue_stmt( - ::solidity::test::sol2protofuzzer::ContinueStmt* continue_stmt); - ::solidity::test::sol2protofuzzer::ContinueStmt* unsafe_arena_release_continue_stmt(); - - // .solidity.test.sol2protofuzzer.RequireStmt require_stmt = 14; - bool has_require_stmt() const; - private: - bool _internal_has_require_stmt() const; - public: - void clear_require_stmt(); - const ::solidity::test::sol2protofuzzer::RequireStmt& require_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::RequireStmt* release_require_stmt(); - ::solidity::test::sol2protofuzzer::RequireStmt* mutable_require_stmt(); - void set_allocated_require_stmt(::solidity::test::sol2protofuzzer::RequireStmt* require_stmt); - private: - const ::solidity::test::sol2protofuzzer::RequireStmt& _internal_require_stmt() const; - ::solidity::test::sol2protofuzzer::RequireStmt* _internal_mutable_require_stmt(); - public: - void unsafe_arena_set_allocated_require_stmt( - ::solidity::test::sol2protofuzzer::RequireStmt* require_stmt); - ::solidity::test::sol2protofuzzer::RequireStmt* unsafe_arena_release_require_stmt(); - - // .solidity.test.sol2protofuzzer.DeleteStmt delete_stmt = 15; - bool has_delete_stmt() const; - private: - bool _internal_has_delete_stmt() const; - public: - void clear_delete_stmt(); - const ::solidity::test::sol2protofuzzer::DeleteStmt& delete_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::DeleteStmt* release_delete_stmt(); - ::solidity::test::sol2protofuzzer::DeleteStmt* mutable_delete_stmt(); - void set_allocated_delete_stmt(::solidity::test::sol2protofuzzer::DeleteStmt* delete_stmt); - private: - const ::solidity::test::sol2protofuzzer::DeleteStmt& _internal_delete_stmt() const; - ::solidity::test::sol2protofuzzer::DeleteStmt* _internal_mutable_delete_stmt(); - public: - void unsafe_arena_set_allocated_delete_stmt( - ::solidity::test::sol2protofuzzer::DeleteStmt* delete_stmt); - ::solidity::test::sol2protofuzzer::DeleteStmt* unsafe_arena_release_delete_stmt(); - - // .solidity.test.sol2protofuzzer.TryCatchStmt try_catch = 16; - bool has_try_catch() const; - private: - bool _internal_has_try_catch() const; - public: - void clear_try_catch(); - const ::solidity::test::sol2protofuzzer::TryCatchStmt& try_catch() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::TryCatchStmt* release_try_catch(); - ::solidity::test::sol2protofuzzer::TryCatchStmt* mutable_try_catch(); - void set_allocated_try_catch(::solidity::test::sol2protofuzzer::TryCatchStmt* try_catch); - private: - const ::solidity::test::sol2protofuzzer::TryCatchStmt& _internal_try_catch() const; - ::solidity::test::sol2protofuzzer::TryCatchStmt* _internal_mutable_try_catch(); - public: - void unsafe_arena_set_allocated_try_catch( - ::solidity::test::sol2protofuzzer::TryCatchStmt* try_catch); - ::solidity::test::sol2protofuzzer::TryCatchStmt* unsafe_arena_release_try_catch(); - - // .solidity.test.sol2protofuzzer.IndexAssignStmt index_assign = 17; - bool has_index_assign() const; - private: - bool _internal_has_index_assign() const; - public: - void clear_index_assign(); - const ::solidity::test::sol2protofuzzer::IndexAssignStmt& index_assign() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::IndexAssignStmt* release_index_assign(); - ::solidity::test::sol2protofuzzer::IndexAssignStmt* mutable_index_assign(); - void set_allocated_index_assign(::solidity::test::sol2protofuzzer::IndexAssignStmt* index_assign); - private: - const ::solidity::test::sol2protofuzzer::IndexAssignStmt& _internal_index_assign() const; - ::solidity::test::sol2protofuzzer::IndexAssignStmt* _internal_mutable_index_assign(); - public: - void unsafe_arena_set_allocated_index_assign( - ::solidity::test::sol2protofuzzer::IndexAssignStmt* index_assign); - ::solidity::test::sol2protofuzzer::IndexAssignStmt* unsafe_arena_release_index_assign(); - - // .solidity.test.sol2protofuzzer.TupleAssignStmt tuple_assign = 18; - bool has_tuple_assign() const; - private: - bool _internal_has_tuple_assign() const; - public: - void clear_tuple_assign(); - const ::solidity::test::sol2protofuzzer::TupleAssignStmt& tuple_assign() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::TupleAssignStmt* release_tuple_assign(); - ::solidity::test::sol2protofuzzer::TupleAssignStmt* mutable_tuple_assign(); - void set_allocated_tuple_assign(::solidity::test::sol2protofuzzer::TupleAssignStmt* tuple_assign); - private: - const ::solidity::test::sol2protofuzzer::TupleAssignStmt& _internal_tuple_assign() const; - ::solidity::test::sol2protofuzzer::TupleAssignStmt* _internal_mutable_tuple_assign(); - public: - void unsafe_arena_set_allocated_tuple_assign( - ::solidity::test::sol2protofuzzer::TupleAssignStmt* tuple_assign); - ::solidity::test::sol2protofuzzer::TupleAssignStmt* unsafe_arena_release_tuple_assign(); - - // .solidity.test.sol2protofuzzer.SelfdestructStmt selfdestruct_stmt = 19; - bool has_selfdestruct_stmt() const; - private: - bool _internal_has_selfdestruct_stmt() const; - public: - void clear_selfdestruct_stmt(); - const ::solidity::test::sol2protofuzzer::SelfdestructStmt& selfdestruct_stmt() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::SelfdestructStmt* release_selfdestruct_stmt(); - ::solidity::test::sol2protofuzzer::SelfdestructStmt* mutable_selfdestruct_stmt(); - void set_allocated_selfdestruct_stmt(::solidity::test::sol2protofuzzer::SelfdestructStmt* selfdestruct_stmt); - private: - const ::solidity::test::sol2protofuzzer::SelfdestructStmt& _internal_selfdestruct_stmt() const; - ::solidity::test::sol2protofuzzer::SelfdestructStmt* _internal_mutable_selfdestruct_stmt(); - public: - void unsafe_arena_set_allocated_selfdestruct_stmt( - ::solidity::test::sol2protofuzzer::SelfdestructStmt* selfdestruct_stmt); - ::solidity::test::sol2protofuzzer::SelfdestructStmt* unsafe_arena_release_selfdestruct_stmt(); - - // .solidity.test.sol2protofuzzer.ArrayPushStmt array_push = 20; - bool has_array_push() const; - private: - bool _internal_has_array_push() const; - public: - void clear_array_push(); - const ::solidity::test::sol2protofuzzer::ArrayPushStmt& array_push() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ArrayPushStmt* release_array_push(); - ::solidity::test::sol2protofuzzer::ArrayPushStmt* mutable_array_push(); - void set_allocated_array_push(::solidity::test::sol2protofuzzer::ArrayPushStmt* array_push); - private: - const ::solidity::test::sol2protofuzzer::ArrayPushStmt& _internal_array_push() const; - ::solidity::test::sol2protofuzzer::ArrayPushStmt* _internal_mutable_array_push(); - public: - void unsafe_arena_set_allocated_array_push( - ::solidity::test::sol2protofuzzer::ArrayPushStmt* array_push); - ::solidity::test::sol2protofuzzer::ArrayPushStmt* unsafe_arena_release_array_push(); - - // .solidity.test.sol2protofuzzer.ArrayPopStmt array_pop = 21; - bool has_array_pop() const; - private: - bool _internal_has_array_pop() const; - public: - void clear_array_pop(); - const ::solidity::test::sol2protofuzzer::ArrayPopStmt& array_pop() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ArrayPopStmt* release_array_pop(); - ::solidity::test::sol2protofuzzer::ArrayPopStmt* mutable_array_pop(); - void set_allocated_array_pop(::solidity::test::sol2protofuzzer::ArrayPopStmt* array_pop); - private: - const ::solidity::test::sol2protofuzzer::ArrayPopStmt& _internal_array_pop() const; - ::solidity::test::sol2protofuzzer::ArrayPopStmt* _internal_mutable_array_pop(); - public: - void unsafe_arena_set_allocated_array_pop( - ::solidity::test::sol2protofuzzer::ArrayPopStmt* array_pop); - ::solidity::test::sol2protofuzzer::ArrayPopStmt* unsafe_arena_release_array_pop(); - - // .solidity.test.sol2protofuzzer.TupleDestructStmt tuple_destruct = 22; - bool has_tuple_destruct() const; - private: - bool _internal_has_tuple_destruct() const; - public: - void clear_tuple_destruct(); - const ::solidity::test::sol2protofuzzer::TupleDestructStmt& tuple_destruct() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::TupleDestructStmt* release_tuple_destruct(); - ::solidity::test::sol2protofuzzer::TupleDestructStmt* mutable_tuple_destruct(); - void set_allocated_tuple_destruct(::solidity::test::sol2protofuzzer::TupleDestructStmt* tuple_destruct); - private: - const ::solidity::test::sol2protofuzzer::TupleDestructStmt& _internal_tuple_destruct() const; - ::solidity::test::sol2protofuzzer::TupleDestructStmt* _internal_mutable_tuple_destruct(); - public: - void unsafe_arena_set_allocated_tuple_destruct( - ::solidity::test::sol2protofuzzer::TupleDestructStmt* tuple_destruct); - ::solidity::test::sol2protofuzzer::TupleDestructStmt* unsafe_arena_release_tuple_destruct(); - - // .solidity.test.sol2protofuzzer.BareMagicStmt bare_magic = 23; - bool has_bare_magic() const; - private: - bool _internal_has_bare_magic() const; - public: - void clear_bare_magic(); - const ::solidity::test::sol2protofuzzer::BareMagicStmt& bare_magic() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::BareMagicStmt* release_bare_magic(); - ::solidity::test::sol2protofuzzer::BareMagicStmt* mutable_bare_magic(); - void set_allocated_bare_magic(::solidity::test::sol2protofuzzer::BareMagicStmt* bare_magic); - private: - const ::solidity::test::sol2protofuzzer::BareMagicStmt& _internal_bare_magic() const; - ::solidity::test::sol2protofuzzer::BareMagicStmt* _internal_mutable_bare_magic(); - public: - void unsafe_arena_set_allocated_bare_magic( - ::solidity::test::sol2protofuzzer::BareMagicStmt* bare_magic); - ::solidity::test::sol2protofuzzer::BareMagicStmt* unsafe_arena_release_bare_magic(); - - // .solidity.test.sol2protofuzzer.FixedAsmStmt fixed_asm = 24; - bool has_fixed_asm() const; - private: - bool _internal_has_fixed_asm() const; - public: - void clear_fixed_asm(); - const ::solidity::test::sol2protofuzzer::FixedAsmStmt& fixed_asm() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::FixedAsmStmt* release_fixed_asm(); - ::solidity::test::sol2protofuzzer::FixedAsmStmt* mutable_fixed_asm(); - void set_allocated_fixed_asm(::solidity::test::sol2protofuzzer::FixedAsmStmt* fixed_asm); - private: - const ::solidity::test::sol2protofuzzer::FixedAsmStmt& _internal_fixed_asm() const; - ::solidity::test::sol2protofuzzer::FixedAsmStmt* _internal_mutable_fixed_asm(); - public: - void unsafe_arena_set_allocated_fixed_asm( - ::solidity::test::sol2protofuzzer::FixedAsmStmt* fixed_asm); - ::solidity::test::sol2protofuzzer::FixedAsmStmt* unsafe_arena_release_fixed_asm(); - - // .solidity.test.sol2protofuzzer.AbiEncodeStructStmt abi_encode_struct = 25; - bool has_abi_encode_struct() const; - private: - bool _internal_has_abi_encode_struct() const; - public: - void clear_abi_encode_struct(); - const ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt& abi_encode_struct() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* release_abi_encode_struct(); - ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* mutable_abi_encode_struct(); - void set_allocated_abi_encode_struct(::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* abi_encode_struct); - private: - const ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt& _internal_abi_encode_struct() const; - ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* _internal_mutable_abi_encode_struct(); - public: - void unsafe_arena_set_allocated_abi_encode_struct( - ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* abi_encode_struct); - ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* unsafe_arena_release_abi_encode_struct(); - - // .solidity.test.sol2protofuzzer.FuncPtrStmt func_ptr = 26; - bool has_func_ptr() const; - private: - bool _internal_has_func_ptr() const; - public: - void clear_func_ptr(); - const ::solidity::test::sol2protofuzzer::FuncPtrStmt& func_ptr() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::FuncPtrStmt* release_func_ptr(); - ::solidity::test::sol2protofuzzer::FuncPtrStmt* mutable_func_ptr(); - void set_allocated_func_ptr(::solidity::test::sol2protofuzzer::FuncPtrStmt* func_ptr); - private: - const ::solidity::test::sol2protofuzzer::FuncPtrStmt& _internal_func_ptr() const; - ::solidity::test::sol2protofuzzer::FuncPtrStmt* _internal_mutable_func_ptr(); - public: - void unsafe_arena_set_allocated_func_ptr( - ::solidity::test::sol2protofuzzer::FuncPtrStmt* func_ptr); - ::solidity::test::sol2protofuzzer::FuncPtrStmt* unsafe_arena_release_func_ptr(); - - // .solidity.test.sol2protofuzzer.StructLocalDeclStmt struct_local_decl = 27; - bool has_struct_local_decl() const; - private: - bool _internal_has_struct_local_decl() const; - public: - void clear_struct_local_decl(); - const ::solidity::test::sol2protofuzzer::StructLocalDeclStmt& struct_local_decl() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* release_struct_local_decl(); - ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* mutable_struct_local_decl(); - void set_allocated_struct_local_decl(::solidity::test::sol2protofuzzer::StructLocalDeclStmt* struct_local_decl); - private: - const ::solidity::test::sol2protofuzzer::StructLocalDeclStmt& _internal_struct_local_decl() const; - ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* _internal_mutable_struct_local_decl(); - public: - void unsafe_arena_set_allocated_struct_local_decl( - ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* struct_local_decl); - ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* unsafe_arena_release_struct_local_decl(); - - // .solidity.test.sol2protofuzzer.StructTupleAliasStmt struct_tuple_alias = 28; - bool has_struct_tuple_alias() const; - private: - bool _internal_has_struct_tuple_alias() const; - public: - void clear_struct_tuple_alias(); - const ::solidity::test::sol2protofuzzer::StructTupleAliasStmt& struct_tuple_alias() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* release_struct_tuple_alias(); - ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* mutable_struct_tuple_alias(); - void set_allocated_struct_tuple_alias(::solidity::test::sol2protofuzzer::StructTupleAliasStmt* struct_tuple_alias); - private: - const ::solidity::test::sol2protofuzzer::StructTupleAliasStmt& _internal_struct_tuple_alias() const; - ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* _internal_mutable_struct_tuple_alias(); - public: - void unsafe_arena_set_allocated_struct_tuple_alias( - ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* struct_tuple_alias); - ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* unsafe_arena_release_struct_tuple_alias(); - - void clear_stmt_oneof(); - StmtOneofCase stmt_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.Statement) - private: - class _Internal; - void set_has_var_decl(); - void set_has_expr_stmt(); - void set_has_if_stmt(); - void set_has_for_stmt(); - void set_has_while_stmt(); - void set_has_do_while(); - void set_has_return_stmt(); - void set_has_emit_stmt(); - void set_has_revert_stmt(); - void set_has_block(); - void set_has_unchecked(); - void set_has_break_stmt(); - void set_has_continue_stmt(); - void set_has_require_stmt(); - void set_has_delete_stmt(); - void set_has_try_catch(); - void set_has_index_assign(); - void set_has_tuple_assign(); - void set_has_selfdestruct_stmt(); - void set_has_array_push(); - void set_has_array_pop(); - void set_has_tuple_destruct(); - void set_has_bare_magic(); - void set_has_fixed_asm(); - void set_has_abi_encode_struct(); - void set_has_func_ptr(); - void set_has_struct_local_decl(); - void set_has_struct_tuple_alias(); - - inline bool has_stmt_oneof() const; - inline void clear_has_stmt_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union StmtOneofUnion { - constexpr StmtOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::sol2protofuzzer::VarDeclStmt* var_decl_; - ::solidity::test::sol2protofuzzer::ExprStmt* expr_stmt_; - ::solidity::test::sol2protofuzzer::IfStmt* if_stmt_; - ::solidity::test::sol2protofuzzer::ForStmt* for_stmt_; - ::solidity::test::sol2protofuzzer::WhileStmt* while_stmt_; - ::solidity::test::sol2protofuzzer::DoWhileStmt* do_while_; - ::solidity::test::sol2protofuzzer::ReturnStmt* return_stmt_; - ::solidity::test::sol2protofuzzer::EmitStmt* emit_stmt_; - ::solidity::test::sol2protofuzzer::RevertStmt* revert_stmt_; - ::solidity::test::sol2protofuzzer::Block* block_; - ::solidity::test::sol2protofuzzer::UncheckedBlock* unchecked_; - ::solidity::test::sol2protofuzzer::BreakStmt* break_stmt_; - ::solidity::test::sol2protofuzzer::ContinueStmt* continue_stmt_; - ::solidity::test::sol2protofuzzer::RequireStmt* require_stmt_; - ::solidity::test::sol2protofuzzer::DeleteStmt* delete_stmt_; - ::solidity::test::sol2protofuzzer::TryCatchStmt* try_catch_; - ::solidity::test::sol2protofuzzer::IndexAssignStmt* index_assign_; - ::solidity::test::sol2protofuzzer::TupleAssignStmt* tuple_assign_; - ::solidity::test::sol2protofuzzer::SelfdestructStmt* selfdestruct_stmt_; - ::solidity::test::sol2protofuzzer::ArrayPushStmt* array_push_; - ::solidity::test::sol2protofuzzer::ArrayPopStmt* array_pop_; - ::solidity::test::sol2protofuzzer::TupleDestructStmt* tuple_destruct_; - ::solidity::test::sol2protofuzzer::BareMagicStmt* bare_magic_; - ::solidity::test::sol2protofuzzer::FixedAsmStmt* fixed_asm_; - ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* abi_encode_struct_; - ::solidity::test::sol2protofuzzer::FuncPtrStmt* func_ptr_; - ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* struct_local_decl_; - ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* struct_tuple_alias_; - } stmt_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class FuncPtrStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.FuncPtrStmt) */ { - public: - inline FuncPtrStmt() : FuncPtrStmt(nullptr) {} - ~FuncPtrStmt() override; - explicit PROTOBUF_CONSTEXPR FuncPtrStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - FuncPtrStmt(const FuncPtrStmt& from); - FuncPtrStmt(FuncPtrStmt&& from) noexcept - : FuncPtrStmt() { - *this = ::std::move(from); - } - - inline FuncPtrStmt& operator=(const FuncPtrStmt& from) { - CopyFrom(from); - return *this; - } - inline FuncPtrStmt& operator=(FuncPtrStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const FuncPtrStmt& default_instance() { - return *internal_default_instance(); - } - static inline const FuncPtrStmt* internal_default_instance() { - return reinterpret_cast( - &_FuncPtrStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 70; - - friend void swap(FuncPtrStmt& a, FuncPtrStmt& b) { - a.Swap(&b); - } - inline void Swap(FuncPtrStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FuncPtrStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - FuncPtrStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FuncPtrStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const FuncPtrStmt& from) { - FuncPtrStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(FuncPtrStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.FuncPtrStmt"; - } - protected: - explicit FuncPtrStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kTargetIdFieldNumber = 1, - }; - // repeated .solidity.test.sol2protofuzzer.Expression args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - ::solidity::test::sol2protofuzzer::Expression* mutable_args(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* - mutable_args(); - private: - const ::solidity::test::sol2protofuzzer::Expression& _internal_args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* _internal_add_args(); - public: - const ::solidity::test::sol2protofuzzer::Expression& args(int index) const; - ::solidity::test::sol2protofuzzer::Expression* add_args(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& - args() const; - - // required uint32 target_id = 1; - bool has_target_id() const; - private: - bool _internal_has_target_id() const; - public: - void clear_target_id(); - uint32_t target_id() const; - void set_target_id(uint32_t value); - private: - uint32_t _internal_target_id() const; - void _internal_set_target_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.FuncPtrStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression > args_; - uint32_t target_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class StructField final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.StructField) */ { - public: - inline StructField() : StructField(nullptr) {} - ~StructField() override; - explicit PROTOBUF_CONSTEXPR StructField(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StructField(const StructField& from); - StructField(StructField&& from) noexcept - : StructField() { - *this = ::std::move(from); - } - - inline StructField& operator=(const StructField& from) { - CopyFrom(from); - return *this; - } - inline StructField& operator=(StructField&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StructField& default_instance() { - return *internal_default_instance(); - } - enum AdvancedTypeCase { - kArrField = 2, - kFnField = 3, - ADVANCED_TYPE_NOT_SET = 0, - }; - - static inline const StructField* internal_default_instance() { - return reinterpret_cast( - &_StructField_default_instance_); - } - static constexpr int kIndexInFileMessages = - 71; - - friend void swap(StructField& a, StructField& b) { - a.Swap(&b); - } - inline void Swap(StructField* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StructField* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StructField* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StructField& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StructField& from) { - StructField::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StructField* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.StructField"; - } - protected: - explicit StructField(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - kArrFieldFieldNumber = 2, - kFnFieldFieldNumber = 3, - }; - // required .solidity.test.sol2protofuzzer.ElementaryType type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - const ::solidity::test::sol2protofuzzer::ElementaryType& type() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ElementaryType* release_type(); - ::solidity::test::sol2protofuzzer::ElementaryType* mutable_type(); - void set_allocated_type(::solidity::test::sol2protofuzzer::ElementaryType* type); - private: - const ::solidity::test::sol2protofuzzer::ElementaryType& _internal_type() const; - ::solidity::test::sol2protofuzzer::ElementaryType* _internal_mutable_type(); - public: - void unsafe_arena_set_allocated_type( - ::solidity::test::sol2protofuzzer::ElementaryType* type); - ::solidity::test::sol2protofuzzer::ElementaryType* unsafe_arena_release_type(); - - // .solidity.test.sol2protofuzzer.StructArrayField arr_field = 2; - bool has_arr_field() const; - private: - bool _internal_has_arr_field() const; - public: - void clear_arr_field(); - const ::solidity::test::sol2protofuzzer::StructArrayField& arr_field() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::StructArrayField* release_arr_field(); - ::solidity::test::sol2protofuzzer::StructArrayField* mutable_arr_field(); - void set_allocated_arr_field(::solidity::test::sol2protofuzzer::StructArrayField* arr_field); - private: - const ::solidity::test::sol2protofuzzer::StructArrayField& _internal_arr_field() const; - ::solidity::test::sol2protofuzzer::StructArrayField* _internal_mutable_arr_field(); - public: - void unsafe_arena_set_allocated_arr_field( - ::solidity::test::sol2protofuzzer::StructArrayField* arr_field); - ::solidity::test::sol2protofuzzer::StructArrayField* unsafe_arena_release_arr_field(); - - // .solidity.test.sol2protofuzzer.StructFunctionField fn_field = 3; - bool has_fn_field() const; - private: - bool _internal_has_fn_field() const; - public: - void clear_fn_field(); - const ::solidity::test::sol2protofuzzer::StructFunctionField& fn_field() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::StructFunctionField* release_fn_field(); - ::solidity::test::sol2protofuzzer::StructFunctionField* mutable_fn_field(); - void set_allocated_fn_field(::solidity::test::sol2protofuzzer::StructFunctionField* fn_field); - private: - const ::solidity::test::sol2protofuzzer::StructFunctionField& _internal_fn_field() const; - ::solidity::test::sol2protofuzzer::StructFunctionField* _internal_mutable_fn_field(); - public: - void unsafe_arena_set_allocated_fn_field( - ::solidity::test::sol2protofuzzer::StructFunctionField* fn_field); - ::solidity::test::sol2protofuzzer::StructFunctionField* unsafe_arena_release_fn_field(); - - void clear_advanced_type(); - AdvancedTypeCase advanced_type_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.StructField) - private: - class _Internal; - void set_has_arr_field(); - void set_has_fn_field(); - - inline bool has_advanced_type() const; - inline void clear_has_advanced_type(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::ElementaryType* type_; - union AdvancedTypeUnion { - constexpr AdvancedTypeUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::sol2protofuzzer::StructArrayField* arr_field_; - ::solidity::test::sol2protofuzzer::StructFunctionField* fn_field_; - } advanced_type_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class StructArrayField final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.StructArrayField) */ { - public: - inline StructArrayField() : StructArrayField(nullptr) {} - ~StructArrayField() override; - explicit PROTOBUF_CONSTEXPR StructArrayField(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StructArrayField(const StructArrayField& from); - StructArrayField(StructArrayField&& from) noexcept - : StructArrayField() { - *this = ::std::move(from); - } - - inline StructArrayField& operator=(const StructArrayField& from) { - CopyFrom(from); - return *this; - } - inline StructArrayField& operator=(StructArrayField&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StructArrayField& default_instance() { - return *internal_default_instance(); - } - static inline const StructArrayField* internal_default_instance() { - return reinterpret_cast( - &_StructArrayField_default_instance_); - } - static constexpr int kIndexInFileMessages = - 72; - - friend void swap(StructArrayField& a, StructArrayField& b) { - a.Swap(&b); - } - inline void Swap(StructArrayField* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StructArrayField* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StructArrayField* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StructArrayField& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StructArrayField& from) { - StructArrayField::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StructArrayField* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.StructArrayField"; - } - protected: - explicit StructArrayField(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBaseFieldNumber = 1, - kOuterLengthFieldNumber = 2, - kInnerLengthFieldNumber = 3, - }; - // required .solidity.test.sol2protofuzzer.ElementaryType base = 1; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - const ::solidity::test::sol2protofuzzer::ElementaryType& base() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ElementaryType* release_base(); - ::solidity::test::sol2protofuzzer::ElementaryType* mutable_base(); - void set_allocated_base(::solidity::test::sol2protofuzzer::ElementaryType* base); - private: - const ::solidity::test::sol2protofuzzer::ElementaryType& _internal_base() const; - ::solidity::test::sol2protofuzzer::ElementaryType* _internal_mutable_base(); - public: - void unsafe_arena_set_allocated_base( - ::solidity::test::sol2protofuzzer::ElementaryType* base); - ::solidity::test::sol2protofuzzer::ElementaryType* unsafe_arena_release_base(); - - // optional uint32 outer_length = 2; - bool has_outer_length() const; - private: - bool _internal_has_outer_length() const; - public: - void clear_outer_length(); - uint32_t outer_length() const; - void set_outer_length(uint32_t value); - private: - uint32_t _internal_outer_length() const; - void _internal_set_outer_length(uint32_t value); - public: - - // optional uint32 inner_length = 3; - bool has_inner_length() const; - private: - bool _internal_has_inner_length() const; - public: - void clear_inner_length(); - uint32_t inner_length() const; - void set_inner_length(uint32_t value); - private: - uint32_t _internal_inner_length() const; - void _internal_set_inner_length(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.StructArrayField) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::ElementaryType* base_; - uint32_t outer_length_; - uint32_t inner_length_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class StructFunctionField final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.StructFunctionField) */ { - public: - inline StructFunctionField() : StructFunctionField(nullptr) {} - ~StructFunctionField() override; - explicit PROTOBUF_CONSTEXPR StructFunctionField(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StructFunctionField(const StructFunctionField& from); - StructFunctionField(StructFunctionField&& from) noexcept - : StructFunctionField() { - *this = ::std::move(from); - } - - inline StructFunctionField& operator=(const StructFunctionField& from) { - CopyFrom(from); - return *this; - } - inline StructFunctionField& operator=(StructFunctionField&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StructFunctionField& default_instance() { - return *internal_default_instance(); - } - static inline const StructFunctionField* internal_default_instance() { - return reinterpret_cast( - &_StructFunctionField_default_instance_); - } - static constexpr int kIndexInFileMessages = - 73; - - friend void swap(StructFunctionField& a, StructFunctionField& b) { - a.Swap(&b); - } - inline void Swap(StructFunctionField* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StructFunctionField* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StructFunctionField* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StructFunctionField& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StructFunctionField& from) { - StructFunctionField::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StructFunctionField* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.StructFunctionField"; - } - protected: - explicit StructFunctionField(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kReturnsCalldataArrayFieldNumber = 1, - }; - // optional bool returns_calldata_array = 1; - bool has_returns_calldata_array() const; - private: - bool _internal_has_returns_calldata_array() const; - public: - void clear_returns_calldata_array(); - bool returns_calldata_array() const; - void set_returns_calldata_array(bool value); - private: - bool _internal_returns_calldata_array() const; - void _internal_set_returns_calldata_array(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.StructFunctionField) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool returns_calldata_array_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class StructDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.StructDef) */ { - public: - inline StructDef() : StructDef(nullptr) {} - ~StructDef() override; - explicit PROTOBUF_CONSTEXPR StructDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StructDef(const StructDef& from); - StructDef(StructDef&& from) noexcept - : StructDef() { - *this = ::std::move(from); - } - - inline StructDef& operator=(const StructDef& from) { - CopyFrom(from); - return *this; - } - inline StructDef& operator=(StructDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StructDef& default_instance() { - return *internal_default_instance(); - } - static inline const StructDef* internal_default_instance() { - return reinterpret_cast( - &_StructDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 74; - - friend void swap(StructDef& a, StructDef& b) { - a.Swap(&b); - } - inline void Swap(StructDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StructDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StructDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StructDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StructDef& from) { - StructDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StructDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.StructDef"; - } - protected: - explicit StructDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFieldsFieldNumber = 1, - }; - // repeated .solidity.test.sol2protofuzzer.StructField fields = 1; - int fields_size() const; - private: - int _internal_fields_size() const; - public: - void clear_fields(); - ::solidity::test::sol2protofuzzer::StructField* mutable_fields(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StructField >* - mutable_fields(); - private: - const ::solidity::test::sol2protofuzzer::StructField& _internal_fields(int index) const; - ::solidity::test::sol2protofuzzer::StructField* _internal_add_fields(); - public: - const ::solidity::test::sol2protofuzzer::StructField& fields(int index) const; - ::solidity::test::sol2protofuzzer::StructField* add_fields(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StructField >& - fields() const; - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.StructDef) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StructField > fields_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class EnumDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.EnumDef) */ { - public: - inline EnumDef() : EnumDef(nullptr) {} - ~EnumDef() override; - explicit PROTOBUF_CONSTEXPR EnumDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - EnumDef(const EnumDef& from); - EnumDef(EnumDef&& from) noexcept - : EnumDef() { - *this = ::std::move(from); - } - - inline EnumDef& operator=(const EnumDef& from) { - CopyFrom(from); - return *this; - } - inline EnumDef& operator=(EnumDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const EnumDef& default_instance() { - return *internal_default_instance(); - } - static inline const EnumDef* internal_default_instance() { - return reinterpret_cast( - &_EnumDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 75; - - friend void swap(EnumDef& a, EnumDef& b) { - a.Swap(&b); - } - inline void Swap(EnumDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(EnumDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - EnumDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const EnumDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const EnumDef& from) { - EnumDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EnumDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.EnumDef"; - } - protected: - explicit EnumDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNumMembersFieldNumber = 1, - }; - // required uint32 num_members = 1; - bool has_num_members() const; - private: - bool _internal_has_num_members() const; - public: - void clear_num_members(); - uint32_t num_members() const; - void set_num_members(uint32_t value); - private: - uint32_t _internal_num_members() const; - void _internal_set_num_members(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.EnumDef) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t num_members_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class EventDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.EventDef) */ { - public: - inline EventDef() : EventDef(nullptr) {} - ~EventDef() override; - explicit PROTOBUF_CONSTEXPR EventDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - EventDef(const EventDef& from); - EventDef(EventDef&& from) noexcept - : EventDef() { - *this = ::std::move(from); - } - - inline EventDef& operator=(const EventDef& from) { - CopyFrom(from); - return *this; - } - inline EventDef& operator=(EventDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const EventDef& default_instance() { - return *internal_default_instance(); - } - static inline const EventDef* internal_default_instance() { - return reinterpret_cast( - &_EventDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 76; - - friend void swap(EventDef& a, EventDef& b) { - a.Swap(&b); - } - inline void Swap(EventDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(EventDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - EventDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const EventDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const EventDef& from) { - EventDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EventDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.EventDef"; - } - protected: - explicit EventDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIndexedParamsFieldNumber = 2, - kNumParamsFieldNumber = 1, - }; - // repeated bool indexed_params = 2; - int indexed_params_size() const; - private: - int _internal_indexed_params_size() const; - public: - void clear_indexed_params(); - private: - bool _internal_indexed_params(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& - _internal_indexed_params() const; - void _internal_add_indexed_params(bool value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* - _internal_mutable_indexed_params(); - public: - bool indexed_params(int index) const; - void set_indexed_params(int index, bool value); - void add_indexed_params(bool value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& - indexed_params() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* - mutable_indexed_params(); - - // required uint32 num_params = 1; - bool has_num_params() const; - private: - bool _internal_has_num_params() const; - public: - void clear_num_params(); - uint32_t num_params() const; - void set_num_params(uint32_t value); - private: - uint32_t _internal_num_params() const; - void _internal_set_num_params(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.EventDef) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool > indexed_params_; - uint32_t num_params_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ErrorDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ErrorDef) */ { - public: - inline ErrorDef() : ErrorDef(nullptr) {} - ~ErrorDef() override; - explicit PROTOBUF_CONSTEXPR ErrorDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ErrorDef(const ErrorDef& from); - ErrorDef(ErrorDef&& from) noexcept - : ErrorDef() { - *this = ::std::move(from); - } - - inline ErrorDef& operator=(const ErrorDef& from) { - CopyFrom(from); - return *this; - } - inline ErrorDef& operator=(ErrorDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ErrorDef& default_instance() { - return *internal_default_instance(); - } - static inline const ErrorDef* internal_default_instance() { - return reinterpret_cast( - &_ErrorDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 77; - - friend void swap(ErrorDef& a, ErrorDef& b) { - a.Swap(&b); - } - inline void Swap(ErrorDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ErrorDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ErrorDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ErrorDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ErrorDef& from) { - ErrorDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ErrorDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ErrorDef"; - } - protected: - explicit ErrorDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNumParamsFieldNumber = 1, - }; - // required uint32 num_params = 1; - bool has_num_params() const; - private: - bool _internal_has_num_params() const; - public: - void clear_num_params(); - uint32_t num_params() const; - void set_num_params(uint32_t value); - private: - uint32_t _internal_num_params() const; - void _internal_set_num_params(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ErrorDef) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t num_params_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ModifierDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ModifierDef) */ { - public: - inline ModifierDef() : ModifierDef(nullptr) {} - ~ModifierDef() override; - explicit PROTOBUF_CONSTEXPR ModifierDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ModifierDef(const ModifierDef& from); - ModifierDef(ModifierDef&& from) noexcept - : ModifierDef() { - *this = ::std::move(from); - } - - inline ModifierDef& operator=(const ModifierDef& from) { - CopyFrom(from); - return *this; - } - inline ModifierDef& operator=(ModifierDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ModifierDef& default_instance() { - return *internal_default_instance(); - } - static inline const ModifierDef* internal_default_instance() { - return reinterpret_cast( - &_ModifierDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 78; - - friend void swap(ModifierDef& a, ModifierDef& b) { - a.Swap(&b); - } - inline void Swap(ModifierDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ModifierDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ModifierDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ModifierDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ModifierDef& from) { - ModifierDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ModifierDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ModifierDef"; - } - protected: - explicit ModifierDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBodyFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Block body = 1; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const ::solidity::test::sol2protofuzzer::Block& body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_body(); - void set_allocated_body(::solidity::test::sol2protofuzzer::Block* body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_body(); - public: - void unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_body(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ModifierDef) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Block* body_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ReceiveDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ReceiveDef) */ { - public: - inline ReceiveDef() : ReceiveDef(nullptr) {} - ~ReceiveDef() override; - explicit PROTOBUF_CONSTEXPR ReceiveDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ReceiveDef(const ReceiveDef& from); - ReceiveDef(ReceiveDef&& from) noexcept - : ReceiveDef() { - *this = ::std::move(from); - } - - inline ReceiveDef& operator=(const ReceiveDef& from) { - CopyFrom(from); - return *this; - } - inline ReceiveDef& operator=(ReceiveDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ReceiveDef& default_instance() { - return *internal_default_instance(); - } - static inline const ReceiveDef* internal_default_instance() { - return reinterpret_cast( - &_ReceiveDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 79; - - friend void swap(ReceiveDef& a, ReceiveDef& b) { - a.Swap(&b); - } - inline void Swap(ReceiveDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ReceiveDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ReceiveDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ReceiveDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ReceiveDef& from) { - ReceiveDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ReceiveDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ReceiveDef"; - } - protected: - explicit ReceiveDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBodyFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Block body = 1; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const ::solidity::test::sol2protofuzzer::Block& body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_body(); - void set_allocated_body(::solidity::test::sol2protofuzzer::Block* body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_body(); - public: - void unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_body(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ReceiveDef) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Block* body_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class FallbackDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.FallbackDef) */ { - public: - inline FallbackDef() : FallbackDef(nullptr) {} - ~FallbackDef() override; - explicit PROTOBUF_CONSTEXPR FallbackDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - FallbackDef(const FallbackDef& from); - FallbackDef(FallbackDef&& from) noexcept - : FallbackDef() { - *this = ::std::move(from); - } - - inline FallbackDef& operator=(const FallbackDef& from) { - CopyFrom(from); - return *this; - } - inline FallbackDef& operator=(FallbackDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const FallbackDef& default_instance() { - return *internal_default_instance(); - } - static inline const FallbackDef* internal_default_instance() { - return reinterpret_cast( - &_FallbackDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 80; - - friend void swap(FallbackDef& a, FallbackDef& b) { - a.Swap(&b); - } - inline void Swap(FallbackDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FallbackDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - FallbackDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FallbackDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const FallbackDef& from) { - FallbackDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(FallbackDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.FallbackDef"; - } - protected: - explicit FallbackDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBodyFieldNumber = 1, - }; - // required .solidity.test.sol2protofuzzer.Block body = 1; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const ::solidity::test::sol2protofuzzer::Block& body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_body(); - void set_allocated_body(::solidity::test::sol2protofuzzer::Block* body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_body(); - public: - void unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_body(); - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.FallbackDef) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Block* body_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class FunctionDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.FunctionDef) */ { - public: - inline FunctionDef() : FunctionDef(nullptr) {} - ~FunctionDef() override; - explicit PROTOBUF_CONSTEXPR FunctionDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - FunctionDef(const FunctionDef& from); - FunctionDef(FunctionDef&& from) noexcept - : FunctionDef() { - *this = ::std::move(from); - } - - inline FunctionDef& operator=(const FunctionDef& from) { - CopyFrom(from); - return *this; - } - inline FunctionDef& operator=(FunctionDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const FunctionDef& default_instance() { - return *internal_default_instance(); - } - static inline const FunctionDef* internal_default_instance() { - return reinterpret_cast( - &_FunctionDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 81; - - friend void swap(FunctionDef& a, FunctionDef& b) { - a.Swap(&b); - } - inline void Swap(FunctionDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FunctionDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - FunctionDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FunctionDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const FunctionDef& from) { - FunctionDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(FunctionDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.FunctionDef"; - } - protected: - explicit FunctionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kParamTypesFieldNumber = 9, - kBodyFieldNumber = 6, - kNumParamsFieldNumber = 1, - kVisFieldNumber = 3, - kMutFieldNumber = 4, - kModifierIdFieldNumber = 7, - kShareNameWithPrevFieldNumber = 8, - kReturnsTwoFieldNumber = 10, - kNonVirtualFieldNumber = 11, - kOverrideBaseFieldNumber = 12, - kReturnsStructFieldNumber = 13, - }; - // repeated .solidity.test.sol2protofuzzer.ParamType param_types = 9; - int param_types_size() const; - private: - int _internal_param_types_size() const; - public: - void clear_param_types(); - private: - ::solidity::test::sol2protofuzzer::ParamType _internal_param_types(int index) const; - void _internal_add_param_types(::solidity::test::sol2protofuzzer::ParamType value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_param_types(); - public: - ::solidity::test::sol2protofuzzer::ParamType param_types(int index) const; - void set_param_types(int index, ::solidity::test::sol2protofuzzer::ParamType value); - void add_param_types(::solidity::test::sol2protofuzzer::ParamType value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField& param_types() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_param_types(); - - // required .solidity.test.sol2protofuzzer.Block body = 6; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const ::solidity::test::sol2protofuzzer::Block& body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_body(); - void set_allocated_body(::solidity::test::sol2protofuzzer::Block* body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_body(); - public: - void unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_body(); - - // required uint32 num_params = 1; - bool has_num_params() const; - private: - bool _internal_has_num_params() const; - public: - void clear_num_params(); - uint32_t num_params() const; - void set_num_params(uint32_t value); - private: - uint32_t _internal_num_params() const; - void _internal_set_num_params(uint32_t value); - public: - - // required .solidity.test.sol2protofuzzer.Visibility vis = 3; - bool has_vis() const; - private: - bool _internal_has_vis() const; - public: - void clear_vis(); - ::solidity::test::sol2protofuzzer::Visibility vis() const; - void set_vis(::solidity::test::sol2protofuzzer::Visibility value); - private: - ::solidity::test::sol2protofuzzer::Visibility _internal_vis() const; - void _internal_set_vis(::solidity::test::sol2protofuzzer::Visibility value); - public: - - // required .solidity.test.sol2protofuzzer.StateMutability mut = 4; - bool has_mut() const; - private: - bool _internal_has_mut() const; - public: - void clear_mut(); - ::solidity::test::sol2protofuzzer::StateMutability mut() const; - void set_mut(::solidity::test::sol2protofuzzer::StateMutability value); - private: - ::solidity::test::sol2protofuzzer::StateMutability _internal_mut() const; - void _internal_set_mut(::solidity::test::sol2protofuzzer::StateMutability value); - public: - - // optional uint32 modifier_id = 7; - bool has_modifier_id() const; - private: - bool _internal_has_modifier_id() const; - public: - void clear_modifier_id(); - uint32_t modifier_id() const; - void set_modifier_id(uint32_t value); - private: - uint32_t _internal_modifier_id() const; - void _internal_set_modifier_id(uint32_t value); - public: - - // optional bool share_name_with_prev = 8; - bool has_share_name_with_prev() const; - private: - bool _internal_has_share_name_with_prev() const; - public: - void clear_share_name_with_prev(); - bool share_name_with_prev() const; - void set_share_name_with_prev(bool value); - private: - bool _internal_share_name_with_prev() const; - void _internal_set_share_name_with_prev(bool value); - public: - - // optional bool returns_two = 10; - bool has_returns_two() const; - private: - bool _internal_has_returns_two() const; - public: - void clear_returns_two(); - bool returns_two() const; - void set_returns_two(bool value); - private: - bool _internal_returns_two() const; - void _internal_set_returns_two(bool value); - public: - - // optional bool non_virtual = 11; - bool has_non_virtual() const; - private: - bool _internal_has_non_virtual() const; - public: - void clear_non_virtual(); - bool non_virtual() const; - void set_non_virtual(bool value); - private: - bool _internal_non_virtual() const; - void _internal_set_non_virtual(bool value); - public: - - // optional bool override_base = 12; - bool has_override_base() const; - private: - bool _internal_has_override_base() const; - public: - void clear_override_base(); - bool override_base() const; - void set_override_base(bool value); - private: - bool _internal_override_base() const; - void _internal_set_override_base(bool value); - public: - - // optional bool returns_struct = 13; - bool has_returns_struct() const; - private: - bool _internal_has_returns_struct() const; - public: - void clear_returns_struct(); - bool returns_struct() const; - void set_returns_struct(bool value); - private: - bool _internal_returns_struct() const; - void _internal_set_returns_struct(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.FunctionDef) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField param_types_; - ::solidity::test::sol2protofuzzer::Block* body_; - uint32_t num_params_; - int vis_; - int mut_; - uint32_t modifier_id_; - bool share_name_with_prev_; - bool returns_two_; - bool non_virtual_; - bool override_base_; - bool returns_struct_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ConstructorDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ConstructorDef) */ { - public: - inline ConstructorDef() : ConstructorDef(nullptr) {} - ~ConstructorDef() override; - explicit PROTOBUF_CONSTEXPR ConstructorDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ConstructorDef(const ConstructorDef& from); - ConstructorDef(ConstructorDef&& from) noexcept - : ConstructorDef() { - *this = ::std::move(from); - } - - inline ConstructorDef& operator=(const ConstructorDef& from) { - CopyFrom(from); - return *this; - } - inline ConstructorDef& operator=(ConstructorDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ConstructorDef& default_instance() { - return *internal_default_instance(); - } - static inline const ConstructorDef* internal_default_instance() { - return reinterpret_cast( - &_ConstructorDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 82; - - friend void swap(ConstructorDef& a, ConstructorDef& b) { - a.Swap(&b); - } - inline void Swap(ConstructorDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ConstructorDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ConstructorDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ConstructorDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ConstructorDef& from) { - ConstructorDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ConstructorDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ConstructorDef"; - } - protected: - explicit ConstructorDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBodyFieldNumber = 1, - kPayableFieldNumber = 2, - kHasParamFieldNumber = 3, - }; - // required .solidity.test.sol2protofuzzer.Block body = 1; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const ::solidity::test::sol2protofuzzer::Block& body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_body(); - void set_allocated_body(::solidity::test::sol2protofuzzer::Block* body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_body(); - public: - void unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_body(); - - // required bool payable = 2; - bool has_payable() const; - private: - bool _internal_has_payable() const; - public: - void clear_payable(); - bool payable() const; - void set_payable(bool value); - private: - bool _internal_payable() const; - void _internal_set_payable(bool value); - public: - - // optional bool has_param = 3; - bool has_has_param() const; - private: - bool _internal_has_has_param() const; - public: - void clear_has_param(); - bool has_param() const; - void set_has_param(bool value); - private: - bool _internal_has_param() const; - void _internal_set_has_param(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ConstructorDef) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Block* body_; - bool payable_; - bool has_param_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class StateVarDecl final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.StateVarDecl) */ { - public: - inline StateVarDecl() : StateVarDecl(nullptr) {} - ~StateVarDecl() override; - explicit PROTOBUF_CONSTEXPR StateVarDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StateVarDecl(const StateVarDecl& from); - StateVarDecl(StateVarDecl&& from) noexcept - : StateVarDecl() { - *this = ::std::move(from); - } - - inline StateVarDecl& operator=(const StateVarDecl& from) { - CopyFrom(from); - return *this; - } - inline StateVarDecl& operator=(StateVarDecl&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StateVarDecl& default_instance() { - return *internal_default_instance(); - } - static inline const StateVarDecl* internal_default_instance() { - return reinterpret_cast( - &_StateVarDecl_default_instance_); - } - static constexpr int kIndexInFileMessages = - 83; - - friend void swap(StateVarDecl& a, StateVarDecl& b) { - a.Swap(&b); - } - inline void Swap(StateVarDecl* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StateVarDecl* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StateVarDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StateVarDecl& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StateVarDecl& from) { - StateVarDecl::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StateVarDecl* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.StateVarDecl"; - } - protected: - explicit StateVarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - kIsTransientFieldNumber = 5, - kIsConstantFieldNumber = 6, - kIsImmutableFieldNumber = 7, - }; - // required .solidity.test.sol2protofuzzer.TypeName type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - const ::solidity::test::sol2protofuzzer::TypeName& type() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::TypeName* release_type(); - ::solidity::test::sol2protofuzzer::TypeName* mutable_type(); - void set_allocated_type(::solidity::test::sol2protofuzzer::TypeName* type); - private: - const ::solidity::test::sol2protofuzzer::TypeName& _internal_type() const; - ::solidity::test::sol2protofuzzer::TypeName* _internal_mutable_type(); - public: - void unsafe_arena_set_allocated_type( - ::solidity::test::sol2protofuzzer::TypeName* type); - ::solidity::test::sol2protofuzzer::TypeName* unsafe_arena_release_type(); - - // optional bool is_transient = 5; - bool has_is_transient() const; - private: - bool _internal_has_is_transient() const; - public: - void clear_is_transient(); - bool is_transient() const; - void set_is_transient(bool value); - private: - bool _internal_is_transient() const; - void _internal_set_is_transient(bool value); - public: - - // optional bool is_constant = 6; - bool has_is_constant() const; - private: - bool _internal_has_is_constant() const; - public: - void clear_is_constant(); - bool is_constant() const; - void set_is_constant(bool value); - private: - bool _internal_is_constant() const; - void _internal_set_is_constant(bool value); - public: - - // optional bool is_immutable = 7; - bool has_is_immutable() const; - private: - bool _internal_has_is_immutable() const; - public: - void clear_is_immutable(); - bool is_immutable() const; - void set_is_immutable(bool value); - private: - bool _internal_is_immutable() const; - void _internal_set_is_immutable(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.StateVarDecl) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::TypeName* type_; - bool is_transient_; - bool is_constant_; - bool is_immutable_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class UsingForBinding final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.UsingForBinding) */ { - public: - inline UsingForBinding() : UsingForBinding(nullptr) {} - ~UsingForBinding() override; - explicit PROTOBUF_CONSTEXPR UsingForBinding(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - UsingForBinding(const UsingForBinding& from); - UsingForBinding(UsingForBinding&& from) noexcept - : UsingForBinding() { - *this = ::std::move(from); - } - - inline UsingForBinding& operator=(const UsingForBinding& from) { - CopyFrom(from); - return *this; - } - inline UsingForBinding& operator=(UsingForBinding&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const UsingForBinding& default_instance() { - return *internal_default_instance(); - } - static inline const UsingForBinding* internal_default_instance() { - return reinterpret_cast( - &_UsingForBinding_default_instance_); - } - static constexpr int kIndexInFileMessages = - 84; - - friend void swap(UsingForBinding& a, UsingForBinding& b) { - a.Swap(&b); - } - inline void Swap(UsingForBinding* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UsingForBinding* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UsingForBinding* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UsingForBinding& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const UsingForBinding& from) { - UsingForBinding::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(UsingForBinding* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.UsingForBinding"; - } - protected: - explicit UsingForBinding(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef UsingForBinding_OperatorKind OperatorKind; - static constexpr OperatorKind OP_NONE = - UsingForBinding_OperatorKind_OP_NONE; - static constexpr OperatorKind OP_ADD = - UsingForBinding_OperatorKind_OP_ADD; - static constexpr OperatorKind OP_SUB = - UsingForBinding_OperatorKind_OP_SUB; - static constexpr OperatorKind OP_MUL = - UsingForBinding_OperatorKind_OP_MUL; - static constexpr OperatorKind OP_DIV = - UsingForBinding_OperatorKind_OP_DIV; - static constexpr OperatorKind OP_MOD = - UsingForBinding_OperatorKind_OP_MOD; - static constexpr OperatorKind OP_EQ = - UsingForBinding_OperatorKind_OP_EQ; - static constexpr OperatorKind OP_NEQ = - UsingForBinding_OperatorKind_OP_NEQ; - static constexpr OperatorKind OP_LT = - UsingForBinding_OperatorKind_OP_LT; - static constexpr OperatorKind OP_GT = - UsingForBinding_OperatorKind_OP_GT; - static constexpr OperatorKind OP_LTE = - UsingForBinding_OperatorKind_OP_LTE; - static constexpr OperatorKind OP_GTE = - UsingForBinding_OperatorKind_OP_GTE; - static constexpr OperatorKind OP_BIT_AND = - UsingForBinding_OperatorKind_OP_BIT_AND; - static constexpr OperatorKind OP_BIT_OR = - UsingForBinding_OperatorKind_OP_BIT_OR; - static constexpr OperatorKind OP_BIT_XOR = - UsingForBinding_OperatorKind_OP_BIT_XOR; - static constexpr OperatorKind OP_BIT_NOT = - UsingForBinding_OperatorKind_OP_BIT_NOT; - static constexpr OperatorKind OP_UNARY_MINUS = - UsingForBinding_OperatorKind_OP_UNARY_MINUS; - static inline bool OperatorKind_IsValid(int value) { - return UsingForBinding_OperatorKind_IsValid(value); - } - static constexpr OperatorKind OperatorKind_MIN = - UsingForBinding_OperatorKind_OperatorKind_MIN; - static constexpr OperatorKind OperatorKind_MAX = - UsingForBinding_OperatorKind_OperatorKind_MAX; - static constexpr int OperatorKind_ARRAYSIZE = - UsingForBinding_OperatorKind_OperatorKind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - OperatorKind_descriptor() { - return UsingForBinding_OperatorKind_descriptor(); - } - template - static inline const std::string& OperatorKind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function OperatorKind_Name."); - return UsingForBinding_OperatorKind_Name(enum_t_value); - } - static inline bool OperatorKind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - OperatorKind* value) { - return UsingForBinding_OperatorKind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kFunctionIdxFieldNumber = 1, - kOperatorKindFieldNumber = 2, - }; - // required uint32 function_idx = 1; - bool has_function_idx() const; - private: - bool _internal_has_function_idx() const; - public: - void clear_function_idx(); - uint32_t function_idx() const; - void set_function_idx(uint32_t value); - private: - uint32_t _internal_function_idx() const; - void _internal_set_function_idx(uint32_t value); - public: - - // optional .solidity.test.sol2protofuzzer.UsingForBinding.OperatorKind operator_kind = 2; - bool has_operator_kind() const; - private: - bool _internal_has_operator_kind() const; - public: - void clear_operator_kind(); - ::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind operator_kind() const; - void set_operator_kind(::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind value); - private: - ::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind _internal_operator_kind() const; - void _internal_set_operator_kind(::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.UsingForBinding) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t function_idx_; - int operator_kind_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class UsingForDirective final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.UsingForDirective) */ { - public: - inline UsingForDirective() : UsingForDirective(nullptr) {} - ~UsingForDirective() override; - explicit PROTOBUF_CONSTEXPR UsingForDirective(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - UsingForDirective(const UsingForDirective& from); - UsingForDirective(UsingForDirective&& from) noexcept - : UsingForDirective() { - *this = ::std::move(from); - } - - inline UsingForDirective& operator=(const UsingForDirective& from) { - CopyFrom(from); - return *this; - } - inline UsingForDirective& operator=(UsingForDirective&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const UsingForDirective& default_instance() { - return *internal_default_instance(); - } - static inline const UsingForDirective* internal_default_instance() { - return reinterpret_cast( - &_UsingForDirective_default_instance_); - } - static constexpr int kIndexInFileMessages = - 85; - - friend void swap(UsingForDirective& a, UsingForDirective& b) { - a.Swap(&b); - } - inline void Swap(UsingForDirective* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UsingForDirective* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UsingForDirective* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UsingForDirective& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const UsingForDirective& from) { - UsingForDirective::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(UsingForDirective* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.UsingForDirective"; - } - protected: - explicit UsingForDirective(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBindingsFieldNumber = 2, - kTargetTypeIdxFieldNumber = 1, - kIsGlobalFieldNumber = 3, - kAllowInvalidExternalFieldNumber = 4, - kAllowSelfReferentialFieldNumber = 5, - }; - // repeated .solidity.test.sol2protofuzzer.UsingForBinding bindings = 2; - int bindings_size() const; - private: - int _internal_bindings_size() const; - public: - void clear_bindings(); - ::solidity::test::sol2protofuzzer::UsingForBinding* mutable_bindings(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForBinding >* - mutable_bindings(); - private: - const ::solidity::test::sol2protofuzzer::UsingForBinding& _internal_bindings(int index) const; - ::solidity::test::sol2protofuzzer::UsingForBinding* _internal_add_bindings(); - public: - const ::solidity::test::sol2protofuzzer::UsingForBinding& bindings(int index) const; - ::solidity::test::sol2protofuzzer::UsingForBinding* add_bindings(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForBinding >& - bindings() const; - - // required uint32 target_type_idx = 1; - bool has_target_type_idx() const; - private: - bool _internal_has_target_type_idx() const; - public: - void clear_target_type_idx(); - uint32_t target_type_idx() const; - void set_target_type_idx(uint32_t value); - private: - uint32_t _internal_target_type_idx() const; - void _internal_set_target_type_idx(uint32_t value); - public: - - // optional bool is_global = 3; - bool has_is_global() const; - private: - bool _internal_has_is_global() const; - public: - void clear_is_global(); - bool is_global() const; - void set_is_global(bool value); - private: - bool _internal_is_global() const; - void _internal_set_is_global(bool value); - public: - - // optional bool allow_invalid_external = 4; - bool has_allow_invalid_external() const; - private: - bool _internal_has_allow_invalid_external() const; - public: - void clear_allow_invalid_external(); - bool allow_invalid_external() const; - void set_allow_invalid_external(bool value); - private: - bool _internal_allow_invalid_external() const; - void _internal_set_allow_invalid_external(bool value); - public: - - // optional bool allow_self_referential = 5; - bool has_allow_self_referential() const; - private: - bool _internal_has_allow_self_referential() const; - public: - void clear_allow_self_referential(); - bool allow_self_referential() const; - void set_allow_self_referential(bool value); - private: - bool _internal_allow_self_referential() const; - void _internal_set_allow_self_referential(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.UsingForDirective) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForBinding > bindings_; - uint32_t target_type_idx_; - bool is_global_; - bool allow_invalid_external_; - bool allow_self_referential_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class ContractDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.ContractDef) */ { - public: - inline ContractDef() : ContractDef(nullptr) {} - ~ContractDef() override; - explicit PROTOBUF_CONSTEXPR ContractDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ContractDef(const ContractDef& from); - ContractDef(ContractDef&& from) noexcept - : ContractDef() { - *this = ::std::move(from); - } - - inline ContractDef& operator=(const ContractDef& from) { - CopyFrom(from); - return *this; - } - inline ContractDef& operator=(ContractDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ContractDef& default_instance() { - return *internal_default_instance(); - } - static inline const ContractDef* internal_default_instance() { - return reinterpret_cast( - &_ContractDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 86; - - friend void swap(ContractDef& a, ContractDef& b) { - a.Swap(&b); - } - inline void Swap(ContractDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ContractDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ContractDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ContractDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ContractDef& from) { - ContractDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ContractDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.ContractDef"; - } - protected: - explicit ContractDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef ContractDef_Kind Kind; - static constexpr Kind CONTRACT = - ContractDef_Kind_CONTRACT; - static constexpr Kind LIBRARY = - ContractDef_Kind_LIBRARY; - static inline bool Kind_IsValid(int value) { - return ContractDef_Kind_IsValid(value); - } - static constexpr Kind Kind_MIN = - ContractDef_Kind_Kind_MIN; - static constexpr Kind Kind_MAX = - ContractDef_Kind_Kind_MAX; - static constexpr int Kind_ARRAYSIZE = - ContractDef_Kind_Kind_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Kind_descriptor() { - return ContractDef_Kind_descriptor(); - } - template - static inline const std::string& Kind_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Kind_Name."); - return ContractDef_Kind_Name(enum_t_value); - } - static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Kind* value) { - return ContractDef_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kBasesFieldNumber = 2, - kStructsFieldNumber = 3, - kEnumsFieldNumber = 4, - kStateVarsFieldNumber = 5, - kFunctionsFieldNumber = 6, - kEventsFieldNumber = 7, - kErrorsFieldNumber = 8, - kModifiersFieldNumber = 10, - kUsingForFieldNumber = 13, - kConstructorFieldNumber = 9, - kReceiveFieldNumber = 11, - kFallbackFuncFieldNumber = 12, - kKindFieldNumber = 1, - }; - // repeated uint32 bases = 2; - int bases_size() const; - private: - int _internal_bases_size() const; - public: - void clear_bases(); - private: - uint32_t _internal_bases(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_bases() const; - void _internal_add_bases(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_bases(); - public: - uint32_t bases(int index) const; - void set_bases(int index, uint32_t value); - void add_bases(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - bases() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_bases(); - - // repeated .solidity.test.sol2protofuzzer.StructDef structs = 3; - int structs_size() const; - private: - int _internal_structs_size() const; - public: - void clear_structs(); - ::solidity::test::sol2protofuzzer::StructDef* mutable_structs(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StructDef >* - mutable_structs(); - private: - const ::solidity::test::sol2protofuzzer::StructDef& _internal_structs(int index) const; - ::solidity::test::sol2protofuzzer::StructDef* _internal_add_structs(); - public: - const ::solidity::test::sol2protofuzzer::StructDef& structs(int index) const; - ::solidity::test::sol2protofuzzer::StructDef* add_structs(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StructDef >& - structs() const; - - // repeated .solidity.test.sol2protofuzzer.EnumDef enums = 4; - int enums_size() const; - private: - int _internal_enums_size() const; - public: - void clear_enums(); - ::solidity::test::sol2protofuzzer::EnumDef* mutable_enums(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::EnumDef >* - mutable_enums(); - private: - const ::solidity::test::sol2protofuzzer::EnumDef& _internal_enums(int index) const; - ::solidity::test::sol2protofuzzer::EnumDef* _internal_add_enums(); - public: - const ::solidity::test::sol2protofuzzer::EnumDef& enums(int index) const; - ::solidity::test::sol2protofuzzer::EnumDef* add_enums(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::EnumDef >& - enums() const; - - // repeated .solidity.test.sol2protofuzzer.StateVarDecl state_vars = 5; - int state_vars_size() const; - private: - int _internal_state_vars_size() const; - public: - void clear_state_vars(); - ::solidity::test::sol2protofuzzer::StateVarDecl* mutable_state_vars(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StateVarDecl >* - mutable_state_vars(); - private: - const ::solidity::test::sol2protofuzzer::StateVarDecl& _internal_state_vars(int index) const; - ::solidity::test::sol2protofuzzer::StateVarDecl* _internal_add_state_vars(); - public: - const ::solidity::test::sol2protofuzzer::StateVarDecl& state_vars(int index) const; - ::solidity::test::sol2protofuzzer::StateVarDecl* add_state_vars(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StateVarDecl >& - state_vars() const; - - // repeated .solidity.test.sol2protofuzzer.FunctionDef functions = 6; - int functions_size() const; - private: - int _internal_functions_size() const; - public: - void clear_functions(); - ::solidity::test::sol2protofuzzer::FunctionDef* mutable_functions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::FunctionDef >* - mutable_functions(); - private: - const ::solidity::test::sol2protofuzzer::FunctionDef& _internal_functions(int index) const; - ::solidity::test::sol2protofuzzer::FunctionDef* _internal_add_functions(); - public: - const ::solidity::test::sol2protofuzzer::FunctionDef& functions(int index) const; - ::solidity::test::sol2protofuzzer::FunctionDef* add_functions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::FunctionDef >& - functions() const; - - // repeated .solidity.test.sol2protofuzzer.EventDef events = 7; - int events_size() const; - private: - int _internal_events_size() const; - public: - void clear_events(); - ::solidity::test::sol2protofuzzer::EventDef* mutable_events(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::EventDef >* - mutable_events(); - private: - const ::solidity::test::sol2protofuzzer::EventDef& _internal_events(int index) const; - ::solidity::test::sol2protofuzzer::EventDef* _internal_add_events(); - public: - const ::solidity::test::sol2protofuzzer::EventDef& events(int index) const; - ::solidity::test::sol2protofuzzer::EventDef* add_events(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::EventDef >& - events() const; - - // repeated .solidity.test.sol2protofuzzer.ErrorDef errors = 8; - int errors_size() const; - private: - int _internal_errors_size() const; - public: - void clear_errors(); - ::solidity::test::sol2protofuzzer::ErrorDef* mutable_errors(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ErrorDef >* - mutable_errors(); - private: - const ::solidity::test::sol2protofuzzer::ErrorDef& _internal_errors(int index) const; - ::solidity::test::sol2protofuzzer::ErrorDef* _internal_add_errors(); - public: - const ::solidity::test::sol2protofuzzer::ErrorDef& errors(int index) const; - ::solidity::test::sol2protofuzzer::ErrorDef* add_errors(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ErrorDef >& - errors() const; - - // repeated .solidity.test.sol2protofuzzer.ModifierDef modifiers = 10; - int modifiers_size() const; - private: - int _internal_modifiers_size() const; - public: - void clear_modifiers(); - ::solidity::test::sol2protofuzzer::ModifierDef* mutable_modifiers(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ModifierDef >* - mutable_modifiers(); - private: - const ::solidity::test::sol2protofuzzer::ModifierDef& _internal_modifiers(int index) const; - ::solidity::test::sol2protofuzzer::ModifierDef* _internal_add_modifiers(); - public: - const ::solidity::test::sol2protofuzzer::ModifierDef& modifiers(int index) const; - ::solidity::test::sol2protofuzzer::ModifierDef* add_modifiers(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ModifierDef >& - modifiers() const; - - // repeated .solidity.test.sol2protofuzzer.UsingForDirective using_for = 13; - int using_for_size() const; - private: - int _internal_using_for_size() const; - public: - void clear_using_for(); - ::solidity::test::sol2protofuzzer::UsingForDirective* mutable_using_for(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForDirective >* - mutable_using_for(); - private: - const ::solidity::test::sol2protofuzzer::UsingForDirective& _internal_using_for(int index) const; - ::solidity::test::sol2protofuzzer::UsingForDirective* _internal_add_using_for(); - public: - const ::solidity::test::sol2protofuzzer::UsingForDirective& using_for(int index) const; - ::solidity::test::sol2protofuzzer::UsingForDirective* add_using_for(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForDirective >& - using_for() const; - - // optional .solidity.test.sol2protofuzzer.ConstructorDef constructor = 9; - bool has_constructor() const; - private: - bool _internal_has_constructor() const; - public: - void clear_constructor(); - const ::solidity::test::sol2protofuzzer::ConstructorDef& constructor() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ConstructorDef* release_constructor(); - ::solidity::test::sol2protofuzzer::ConstructorDef* mutable_constructor(); - void set_allocated_constructor(::solidity::test::sol2protofuzzer::ConstructorDef* constructor); - private: - const ::solidity::test::sol2protofuzzer::ConstructorDef& _internal_constructor() const; - ::solidity::test::sol2protofuzzer::ConstructorDef* _internal_mutable_constructor(); - public: - void unsafe_arena_set_allocated_constructor( - ::solidity::test::sol2protofuzzer::ConstructorDef* constructor); - ::solidity::test::sol2protofuzzer::ConstructorDef* unsafe_arena_release_constructor(); - - // optional .solidity.test.sol2protofuzzer.ReceiveDef receive = 11; - bool has_receive() const; - private: - bool _internal_has_receive() const; - public: - void clear_receive(); - const ::solidity::test::sol2protofuzzer::ReceiveDef& receive() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::ReceiveDef* release_receive(); - ::solidity::test::sol2protofuzzer::ReceiveDef* mutable_receive(); - void set_allocated_receive(::solidity::test::sol2protofuzzer::ReceiveDef* receive); - private: - const ::solidity::test::sol2protofuzzer::ReceiveDef& _internal_receive() const; - ::solidity::test::sol2protofuzzer::ReceiveDef* _internal_mutable_receive(); - public: - void unsafe_arena_set_allocated_receive( - ::solidity::test::sol2protofuzzer::ReceiveDef* receive); - ::solidity::test::sol2protofuzzer::ReceiveDef* unsafe_arena_release_receive(); - - // optional .solidity.test.sol2protofuzzer.FallbackDef fallback_func = 12; - bool has_fallback_func() const; - private: - bool _internal_has_fallback_func() const; - public: - void clear_fallback_func(); - const ::solidity::test::sol2protofuzzer::FallbackDef& fallback_func() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::FallbackDef* release_fallback_func(); - ::solidity::test::sol2protofuzzer::FallbackDef* mutable_fallback_func(); - void set_allocated_fallback_func(::solidity::test::sol2protofuzzer::FallbackDef* fallback_func); - private: - const ::solidity::test::sol2protofuzzer::FallbackDef& _internal_fallback_func() const; - ::solidity::test::sol2protofuzzer::FallbackDef* _internal_mutable_fallback_func(); - public: - void unsafe_arena_set_allocated_fallback_func( - ::solidity::test::sol2protofuzzer::FallbackDef* fallback_func); - ::solidity::test::sol2protofuzzer::FallbackDef* unsafe_arena_release_fallback_func(); - - // required .solidity.test.sol2protofuzzer.ContractDef.Kind kind = 1; - bool has_kind() const; - private: - bool _internal_has_kind() const; - public: - void clear_kind(); - ::solidity::test::sol2protofuzzer::ContractDef_Kind kind() const; - void set_kind(::solidity::test::sol2protofuzzer::ContractDef_Kind value); - private: - ::solidity::test::sol2protofuzzer::ContractDef_Kind _internal_kind() const; - void _internal_set_kind(::solidity::test::sol2protofuzzer::ContractDef_Kind value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.ContractDef) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > bases_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StructDef > structs_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::EnumDef > enums_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StateVarDecl > state_vars_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::FunctionDef > functions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::EventDef > events_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ErrorDef > errors_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ModifierDef > modifiers_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForDirective > using_for_; - ::solidity::test::sol2protofuzzer::ConstructorDef* constructor_; - ::solidity::test::sol2protofuzzer::ReceiveDef* receive_; - ::solidity::test::sol2protofuzzer::FallbackDef* fallback_func_; - int kind_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class FreeFunctionDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.FreeFunctionDef) */ { - public: - inline FreeFunctionDef() : FreeFunctionDef(nullptr) {} - ~FreeFunctionDef() override; - explicit PROTOBUF_CONSTEXPR FreeFunctionDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - FreeFunctionDef(const FreeFunctionDef& from); - FreeFunctionDef(FreeFunctionDef&& from) noexcept - : FreeFunctionDef() { - *this = ::std::move(from); - } - - inline FreeFunctionDef& operator=(const FreeFunctionDef& from) { - CopyFrom(from); - return *this; - } - inline FreeFunctionDef& operator=(FreeFunctionDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const FreeFunctionDef& default_instance() { - return *internal_default_instance(); - } - static inline const FreeFunctionDef* internal_default_instance() { - return reinterpret_cast( - &_FreeFunctionDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 87; - - friend void swap(FreeFunctionDef& a, FreeFunctionDef& b) { - a.Swap(&b); - } - inline void Swap(FreeFunctionDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FreeFunctionDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - FreeFunctionDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FreeFunctionDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const FreeFunctionDef& from) { - FreeFunctionDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(FreeFunctionDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.FreeFunctionDef"; - } - protected: - explicit FreeFunctionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBodyFieldNumber = 2, - kNumParamsFieldNumber = 1, - kEmitExternalFieldNumber = 3, - kUseUdvtSigFieldNumber = 4, - }; - // required .solidity.test.sol2protofuzzer.Block body = 2; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const ::solidity::test::sol2protofuzzer::Block& body() const; - PROTOBUF_NODISCARD ::solidity::test::sol2protofuzzer::Block* release_body(); - ::solidity::test::sol2protofuzzer::Block* mutable_body(); - void set_allocated_body(::solidity::test::sol2protofuzzer::Block* body); - private: - const ::solidity::test::sol2protofuzzer::Block& _internal_body() const; - ::solidity::test::sol2protofuzzer::Block* _internal_mutable_body(); - public: - void unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body); - ::solidity::test::sol2protofuzzer::Block* unsafe_arena_release_body(); - - // required uint32 num_params = 1; - bool has_num_params() const; - private: - bool _internal_has_num_params() const; - public: - void clear_num_params(); - uint32_t num_params() const; - void set_num_params(uint32_t value); - private: - uint32_t _internal_num_params() const; - void _internal_set_num_params(uint32_t value); - public: - - // optional bool emit_external = 3; - bool has_emit_external() const; - private: - bool _internal_has_emit_external() const; - public: - void clear_emit_external(); - bool emit_external() const; - void set_emit_external(bool value); - private: - bool _internal_emit_external() const; - void _internal_set_emit_external(bool value); - public: - - // optional bool use_udvt_sig = 4; - bool has_use_udvt_sig() const; - private: - bool _internal_has_use_udvt_sig() const; - public: - void clear_use_udvt_sig(); - bool use_udvt_sig() const; - void set_use_udvt_sig(bool value); - private: - bool _internal_use_udvt_sig() const; - void _internal_set_use_udvt_sig(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.FreeFunctionDef) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::sol2protofuzzer::Block* body_; - uint32_t num_params_; - bool emit_external_; - bool use_udvt_sig_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// ------------------------------------------------------------------- - -class Program final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.sol2protofuzzer.Program) */ { - public: - inline Program() : Program(nullptr) {} - ~Program() override; - explicit PROTOBUF_CONSTEXPR Program(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Program(const Program& from); - Program(Program&& from) noexcept - : Program() { - *this = ::std::move(from); - } - - inline Program& operator=(const Program& from) { - CopyFrom(from); - return *this; - } - inline Program& operator=(Program&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Program& default_instance() { - return *internal_default_instance(); - } - static inline const Program* internal_default_instance() { - return reinterpret_cast( - &_Program_default_instance_); - } - static constexpr int kIndexInFileMessages = - 88; - - friend void swap(Program& a, Program& b) { - a.Swap(&b); - } - inline void Swap(Program* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Program* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Program* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Program& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Program& from) { - Program::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Program* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.sol2protofuzzer.Program"; - } - protected: - explicit Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kContractsFieldNumber = 1, - kFreeFunctionsFieldNumber = 7, - kOptimiserSeqFieldNumber = 8, - kOptimiserCleanupSeqFieldNumber = 9, - kFileUsingForFieldNumber = 11, - kCalldataDataFieldNumber = 5, - kCreate2SaltFieldNumber = 6, - kSeedFieldNumber = 2, - kViaIrFieldNumber = 3, - kOptimizeFieldNumber = 4, - kGenUdvtFieldNumber = 10, - }; - // repeated .solidity.test.sol2protofuzzer.ContractDef contracts = 1; - int contracts_size() const; - private: - int _internal_contracts_size() const; - public: - void clear_contracts(); - ::solidity::test::sol2protofuzzer::ContractDef* mutable_contracts(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ContractDef >* - mutable_contracts(); - private: - const ::solidity::test::sol2protofuzzer::ContractDef& _internal_contracts(int index) const; - ::solidity::test::sol2protofuzzer::ContractDef* _internal_add_contracts(); - public: - const ::solidity::test::sol2protofuzzer::ContractDef& contracts(int index) const; - ::solidity::test::sol2protofuzzer::ContractDef* add_contracts(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ContractDef >& - contracts() const; - - // repeated .solidity.test.sol2protofuzzer.FreeFunctionDef free_functions = 7; - int free_functions_size() const; - private: - int _internal_free_functions_size() const; - public: - void clear_free_functions(); - ::solidity::test::sol2protofuzzer::FreeFunctionDef* mutable_free_functions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::FreeFunctionDef >* - mutable_free_functions(); - private: - const ::solidity::test::sol2protofuzzer::FreeFunctionDef& _internal_free_functions(int index) const; - ::solidity::test::sol2protofuzzer::FreeFunctionDef* _internal_add_free_functions(); - public: - const ::solidity::test::sol2protofuzzer::FreeFunctionDef& free_functions(int index) const; - ::solidity::test::sol2protofuzzer::FreeFunctionDef* add_free_functions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::FreeFunctionDef >& - free_functions() const; - - // repeated uint32 optimiser_seq = 8; - int optimiser_seq_size() const; - private: - int _internal_optimiser_seq_size() const; - public: - void clear_optimiser_seq(); - private: - uint32_t _internal_optimiser_seq(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_optimiser_seq() const; - void _internal_add_optimiser_seq(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_optimiser_seq(); - public: - uint32_t optimiser_seq(int index) const; - void set_optimiser_seq(int index, uint32_t value); - void add_optimiser_seq(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - optimiser_seq() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_optimiser_seq(); - - // repeated uint32 optimiser_cleanup_seq = 9; - int optimiser_cleanup_seq_size() const; - private: - int _internal_optimiser_cleanup_seq_size() const; - public: - void clear_optimiser_cleanup_seq(); - private: - uint32_t _internal_optimiser_cleanup_seq(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_optimiser_cleanup_seq() const; - void _internal_add_optimiser_cleanup_seq(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_optimiser_cleanup_seq(); - public: - uint32_t optimiser_cleanup_seq(int index) const; - void set_optimiser_cleanup_seq(int index, uint32_t value); - void add_optimiser_cleanup_seq(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - optimiser_cleanup_seq() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_optimiser_cleanup_seq(); - - // repeated .solidity.test.sol2protofuzzer.UsingForDirective file_using_for = 11; - int file_using_for_size() const; - private: - int _internal_file_using_for_size() const; - public: - void clear_file_using_for(); - ::solidity::test::sol2protofuzzer::UsingForDirective* mutable_file_using_for(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForDirective >* - mutable_file_using_for(); - private: - const ::solidity::test::sol2protofuzzer::UsingForDirective& _internal_file_using_for(int index) const; - ::solidity::test::sol2protofuzzer::UsingForDirective* _internal_add_file_using_for(); - public: - const ::solidity::test::sol2protofuzzer::UsingForDirective& file_using_for(int index) const; - ::solidity::test::sol2protofuzzer::UsingForDirective* add_file_using_for(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForDirective >& - file_using_for() const; - - // optional bytes calldata_data = 5; - bool has_calldata_data() const; - private: - bool _internal_has_calldata_data() const; - public: - void clear_calldata_data(); - const std::string& calldata_data() const; - template - void set_calldata_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_calldata_data(); - PROTOBUF_NODISCARD std::string* release_calldata_data(); - void set_allocated_calldata_data(std::string* calldata_data); - private: - const std::string& _internal_calldata_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_calldata_data(const std::string& value); - std::string* _internal_mutable_calldata_data(); - public: - - // optional bytes create2_salt = 6; - bool has_create2_salt() const; - private: - bool _internal_has_create2_salt() const; - public: - void clear_create2_salt(); - const std::string& create2_salt() const; - template - void set_create2_salt(ArgT0&& arg0, ArgT... args); - std::string* mutable_create2_salt(); - PROTOBUF_NODISCARD std::string* release_create2_salt(); - void set_allocated_create2_salt(std::string* create2_salt); - private: - const std::string& _internal_create2_salt() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_create2_salt(const std::string& value); - std::string* _internal_mutable_create2_salt(); - public: - - // required uint64 seed = 2; - bool has_seed() const; - private: - bool _internal_has_seed() const; - public: - void clear_seed(); - uint64_t seed() const; - void set_seed(uint64_t value); - private: - uint64_t _internal_seed() const; - void _internal_set_seed(uint64_t value); - public: - - // required bool via_ir = 3; - bool has_via_ir() const; - private: - bool _internal_has_via_ir() const; - public: - void clear_via_ir(); - bool via_ir() const; - void set_via_ir(bool value); - private: - bool _internal_via_ir() const; - void _internal_set_via_ir(bool value); - public: - - // required bool optimize = 4; - bool has_optimize() const; - private: - bool _internal_has_optimize() const; - public: - void clear_optimize(); - bool optimize() const; - void set_optimize(bool value); - private: - bool _internal_optimize() const; - void _internal_set_optimize(bool value); - public: - - // optional bool gen_udvt = 10; - bool has_gen_udvt() const; - private: - bool _internal_has_gen_udvt() const; - public: - void clear_gen_udvt(); - bool gen_udvt() const; - void set_gen_udvt(bool value); - private: - bool _internal_gen_udvt() const; - void _internal_set_gen_udvt(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.sol2protofuzzer.Program) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ContractDef > contracts_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::FreeFunctionDef > free_functions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > optimiser_seq_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > optimiser_cleanup_seq_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForDirective > file_using_for_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr calldata_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr create2_salt_; - uint64_t seed_; - bool via_ir_; - bool optimize_; - bool gen_udvt_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_sol2Proto_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// IntegerType - -// required .solidity.test.sol2protofuzzer.IntegerType.Width width = 1; -inline bool IntegerType::_internal_has_width() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool IntegerType::has_width() const { - return _internal_has_width(); -} -inline void IntegerType::clear_width() { - _impl_.width_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::IntegerType_Width IntegerType::_internal_width() const { - return static_cast< ::solidity::test::sol2protofuzzer::IntegerType_Width >(_impl_.width_); -} -inline ::solidity::test::sol2protofuzzer::IntegerType_Width IntegerType::width() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IntegerType.width) - return _internal_width(); -} -inline void IntegerType::_internal_set_width(::solidity::test::sol2protofuzzer::IntegerType_Width value) { - assert(::solidity::test::sol2protofuzzer::IntegerType_Width_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.width_ = value; -} -inline void IntegerType::set_width(::solidity::test::sol2protofuzzer::IntegerType_Width value) { - _internal_set_width(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.IntegerType.width) -} - -// required bool is_signed = 2; -inline bool IntegerType::_internal_has_is_signed() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool IntegerType::has_is_signed() const { - return _internal_has_is_signed(); -} -inline void IntegerType::clear_is_signed() { - _impl_.is_signed_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool IntegerType::_internal_is_signed() const { - return _impl_.is_signed_; -} -inline bool IntegerType::is_signed() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IntegerType.is_signed) - return _internal_is_signed(); -} -inline void IntegerType::_internal_set_is_signed(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.is_signed_ = value; -} -inline void IntegerType::set_is_signed(bool value) { - _internal_set_is_signed(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.IntegerType.is_signed) -} - -// ------------------------------------------------------------------- - -// FixedBytesType - -// required .solidity.test.sol2protofuzzer.FixedBytesType.Width width = 1; -inline bool FixedBytesType::_internal_has_width() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool FixedBytesType::has_width() const { - return _internal_has_width(); -} -inline void FixedBytesType::clear_width() { - _impl_.width_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::FixedBytesType_Width FixedBytesType::_internal_width() const { - return static_cast< ::solidity::test::sol2protofuzzer::FixedBytesType_Width >(_impl_.width_); -} -inline ::solidity::test::sol2protofuzzer::FixedBytesType_Width FixedBytesType::width() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FixedBytesType.width) - return _internal_width(); -} -inline void FixedBytesType::_internal_set_width(::solidity::test::sol2protofuzzer::FixedBytesType_Width value) { - assert(::solidity::test::sol2protofuzzer::FixedBytesType_Width_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.width_ = value; -} -inline void FixedBytesType::set_width(::solidity::test::sol2protofuzzer::FixedBytesType_Width value) { - _internal_set_width(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FixedBytesType.width) -} - -// ------------------------------------------------------------------- - -// BoolType - -// ------------------------------------------------------------------- - -// ElementaryType - -// .solidity.test.sol2protofuzzer.BoolType bool_type = 1; -inline bool ElementaryType::_internal_has_bool_type() const { - return type_oneof_case() == kBoolType; -} -inline bool ElementaryType::has_bool_type() const { - return _internal_has_bool_type(); -} -inline void ElementaryType::set_has_bool_type() { - _impl_._oneof_case_[0] = kBoolType; -} -inline void ElementaryType::clear_bool_type() { - if (_internal_has_bool_type()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.bool_type_; - } - clear_has_type_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::BoolType* ElementaryType::release_bool_type() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ElementaryType.bool_type) - if (_internal_has_bool_type()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::BoolType* temp = _impl_.type_oneof_.bool_type_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.type_oneof_.bool_type_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::BoolType& ElementaryType::_internal_bool_type() const { - return _internal_has_bool_type() - ? *_impl_.type_oneof_.bool_type_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::BoolType&>(::solidity::test::sol2protofuzzer::_BoolType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::BoolType& ElementaryType::bool_type() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ElementaryType.bool_type) - return _internal_bool_type(); -} -inline ::solidity::test::sol2protofuzzer::BoolType* ElementaryType::unsafe_arena_release_bool_type() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.ElementaryType.bool_type) - if (_internal_has_bool_type()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::BoolType* temp = _impl_.type_oneof_.bool_type_; - _impl_.type_oneof_.bool_type_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ElementaryType::unsafe_arena_set_allocated_bool_type(::solidity::test::sol2protofuzzer::BoolType* bool_type) { - clear_type_oneof(); - if (bool_type) { - set_has_bool_type(); - _impl_.type_oneof_.bool_type_ = bool_type; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ElementaryType.bool_type) -} -inline ::solidity::test::sol2protofuzzer::BoolType* ElementaryType::_internal_mutable_bool_type() { - if (!_internal_has_bool_type()) { - clear_type_oneof(); - set_has_bool_type(); - _impl_.type_oneof_.bool_type_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BoolType >(GetArenaForAllocation()); - } - return _impl_.type_oneof_.bool_type_; -} -inline ::solidity::test::sol2protofuzzer::BoolType* ElementaryType::mutable_bool_type() { - ::solidity::test::sol2protofuzzer::BoolType* _msg = _internal_mutable_bool_type(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ElementaryType.bool_type) - return _msg; -} - -// .solidity.test.sol2protofuzzer.IntegerType int_type = 2; -inline bool ElementaryType::_internal_has_int_type() const { - return type_oneof_case() == kIntType; -} -inline bool ElementaryType::has_int_type() const { - return _internal_has_int_type(); -} -inline void ElementaryType::set_has_int_type() { - _impl_._oneof_case_[0] = kIntType; -} -inline void ElementaryType::clear_int_type() { - if (_internal_has_int_type()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.int_type_; - } - clear_has_type_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::IntegerType* ElementaryType::release_int_type() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ElementaryType.int_type) - if (_internal_has_int_type()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::IntegerType* temp = _impl_.type_oneof_.int_type_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.type_oneof_.int_type_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::IntegerType& ElementaryType::_internal_int_type() const { - return _internal_has_int_type() - ? *_impl_.type_oneof_.int_type_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::IntegerType&>(::solidity::test::sol2protofuzzer::_IntegerType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::IntegerType& ElementaryType::int_type() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ElementaryType.int_type) - return _internal_int_type(); -} -inline ::solidity::test::sol2protofuzzer::IntegerType* ElementaryType::unsafe_arena_release_int_type() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.ElementaryType.int_type) - if (_internal_has_int_type()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::IntegerType* temp = _impl_.type_oneof_.int_type_; - _impl_.type_oneof_.int_type_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ElementaryType::unsafe_arena_set_allocated_int_type(::solidity::test::sol2protofuzzer::IntegerType* int_type) { - clear_type_oneof(); - if (int_type) { - set_has_int_type(); - _impl_.type_oneof_.int_type_ = int_type; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ElementaryType.int_type) -} -inline ::solidity::test::sol2protofuzzer::IntegerType* ElementaryType::_internal_mutable_int_type() { - if (!_internal_has_int_type()) { - clear_type_oneof(); - set_has_int_type(); - _impl_.type_oneof_.int_type_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::IntegerType >(GetArenaForAllocation()); - } - return _impl_.type_oneof_.int_type_; -} -inline ::solidity::test::sol2protofuzzer::IntegerType* ElementaryType::mutable_int_type() { - ::solidity::test::sol2protofuzzer::IntegerType* _msg = _internal_mutable_int_type(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ElementaryType.int_type) - return _msg; -} - -// bool address_payable = 3; -inline bool ElementaryType::_internal_has_address_payable() const { - return type_oneof_case() == kAddressPayable; -} -inline bool ElementaryType::has_address_payable() const { - return _internal_has_address_payable(); -} -inline void ElementaryType::set_has_address_payable() { - _impl_._oneof_case_[0] = kAddressPayable; -} -inline void ElementaryType::clear_address_payable() { - if (_internal_has_address_payable()) { - _impl_.type_oneof_.address_payable_ = false; - clear_has_type_oneof(); - } -} -inline bool ElementaryType::_internal_address_payable() const { - if (_internal_has_address_payable()) { - return _impl_.type_oneof_.address_payable_; - } - return false; -} -inline void ElementaryType::_internal_set_address_payable(bool value) { - if (!_internal_has_address_payable()) { - clear_type_oneof(); - set_has_address_payable(); - } - _impl_.type_oneof_.address_payable_ = value; -} -inline bool ElementaryType::address_payable() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ElementaryType.address_payable) - return _internal_address_payable(); -} -inline void ElementaryType::set_address_payable(bool value) { - _internal_set_address_payable(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ElementaryType.address_payable) -} - -// .solidity.test.sol2protofuzzer.FixedBytesType fixed_bytes = 4; -inline bool ElementaryType::_internal_has_fixed_bytes() const { - return type_oneof_case() == kFixedBytes; -} -inline bool ElementaryType::has_fixed_bytes() const { - return _internal_has_fixed_bytes(); -} -inline void ElementaryType::set_has_fixed_bytes() { - _impl_._oneof_case_[0] = kFixedBytes; -} -inline void ElementaryType::clear_fixed_bytes() { - if (_internal_has_fixed_bytes()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.fixed_bytes_; - } - clear_has_type_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::FixedBytesType* ElementaryType::release_fixed_bytes() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ElementaryType.fixed_bytes) - if (_internal_has_fixed_bytes()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::FixedBytesType* temp = _impl_.type_oneof_.fixed_bytes_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.type_oneof_.fixed_bytes_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::FixedBytesType& ElementaryType::_internal_fixed_bytes() const { - return _internal_has_fixed_bytes() - ? *_impl_.type_oneof_.fixed_bytes_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::FixedBytesType&>(::solidity::test::sol2protofuzzer::_FixedBytesType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::FixedBytesType& ElementaryType::fixed_bytes() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ElementaryType.fixed_bytes) - return _internal_fixed_bytes(); -} -inline ::solidity::test::sol2protofuzzer::FixedBytesType* ElementaryType::unsafe_arena_release_fixed_bytes() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.ElementaryType.fixed_bytes) - if (_internal_has_fixed_bytes()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::FixedBytesType* temp = _impl_.type_oneof_.fixed_bytes_; - _impl_.type_oneof_.fixed_bytes_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ElementaryType::unsafe_arena_set_allocated_fixed_bytes(::solidity::test::sol2protofuzzer::FixedBytesType* fixed_bytes) { - clear_type_oneof(); - if (fixed_bytes) { - set_has_fixed_bytes(); - _impl_.type_oneof_.fixed_bytes_ = fixed_bytes; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ElementaryType.fixed_bytes) -} -inline ::solidity::test::sol2protofuzzer::FixedBytesType* ElementaryType::_internal_mutable_fixed_bytes() { - if (!_internal_has_fixed_bytes()) { - clear_type_oneof(); - set_has_fixed_bytes(); - _impl_.type_oneof_.fixed_bytes_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FixedBytesType >(GetArenaForAllocation()); - } - return _impl_.type_oneof_.fixed_bytes_; -} -inline ::solidity::test::sol2protofuzzer::FixedBytesType* ElementaryType::mutable_fixed_bytes() { - ::solidity::test::sol2protofuzzer::FixedBytesType* _msg = _internal_mutable_fixed_bytes(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ElementaryType.fixed_bytes) - return _msg; -} - -// bool is_string = 5; -inline bool ElementaryType::_internal_has_is_string() const { - return type_oneof_case() == kIsString; -} -inline bool ElementaryType::has_is_string() const { - return _internal_has_is_string(); -} -inline void ElementaryType::set_has_is_string() { - _impl_._oneof_case_[0] = kIsString; -} -inline void ElementaryType::clear_is_string() { - if (_internal_has_is_string()) { - _impl_.type_oneof_.is_string_ = false; - clear_has_type_oneof(); - } -} -inline bool ElementaryType::_internal_is_string() const { - if (_internal_has_is_string()) { - return _impl_.type_oneof_.is_string_; - } - return false; -} -inline void ElementaryType::_internal_set_is_string(bool value) { - if (!_internal_has_is_string()) { - clear_type_oneof(); - set_has_is_string(); - } - _impl_.type_oneof_.is_string_ = value; -} -inline bool ElementaryType::is_string() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ElementaryType.is_string) - return _internal_is_string(); -} -inline void ElementaryType::set_is_string(bool value) { - _internal_set_is_string(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ElementaryType.is_string) -} - -inline bool ElementaryType::has_type_oneof() const { - return type_oneof_case() != TYPE_ONEOF_NOT_SET; -} -inline void ElementaryType::clear_has_type_oneof() { - _impl_._oneof_case_[0] = TYPE_ONEOF_NOT_SET; -} -inline ElementaryType::TypeOneofCase ElementaryType::type_oneof_case() const { - return ElementaryType::TypeOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ArrayType - -// required .solidity.test.sol2protofuzzer.ElementaryType base = 1; -inline bool ArrayType::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); - return value; -} -inline bool ArrayType::has_base() const { - return _internal_has_base(); -} -inline void ArrayType::clear_base() { - if (_impl_.base_ != nullptr) _impl_.base_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& ArrayType::_internal_base() const { - const ::solidity::test::sol2protofuzzer::ElementaryType* p = _impl_.base_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_ElementaryType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& ArrayType::base() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArrayType.base) - return _internal_base(); -} -inline void ArrayType::unsafe_arena_set_allocated_base( - ::solidity::test::sol2protofuzzer::ElementaryType* base) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); - } - _impl_.base_ = base; - if (base) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ArrayType.base) -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* ArrayType::release_base() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.base_; - _impl_.base_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* ArrayType::unsafe_arena_release_base() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ArrayType.base) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.base_; - _impl_.base_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* ArrayType::_internal_mutable_base() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.base_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::ElementaryType>(GetArenaForAllocation()); - _impl_.base_ = p; - } - return _impl_.base_; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* ArrayType::mutable_base() { - ::solidity::test::sol2protofuzzer::ElementaryType* _msg = _internal_mutable_base(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ArrayType.base) - return _msg; -} -inline void ArrayType::set_allocated_base(::solidity::test::sol2protofuzzer::ElementaryType* base) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.base_; - } - if (base) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); - if (message_arena != submessage_arena) { - base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, base, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.base_ = base; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ArrayType.base) -} - -// optional uint32 length = 2; -inline bool ArrayType::_internal_has_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool ArrayType::has_length() const { - return _internal_has_length(); -} -inline void ArrayType::clear_length() { - _impl_.length_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t ArrayType::_internal_length() const { - return _impl_.length_; -} -inline uint32_t ArrayType::length() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArrayType.length) - return _internal_length(); -} -inline void ArrayType::_internal_set_length(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.length_ = value; -} -inline void ArrayType::set_length(uint32_t value) { - _internal_set_length(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ArrayType.length) -} - -// optional .solidity.test.sol2protofuzzer.ArraySizeExpr size_expr = 3; -inline bool ArrayType::_internal_has_size_expr() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.size_expr_ != nullptr); - return value; -} -inline bool ArrayType::has_size_expr() const { - return _internal_has_size_expr(); -} -inline void ArrayType::clear_size_expr() { - if (_impl_.size_expr_ != nullptr) _impl_.size_expr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::ArraySizeExpr& ArrayType::_internal_size_expr() const { - const ::solidity::test::sol2protofuzzer::ArraySizeExpr* p = _impl_.size_expr_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_ArraySizeExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ArraySizeExpr& ArrayType::size_expr() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArrayType.size_expr) - return _internal_size_expr(); -} -inline void ArrayType::unsafe_arena_set_allocated_size_expr( - ::solidity::test::sol2protofuzzer::ArraySizeExpr* size_expr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.size_expr_); - } - _impl_.size_expr_ = size_expr; - if (size_expr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ArrayType.size_expr) -} -inline ::solidity::test::sol2protofuzzer::ArraySizeExpr* ArrayType::release_size_expr() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::ArraySizeExpr* temp = _impl_.size_expr_; - _impl_.size_expr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::ArraySizeExpr* ArrayType::unsafe_arena_release_size_expr() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ArrayType.size_expr) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::ArraySizeExpr* temp = _impl_.size_expr_; - _impl_.size_expr_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::ArraySizeExpr* ArrayType::_internal_mutable_size_expr() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.size_expr_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::ArraySizeExpr>(GetArenaForAllocation()); - _impl_.size_expr_ = p; - } - return _impl_.size_expr_; -} -inline ::solidity::test::sol2protofuzzer::ArraySizeExpr* ArrayType::mutable_size_expr() { - ::solidity::test::sol2protofuzzer::ArraySizeExpr* _msg = _internal_mutable_size_expr(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ArrayType.size_expr) - return _msg; -} -inline void ArrayType::set_allocated_size_expr(::solidity::test::sol2protofuzzer::ArraySizeExpr* size_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.size_expr_; - } - if (size_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(size_expr); - if (message_arena != submessage_arena) { - size_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, size_expr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.size_expr_ = size_expr; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ArrayType.size_expr) -} - -// ------------------------------------------------------------------- - -// ArraySizeExpr - -// required .solidity.test.sol2protofuzzer.ArraySizeExpr.Kind kind = 1; -inline bool ArraySizeExpr::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ArraySizeExpr::has_kind() const { - return _internal_has_kind(); -} -inline void ArraySizeExpr::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind ArraySizeExpr::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind ArraySizeExpr::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArraySizeExpr.kind) - return _internal_kind(); -} -inline void ArraySizeExpr::_internal_set_kind(::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind value) { - assert(::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.kind_ = value; -} -inline void ArraySizeExpr::set_kind(::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ArraySizeExpr.kind) -} - -// ------------------------------------------------------------------- - -// MappingType - -// required .solidity.test.sol2protofuzzer.ElementaryType key = 1; -inline bool MappingType::_internal_has_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.key_ != nullptr); - return value; -} -inline bool MappingType::has_key() const { - return _internal_has_key(); -} -inline void MappingType::clear_key() { - if (_impl_.key_ != nullptr) _impl_.key_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& MappingType::_internal_key() const { - const ::solidity::test::sol2protofuzzer::ElementaryType* p = _impl_.key_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_ElementaryType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& MappingType::key() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.MappingType.key) - return _internal_key(); -} -inline void MappingType::unsafe_arena_set_allocated_key( - ::solidity::test::sol2protofuzzer::ElementaryType* key) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.key_); - } - _impl_.key_ = key; - if (key) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.MappingType.key) -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* MappingType::release_key() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.key_; - _impl_.key_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* MappingType::unsafe_arena_release_key() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.MappingType.key) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.key_; - _impl_.key_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* MappingType::_internal_mutable_key() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.key_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::ElementaryType>(GetArenaForAllocation()); - _impl_.key_ = p; - } - return _impl_.key_; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* MappingType::mutable_key() { - ::solidity::test::sol2protofuzzer::ElementaryType* _msg = _internal_mutable_key(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.MappingType.key) - return _msg; -} -inline void MappingType::set_allocated_key(::solidity::test::sol2protofuzzer::ElementaryType* key) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.key_; - } - if (key) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(key); - if (message_arena != submessage_arena) { - key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, key, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.key_ = key; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.MappingType.key) -} - -// required .solidity.test.sol2protofuzzer.ElementaryType value = 2; -inline bool MappingType::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); - return value; -} -inline bool MappingType::has_value() const { - return _internal_has_value(); -} -inline void MappingType::clear_value() { - if (_impl_.value_ != nullptr) _impl_.value_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& MappingType::_internal_value() const { - const ::solidity::test::sol2protofuzzer::ElementaryType* p = _impl_.value_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_ElementaryType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& MappingType::value() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.MappingType.value) - return _internal_value(); -} -inline void MappingType::unsafe_arena_set_allocated_value( - ::solidity::test::sol2protofuzzer::ElementaryType* value) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); - } - _impl_.value_ = value; - if (value) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.MappingType.value) -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* MappingType::release_value() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.value_; - _impl_.value_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* MappingType::unsafe_arena_release_value() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.MappingType.value) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.value_; - _impl_.value_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* MappingType::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.value_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::ElementaryType>(GetArenaForAllocation()); - _impl_.value_ = p; - } - return _impl_.value_; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* MappingType::mutable_value() { - ::solidity::test::sol2protofuzzer::ElementaryType* _msg = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.MappingType.value) - return _msg; -} -inline void MappingType::set_allocated_value(::solidity::test::sol2protofuzzer::ElementaryType* value) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.value_; - } - if (value) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(value); - if (message_arena != submessage_arena) { - value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.value_ = value; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.MappingType.value) -} - -// ------------------------------------------------------------------- - -// TypeName - -// .solidity.test.sol2protofuzzer.ElementaryType elementary = 1; -inline bool TypeName::_internal_has_elementary() const { - return type_oneof_case() == kElementary; -} -inline bool TypeName::has_elementary() const { - return _internal_has_elementary(); -} -inline void TypeName::set_has_elementary() { - _impl_._oneof_case_[0] = kElementary; -} -inline void TypeName::clear_elementary() { - if (_internal_has_elementary()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.elementary_; - } - clear_has_type_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* TypeName::release_elementary() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TypeName.elementary) - if (_internal_has_elementary()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.type_oneof_.elementary_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.type_oneof_.elementary_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& TypeName::_internal_elementary() const { - return _internal_has_elementary() - ? *_impl_.type_oneof_.elementary_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ElementaryType&>(::solidity::test::sol2protofuzzer::_ElementaryType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& TypeName::elementary() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TypeName.elementary) - return _internal_elementary(); -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* TypeName::unsafe_arena_release_elementary() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.TypeName.elementary) - if (_internal_has_elementary()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.type_oneof_.elementary_; - _impl_.type_oneof_.elementary_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void TypeName::unsafe_arena_set_allocated_elementary(::solidity::test::sol2protofuzzer::ElementaryType* elementary) { - clear_type_oneof(); - if (elementary) { - set_has_elementary(); - _impl_.type_oneof_.elementary_ = elementary; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TypeName.elementary) -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* TypeName::_internal_mutable_elementary() { - if (!_internal_has_elementary()) { - clear_type_oneof(); - set_has_elementary(); - _impl_.type_oneof_.elementary_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ElementaryType >(GetArenaForAllocation()); - } - return _impl_.type_oneof_.elementary_; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* TypeName::mutable_elementary() { - ::solidity::test::sol2protofuzzer::ElementaryType* _msg = _internal_mutable_elementary(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TypeName.elementary) - return _msg; -} - -// .solidity.test.sol2protofuzzer.ArrayType array = 2; -inline bool TypeName::_internal_has_array() const { - return type_oneof_case() == kArray; -} -inline bool TypeName::has_array() const { - return _internal_has_array(); -} -inline void TypeName::set_has_array() { - _impl_._oneof_case_[0] = kArray; -} -inline void TypeName::clear_array() { - if (_internal_has_array()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.array_; - } - clear_has_type_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ArrayType* TypeName::release_array() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TypeName.array) - if (_internal_has_array()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::ArrayType* temp = _impl_.type_oneof_.array_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.type_oneof_.array_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ArrayType& TypeName::_internal_array() const { - return _internal_has_array() - ? *_impl_.type_oneof_.array_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ArrayType&>(::solidity::test::sol2protofuzzer::_ArrayType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ArrayType& TypeName::array() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TypeName.array) - return _internal_array(); -} -inline ::solidity::test::sol2protofuzzer::ArrayType* TypeName::unsafe_arena_release_array() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.TypeName.array) - if (_internal_has_array()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::ArrayType* temp = _impl_.type_oneof_.array_; - _impl_.type_oneof_.array_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void TypeName::unsafe_arena_set_allocated_array(::solidity::test::sol2protofuzzer::ArrayType* array) { - clear_type_oneof(); - if (array) { - set_has_array(); - _impl_.type_oneof_.array_ = array; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TypeName.array) -} -inline ::solidity::test::sol2protofuzzer::ArrayType* TypeName::_internal_mutable_array() { - if (!_internal_has_array()) { - clear_type_oneof(); - set_has_array(); - _impl_.type_oneof_.array_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArrayType >(GetArenaForAllocation()); - } - return _impl_.type_oneof_.array_; -} -inline ::solidity::test::sol2protofuzzer::ArrayType* TypeName::mutable_array() { - ::solidity::test::sol2protofuzzer::ArrayType* _msg = _internal_mutable_array(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TypeName.array) - return _msg; -} - -// .solidity.test.sol2protofuzzer.MappingType mapping = 3; -inline bool TypeName::_internal_has_mapping() const { - return type_oneof_case() == kMapping; -} -inline bool TypeName::has_mapping() const { - return _internal_has_mapping(); -} -inline void TypeName::set_has_mapping() { - _impl_._oneof_case_[0] = kMapping; -} -inline void TypeName::clear_mapping() { - if (_internal_has_mapping()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.type_oneof_.mapping_; - } - clear_has_type_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::MappingType* TypeName::release_mapping() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TypeName.mapping) - if (_internal_has_mapping()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::MappingType* temp = _impl_.type_oneof_.mapping_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.type_oneof_.mapping_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::MappingType& TypeName::_internal_mapping() const { - return _internal_has_mapping() - ? *_impl_.type_oneof_.mapping_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::MappingType&>(::solidity::test::sol2protofuzzer::_MappingType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::MappingType& TypeName::mapping() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TypeName.mapping) - return _internal_mapping(); -} -inline ::solidity::test::sol2protofuzzer::MappingType* TypeName::unsafe_arena_release_mapping() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.TypeName.mapping) - if (_internal_has_mapping()) { - clear_has_type_oneof(); - ::solidity::test::sol2protofuzzer::MappingType* temp = _impl_.type_oneof_.mapping_; - _impl_.type_oneof_.mapping_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void TypeName::unsafe_arena_set_allocated_mapping(::solidity::test::sol2protofuzzer::MappingType* mapping) { - clear_type_oneof(); - if (mapping) { - set_has_mapping(); - _impl_.type_oneof_.mapping_ = mapping; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TypeName.mapping) -} -inline ::solidity::test::sol2protofuzzer::MappingType* TypeName::_internal_mutable_mapping() { - if (!_internal_has_mapping()) { - clear_type_oneof(); - set_has_mapping(); - _impl_.type_oneof_.mapping_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::MappingType >(GetArenaForAllocation()); - } - return _impl_.type_oneof_.mapping_; -} -inline ::solidity::test::sol2protofuzzer::MappingType* TypeName::mutable_mapping() { - ::solidity::test::sol2protofuzzer::MappingType* _msg = _internal_mutable_mapping(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TypeName.mapping) - return _msg; -} - -// uint32 struct_ref = 4; -inline bool TypeName::_internal_has_struct_ref() const { - return type_oneof_case() == kStructRef; -} -inline bool TypeName::has_struct_ref() const { - return _internal_has_struct_ref(); -} -inline void TypeName::set_has_struct_ref() { - _impl_._oneof_case_[0] = kStructRef; -} -inline void TypeName::clear_struct_ref() { - if (_internal_has_struct_ref()) { - _impl_.type_oneof_.struct_ref_ = 0u; - clear_has_type_oneof(); - } -} -inline uint32_t TypeName::_internal_struct_ref() const { - if (_internal_has_struct_ref()) { - return _impl_.type_oneof_.struct_ref_; - } - return 0u; -} -inline void TypeName::_internal_set_struct_ref(uint32_t value) { - if (!_internal_has_struct_ref()) { - clear_type_oneof(); - set_has_struct_ref(); - } - _impl_.type_oneof_.struct_ref_ = value; -} -inline uint32_t TypeName::struct_ref() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TypeName.struct_ref) - return _internal_struct_ref(); -} -inline void TypeName::set_struct_ref(uint32_t value) { - _internal_set_struct_ref(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.TypeName.struct_ref) -} - -// uint32 enum_ref = 5; -inline bool TypeName::_internal_has_enum_ref() const { - return type_oneof_case() == kEnumRef; -} -inline bool TypeName::has_enum_ref() const { - return _internal_has_enum_ref(); -} -inline void TypeName::set_has_enum_ref() { - _impl_._oneof_case_[0] = kEnumRef; -} -inline void TypeName::clear_enum_ref() { - if (_internal_has_enum_ref()) { - _impl_.type_oneof_.enum_ref_ = 0u; - clear_has_type_oneof(); - } -} -inline uint32_t TypeName::_internal_enum_ref() const { - if (_internal_has_enum_ref()) { - return _impl_.type_oneof_.enum_ref_; - } - return 0u; -} -inline void TypeName::_internal_set_enum_ref(uint32_t value) { - if (!_internal_has_enum_ref()) { - clear_type_oneof(); - set_has_enum_ref(); - } - _impl_.type_oneof_.enum_ref_ = value; -} -inline uint32_t TypeName::enum_ref() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TypeName.enum_ref) - return _internal_enum_ref(); -} -inline void TypeName::set_enum_ref(uint32_t value) { - _internal_set_enum_ref(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.TypeName.enum_ref) -} - -inline bool TypeName::has_type_oneof() const { - return type_oneof_case() != TYPE_ONEOF_NOT_SET; -} -inline void TypeName::clear_has_type_oneof() { - _impl_._oneof_case_[0] = TYPE_ONEOF_NOT_SET; -} -inline TypeName::TypeOneofCase TypeName::type_oneof_case() const { - return TypeName::TypeOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// BoolLiteral - -// required bool val = 1; -inline bool BoolLiteral::_internal_has_val() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool BoolLiteral::has_val() const { - return _internal_has_val(); -} -inline void BoolLiteral::clear_val() { - _impl_.val_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool BoolLiteral::_internal_val() const { - return _impl_.val_; -} -inline bool BoolLiteral::val() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.BoolLiteral.val) - return _internal_val(); -} -inline void BoolLiteral::_internal_set_val(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.val_ = value; -} -inline void BoolLiteral::set_val(bool value) { - _internal_set_val(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.BoolLiteral.val) -} - -// ------------------------------------------------------------------- - -// IntegerLiteral - -// required uint64 val = 1; -inline bool IntegerLiteral::_internal_has_val() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool IntegerLiteral::has_val() const { - return _internal_has_val(); -} -inline void IntegerLiteral::clear_val() { - _impl_.val_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t IntegerLiteral::_internal_val() const { - return _impl_.val_; -} -inline uint64_t IntegerLiteral::val() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IntegerLiteral.val) - return _internal_val(); -} -inline void IntegerLiteral::_internal_set_val(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.val_ = value; -} -inline void IntegerLiteral::set_val(uint64_t value) { - _internal_set_val(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.IntegerLiteral.val) -} - -// required bool negative = 2; -inline bool IntegerLiteral::_internal_has_negative() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool IntegerLiteral::has_negative() const { - return _internal_has_negative(); -} -inline void IntegerLiteral::clear_negative() { - _impl_.negative_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool IntegerLiteral::_internal_negative() const { - return _impl_.negative_; -} -inline bool IntegerLiteral::negative() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IntegerLiteral.negative) - return _internal_negative(); -} -inline void IntegerLiteral::_internal_set_negative(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.negative_ = value; -} -inline void IntegerLiteral::set_negative(bool value) { - _internal_set_negative(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.IntegerLiteral.negative) -} - -// optional .solidity.test.sol2protofuzzer.IntegerLiteral.EtherUnit ether_unit = 3; -inline bool IntegerLiteral::_internal_has_ether_unit() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool IntegerLiteral::has_ether_unit() const { - return _internal_has_ether_unit(); -} -inline void IntegerLiteral::clear_ether_unit() { - _impl_.ether_unit_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit IntegerLiteral::_internal_ether_unit() const { - return static_cast< ::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit >(_impl_.ether_unit_); -} -inline ::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit IntegerLiteral::ether_unit() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IntegerLiteral.ether_unit) - return _internal_ether_unit(); -} -inline void IntegerLiteral::_internal_set_ether_unit(::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit value) { - assert(::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ether_unit_ = value; -} -inline void IntegerLiteral::set_ether_unit(::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit value) { - _internal_set_ether_unit(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.IntegerLiteral.ether_unit) -} - -// ------------------------------------------------------------------- - -// StringLiteral - -// required uint32 seed = 1; -inline bool StringLiteral::_internal_has_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool StringLiteral::has_seed() const { - return _internal_has_seed(); -} -inline void StringLiteral::clear_seed() { - _impl_.seed_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t StringLiteral::_internal_seed() const { - return _impl_.seed_; -} -inline uint32_t StringLiteral::seed() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StringLiteral.seed) - return _internal_seed(); -} -inline void StringLiteral::_internal_set_seed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.seed_ = value; -} -inline void StringLiteral::set_seed(uint32_t value) { - _internal_set_seed(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StringLiteral.seed) -} - -// ------------------------------------------------------------------- - -// AddressLiteral - -// required uint64 val = 1; -inline bool AddressLiteral::_internal_has_val() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool AddressLiteral::has_val() const { - return _internal_has_val(); -} -inline void AddressLiteral::clear_val() { - _impl_.val_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t AddressLiteral::_internal_val() const { - return _impl_.val_; -} -inline uint64_t AddressLiteral::val() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AddressLiteral.val) - return _internal_val(); -} -inline void AddressLiteral::_internal_set_val(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.val_ = value; -} -inline void AddressLiteral::set_val(uint64_t value) { - _internal_set_val(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.AddressLiteral.val) -} - -// ------------------------------------------------------------------- - -// Literal - -// .solidity.test.sol2protofuzzer.BoolLiteral bool_lit = 1; -inline bool Literal::_internal_has_bool_lit() const { - return lit_oneof_case() == kBoolLit; -} -inline bool Literal::has_bool_lit() const { - return _internal_has_bool_lit(); -} -inline void Literal::set_has_bool_lit() { - _impl_._oneof_case_[0] = kBoolLit; -} -inline void Literal::clear_bool_lit() { - if (_internal_has_bool_lit()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.lit_oneof_.bool_lit_; - } - clear_has_lit_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::BoolLiteral* Literal::release_bool_lit() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Literal.bool_lit) - if (_internal_has_bool_lit()) { - clear_has_lit_oneof(); - ::solidity::test::sol2protofuzzer::BoolLiteral* temp = _impl_.lit_oneof_.bool_lit_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.lit_oneof_.bool_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::BoolLiteral& Literal::_internal_bool_lit() const { - return _internal_has_bool_lit() - ? *_impl_.lit_oneof_.bool_lit_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::BoolLiteral&>(::solidity::test::sol2protofuzzer::_BoolLiteral_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::BoolLiteral& Literal::bool_lit() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Literal.bool_lit) - return _internal_bool_lit(); -} -inline ::solidity::test::sol2protofuzzer::BoolLiteral* Literal::unsafe_arena_release_bool_lit() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Literal.bool_lit) - if (_internal_has_bool_lit()) { - clear_has_lit_oneof(); - ::solidity::test::sol2protofuzzer::BoolLiteral* temp = _impl_.lit_oneof_.bool_lit_; - _impl_.lit_oneof_.bool_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Literal::unsafe_arena_set_allocated_bool_lit(::solidity::test::sol2protofuzzer::BoolLiteral* bool_lit) { - clear_lit_oneof(); - if (bool_lit) { - set_has_bool_lit(); - _impl_.lit_oneof_.bool_lit_ = bool_lit; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Literal.bool_lit) -} -inline ::solidity::test::sol2protofuzzer::BoolLiteral* Literal::_internal_mutable_bool_lit() { - if (!_internal_has_bool_lit()) { - clear_lit_oneof(); - set_has_bool_lit(); - _impl_.lit_oneof_.bool_lit_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BoolLiteral >(GetArenaForAllocation()); - } - return _impl_.lit_oneof_.bool_lit_; -} -inline ::solidity::test::sol2protofuzzer::BoolLiteral* Literal::mutable_bool_lit() { - ::solidity::test::sol2protofuzzer::BoolLiteral* _msg = _internal_mutable_bool_lit(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Literal.bool_lit) - return _msg; -} - -// .solidity.test.sol2protofuzzer.IntegerLiteral int_lit = 2; -inline bool Literal::_internal_has_int_lit() const { - return lit_oneof_case() == kIntLit; -} -inline bool Literal::has_int_lit() const { - return _internal_has_int_lit(); -} -inline void Literal::set_has_int_lit() { - _impl_._oneof_case_[0] = kIntLit; -} -inline void Literal::clear_int_lit() { - if (_internal_has_int_lit()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.lit_oneof_.int_lit_; - } - clear_has_lit_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::IntegerLiteral* Literal::release_int_lit() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Literal.int_lit) - if (_internal_has_int_lit()) { - clear_has_lit_oneof(); - ::solidity::test::sol2protofuzzer::IntegerLiteral* temp = _impl_.lit_oneof_.int_lit_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.lit_oneof_.int_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::IntegerLiteral& Literal::_internal_int_lit() const { - return _internal_has_int_lit() - ? *_impl_.lit_oneof_.int_lit_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::IntegerLiteral&>(::solidity::test::sol2protofuzzer::_IntegerLiteral_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::IntegerLiteral& Literal::int_lit() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Literal.int_lit) - return _internal_int_lit(); -} -inline ::solidity::test::sol2protofuzzer::IntegerLiteral* Literal::unsafe_arena_release_int_lit() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Literal.int_lit) - if (_internal_has_int_lit()) { - clear_has_lit_oneof(); - ::solidity::test::sol2protofuzzer::IntegerLiteral* temp = _impl_.lit_oneof_.int_lit_; - _impl_.lit_oneof_.int_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Literal::unsafe_arena_set_allocated_int_lit(::solidity::test::sol2protofuzzer::IntegerLiteral* int_lit) { - clear_lit_oneof(); - if (int_lit) { - set_has_int_lit(); - _impl_.lit_oneof_.int_lit_ = int_lit; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Literal.int_lit) -} -inline ::solidity::test::sol2protofuzzer::IntegerLiteral* Literal::_internal_mutable_int_lit() { - if (!_internal_has_int_lit()) { - clear_lit_oneof(); - set_has_int_lit(); - _impl_.lit_oneof_.int_lit_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::IntegerLiteral >(GetArenaForAllocation()); - } - return _impl_.lit_oneof_.int_lit_; -} -inline ::solidity::test::sol2protofuzzer::IntegerLiteral* Literal::mutable_int_lit() { - ::solidity::test::sol2protofuzzer::IntegerLiteral* _msg = _internal_mutable_int_lit(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Literal.int_lit) - return _msg; -} - -// .solidity.test.sol2protofuzzer.StringLiteral str_lit = 3; -inline bool Literal::_internal_has_str_lit() const { - return lit_oneof_case() == kStrLit; -} -inline bool Literal::has_str_lit() const { - return _internal_has_str_lit(); -} -inline void Literal::set_has_str_lit() { - _impl_._oneof_case_[0] = kStrLit; -} -inline void Literal::clear_str_lit() { - if (_internal_has_str_lit()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.lit_oneof_.str_lit_; - } - clear_has_lit_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::StringLiteral* Literal::release_str_lit() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Literal.str_lit) - if (_internal_has_str_lit()) { - clear_has_lit_oneof(); - ::solidity::test::sol2protofuzzer::StringLiteral* temp = _impl_.lit_oneof_.str_lit_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.lit_oneof_.str_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::StringLiteral& Literal::_internal_str_lit() const { - return _internal_has_str_lit() - ? *_impl_.lit_oneof_.str_lit_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::StringLiteral&>(::solidity::test::sol2protofuzzer::_StringLiteral_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::StringLiteral& Literal::str_lit() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Literal.str_lit) - return _internal_str_lit(); -} -inline ::solidity::test::sol2protofuzzer::StringLiteral* Literal::unsafe_arena_release_str_lit() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Literal.str_lit) - if (_internal_has_str_lit()) { - clear_has_lit_oneof(); - ::solidity::test::sol2protofuzzer::StringLiteral* temp = _impl_.lit_oneof_.str_lit_; - _impl_.lit_oneof_.str_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Literal::unsafe_arena_set_allocated_str_lit(::solidity::test::sol2protofuzzer::StringLiteral* str_lit) { - clear_lit_oneof(); - if (str_lit) { - set_has_str_lit(); - _impl_.lit_oneof_.str_lit_ = str_lit; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Literal.str_lit) -} -inline ::solidity::test::sol2protofuzzer::StringLiteral* Literal::_internal_mutable_str_lit() { - if (!_internal_has_str_lit()) { - clear_lit_oneof(); - set_has_str_lit(); - _impl_.lit_oneof_.str_lit_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StringLiteral >(GetArenaForAllocation()); - } - return _impl_.lit_oneof_.str_lit_; -} -inline ::solidity::test::sol2protofuzzer::StringLiteral* Literal::mutable_str_lit() { - ::solidity::test::sol2protofuzzer::StringLiteral* _msg = _internal_mutable_str_lit(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Literal.str_lit) - return _msg; -} - -// .solidity.test.sol2protofuzzer.AddressLiteral addr_lit = 4; -inline bool Literal::_internal_has_addr_lit() const { - return lit_oneof_case() == kAddrLit; -} -inline bool Literal::has_addr_lit() const { - return _internal_has_addr_lit(); -} -inline void Literal::set_has_addr_lit() { - _impl_._oneof_case_[0] = kAddrLit; -} -inline void Literal::clear_addr_lit() { - if (_internal_has_addr_lit()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.lit_oneof_.addr_lit_; - } - clear_has_lit_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::AddressLiteral* Literal::release_addr_lit() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Literal.addr_lit) - if (_internal_has_addr_lit()) { - clear_has_lit_oneof(); - ::solidity::test::sol2protofuzzer::AddressLiteral* temp = _impl_.lit_oneof_.addr_lit_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.lit_oneof_.addr_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::AddressLiteral& Literal::_internal_addr_lit() const { - return _internal_has_addr_lit() - ? *_impl_.lit_oneof_.addr_lit_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::AddressLiteral&>(::solidity::test::sol2protofuzzer::_AddressLiteral_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::AddressLiteral& Literal::addr_lit() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Literal.addr_lit) - return _internal_addr_lit(); -} -inline ::solidity::test::sol2protofuzzer::AddressLiteral* Literal::unsafe_arena_release_addr_lit() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Literal.addr_lit) - if (_internal_has_addr_lit()) { - clear_has_lit_oneof(); - ::solidity::test::sol2protofuzzer::AddressLiteral* temp = _impl_.lit_oneof_.addr_lit_; - _impl_.lit_oneof_.addr_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Literal::unsafe_arena_set_allocated_addr_lit(::solidity::test::sol2protofuzzer::AddressLiteral* addr_lit) { - clear_lit_oneof(); - if (addr_lit) { - set_has_addr_lit(); - _impl_.lit_oneof_.addr_lit_ = addr_lit; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Literal.addr_lit) -} -inline ::solidity::test::sol2protofuzzer::AddressLiteral* Literal::_internal_mutable_addr_lit() { - if (!_internal_has_addr_lit()) { - clear_lit_oneof(); - set_has_addr_lit(); - _impl_.lit_oneof_.addr_lit_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AddressLiteral >(GetArenaForAllocation()); - } - return _impl_.lit_oneof_.addr_lit_; -} -inline ::solidity::test::sol2protofuzzer::AddressLiteral* Literal::mutable_addr_lit() { - ::solidity::test::sol2protofuzzer::AddressLiteral* _msg = _internal_mutable_addr_lit(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Literal.addr_lit) - return _msg; -} - -inline bool Literal::has_lit_oneof() const { - return lit_oneof_case() != LIT_ONEOF_NOT_SET; -} -inline void Literal::clear_has_lit_oneof() { - _impl_._oneof_case_[0] = LIT_ONEOF_NOT_SET; -} -inline Literal::LitOneofCase Literal::lit_oneof_case() const { - return Literal::LitOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// VarRef - -// required uint32 index = 1; -inline bool VarRef::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool VarRef::has_index() const { - return _internal_has_index(); -} -inline void VarRef::clear_index() { - _impl_.index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t VarRef::_internal_index() const { - return _impl_.index_; -} -inline uint32_t VarRef::index() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.VarRef.index) - return _internal_index(); -} -inline void VarRef::_internal_set_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.index_ = value; -} -inline void VarRef::set_index(uint32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.VarRef.index) -} - -// ------------------------------------------------------------------- - -// BinaryOp - -// required .solidity.test.sol2protofuzzer.BinaryOp.Op op = 1; -inline bool BinaryOp::_internal_has_op() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool BinaryOp::has_op() const { - return _internal_has_op(); -} -inline void BinaryOp::clear_op() { - _impl_.op_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::solidity::test::sol2protofuzzer::BinaryOp_Op BinaryOp::_internal_op() const { - return static_cast< ::solidity::test::sol2protofuzzer::BinaryOp_Op >(_impl_.op_); -} -inline ::solidity::test::sol2protofuzzer::BinaryOp_Op BinaryOp::op() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.BinaryOp.op) - return _internal_op(); -} -inline void BinaryOp::_internal_set_op(::solidity::test::sol2protofuzzer::BinaryOp_Op value) { - assert(::solidity::test::sol2protofuzzer::BinaryOp_Op_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.op_ = value; -} -inline void BinaryOp::set_op(::solidity::test::sol2protofuzzer::BinaryOp_Op value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.BinaryOp.op) -} - -// required .solidity.test.sol2protofuzzer.Expression left = 2; -inline bool BinaryOp::_internal_has_left() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.left_ != nullptr); - return value; -} -inline bool BinaryOp::has_left() const { - return _internal_has_left(); -} -inline void BinaryOp::clear_left() { - if (_impl_.left_ != nullptr) _impl_.left_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& BinaryOp::_internal_left() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.left_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& BinaryOp::left() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.BinaryOp.left) - return _internal_left(); -} -inline void BinaryOp::unsafe_arena_set_allocated_left( - ::solidity::test::sol2protofuzzer::Expression* left) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.left_); - } - _impl_.left_ = left; - if (left) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.BinaryOp.left) -} -inline ::solidity::test::sol2protofuzzer::Expression* BinaryOp::release_left() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.left_; - _impl_.left_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* BinaryOp::unsafe_arena_release_left() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.BinaryOp.left) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.left_; - _impl_.left_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* BinaryOp::_internal_mutable_left() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.left_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.left_ = p; - } - return _impl_.left_; -} -inline ::solidity::test::sol2protofuzzer::Expression* BinaryOp::mutable_left() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_left(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.BinaryOp.left) - return _msg; -} -inline void BinaryOp::set_allocated_left(::solidity::test::sol2protofuzzer::Expression* left) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.left_; - } - if (left) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(left); - if (message_arena != submessage_arena) { - left = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, left, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.left_ = left; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.BinaryOp.left) -} - -// required .solidity.test.sol2protofuzzer.Expression right = 3; -inline bool BinaryOp::_internal_has_right() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.right_ != nullptr); - return value; -} -inline bool BinaryOp::has_right() const { - return _internal_has_right(); -} -inline void BinaryOp::clear_right() { - if (_impl_.right_ != nullptr) _impl_.right_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& BinaryOp::_internal_right() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.right_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& BinaryOp::right() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.BinaryOp.right) - return _internal_right(); -} -inline void BinaryOp::unsafe_arena_set_allocated_right( - ::solidity::test::sol2protofuzzer::Expression* right) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.right_); - } - _impl_.right_ = right; - if (right) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.BinaryOp.right) -} -inline ::solidity::test::sol2protofuzzer::Expression* BinaryOp::release_right() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.right_; - _impl_.right_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* BinaryOp::unsafe_arena_release_right() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.BinaryOp.right) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.right_; - _impl_.right_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* BinaryOp::_internal_mutable_right() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.right_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.right_ = p; - } - return _impl_.right_; -} -inline ::solidity::test::sol2protofuzzer::Expression* BinaryOp::mutable_right() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_right(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.BinaryOp.right) - return _msg; -} -inline void BinaryOp::set_allocated_right(::solidity::test::sol2protofuzzer::Expression* right) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.right_; - } - if (right) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(right); - if (message_arena != submessage_arena) { - right = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, right, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.right_ = right; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.BinaryOp.right) -} - -// ------------------------------------------------------------------- - -// UnaryOp - -// required .solidity.test.sol2protofuzzer.UnaryOp.Op op = 1; -inline bool UnaryOp::_internal_has_op() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool UnaryOp::has_op() const { - return _internal_has_op(); -} -inline void UnaryOp::clear_op() { - _impl_.op_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::test::sol2protofuzzer::UnaryOp_Op UnaryOp::_internal_op() const { - return static_cast< ::solidity::test::sol2protofuzzer::UnaryOp_Op >(_impl_.op_); -} -inline ::solidity::test::sol2protofuzzer::UnaryOp_Op UnaryOp::op() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UnaryOp.op) - return _internal_op(); -} -inline void UnaryOp::_internal_set_op(::solidity::test::sol2protofuzzer::UnaryOp_Op value) { - assert(::solidity::test::sol2protofuzzer::UnaryOp_Op_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.op_ = value; -} -inline void UnaryOp::set_op(::solidity::test::sol2protofuzzer::UnaryOp_Op value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.UnaryOp.op) -} - -// required .solidity.test.sol2protofuzzer.Expression operand = 2; -inline bool UnaryOp::_internal_has_operand() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.operand_ != nullptr); - return value; -} -inline bool UnaryOp::has_operand() const { - return _internal_has_operand(); -} -inline void UnaryOp::clear_operand() { - if (_impl_.operand_ != nullptr) _impl_.operand_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& UnaryOp::_internal_operand() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.operand_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& UnaryOp::operand() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UnaryOp.operand) - return _internal_operand(); -} -inline void UnaryOp::unsafe_arena_set_allocated_operand( - ::solidity::test::sol2protofuzzer::Expression* operand) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.operand_); - } - _impl_.operand_ = operand; - if (operand) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.UnaryOp.operand) -} -inline ::solidity::test::sol2protofuzzer::Expression* UnaryOp::release_operand() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.operand_; - _impl_.operand_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* UnaryOp::unsafe_arena_release_operand() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.UnaryOp.operand) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.operand_; - _impl_.operand_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* UnaryOp::_internal_mutable_operand() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.operand_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.operand_ = p; - } - return _impl_.operand_; -} -inline ::solidity::test::sol2protofuzzer::Expression* UnaryOp::mutable_operand() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_operand(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.UnaryOp.operand) - return _msg; -} -inline void UnaryOp::set_allocated_operand(::solidity::test::sol2protofuzzer::Expression* operand) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.operand_; - } - if (operand) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(operand); - if (message_arena != submessage_arena) { - operand = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, operand, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.operand_ = operand; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.UnaryOp.operand) -} - -// ------------------------------------------------------------------- - -// TernaryOp - -// required .solidity.test.sol2protofuzzer.Expression cond = 1; -inline bool TernaryOp::_internal_has_cond() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cond_ != nullptr); - return value; -} -inline bool TernaryOp::has_cond() const { - return _internal_has_cond(); -} -inline void TernaryOp::clear_cond() { - if (_impl_.cond_ != nullptr) _impl_.cond_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& TernaryOp::_internal_cond() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.cond_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& TernaryOp::cond() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TernaryOp.cond) - return _internal_cond(); -} -inline void TernaryOp::unsafe_arena_set_allocated_cond( - ::solidity::test::sol2protofuzzer::Expression* cond) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cond_); - } - _impl_.cond_ = cond; - if (cond) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TernaryOp.cond) -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::release_cond() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::unsafe_arena_release_cond() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TernaryOp.cond) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::_internal_mutable_cond() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.cond_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.cond_ = p; - } - return _impl_.cond_; -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::mutable_cond() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_cond(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TernaryOp.cond) - return _msg; -} -inline void TernaryOp::set_allocated_cond(::solidity::test::sol2protofuzzer::Expression* cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cond_; - } - if (cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cond); - if (message_arena != submessage_arena) { - cond = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cond, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cond_ = cond; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TernaryOp.cond) -} - -// required .solidity.test.sol2protofuzzer.Expression true_val = 2; -inline bool TernaryOp::_internal_has_true_val() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.true_val_ != nullptr); - return value; -} -inline bool TernaryOp::has_true_val() const { - return _internal_has_true_val(); -} -inline void TernaryOp::clear_true_val() { - if (_impl_.true_val_ != nullptr) _impl_.true_val_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& TernaryOp::_internal_true_val() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.true_val_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& TernaryOp::true_val() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TernaryOp.true_val) - return _internal_true_val(); -} -inline void TernaryOp::unsafe_arena_set_allocated_true_val( - ::solidity::test::sol2protofuzzer::Expression* true_val) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.true_val_); - } - _impl_.true_val_ = true_val; - if (true_val) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TernaryOp.true_val) -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::release_true_val() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.true_val_; - _impl_.true_val_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::unsafe_arena_release_true_val() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TernaryOp.true_val) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.true_val_; - _impl_.true_val_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::_internal_mutable_true_val() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.true_val_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.true_val_ = p; - } - return _impl_.true_val_; -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::mutable_true_val() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_true_val(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TernaryOp.true_val) - return _msg; -} -inline void TernaryOp::set_allocated_true_val(::solidity::test::sol2protofuzzer::Expression* true_val) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.true_val_; - } - if (true_val) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(true_val); - if (message_arena != submessage_arena) { - true_val = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, true_val, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.true_val_ = true_val; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TernaryOp.true_val) -} - -// required .solidity.test.sol2protofuzzer.Expression false_val = 3; -inline bool TernaryOp::_internal_has_false_val() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.false_val_ != nullptr); - return value; -} -inline bool TernaryOp::has_false_val() const { - return _internal_has_false_val(); -} -inline void TernaryOp::clear_false_val() { - if (_impl_.false_val_ != nullptr) _impl_.false_val_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& TernaryOp::_internal_false_val() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.false_val_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& TernaryOp::false_val() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TernaryOp.false_val) - return _internal_false_val(); -} -inline void TernaryOp::unsafe_arena_set_allocated_false_val( - ::solidity::test::sol2protofuzzer::Expression* false_val) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.false_val_); - } - _impl_.false_val_ = false_val; - if (false_val) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TernaryOp.false_val) -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::release_false_val() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.false_val_; - _impl_.false_val_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::unsafe_arena_release_false_val() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TernaryOp.false_val) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.false_val_; - _impl_.false_val_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::_internal_mutable_false_val() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.false_val_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.false_val_ = p; - } - return _impl_.false_val_; -} -inline ::solidity::test::sol2protofuzzer::Expression* TernaryOp::mutable_false_val() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_false_val(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TernaryOp.false_val) - return _msg; -} -inline void TernaryOp::set_allocated_false_val(::solidity::test::sol2protofuzzer::Expression* false_val) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.false_val_; - } - if (false_val) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(false_val); - if (message_arena != submessage_arena) { - false_val = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, false_val, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.false_val_ = false_val; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TernaryOp.false_val) -} - -// ------------------------------------------------------------------- - -// FuncCallExpr - -// required uint32 func_id = 1; -inline bool FuncCallExpr::_internal_has_func_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool FuncCallExpr::has_func_id() const { - return _internal_has_func_id(); -} -inline void FuncCallExpr::clear_func_id() { - _impl_.func_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t FuncCallExpr::_internal_func_id() const { - return _impl_.func_id_; -} -inline uint32_t FuncCallExpr::func_id() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FuncCallExpr.func_id) - return _internal_func_id(); -} -inline void FuncCallExpr::_internal_set_func_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.func_id_ = value; -} -inline void FuncCallExpr::set_func_id(uint32_t value) { - _internal_set_func_id(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FuncCallExpr.func_id) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 2; -inline int FuncCallExpr::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int FuncCallExpr::args_size() const { - return _internal_args_size(); -} -inline void FuncCallExpr::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* FuncCallExpr::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.FuncCallExpr.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -FuncCallExpr::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.FuncCallExpr.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& FuncCallExpr::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& FuncCallExpr::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FuncCallExpr.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* FuncCallExpr::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* FuncCallExpr::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.FuncCallExpr.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -FuncCallExpr::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.FuncCallExpr.args) - return _impl_.args_; -} - -// optional bool use_named_args = 3; -inline bool FuncCallExpr::_internal_has_use_named_args() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool FuncCallExpr::has_use_named_args() const { - return _internal_has_use_named_args(); -} -inline void FuncCallExpr::clear_use_named_args() { - _impl_.use_named_args_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool FuncCallExpr::_internal_use_named_args() const { - return _impl_.use_named_args_; -} -inline bool FuncCallExpr::use_named_args() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FuncCallExpr.use_named_args) - return _internal_use_named_args(); -} -inline void FuncCallExpr::_internal_set_use_named_args(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.use_named_args_ = value; -} -inline void FuncCallExpr::set_use_named_args(bool value) { - _internal_set_use_named_args(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FuncCallExpr.use_named_args) -} - -// ------------------------------------------------------------------- - -// IndexAccessExpr - -// required .solidity.test.sol2protofuzzer.Expression base = 1; -inline bool IndexAccessExpr::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); - return value; -} -inline bool IndexAccessExpr::has_base() const { - return _internal_has_base(); -} -inline void IndexAccessExpr::clear_base() { - if (_impl_.base_ != nullptr) _impl_.base_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& IndexAccessExpr::_internal_base() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.base_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& IndexAccessExpr::base() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IndexAccessExpr.base) - return _internal_base(); -} -inline void IndexAccessExpr::unsafe_arena_set_allocated_base( - ::solidity::test::sol2protofuzzer::Expression* base) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); - } - _impl_.base_ = base; - if (base) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.IndexAccessExpr.base) -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAccessExpr::release_base() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.base_; - _impl_.base_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAccessExpr::unsafe_arena_release_base() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.IndexAccessExpr.base) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.base_; - _impl_.base_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAccessExpr::_internal_mutable_base() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.base_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.base_ = p; - } - return _impl_.base_; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAccessExpr::mutable_base() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_base(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.IndexAccessExpr.base) - return _msg; -} -inline void IndexAccessExpr::set_allocated_base(::solidity::test::sol2protofuzzer::Expression* base) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.base_; - } - if (base) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); - if (message_arena != submessage_arena) { - base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, base, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.base_ = base; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.IndexAccessExpr.base) -} - -// required .solidity.test.sol2protofuzzer.Expression index = 2; -inline bool IndexAccessExpr::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.index_ != nullptr); - return value; -} -inline bool IndexAccessExpr::has_index() const { - return _internal_has_index(); -} -inline void IndexAccessExpr::clear_index() { - if (_impl_.index_ != nullptr) _impl_.index_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& IndexAccessExpr::_internal_index() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.index_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& IndexAccessExpr::index() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IndexAccessExpr.index) - return _internal_index(); -} -inline void IndexAccessExpr::unsafe_arena_set_allocated_index( - ::solidity::test::sol2protofuzzer::Expression* index) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.index_); - } - _impl_.index_ = index; - if (index) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.IndexAccessExpr.index) -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAccessExpr::release_index() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.index_; - _impl_.index_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAccessExpr::unsafe_arena_release_index() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.IndexAccessExpr.index) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.index_; - _impl_.index_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAccessExpr::_internal_mutable_index() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.index_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.index_ = p; - } - return _impl_.index_; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAccessExpr::mutable_index() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_index(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.IndexAccessExpr.index) - return _msg; -} -inline void IndexAccessExpr::set_allocated_index(::solidity::test::sol2protofuzzer::Expression* index) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.index_; - } - if (index) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(index); - if (message_arena != submessage_arena) { - index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, index, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.index_ = index; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.IndexAccessExpr.index) -} - -// ------------------------------------------------------------------- - -// TypeConvExpr - -// required .solidity.test.sol2protofuzzer.ElementaryType to_type = 1; -inline bool TypeConvExpr::_internal_has_to_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.to_type_ != nullptr); - return value; -} -inline bool TypeConvExpr::has_to_type() const { - return _internal_has_to_type(); -} -inline void TypeConvExpr::clear_to_type() { - if (_impl_.to_type_ != nullptr) _impl_.to_type_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& TypeConvExpr::_internal_to_type() const { - const ::solidity::test::sol2protofuzzer::ElementaryType* p = _impl_.to_type_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_ElementaryType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& TypeConvExpr::to_type() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TypeConvExpr.to_type) - return _internal_to_type(); -} -inline void TypeConvExpr::unsafe_arena_set_allocated_to_type( - ::solidity::test::sol2protofuzzer::ElementaryType* to_type) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.to_type_); - } - _impl_.to_type_ = to_type; - if (to_type) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TypeConvExpr.to_type) -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* TypeConvExpr::release_to_type() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.to_type_; - _impl_.to_type_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* TypeConvExpr::unsafe_arena_release_to_type() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TypeConvExpr.to_type) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.to_type_; - _impl_.to_type_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* TypeConvExpr::_internal_mutable_to_type() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.to_type_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::ElementaryType>(GetArenaForAllocation()); - _impl_.to_type_ = p; - } - return _impl_.to_type_; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* TypeConvExpr::mutable_to_type() { - ::solidity::test::sol2protofuzzer::ElementaryType* _msg = _internal_mutable_to_type(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TypeConvExpr.to_type) - return _msg; -} -inline void TypeConvExpr::set_allocated_to_type(::solidity::test::sol2protofuzzer::ElementaryType* to_type) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.to_type_; - } - if (to_type) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(to_type); - if (message_arena != submessage_arena) { - to_type = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, to_type, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.to_type_ = to_type; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TypeConvExpr.to_type) -} - -// required .solidity.test.sol2protofuzzer.Expression arg = 2; -inline bool TypeConvExpr::_internal_has_arg() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.arg_ != nullptr); - return value; -} -inline bool TypeConvExpr::has_arg() const { - return _internal_has_arg(); -} -inline void TypeConvExpr::clear_arg() { - if (_impl_.arg_ != nullptr) _impl_.arg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& TypeConvExpr::_internal_arg() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.arg_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& TypeConvExpr::arg() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TypeConvExpr.arg) - return _internal_arg(); -} -inline void TypeConvExpr::unsafe_arena_set_allocated_arg( - ::solidity::test::sol2protofuzzer::Expression* arg) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.arg_); - } - _impl_.arg_ = arg; - if (arg) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TypeConvExpr.arg) -} -inline ::solidity::test::sol2protofuzzer::Expression* TypeConvExpr::release_arg() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.arg_; - _impl_.arg_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TypeConvExpr::unsafe_arena_release_arg() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TypeConvExpr.arg) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.arg_; - _impl_.arg_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TypeConvExpr::_internal_mutable_arg() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.arg_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.arg_ = p; - } - return _impl_.arg_; -} -inline ::solidity::test::sol2protofuzzer::Expression* TypeConvExpr::mutable_arg() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_arg(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TypeConvExpr.arg) - return _msg; -} -inline void TypeConvExpr::set_allocated_arg(::solidity::test::sol2protofuzzer::Expression* arg) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.arg_; - } - if (arg) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arg); - if (message_arena != submessage_arena) { - arg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, arg, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.arg_ = arg; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TypeConvExpr.arg) -} - -// ------------------------------------------------------------------- - -// MsgExpr - -// required .solidity.test.sol2protofuzzer.MsgExpr.Field field = 1; -inline bool MsgExpr::_internal_has_field() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool MsgExpr::has_field() const { - return _internal_has_field(); -} -inline void MsgExpr::clear_field() { - _impl_.field_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::MsgExpr_Field MsgExpr::_internal_field() const { - return static_cast< ::solidity::test::sol2protofuzzer::MsgExpr_Field >(_impl_.field_); -} -inline ::solidity::test::sol2protofuzzer::MsgExpr_Field MsgExpr::field() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.MsgExpr.field) - return _internal_field(); -} -inline void MsgExpr::_internal_set_field(::solidity::test::sol2protofuzzer::MsgExpr_Field value) { - assert(::solidity::test::sol2protofuzzer::MsgExpr_Field_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.field_ = value; -} -inline void MsgExpr::set_field(::solidity::test::sol2protofuzzer::MsgExpr_Field value) { - _internal_set_field(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.MsgExpr.field) -} - -// ------------------------------------------------------------------- - -// BlockExpr - -// required .solidity.test.sol2protofuzzer.BlockExpr.Field field = 1; -inline bool BlockExpr::_internal_has_field() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool BlockExpr::has_field() const { - return _internal_has_field(); -} -inline void BlockExpr::clear_field() { - _impl_.field_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::BlockExpr_Field BlockExpr::_internal_field() const { - return static_cast< ::solidity::test::sol2protofuzzer::BlockExpr_Field >(_impl_.field_); -} -inline ::solidity::test::sol2protofuzzer::BlockExpr_Field BlockExpr::field() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.BlockExpr.field) - return _internal_field(); -} -inline void BlockExpr::_internal_set_field(::solidity::test::sol2protofuzzer::BlockExpr_Field value) { - assert(::solidity::test::sol2protofuzzer::BlockExpr_Field_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.field_ = value; -} -inline void BlockExpr::set_field(::solidity::test::sol2protofuzzer::BlockExpr_Field value) { - _internal_set_field(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.BlockExpr.field) -} - -// ------------------------------------------------------------------- - -// TxExpr - -// required .solidity.test.sol2protofuzzer.TxExpr.Field field = 1; -inline bool TxExpr::_internal_has_field() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool TxExpr::has_field() const { - return _internal_has_field(); -} -inline void TxExpr::clear_field() { - _impl_.field_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::TxExpr_Field TxExpr::_internal_field() const { - return static_cast< ::solidity::test::sol2protofuzzer::TxExpr_Field >(_impl_.field_); -} -inline ::solidity::test::sol2protofuzzer::TxExpr_Field TxExpr::field() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TxExpr.field) - return _internal_field(); -} -inline void TxExpr::_internal_set_field(::solidity::test::sol2protofuzzer::TxExpr_Field value) { - assert(::solidity::test::sol2protofuzzer::TxExpr_Field_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.field_ = value; -} -inline void TxExpr::set_field(::solidity::test::sol2protofuzzer::TxExpr_Field value) { - _internal_set_field(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.TxExpr.field) -} - -// ------------------------------------------------------------------- - -// AbiEncodeExpr - -// required .solidity.test.sol2protofuzzer.AbiEncodeExpr.Kind kind = 1; -inline bool AbiEncodeExpr::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool AbiEncodeExpr::has_kind() const { - return _internal_has_kind(); -} -inline void AbiEncodeExpr::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind AbiEncodeExpr::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind AbiEncodeExpr::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AbiEncodeExpr.kind) - return _internal_kind(); -} -inline void AbiEncodeExpr::_internal_set_kind(::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind value) { - assert(::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.kind_ = value; -} -inline void AbiEncodeExpr::set_kind(::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.AbiEncodeExpr.kind) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 2; -inline int AbiEncodeExpr::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int AbiEncodeExpr::args_size() const { - return _internal_args_size(); -} -inline void AbiEncodeExpr::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* AbiEncodeExpr::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.AbiEncodeExpr.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -AbiEncodeExpr::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.AbiEncodeExpr.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& AbiEncodeExpr::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& AbiEncodeExpr::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AbiEncodeExpr.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* AbiEncodeExpr::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* AbiEncodeExpr::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.AbiEncodeExpr.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -AbiEncodeExpr::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.AbiEncodeExpr.args) - return _impl_.args_; -} - -// ------------------------------------------------------------------- - -// AbiDecodeExpr - -// required .solidity.test.sol2protofuzzer.Expression value = 1; -inline bool AbiDecodeExpr::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); - return value; -} -inline bool AbiDecodeExpr::has_value() const { - return _internal_has_value(); -} -inline void AbiDecodeExpr::clear_value() { - if (_impl_.value_ != nullptr) _impl_.value_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& AbiDecodeExpr::_internal_value() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.value_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& AbiDecodeExpr::value() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AbiDecodeExpr.value) - return _internal_value(); -} -inline void AbiDecodeExpr::unsafe_arena_set_allocated_value( - ::solidity::test::sol2protofuzzer::Expression* value) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); - } - _impl_.value_ = value; - if (value) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.AbiDecodeExpr.value) -} -inline ::solidity::test::sol2protofuzzer::Expression* AbiDecodeExpr::release_value() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.value_; - _impl_.value_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* AbiDecodeExpr::unsafe_arena_release_value() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.AbiDecodeExpr.value) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.value_; - _impl_.value_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* AbiDecodeExpr::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.value_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.value_ = p; - } - return _impl_.value_; -} -inline ::solidity::test::sol2protofuzzer::Expression* AbiDecodeExpr::mutable_value() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.AbiDecodeExpr.value) - return _msg; -} -inline void AbiDecodeExpr::set_allocated_value(::solidity::test::sol2protofuzzer::Expression* value) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.value_; - } - if (value) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(value); - if (message_arena != submessage_arena) { - value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.value_ = value; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.AbiDecodeExpr.value) -} - -// ------------------------------------------------------------------- - -// AbiEncodeCallExpr - -// required uint32 func_id = 1; -inline bool AbiEncodeCallExpr::_internal_has_func_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool AbiEncodeCallExpr::has_func_id() const { - return _internal_has_func_id(); -} -inline void AbiEncodeCallExpr::clear_func_id() { - _impl_.func_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t AbiEncodeCallExpr::_internal_func_id() const { - return _impl_.func_id_; -} -inline uint32_t AbiEncodeCallExpr::func_id() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AbiEncodeCallExpr.func_id) - return _internal_func_id(); -} -inline void AbiEncodeCallExpr::_internal_set_func_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.func_id_ = value; -} -inline void AbiEncodeCallExpr::set_func_id(uint32_t value) { - _internal_set_func_id(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.AbiEncodeCallExpr.func_id) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 2; -inline int AbiEncodeCallExpr::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int AbiEncodeCallExpr::args_size() const { - return _internal_args_size(); -} -inline void AbiEncodeCallExpr::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* AbiEncodeCallExpr::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.AbiEncodeCallExpr.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -AbiEncodeCallExpr::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.AbiEncodeCallExpr.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& AbiEncodeCallExpr::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& AbiEncodeCallExpr::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AbiEncodeCallExpr.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* AbiEncodeCallExpr::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* AbiEncodeCallExpr::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.AbiEncodeCallExpr.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -AbiEncodeCallExpr::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.AbiEncodeCallExpr.args) - return _impl_.args_; -} - -// ------------------------------------------------------------------- - -// HashExpr - -// required .solidity.test.sol2protofuzzer.HashExpr.Kind kind = 1; -inline bool HashExpr::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool HashExpr::has_kind() const { - return _internal_has_kind(); -} -inline void HashExpr::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::test::sol2protofuzzer::HashExpr_Kind HashExpr::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::HashExpr_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::HashExpr_Kind HashExpr::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.HashExpr.kind) - return _internal_kind(); -} -inline void HashExpr::_internal_set_kind(::solidity::test::sol2protofuzzer::HashExpr_Kind value) { - assert(::solidity::test::sol2protofuzzer::HashExpr_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.kind_ = value; -} -inline void HashExpr::set_kind(::solidity::test::sol2protofuzzer::HashExpr_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.HashExpr.kind) -} - -// required .solidity.test.sol2protofuzzer.Expression arg = 2; -inline bool HashExpr::_internal_has_arg() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.arg_ != nullptr); - return value; -} -inline bool HashExpr::has_arg() const { - return _internal_has_arg(); -} -inline void HashExpr::clear_arg() { - if (_impl_.arg_ != nullptr) _impl_.arg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& HashExpr::_internal_arg() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.arg_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& HashExpr::arg() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.HashExpr.arg) - return _internal_arg(); -} -inline void HashExpr::unsafe_arena_set_allocated_arg( - ::solidity::test::sol2protofuzzer::Expression* arg) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.arg_); - } - _impl_.arg_ = arg; - if (arg) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.HashExpr.arg) -} -inline ::solidity::test::sol2protofuzzer::Expression* HashExpr::release_arg() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.arg_; - _impl_.arg_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* HashExpr::unsafe_arena_release_arg() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.HashExpr.arg) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.arg_; - _impl_.arg_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* HashExpr::_internal_mutable_arg() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.arg_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.arg_ = p; - } - return _impl_.arg_; -} -inline ::solidity::test::sol2protofuzzer::Expression* HashExpr::mutable_arg() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_arg(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.HashExpr.arg) - return _msg; -} -inline void HashExpr::set_allocated_arg(::solidity::test::sol2protofuzzer::Expression* arg) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.arg_; - } - if (arg) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arg); - if (message_arena != submessage_arena) { - arg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, arg, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.arg_ = arg; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.HashExpr.arg) -} - -// ------------------------------------------------------------------- - -// MathExpr - -// required .solidity.test.sol2protofuzzer.MathExpr.Kind kind = 1; -inline bool MathExpr::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool MathExpr::has_kind() const { - return _internal_has_kind(); -} -inline void MathExpr::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::solidity::test::sol2protofuzzer::MathExpr_Kind MathExpr::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::MathExpr_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::MathExpr_Kind MathExpr::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.MathExpr.kind) - return _internal_kind(); -} -inline void MathExpr::_internal_set_kind(::solidity::test::sol2protofuzzer::MathExpr_Kind value) { - assert(::solidity::test::sol2protofuzzer::MathExpr_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.kind_ = value; -} -inline void MathExpr::set_kind(::solidity::test::sol2protofuzzer::MathExpr_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.MathExpr.kind) -} - -// required .solidity.test.sol2protofuzzer.Expression x = 2; -inline bool MathExpr::_internal_has_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.x_ != nullptr); - return value; -} -inline bool MathExpr::has_x() const { - return _internal_has_x(); -} -inline void MathExpr::clear_x() { - if (_impl_.x_ != nullptr) _impl_.x_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& MathExpr::_internal_x() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.x_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& MathExpr::x() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.MathExpr.x) - return _internal_x(); -} -inline void MathExpr::unsafe_arena_set_allocated_x( - ::solidity::test::sol2protofuzzer::Expression* x) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.x_); - } - _impl_.x_ = x; - if (x) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.MathExpr.x) -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::release_x() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.x_; - _impl_.x_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::unsafe_arena_release_x() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.MathExpr.x) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.x_; - _impl_.x_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::_internal_mutable_x() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.x_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.x_ = p; - } - return _impl_.x_; -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::mutable_x() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_x(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.MathExpr.x) - return _msg; -} -inline void MathExpr::set_allocated_x(::solidity::test::sol2protofuzzer::Expression* x) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.x_; - } - if (x) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(x); - if (message_arena != submessage_arena) { - x = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, x, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.x_ = x; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.MathExpr.x) -} - -// required .solidity.test.sol2protofuzzer.Expression y = 3; -inline bool MathExpr::_internal_has_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.y_ != nullptr); - return value; -} -inline bool MathExpr::has_y() const { - return _internal_has_y(); -} -inline void MathExpr::clear_y() { - if (_impl_.y_ != nullptr) _impl_.y_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& MathExpr::_internal_y() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.y_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& MathExpr::y() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.MathExpr.y) - return _internal_y(); -} -inline void MathExpr::unsafe_arena_set_allocated_y( - ::solidity::test::sol2protofuzzer::Expression* y) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.y_); - } - _impl_.y_ = y; - if (y) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.MathExpr.y) -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::release_y() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.y_; - _impl_.y_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::unsafe_arena_release_y() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.MathExpr.y) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.y_; - _impl_.y_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::_internal_mutable_y() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.y_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.y_ = p; - } - return _impl_.y_; -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::mutable_y() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_y(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.MathExpr.y) - return _msg; -} -inline void MathExpr::set_allocated_y(::solidity::test::sol2protofuzzer::Expression* y) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.y_; - } - if (y) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(y); - if (message_arena != submessage_arena) { - y = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, y, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.y_ = y; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.MathExpr.y) -} - -// required .solidity.test.sol2protofuzzer.Expression mod = 4; -inline bool MathExpr::_internal_has_mod() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.mod_ != nullptr); - return value; -} -inline bool MathExpr::has_mod() const { - return _internal_has_mod(); -} -inline void MathExpr::clear_mod() { - if (_impl_.mod_ != nullptr) _impl_.mod_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& MathExpr::_internal_mod() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.mod_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& MathExpr::mod() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.MathExpr.mod) - return _internal_mod(); -} -inline void MathExpr::unsafe_arena_set_allocated_mod( - ::solidity::test::sol2protofuzzer::Expression* mod) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mod_); - } - _impl_.mod_ = mod; - if (mod) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.MathExpr.mod) -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::release_mod() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.mod_; - _impl_.mod_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::unsafe_arena_release_mod() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.MathExpr.mod) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.mod_; - _impl_.mod_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::_internal_mutable_mod() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.mod_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.mod_ = p; - } - return _impl_.mod_; -} -inline ::solidity::test::sol2protofuzzer::Expression* MathExpr::mutable_mod() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_mod(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.MathExpr.mod) - return _msg; -} -inline void MathExpr::set_allocated_mod(::solidity::test::sol2protofuzzer::Expression* mod) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.mod_; - } - if (mod) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(mod); - if (message_arena != submessage_arena) { - mod = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, mod, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.mod_ = mod; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.MathExpr.mod) -} - -// ------------------------------------------------------------------- - -// BuiltinExpr - -// required .solidity.test.sol2protofuzzer.BuiltinExpr.Kind kind = 1; -inline bool BuiltinExpr::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool BuiltinExpr::has_kind() const { - return _internal_has_kind(); -} -inline void BuiltinExpr::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::test::sol2protofuzzer::BuiltinExpr_Kind BuiltinExpr::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::BuiltinExpr_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::BuiltinExpr_Kind BuiltinExpr::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.BuiltinExpr.kind) - return _internal_kind(); -} -inline void BuiltinExpr::_internal_set_kind(::solidity::test::sol2protofuzzer::BuiltinExpr_Kind value) { - assert(::solidity::test::sol2protofuzzer::BuiltinExpr_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.kind_ = value; -} -inline void BuiltinExpr::set_kind(::solidity::test::sol2protofuzzer::BuiltinExpr_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.BuiltinExpr.kind) -} - -// optional .solidity.test.sol2protofuzzer.Expression arg = 2; -inline bool BuiltinExpr::_internal_has_arg() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.arg_ != nullptr); - return value; -} -inline bool BuiltinExpr::has_arg() const { - return _internal_has_arg(); -} -inline void BuiltinExpr::clear_arg() { - if (_impl_.arg_ != nullptr) _impl_.arg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& BuiltinExpr::_internal_arg() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.arg_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& BuiltinExpr::arg() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.BuiltinExpr.arg) - return _internal_arg(); -} -inline void BuiltinExpr::unsafe_arena_set_allocated_arg( - ::solidity::test::sol2protofuzzer::Expression* arg) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.arg_); - } - _impl_.arg_ = arg; - if (arg) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.BuiltinExpr.arg) -} -inline ::solidity::test::sol2protofuzzer::Expression* BuiltinExpr::release_arg() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.arg_; - _impl_.arg_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* BuiltinExpr::unsafe_arena_release_arg() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.BuiltinExpr.arg) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.arg_; - _impl_.arg_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* BuiltinExpr::_internal_mutable_arg() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.arg_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.arg_ = p; - } - return _impl_.arg_; -} -inline ::solidity::test::sol2protofuzzer::Expression* BuiltinExpr::mutable_arg() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_arg(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.BuiltinExpr.arg) - return _msg; -} -inline void BuiltinExpr::set_allocated_arg(::solidity::test::sol2protofuzzer::Expression* arg) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.arg_; - } - if (arg) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arg); - if (message_arena != submessage_arena) { - arg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, arg, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.arg_ = arg; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.BuiltinExpr.arg) -} - -// ------------------------------------------------------------------- - -// EcrecoverExpr - -// required .solidity.test.sol2protofuzzer.Expression hash = 1; -inline bool EcrecoverExpr::_internal_has_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.hash_ != nullptr); - return value; -} -inline bool EcrecoverExpr::has_hash() const { - return _internal_has_hash(); -} -inline void EcrecoverExpr::clear_hash() { - if (_impl_.hash_ != nullptr) _impl_.hash_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& EcrecoverExpr::_internal_hash() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.hash_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& EcrecoverExpr::hash() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EcrecoverExpr.hash) - return _internal_hash(); -} -inline void EcrecoverExpr::unsafe_arena_set_allocated_hash( - ::solidity::test::sol2protofuzzer::Expression* hash) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hash_); - } - _impl_.hash_ = hash; - if (hash) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.EcrecoverExpr.hash) -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::release_hash() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.hash_; - _impl_.hash_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::unsafe_arena_release_hash() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.EcrecoverExpr.hash) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.hash_; - _impl_.hash_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::_internal_mutable_hash() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.hash_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.hash_ = p; - } - return _impl_.hash_; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::mutable_hash() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_hash(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.EcrecoverExpr.hash) - return _msg; -} -inline void EcrecoverExpr::set_allocated_hash(::solidity::test::sol2protofuzzer::Expression* hash) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.hash_; - } - if (hash) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(hash); - if (message_arena != submessage_arena) { - hash = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, hash, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.hash_ = hash; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.EcrecoverExpr.hash) -} - -// required .solidity.test.sol2protofuzzer.Expression v = 2; -inline bool EcrecoverExpr::_internal_has_v() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.v_ != nullptr); - return value; -} -inline bool EcrecoverExpr::has_v() const { - return _internal_has_v(); -} -inline void EcrecoverExpr::clear_v() { - if (_impl_.v_ != nullptr) _impl_.v_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& EcrecoverExpr::_internal_v() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.v_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& EcrecoverExpr::v() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EcrecoverExpr.v) - return _internal_v(); -} -inline void EcrecoverExpr::unsafe_arena_set_allocated_v( - ::solidity::test::sol2protofuzzer::Expression* v) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.v_); - } - _impl_.v_ = v; - if (v) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.EcrecoverExpr.v) -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::release_v() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.v_; - _impl_.v_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::unsafe_arena_release_v() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.EcrecoverExpr.v) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.v_; - _impl_.v_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::_internal_mutable_v() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.v_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.v_ = p; - } - return _impl_.v_; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::mutable_v() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_v(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.EcrecoverExpr.v) - return _msg; -} -inline void EcrecoverExpr::set_allocated_v(::solidity::test::sol2protofuzzer::Expression* v) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.v_; - } - if (v) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(v); - if (message_arena != submessage_arena) { - v = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, v, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.v_ = v; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.EcrecoverExpr.v) -} - -// required .solidity.test.sol2protofuzzer.Expression r = 3; -inline bool EcrecoverExpr::_internal_has_r() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.r_ != nullptr); - return value; -} -inline bool EcrecoverExpr::has_r() const { - return _internal_has_r(); -} -inline void EcrecoverExpr::clear_r() { - if (_impl_.r_ != nullptr) _impl_.r_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& EcrecoverExpr::_internal_r() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.r_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& EcrecoverExpr::r() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EcrecoverExpr.r) - return _internal_r(); -} -inline void EcrecoverExpr::unsafe_arena_set_allocated_r( - ::solidity::test::sol2protofuzzer::Expression* r) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.r_); - } - _impl_.r_ = r; - if (r) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.EcrecoverExpr.r) -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::release_r() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.r_; - _impl_.r_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::unsafe_arena_release_r() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.EcrecoverExpr.r) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.r_; - _impl_.r_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::_internal_mutable_r() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.r_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.r_ = p; - } - return _impl_.r_; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::mutable_r() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_r(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.EcrecoverExpr.r) - return _msg; -} -inline void EcrecoverExpr::set_allocated_r(::solidity::test::sol2protofuzzer::Expression* r) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.r_; - } - if (r) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(r); - if (message_arena != submessage_arena) { - r = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, r, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.r_ = r; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.EcrecoverExpr.r) -} - -// required .solidity.test.sol2protofuzzer.Expression s = 4; -inline bool EcrecoverExpr::_internal_has_s() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.s_ != nullptr); - return value; -} -inline bool EcrecoverExpr::has_s() const { - return _internal_has_s(); -} -inline void EcrecoverExpr::clear_s() { - if (_impl_.s_ != nullptr) _impl_.s_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& EcrecoverExpr::_internal_s() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.s_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& EcrecoverExpr::s() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EcrecoverExpr.s) - return _internal_s(); -} -inline void EcrecoverExpr::unsafe_arena_set_allocated_s( - ::solidity::test::sol2protofuzzer::Expression* s) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.s_); - } - _impl_.s_ = s; - if (s) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.EcrecoverExpr.s) -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::release_s() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.s_; - _impl_.s_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::unsafe_arena_release_s() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.EcrecoverExpr.s) - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.s_; - _impl_.s_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::_internal_mutable_s() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.s_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.s_ = p; - } - return _impl_.s_; -} -inline ::solidity::test::sol2protofuzzer::Expression* EcrecoverExpr::mutable_s() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_s(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.EcrecoverExpr.s) - return _msg; -} -inline void EcrecoverExpr::set_allocated_s(::solidity::test::sol2protofuzzer::Expression* s) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.s_; - } - if (s) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(s); - if (message_arena != submessage_arena) { - s = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, s, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.s_ = s; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.EcrecoverExpr.s) -} - -// ------------------------------------------------------------------- - -// TypeInfoExpr - -// required .solidity.test.sol2protofuzzer.TypeInfoExpr.Kind kind = 1; -inline bool TypeInfoExpr::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool TypeInfoExpr::has_kind() const { - return _internal_has_kind(); -} -inline void TypeInfoExpr::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind TypeInfoExpr::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind TypeInfoExpr::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TypeInfoExpr.kind) - return _internal_kind(); -} -inline void TypeInfoExpr::_internal_set_kind(::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind value) { - assert(::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.kind_ = value; -} -inline void TypeInfoExpr::set_kind(::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.TypeInfoExpr.kind) -} - -// required .solidity.test.sol2protofuzzer.IntegerType int_type = 2; -inline bool TypeInfoExpr::_internal_has_int_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.int_type_ != nullptr); - return value; -} -inline bool TypeInfoExpr::has_int_type() const { - return _internal_has_int_type(); -} -inline void TypeInfoExpr::clear_int_type() { - if (_impl_.int_type_ != nullptr) _impl_.int_type_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::IntegerType& TypeInfoExpr::_internal_int_type() const { - const ::solidity::test::sol2protofuzzer::IntegerType* p = _impl_.int_type_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_IntegerType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::IntegerType& TypeInfoExpr::int_type() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TypeInfoExpr.int_type) - return _internal_int_type(); -} -inline void TypeInfoExpr::unsafe_arena_set_allocated_int_type( - ::solidity::test::sol2protofuzzer::IntegerType* int_type) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.int_type_); - } - _impl_.int_type_ = int_type; - if (int_type) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TypeInfoExpr.int_type) -} -inline ::solidity::test::sol2protofuzzer::IntegerType* TypeInfoExpr::release_int_type() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::IntegerType* temp = _impl_.int_type_; - _impl_.int_type_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::IntegerType* TypeInfoExpr::unsafe_arena_release_int_type() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TypeInfoExpr.int_type) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::IntegerType* temp = _impl_.int_type_; - _impl_.int_type_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::IntegerType* TypeInfoExpr::_internal_mutable_int_type() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.int_type_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::IntegerType>(GetArenaForAllocation()); - _impl_.int_type_ = p; - } - return _impl_.int_type_; -} -inline ::solidity::test::sol2protofuzzer::IntegerType* TypeInfoExpr::mutable_int_type() { - ::solidity::test::sol2protofuzzer::IntegerType* _msg = _internal_mutable_int_type(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TypeInfoExpr.int_type) - return _msg; -} -inline void TypeInfoExpr::set_allocated_int_type(::solidity::test::sol2protofuzzer::IntegerType* int_type) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.int_type_; - } - if (int_type) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(int_type); - if (message_arena != submessage_arena) { - int_type = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, int_type, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.int_type_ = int_type; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TypeInfoExpr.int_type) -} - -// ------------------------------------------------------------------- - -// AssignExpr - -// required .solidity.test.sol2protofuzzer.AssignExpr.Op op = 1; -inline bool AssignExpr::_internal_has_op() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool AssignExpr::has_op() const { - return _internal_has_op(); -} -inline void AssignExpr::clear_op() { - _impl_.op_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::solidity::test::sol2protofuzzer::AssignExpr_Op AssignExpr::_internal_op() const { - return static_cast< ::solidity::test::sol2protofuzzer::AssignExpr_Op >(_impl_.op_); -} -inline ::solidity::test::sol2protofuzzer::AssignExpr_Op AssignExpr::op() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AssignExpr.op) - return _internal_op(); -} -inline void AssignExpr::_internal_set_op(::solidity::test::sol2protofuzzer::AssignExpr_Op value) { - assert(::solidity::test::sol2protofuzzer::AssignExpr_Op_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.op_ = value; -} -inline void AssignExpr::set_op(::solidity::test::sol2protofuzzer::AssignExpr_Op value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.AssignExpr.op) -} - -// required .solidity.test.sol2protofuzzer.VarRef lhs = 2; -inline bool AssignExpr::_internal_has_lhs() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.lhs_ != nullptr); - return value; -} -inline bool AssignExpr::has_lhs() const { - return _internal_has_lhs(); -} -inline void AssignExpr::clear_lhs() { - if (_impl_.lhs_ != nullptr) _impl_.lhs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::VarRef& AssignExpr::_internal_lhs() const { - const ::solidity::test::sol2protofuzzer::VarRef* p = _impl_.lhs_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_VarRef_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::VarRef& AssignExpr::lhs() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AssignExpr.lhs) - return _internal_lhs(); -} -inline void AssignExpr::unsafe_arena_set_allocated_lhs( - ::solidity::test::sol2protofuzzer::VarRef* lhs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.lhs_); - } - _impl_.lhs_ = lhs; - if (lhs) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.AssignExpr.lhs) -} -inline ::solidity::test::sol2protofuzzer::VarRef* AssignExpr::release_lhs() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::VarRef* temp = _impl_.lhs_; - _impl_.lhs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::VarRef* AssignExpr::unsafe_arena_release_lhs() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.AssignExpr.lhs) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::VarRef* temp = _impl_.lhs_; - _impl_.lhs_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::VarRef* AssignExpr::_internal_mutable_lhs() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.lhs_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::VarRef>(GetArenaForAllocation()); - _impl_.lhs_ = p; - } - return _impl_.lhs_; -} -inline ::solidity::test::sol2protofuzzer::VarRef* AssignExpr::mutable_lhs() { - ::solidity::test::sol2protofuzzer::VarRef* _msg = _internal_mutable_lhs(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.AssignExpr.lhs) - return _msg; -} -inline void AssignExpr::set_allocated_lhs(::solidity::test::sol2protofuzzer::VarRef* lhs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.lhs_; - } - if (lhs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(lhs); - if (message_arena != submessage_arena) { - lhs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, lhs, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.lhs_ = lhs; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.AssignExpr.lhs) -} - -// required .solidity.test.sol2protofuzzer.Expression rhs = 3; -inline bool AssignExpr::_internal_has_rhs() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.rhs_ != nullptr); - return value; -} -inline bool AssignExpr::has_rhs() const { - return _internal_has_rhs(); -} -inline void AssignExpr::clear_rhs() { - if (_impl_.rhs_ != nullptr) _impl_.rhs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& AssignExpr::_internal_rhs() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.rhs_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& AssignExpr::rhs() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AssignExpr.rhs) - return _internal_rhs(); -} -inline void AssignExpr::unsafe_arena_set_allocated_rhs( - ::solidity::test::sol2protofuzzer::Expression* rhs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.rhs_); - } - _impl_.rhs_ = rhs; - if (rhs) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.AssignExpr.rhs) -} -inline ::solidity::test::sol2protofuzzer::Expression* AssignExpr::release_rhs() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.rhs_; - _impl_.rhs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* AssignExpr::unsafe_arena_release_rhs() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.AssignExpr.rhs) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.rhs_; - _impl_.rhs_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* AssignExpr::_internal_mutable_rhs() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.rhs_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.rhs_ = p; - } - return _impl_.rhs_; -} -inline ::solidity::test::sol2protofuzzer::Expression* AssignExpr::mutable_rhs() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_rhs(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.AssignExpr.rhs) - return _msg; -} -inline void AssignExpr::set_allocated_rhs(::solidity::test::sol2protofuzzer::Expression* rhs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.rhs_; - } - if (rhs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(rhs); - if (message_arena != submessage_arena) { - rhs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, rhs, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.rhs_ = rhs; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.AssignExpr.rhs) -} - -// ------------------------------------------------------------------- - -// StructMemberAccess - -// required .solidity.test.sol2protofuzzer.VarRef struct_var = 1; -inline bool StructMemberAccess::_internal_has_struct_var() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.struct_var_ != nullptr); - return value; -} -inline bool StructMemberAccess::has_struct_var() const { - return _internal_has_struct_var(); -} -inline void StructMemberAccess::clear_struct_var() { - if (_impl_.struct_var_ != nullptr) _impl_.struct_var_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::VarRef& StructMemberAccess::_internal_struct_var() const { - const ::solidity::test::sol2protofuzzer::VarRef* p = _impl_.struct_var_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_VarRef_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::VarRef& StructMemberAccess::struct_var() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructMemberAccess.struct_var) - return _internal_struct_var(); -} -inline void StructMemberAccess::unsafe_arena_set_allocated_struct_var( - ::solidity::test::sol2protofuzzer::VarRef* struct_var) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.struct_var_); - } - _impl_.struct_var_ = struct_var; - if (struct_var) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.StructMemberAccess.struct_var) -} -inline ::solidity::test::sol2protofuzzer::VarRef* StructMemberAccess::release_struct_var() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::VarRef* temp = _impl_.struct_var_; - _impl_.struct_var_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::VarRef* StructMemberAccess::unsafe_arena_release_struct_var() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.StructMemberAccess.struct_var) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::VarRef* temp = _impl_.struct_var_; - _impl_.struct_var_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::VarRef* StructMemberAccess::_internal_mutable_struct_var() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.struct_var_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::VarRef>(GetArenaForAllocation()); - _impl_.struct_var_ = p; - } - return _impl_.struct_var_; -} -inline ::solidity::test::sol2protofuzzer::VarRef* StructMemberAccess::mutable_struct_var() { - ::solidity::test::sol2protofuzzer::VarRef* _msg = _internal_mutable_struct_var(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.StructMemberAccess.struct_var) - return _msg; -} -inline void StructMemberAccess::set_allocated_struct_var(::solidity::test::sol2protofuzzer::VarRef* struct_var) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.struct_var_; - } - if (struct_var) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(struct_var); - if (message_arena != submessage_arena) { - struct_var = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, struct_var, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.struct_var_ = struct_var; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.StructMemberAccess.struct_var) -} - -// required uint32 field_idx = 2; -inline bool StructMemberAccess::_internal_has_field_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool StructMemberAccess::has_field_idx() const { - return _internal_has_field_idx(); -} -inline void StructMemberAccess::clear_field_idx() { - _impl_.field_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t StructMemberAccess::_internal_field_idx() const { - return _impl_.field_idx_; -} -inline uint32_t StructMemberAccess::field_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructMemberAccess.field_idx) - return _internal_field_idx(); -} -inline void StructMemberAccess::_internal_set_field_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.field_idx_ = value; -} -inline void StructMemberAccess::set_field_idx(uint32_t value) { - _internal_set_field_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StructMemberAccess.field_idx) -} - -// ------------------------------------------------------------------- - -// EnumLiteral - -// required uint32 enum_idx = 1; -inline bool EnumLiteral::_internal_has_enum_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool EnumLiteral::has_enum_idx() const { - return _internal_has_enum_idx(); -} -inline void EnumLiteral::clear_enum_idx() { - _impl_.enum_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t EnumLiteral::_internal_enum_idx() const { - return _impl_.enum_idx_; -} -inline uint32_t EnumLiteral::enum_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EnumLiteral.enum_idx) - return _internal_enum_idx(); -} -inline void EnumLiteral::_internal_set_enum_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.enum_idx_ = value; -} -inline void EnumLiteral::set_enum_idx(uint32_t value) { - _internal_set_enum_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.EnumLiteral.enum_idx) -} - -// required uint32 member_idx = 2; -inline bool EnumLiteral::_internal_has_member_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool EnumLiteral::has_member_idx() const { - return _internal_has_member_idx(); -} -inline void EnumLiteral::clear_member_idx() { - _impl_.member_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t EnumLiteral::_internal_member_idx() const { - return _impl_.member_idx_; -} -inline uint32_t EnumLiteral::member_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EnumLiteral.member_idx) - return _internal_member_idx(); -} -inline void EnumLiteral::_internal_set_member_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.member_idx_ = value; -} -inline void EnumLiteral::set_member_idx(uint32_t value) { - _internal_set_member_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.EnumLiteral.member_idx) -} - -// ------------------------------------------------------------------- - -// SuperCallExpr - -// required uint32 func_idx = 1; -inline bool SuperCallExpr::_internal_has_func_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool SuperCallExpr::has_func_idx() const { - return _internal_has_func_idx(); -} -inline void SuperCallExpr::clear_func_idx() { - _impl_.func_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t SuperCallExpr::_internal_func_idx() const { - return _impl_.func_idx_; -} -inline uint32_t SuperCallExpr::func_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.SuperCallExpr.func_idx) - return _internal_func_idx(); -} -inline void SuperCallExpr::_internal_set_func_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.func_idx_ = value; -} -inline void SuperCallExpr::set_func_idx(uint32_t value) { - _internal_set_func_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.SuperCallExpr.func_idx) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 2; -inline int SuperCallExpr::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int SuperCallExpr::args_size() const { - return _internal_args_size(); -} -inline void SuperCallExpr::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* SuperCallExpr::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.SuperCallExpr.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -SuperCallExpr::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.SuperCallExpr.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& SuperCallExpr::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& SuperCallExpr::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.SuperCallExpr.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* SuperCallExpr::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* SuperCallExpr::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.SuperCallExpr.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -SuperCallExpr::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.SuperCallExpr.args) - return _impl_.args_; -} - -// ------------------------------------------------------------------- - -// LibMemberCallExpr - -// required .solidity.test.sol2protofuzzer.Expression receiver = 1; -inline bool LibMemberCallExpr::_internal_has_receiver() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.receiver_ != nullptr); - return value; -} -inline bool LibMemberCallExpr::has_receiver() const { - return _internal_has_receiver(); -} -inline void LibMemberCallExpr::clear_receiver() { - if (_impl_.receiver_ != nullptr) _impl_.receiver_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& LibMemberCallExpr::_internal_receiver() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.receiver_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& LibMemberCallExpr::receiver() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.LibMemberCallExpr.receiver) - return _internal_receiver(); -} -inline void LibMemberCallExpr::unsafe_arena_set_allocated_receiver( - ::solidity::test::sol2protofuzzer::Expression* receiver) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.receiver_); - } - _impl_.receiver_ = receiver; - if (receiver) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.LibMemberCallExpr.receiver) -} -inline ::solidity::test::sol2protofuzzer::Expression* LibMemberCallExpr::release_receiver() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.receiver_; - _impl_.receiver_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* LibMemberCallExpr::unsafe_arena_release_receiver() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.LibMemberCallExpr.receiver) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.receiver_; - _impl_.receiver_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* LibMemberCallExpr::_internal_mutable_receiver() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.receiver_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.receiver_ = p; - } - return _impl_.receiver_; -} -inline ::solidity::test::sol2protofuzzer::Expression* LibMemberCallExpr::mutable_receiver() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_receiver(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.LibMemberCallExpr.receiver) - return _msg; -} -inline void LibMemberCallExpr::set_allocated_receiver(::solidity::test::sol2protofuzzer::Expression* receiver) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.receiver_; - } - if (receiver) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(receiver); - if (message_arena != submessage_arena) { - receiver = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, receiver, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.receiver_ = receiver; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.LibMemberCallExpr.receiver) -} - -// required uint32 func_idx = 2; -inline bool LibMemberCallExpr::_internal_has_func_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool LibMemberCallExpr::has_func_idx() const { - return _internal_has_func_idx(); -} -inline void LibMemberCallExpr::clear_func_idx() { - _impl_.func_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t LibMemberCallExpr::_internal_func_idx() const { - return _impl_.func_idx_; -} -inline uint32_t LibMemberCallExpr::func_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.LibMemberCallExpr.func_idx) - return _internal_func_idx(); -} -inline void LibMemberCallExpr::_internal_set_func_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.func_idx_ = value; -} -inline void LibMemberCallExpr::set_func_idx(uint32_t value) { - _internal_set_func_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.LibMemberCallExpr.func_idx) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 3; -inline int LibMemberCallExpr::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int LibMemberCallExpr::args_size() const { - return _internal_args_size(); -} -inline void LibMemberCallExpr::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* LibMemberCallExpr::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.LibMemberCallExpr.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -LibMemberCallExpr::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.LibMemberCallExpr.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& LibMemberCallExpr::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& LibMemberCallExpr::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.LibMemberCallExpr.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* LibMemberCallExpr::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* LibMemberCallExpr::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.LibMemberCallExpr.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -LibMemberCallExpr::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.LibMemberCallExpr.args) - return _impl_.args_; -} - -// ------------------------------------------------------------------- - -// ConcatExpr - -// required .solidity.test.sol2protofuzzer.ConcatExpr.Kind kind = 1; -inline bool ConcatExpr::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ConcatExpr::has_kind() const { - return _internal_has_kind(); -} -inline void ConcatExpr::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::ConcatExpr_Kind ConcatExpr::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::ConcatExpr_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::ConcatExpr_Kind ConcatExpr::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ConcatExpr.kind) - return _internal_kind(); -} -inline void ConcatExpr::_internal_set_kind(::solidity::test::sol2protofuzzer::ConcatExpr_Kind value) { - assert(::solidity::test::sol2protofuzzer::ConcatExpr_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.kind_ = value; -} -inline void ConcatExpr::set_kind(::solidity::test::sol2protofuzzer::ConcatExpr_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ConcatExpr.kind) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 2; -inline int ConcatExpr::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int ConcatExpr::args_size() const { - return _internal_args_size(); -} -inline void ConcatExpr::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* ConcatExpr::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ConcatExpr.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -ConcatExpr::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ConcatExpr.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& ConcatExpr::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& ConcatExpr::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ConcatExpr.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* ConcatExpr::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* ConcatExpr::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ConcatExpr.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -ConcatExpr::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ConcatExpr.args) - return _impl_.args_; -} - -// optional bool use_named_args = 3; -inline bool ConcatExpr::_internal_has_use_named_args() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ConcatExpr::has_use_named_args() const { - return _internal_has_use_named_args(); -} -inline void ConcatExpr::clear_use_named_args() { - _impl_.use_named_args_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool ConcatExpr::_internal_use_named_args() const { - return _impl_.use_named_args_; -} -inline bool ConcatExpr::use_named_args() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ConcatExpr.use_named_args) - return _internal_use_named_args(); -} -inline void ConcatExpr::_internal_set_use_named_args(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.use_named_args_ = value; -} -inline void ConcatExpr::set_use_named_args(bool value) { - _internal_set_use_named_args(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ConcatExpr.use_named_args) -} - -// ------------------------------------------------------------------- - -// SelectorExpr - -// required uint32 func_idx = 1; -inline bool SelectorExpr::_internal_has_func_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool SelectorExpr::has_func_idx() const { - return _internal_has_func_idx(); -} -inline void SelectorExpr::clear_func_idx() { - _impl_.func_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t SelectorExpr::_internal_func_idx() const { - return _impl_.func_idx_; -} -inline uint32_t SelectorExpr::func_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.SelectorExpr.func_idx) - return _internal_func_idx(); -} -inline void SelectorExpr::_internal_set_func_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.func_idx_ = value; -} -inline void SelectorExpr::set_func_idx(uint32_t value) { - _internal_set_func_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.SelectorExpr.func_idx) -} - -// ------------------------------------------------------------------- - -// Expression - -// .solidity.test.sol2protofuzzer.Literal lit = 1; -inline bool Expression::_internal_has_lit() const { - return expr_oneof_case() == kLit; -} -inline bool Expression::has_lit() const { - return _internal_has_lit(); -} -inline void Expression::set_has_lit() { - _impl_._oneof_case_[0] = kLit; -} -inline void Expression::clear_lit() { - if (_internal_has_lit()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.lit_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::Literal* Expression::release_lit() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.lit) - if (_internal_has_lit()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::Literal* temp = _impl_.expr_oneof_.lit_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::Literal& Expression::_internal_lit() const { - return _internal_has_lit() - ? *_impl_.expr_oneof_.lit_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::Literal&>(::solidity::test::sol2protofuzzer::_Literal_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Literal& Expression::lit() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.lit) - return _internal_lit(); -} -inline ::solidity::test::sol2protofuzzer::Literal* Expression::unsafe_arena_release_lit() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.lit) - if (_internal_has_lit()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::Literal* temp = _impl_.expr_oneof_.lit_; - _impl_.expr_oneof_.lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_lit(::solidity::test::sol2protofuzzer::Literal* lit) { - clear_expr_oneof(); - if (lit) { - set_has_lit(); - _impl_.expr_oneof_.lit_ = lit; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.lit) -} -inline ::solidity::test::sol2protofuzzer::Literal* Expression::_internal_mutable_lit() { - if (!_internal_has_lit()) { - clear_expr_oneof(); - set_has_lit(); - _impl_.expr_oneof_.lit_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::Literal >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.lit_; -} -inline ::solidity::test::sol2protofuzzer::Literal* Expression::mutable_lit() { - ::solidity::test::sol2protofuzzer::Literal* _msg = _internal_mutable_lit(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.lit) - return _msg; -} - -// .solidity.test.sol2protofuzzer.VarRef var_ref = 2; -inline bool Expression::_internal_has_var_ref() const { - return expr_oneof_case() == kVarRef; -} -inline bool Expression::has_var_ref() const { - return _internal_has_var_ref(); -} -inline void Expression::set_has_var_ref() { - _impl_._oneof_case_[0] = kVarRef; -} -inline void Expression::clear_var_ref() { - if (_internal_has_var_ref()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.var_ref_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::VarRef* Expression::release_var_ref() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.var_ref) - if (_internal_has_var_ref()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::VarRef* temp = _impl_.expr_oneof_.var_ref_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.var_ref_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::VarRef& Expression::_internal_var_ref() const { - return _internal_has_var_ref() - ? *_impl_.expr_oneof_.var_ref_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::VarRef&>(::solidity::test::sol2protofuzzer::_VarRef_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::VarRef& Expression::var_ref() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.var_ref) - return _internal_var_ref(); -} -inline ::solidity::test::sol2protofuzzer::VarRef* Expression::unsafe_arena_release_var_ref() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.var_ref) - if (_internal_has_var_ref()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::VarRef* temp = _impl_.expr_oneof_.var_ref_; - _impl_.expr_oneof_.var_ref_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_var_ref(::solidity::test::sol2protofuzzer::VarRef* var_ref) { - clear_expr_oneof(); - if (var_ref) { - set_has_var_ref(); - _impl_.expr_oneof_.var_ref_ = var_ref; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.var_ref) -} -inline ::solidity::test::sol2protofuzzer::VarRef* Expression::_internal_mutable_var_ref() { - if (!_internal_has_var_ref()) { - clear_expr_oneof(); - set_has_var_ref(); - _impl_.expr_oneof_.var_ref_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::VarRef >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.var_ref_; -} -inline ::solidity::test::sol2protofuzzer::VarRef* Expression::mutable_var_ref() { - ::solidity::test::sol2protofuzzer::VarRef* _msg = _internal_mutable_var_ref(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.var_ref) - return _msg; -} - -// .solidity.test.sol2protofuzzer.BinaryOp bin_op = 3; -inline bool Expression::_internal_has_bin_op() const { - return expr_oneof_case() == kBinOp; -} -inline bool Expression::has_bin_op() const { - return _internal_has_bin_op(); -} -inline void Expression::set_has_bin_op() { - _impl_._oneof_case_[0] = kBinOp; -} -inline void Expression::clear_bin_op() { - if (_internal_has_bin_op()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.bin_op_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::BinaryOp* Expression::release_bin_op() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.bin_op) - if (_internal_has_bin_op()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::BinaryOp* temp = _impl_.expr_oneof_.bin_op_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.bin_op_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::BinaryOp& Expression::_internal_bin_op() const { - return _internal_has_bin_op() - ? *_impl_.expr_oneof_.bin_op_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::BinaryOp&>(::solidity::test::sol2protofuzzer::_BinaryOp_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::BinaryOp& Expression::bin_op() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.bin_op) - return _internal_bin_op(); -} -inline ::solidity::test::sol2protofuzzer::BinaryOp* Expression::unsafe_arena_release_bin_op() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.bin_op) - if (_internal_has_bin_op()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::BinaryOp* temp = _impl_.expr_oneof_.bin_op_; - _impl_.expr_oneof_.bin_op_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_bin_op(::solidity::test::sol2protofuzzer::BinaryOp* bin_op) { - clear_expr_oneof(); - if (bin_op) { - set_has_bin_op(); - _impl_.expr_oneof_.bin_op_ = bin_op; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.bin_op) -} -inline ::solidity::test::sol2protofuzzer::BinaryOp* Expression::_internal_mutable_bin_op() { - if (!_internal_has_bin_op()) { - clear_expr_oneof(); - set_has_bin_op(); - _impl_.expr_oneof_.bin_op_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BinaryOp >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.bin_op_; -} -inline ::solidity::test::sol2protofuzzer::BinaryOp* Expression::mutable_bin_op() { - ::solidity::test::sol2protofuzzer::BinaryOp* _msg = _internal_mutable_bin_op(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.bin_op) - return _msg; -} - -// .solidity.test.sol2protofuzzer.UnaryOp un_op = 4; -inline bool Expression::_internal_has_un_op() const { - return expr_oneof_case() == kUnOp; -} -inline bool Expression::has_un_op() const { - return _internal_has_un_op(); -} -inline void Expression::set_has_un_op() { - _impl_._oneof_case_[0] = kUnOp; -} -inline void Expression::clear_un_op() { - if (_internal_has_un_op()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.un_op_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::UnaryOp* Expression::release_un_op() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.un_op) - if (_internal_has_un_op()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::UnaryOp* temp = _impl_.expr_oneof_.un_op_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.un_op_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::UnaryOp& Expression::_internal_un_op() const { - return _internal_has_un_op() - ? *_impl_.expr_oneof_.un_op_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::UnaryOp&>(::solidity::test::sol2protofuzzer::_UnaryOp_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::UnaryOp& Expression::un_op() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.un_op) - return _internal_un_op(); -} -inline ::solidity::test::sol2protofuzzer::UnaryOp* Expression::unsafe_arena_release_un_op() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.un_op) - if (_internal_has_un_op()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::UnaryOp* temp = _impl_.expr_oneof_.un_op_; - _impl_.expr_oneof_.un_op_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_un_op(::solidity::test::sol2protofuzzer::UnaryOp* un_op) { - clear_expr_oneof(); - if (un_op) { - set_has_un_op(); - _impl_.expr_oneof_.un_op_ = un_op; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.un_op) -} -inline ::solidity::test::sol2protofuzzer::UnaryOp* Expression::_internal_mutable_un_op() { - if (!_internal_has_un_op()) { - clear_expr_oneof(); - set_has_un_op(); - _impl_.expr_oneof_.un_op_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::UnaryOp >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.un_op_; -} -inline ::solidity::test::sol2protofuzzer::UnaryOp* Expression::mutable_un_op() { - ::solidity::test::sol2protofuzzer::UnaryOp* _msg = _internal_mutable_un_op(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.un_op) - return _msg; -} - -// .solidity.test.sol2protofuzzer.TernaryOp ternary = 5; -inline bool Expression::_internal_has_ternary() const { - return expr_oneof_case() == kTernary; -} -inline bool Expression::has_ternary() const { - return _internal_has_ternary(); -} -inline void Expression::set_has_ternary() { - _impl_._oneof_case_[0] = kTernary; -} -inline void Expression::clear_ternary() { - if (_internal_has_ternary()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.ternary_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::TernaryOp* Expression::release_ternary() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.ternary) - if (_internal_has_ternary()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::TernaryOp* temp = _impl_.expr_oneof_.ternary_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.ternary_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::TernaryOp& Expression::_internal_ternary() const { - return _internal_has_ternary() - ? *_impl_.expr_oneof_.ternary_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::TernaryOp&>(::solidity::test::sol2protofuzzer::_TernaryOp_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::TernaryOp& Expression::ternary() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.ternary) - return _internal_ternary(); -} -inline ::solidity::test::sol2protofuzzer::TernaryOp* Expression::unsafe_arena_release_ternary() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.ternary) - if (_internal_has_ternary()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::TernaryOp* temp = _impl_.expr_oneof_.ternary_; - _impl_.expr_oneof_.ternary_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_ternary(::solidity::test::sol2protofuzzer::TernaryOp* ternary) { - clear_expr_oneof(); - if (ternary) { - set_has_ternary(); - _impl_.expr_oneof_.ternary_ = ternary; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.ternary) -} -inline ::solidity::test::sol2protofuzzer::TernaryOp* Expression::_internal_mutable_ternary() { - if (!_internal_has_ternary()) { - clear_expr_oneof(); - set_has_ternary(); - _impl_.expr_oneof_.ternary_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TernaryOp >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.ternary_; -} -inline ::solidity::test::sol2protofuzzer::TernaryOp* Expression::mutable_ternary() { - ::solidity::test::sol2protofuzzer::TernaryOp* _msg = _internal_mutable_ternary(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.ternary) - return _msg; -} - -// .solidity.test.sol2protofuzzer.FuncCallExpr func_call = 6; -inline bool Expression::_internal_has_func_call() const { - return expr_oneof_case() == kFuncCall; -} -inline bool Expression::has_func_call() const { - return _internal_has_func_call(); -} -inline void Expression::set_has_func_call() { - _impl_._oneof_case_[0] = kFuncCall; -} -inline void Expression::clear_func_call() { - if (_internal_has_func_call()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.func_call_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::FuncCallExpr* Expression::release_func_call() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.func_call) - if (_internal_has_func_call()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::FuncCallExpr* temp = _impl_.expr_oneof_.func_call_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.func_call_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::FuncCallExpr& Expression::_internal_func_call() const { - return _internal_has_func_call() - ? *_impl_.expr_oneof_.func_call_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::FuncCallExpr&>(::solidity::test::sol2protofuzzer::_FuncCallExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::FuncCallExpr& Expression::func_call() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.func_call) - return _internal_func_call(); -} -inline ::solidity::test::sol2protofuzzer::FuncCallExpr* Expression::unsafe_arena_release_func_call() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.func_call) - if (_internal_has_func_call()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::FuncCallExpr* temp = _impl_.expr_oneof_.func_call_; - _impl_.expr_oneof_.func_call_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_func_call(::solidity::test::sol2protofuzzer::FuncCallExpr* func_call) { - clear_expr_oneof(); - if (func_call) { - set_has_func_call(); - _impl_.expr_oneof_.func_call_ = func_call; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.func_call) -} -inline ::solidity::test::sol2protofuzzer::FuncCallExpr* Expression::_internal_mutable_func_call() { - if (!_internal_has_func_call()) { - clear_expr_oneof(); - set_has_func_call(); - _impl_.expr_oneof_.func_call_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FuncCallExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.func_call_; -} -inline ::solidity::test::sol2protofuzzer::FuncCallExpr* Expression::mutable_func_call() { - ::solidity::test::sol2protofuzzer::FuncCallExpr* _msg = _internal_mutable_func_call(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.func_call) - return _msg; -} - -// .solidity.test.sol2protofuzzer.IndexAccessExpr index_access = 7; -inline bool Expression::_internal_has_index_access() const { - return expr_oneof_case() == kIndexAccess; -} -inline bool Expression::has_index_access() const { - return _internal_has_index_access(); -} -inline void Expression::set_has_index_access() { - _impl_._oneof_case_[0] = kIndexAccess; -} -inline void Expression::clear_index_access() { - if (_internal_has_index_access()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.index_access_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::IndexAccessExpr* Expression::release_index_access() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.index_access) - if (_internal_has_index_access()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::IndexAccessExpr* temp = _impl_.expr_oneof_.index_access_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.index_access_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::IndexAccessExpr& Expression::_internal_index_access() const { - return _internal_has_index_access() - ? *_impl_.expr_oneof_.index_access_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::IndexAccessExpr&>(::solidity::test::sol2protofuzzer::_IndexAccessExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::IndexAccessExpr& Expression::index_access() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.index_access) - return _internal_index_access(); -} -inline ::solidity::test::sol2protofuzzer::IndexAccessExpr* Expression::unsafe_arena_release_index_access() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.index_access) - if (_internal_has_index_access()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::IndexAccessExpr* temp = _impl_.expr_oneof_.index_access_; - _impl_.expr_oneof_.index_access_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_index_access(::solidity::test::sol2protofuzzer::IndexAccessExpr* index_access) { - clear_expr_oneof(); - if (index_access) { - set_has_index_access(); - _impl_.expr_oneof_.index_access_ = index_access; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.index_access) -} -inline ::solidity::test::sol2protofuzzer::IndexAccessExpr* Expression::_internal_mutable_index_access() { - if (!_internal_has_index_access()) { - clear_expr_oneof(); - set_has_index_access(); - _impl_.expr_oneof_.index_access_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::IndexAccessExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.index_access_; -} -inline ::solidity::test::sol2protofuzzer::IndexAccessExpr* Expression::mutable_index_access() { - ::solidity::test::sol2protofuzzer::IndexAccessExpr* _msg = _internal_mutable_index_access(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.index_access) - return _msg; -} - -// .solidity.test.sol2protofuzzer.TypeConvExpr type_conv = 8; -inline bool Expression::_internal_has_type_conv() const { - return expr_oneof_case() == kTypeConv; -} -inline bool Expression::has_type_conv() const { - return _internal_has_type_conv(); -} -inline void Expression::set_has_type_conv() { - _impl_._oneof_case_[0] = kTypeConv; -} -inline void Expression::clear_type_conv() { - if (_internal_has_type_conv()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.type_conv_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::TypeConvExpr* Expression::release_type_conv() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.type_conv) - if (_internal_has_type_conv()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::TypeConvExpr* temp = _impl_.expr_oneof_.type_conv_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.type_conv_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::TypeConvExpr& Expression::_internal_type_conv() const { - return _internal_has_type_conv() - ? *_impl_.expr_oneof_.type_conv_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::TypeConvExpr&>(::solidity::test::sol2protofuzzer::_TypeConvExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::TypeConvExpr& Expression::type_conv() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.type_conv) - return _internal_type_conv(); -} -inline ::solidity::test::sol2protofuzzer::TypeConvExpr* Expression::unsafe_arena_release_type_conv() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.type_conv) - if (_internal_has_type_conv()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::TypeConvExpr* temp = _impl_.expr_oneof_.type_conv_; - _impl_.expr_oneof_.type_conv_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_type_conv(::solidity::test::sol2protofuzzer::TypeConvExpr* type_conv) { - clear_expr_oneof(); - if (type_conv) { - set_has_type_conv(); - _impl_.expr_oneof_.type_conv_ = type_conv; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.type_conv) -} -inline ::solidity::test::sol2protofuzzer::TypeConvExpr* Expression::_internal_mutable_type_conv() { - if (!_internal_has_type_conv()) { - clear_expr_oneof(); - set_has_type_conv(); - _impl_.expr_oneof_.type_conv_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TypeConvExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.type_conv_; -} -inline ::solidity::test::sol2protofuzzer::TypeConvExpr* Expression::mutable_type_conv() { - ::solidity::test::sol2protofuzzer::TypeConvExpr* _msg = _internal_mutable_type_conv(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.type_conv) - return _msg; -} - -// .solidity.test.sol2protofuzzer.MsgExpr msg_expr = 9; -inline bool Expression::_internal_has_msg_expr() const { - return expr_oneof_case() == kMsgExpr; -} -inline bool Expression::has_msg_expr() const { - return _internal_has_msg_expr(); -} -inline void Expression::set_has_msg_expr() { - _impl_._oneof_case_[0] = kMsgExpr; -} -inline void Expression::clear_msg_expr() { - if (_internal_has_msg_expr()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.msg_expr_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::MsgExpr* Expression::release_msg_expr() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.msg_expr) - if (_internal_has_msg_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::MsgExpr* temp = _impl_.expr_oneof_.msg_expr_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.msg_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::MsgExpr& Expression::_internal_msg_expr() const { - return _internal_has_msg_expr() - ? *_impl_.expr_oneof_.msg_expr_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::MsgExpr&>(::solidity::test::sol2protofuzzer::_MsgExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::MsgExpr& Expression::msg_expr() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.msg_expr) - return _internal_msg_expr(); -} -inline ::solidity::test::sol2protofuzzer::MsgExpr* Expression::unsafe_arena_release_msg_expr() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.msg_expr) - if (_internal_has_msg_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::MsgExpr* temp = _impl_.expr_oneof_.msg_expr_; - _impl_.expr_oneof_.msg_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_msg_expr(::solidity::test::sol2protofuzzer::MsgExpr* msg_expr) { - clear_expr_oneof(); - if (msg_expr) { - set_has_msg_expr(); - _impl_.expr_oneof_.msg_expr_ = msg_expr; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.msg_expr) -} -inline ::solidity::test::sol2protofuzzer::MsgExpr* Expression::_internal_mutable_msg_expr() { - if (!_internal_has_msg_expr()) { - clear_expr_oneof(); - set_has_msg_expr(); - _impl_.expr_oneof_.msg_expr_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::MsgExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.msg_expr_; -} -inline ::solidity::test::sol2protofuzzer::MsgExpr* Expression::mutable_msg_expr() { - ::solidity::test::sol2protofuzzer::MsgExpr* _msg = _internal_mutable_msg_expr(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.msg_expr) - return _msg; -} - -// .solidity.test.sol2protofuzzer.BlockExpr block_expr = 10; -inline bool Expression::_internal_has_block_expr() const { - return expr_oneof_case() == kBlockExpr; -} -inline bool Expression::has_block_expr() const { - return _internal_has_block_expr(); -} -inline void Expression::set_has_block_expr() { - _impl_._oneof_case_[0] = kBlockExpr; -} -inline void Expression::clear_block_expr() { - if (_internal_has_block_expr()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.block_expr_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::BlockExpr* Expression::release_block_expr() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.block_expr) - if (_internal_has_block_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::BlockExpr* temp = _impl_.expr_oneof_.block_expr_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.block_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::BlockExpr& Expression::_internal_block_expr() const { - return _internal_has_block_expr() - ? *_impl_.expr_oneof_.block_expr_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::BlockExpr&>(::solidity::test::sol2protofuzzer::_BlockExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::BlockExpr& Expression::block_expr() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.block_expr) - return _internal_block_expr(); -} -inline ::solidity::test::sol2protofuzzer::BlockExpr* Expression::unsafe_arena_release_block_expr() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.block_expr) - if (_internal_has_block_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::BlockExpr* temp = _impl_.expr_oneof_.block_expr_; - _impl_.expr_oneof_.block_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_block_expr(::solidity::test::sol2protofuzzer::BlockExpr* block_expr) { - clear_expr_oneof(); - if (block_expr) { - set_has_block_expr(); - _impl_.expr_oneof_.block_expr_ = block_expr; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.block_expr) -} -inline ::solidity::test::sol2protofuzzer::BlockExpr* Expression::_internal_mutable_block_expr() { - if (!_internal_has_block_expr()) { - clear_expr_oneof(); - set_has_block_expr(); - _impl_.expr_oneof_.block_expr_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BlockExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.block_expr_; -} -inline ::solidity::test::sol2protofuzzer::BlockExpr* Expression::mutable_block_expr() { - ::solidity::test::sol2protofuzzer::BlockExpr* _msg = _internal_mutable_block_expr(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.block_expr) - return _msg; -} - -// .solidity.test.sol2protofuzzer.TxExpr tx_expr = 11; -inline bool Expression::_internal_has_tx_expr() const { - return expr_oneof_case() == kTxExpr; -} -inline bool Expression::has_tx_expr() const { - return _internal_has_tx_expr(); -} -inline void Expression::set_has_tx_expr() { - _impl_._oneof_case_[0] = kTxExpr; -} -inline void Expression::clear_tx_expr() { - if (_internal_has_tx_expr()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.tx_expr_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::TxExpr* Expression::release_tx_expr() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.tx_expr) - if (_internal_has_tx_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::TxExpr* temp = _impl_.expr_oneof_.tx_expr_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.tx_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::TxExpr& Expression::_internal_tx_expr() const { - return _internal_has_tx_expr() - ? *_impl_.expr_oneof_.tx_expr_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::TxExpr&>(::solidity::test::sol2protofuzzer::_TxExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::TxExpr& Expression::tx_expr() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.tx_expr) - return _internal_tx_expr(); -} -inline ::solidity::test::sol2protofuzzer::TxExpr* Expression::unsafe_arena_release_tx_expr() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.tx_expr) - if (_internal_has_tx_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::TxExpr* temp = _impl_.expr_oneof_.tx_expr_; - _impl_.expr_oneof_.tx_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_tx_expr(::solidity::test::sol2protofuzzer::TxExpr* tx_expr) { - clear_expr_oneof(); - if (tx_expr) { - set_has_tx_expr(); - _impl_.expr_oneof_.tx_expr_ = tx_expr; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.tx_expr) -} -inline ::solidity::test::sol2protofuzzer::TxExpr* Expression::_internal_mutable_tx_expr() { - if (!_internal_has_tx_expr()) { - clear_expr_oneof(); - set_has_tx_expr(); - _impl_.expr_oneof_.tx_expr_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TxExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.tx_expr_; -} -inline ::solidity::test::sol2protofuzzer::TxExpr* Expression::mutable_tx_expr() { - ::solidity::test::sol2protofuzzer::TxExpr* _msg = _internal_mutable_tx_expr(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.tx_expr) - return _msg; -} - -// .solidity.test.sol2protofuzzer.AbiEncodeExpr abi_encode = 12; -inline bool Expression::_internal_has_abi_encode() const { - return expr_oneof_case() == kAbiEncode; -} -inline bool Expression::has_abi_encode() const { - return _internal_has_abi_encode(); -} -inline void Expression::set_has_abi_encode() { - _impl_._oneof_case_[0] = kAbiEncode; -} -inline void Expression::clear_abi_encode() { - if (_internal_has_abi_encode()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.abi_encode_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeExpr* Expression::release_abi_encode() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.abi_encode) - if (_internal_has_abi_encode()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::AbiEncodeExpr* temp = _impl_.expr_oneof_.abi_encode_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.abi_encode_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::AbiEncodeExpr& Expression::_internal_abi_encode() const { - return _internal_has_abi_encode() - ? *_impl_.expr_oneof_.abi_encode_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::AbiEncodeExpr&>(::solidity::test::sol2protofuzzer::_AbiEncodeExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::AbiEncodeExpr& Expression::abi_encode() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.abi_encode) - return _internal_abi_encode(); -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeExpr* Expression::unsafe_arena_release_abi_encode() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.abi_encode) - if (_internal_has_abi_encode()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::AbiEncodeExpr* temp = _impl_.expr_oneof_.abi_encode_; - _impl_.expr_oneof_.abi_encode_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_abi_encode(::solidity::test::sol2protofuzzer::AbiEncodeExpr* abi_encode) { - clear_expr_oneof(); - if (abi_encode) { - set_has_abi_encode(); - _impl_.expr_oneof_.abi_encode_ = abi_encode; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.abi_encode) -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeExpr* Expression::_internal_mutable_abi_encode() { - if (!_internal_has_abi_encode()) { - clear_expr_oneof(); - set_has_abi_encode(); - _impl_.expr_oneof_.abi_encode_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AbiEncodeExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.abi_encode_; -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeExpr* Expression::mutable_abi_encode() { - ::solidity::test::sol2protofuzzer::AbiEncodeExpr* _msg = _internal_mutable_abi_encode(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.abi_encode) - return _msg; -} - -// .solidity.test.sol2protofuzzer.HashExpr hash_expr = 13; -inline bool Expression::_internal_has_hash_expr() const { - return expr_oneof_case() == kHashExpr; -} -inline bool Expression::has_hash_expr() const { - return _internal_has_hash_expr(); -} -inline void Expression::set_has_hash_expr() { - _impl_._oneof_case_[0] = kHashExpr; -} -inline void Expression::clear_hash_expr() { - if (_internal_has_hash_expr()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.hash_expr_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::HashExpr* Expression::release_hash_expr() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.hash_expr) - if (_internal_has_hash_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::HashExpr* temp = _impl_.expr_oneof_.hash_expr_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.hash_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::HashExpr& Expression::_internal_hash_expr() const { - return _internal_has_hash_expr() - ? *_impl_.expr_oneof_.hash_expr_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::HashExpr&>(::solidity::test::sol2protofuzzer::_HashExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::HashExpr& Expression::hash_expr() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.hash_expr) - return _internal_hash_expr(); -} -inline ::solidity::test::sol2protofuzzer::HashExpr* Expression::unsafe_arena_release_hash_expr() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.hash_expr) - if (_internal_has_hash_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::HashExpr* temp = _impl_.expr_oneof_.hash_expr_; - _impl_.expr_oneof_.hash_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_hash_expr(::solidity::test::sol2protofuzzer::HashExpr* hash_expr) { - clear_expr_oneof(); - if (hash_expr) { - set_has_hash_expr(); - _impl_.expr_oneof_.hash_expr_ = hash_expr; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.hash_expr) -} -inline ::solidity::test::sol2protofuzzer::HashExpr* Expression::_internal_mutable_hash_expr() { - if (!_internal_has_hash_expr()) { - clear_expr_oneof(); - set_has_hash_expr(); - _impl_.expr_oneof_.hash_expr_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::HashExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.hash_expr_; -} -inline ::solidity::test::sol2protofuzzer::HashExpr* Expression::mutable_hash_expr() { - ::solidity::test::sol2protofuzzer::HashExpr* _msg = _internal_mutable_hash_expr(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.hash_expr) - return _msg; -} - -// .solidity.test.sol2protofuzzer.MathExpr math_expr = 14; -inline bool Expression::_internal_has_math_expr() const { - return expr_oneof_case() == kMathExpr; -} -inline bool Expression::has_math_expr() const { - return _internal_has_math_expr(); -} -inline void Expression::set_has_math_expr() { - _impl_._oneof_case_[0] = kMathExpr; -} -inline void Expression::clear_math_expr() { - if (_internal_has_math_expr()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.math_expr_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::MathExpr* Expression::release_math_expr() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.math_expr) - if (_internal_has_math_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::MathExpr* temp = _impl_.expr_oneof_.math_expr_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.math_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::MathExpr& Expression::_internal_math_expr() const { - return _internal_has_math_expr() - ? *_impl_.expr_oneof_.math_expr_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::MathExpr&>(::solidity::test::sol2protofuzzer::_MathExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::MathExpr& Expression::math_expr() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.math_expr) - return _internal_math_expr(); -} -inline ::solidity::test::sol2protofuzzer::MathExpr* Expression::unsafe_arena_release_math_expr() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.math_expr) - if (_internal_has_math_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::MathExpr* temp = _impl_.expr_oneof_.math_expr_; - _impl_.expr_oneof_.math_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_math_expr(::solidity::test::sol2protofuzzer::MathExpr* math_expr) { - clear_expr_oneof(); - if (math_expr) { - set_has_math_expr(); - _impl_.expr_oneof_.math_expr_ = math_expr; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.math_expr) -} -inline ::solidity::test::sol2protofuzzer::MathExpr* Expression::_internal_mutable_math_expr() { - if (!_internal_has_math_expr()) { - clear_expr_oneof(); - set_has_math_expr(); - _impl_.expr_oneof_.math_expr_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::MathExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.math_expr_; -} -inline ::solidity::test::sol2protofuzzer::MathExpr* Expression::mutable_math_expr() { - ::solidity::test::sol2protofuzzer::MathExpr* _msg = _internal_mutable_math_expr(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.math_expr) - return _msg; -} - -// .solidity.test.sol2protofuzzer.BuiltinExpr builtin = 15; -inline bool Expression::_internal_has_builtin() const { - return expr_oneof_case() == kBuiltin; -} -inline bool Expression::has_builtin() const { - return _internal_has_builtin(); -} -inline void Expression::set_has_builtin() { - _impl_._oneof_case_[0] = kBuiltin; -} -inline void Expression::clear_builtin() { - if (_internal_has_builtin()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.builtin_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::BuiltinExpr* Expression::release_builtin() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.builtin) - if (_internal_has_builtin()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::BuiltinExpr* temp = _impl_.expr_oneof_.builtin_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.builtin_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::BuiltinExpr& Expression::_internal_builtin() const { - return _internal_has_builtin() - ? *_impl_.expr_oneof_.builtin_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::BuiltinExpr&>(::solidity::test::sol2protofuzzer::_BuiltinExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::BuiltinExpr& Expression::builtin() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.builtin) - return _internal_builtin(); -} -inline ::solidity::test::sol2protofuzzer::BuiltinExpr* Expression::unsafe_arena_release_builtin() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.builtin) - if (_internal_has_builtin()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::BuiltinExpr* temp = _impl_.expr_oneof_.builtin_; - _impl_.expr_oneof_.builtin_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_builtin(::solidity::test::sol2protofuzzer::BuiltinExpr* builtin) { - clear_expr_oneof(); - if (builtin) { - set_has_builtin(); - _impl_.expr_oneof_.builtin_ = builtin; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.builtin) -} -inline ::solidity::test::sol2protofuzzer::BuiltinExpr* Expression::_internal_mutable_builtin() { - if (!_internal_has_builtin()) { - clear_expr_oneof(); - set_has_builtin(); - _impl_.expr_oneof_.builtin_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BuiltinExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.builtin_; -} -inline ::solidity::test::sol2protofuzzer::BuiltinExpr* Expression::mutable_builtin() { - ::solidity::test::sol2protofuzzer::BuiltinExpr* _msg = _internal_mutable_builtin(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.builtin) - return _msg; -} - -// .solidity.test.sol2protofuzzer.AssignExpr assign = 16; -inline bool Expression::_internal_has_assign() const { - return expr_oneof_case() == kAssign; -} -inline bool Expression::has_assign() const { - return _internal_has_assign(); -} -inline void Expression::set_has_assign() { - _impl_._oneof_case_[0] = kAssign; -} -inline void Expression::clear_assign() { - if (_internal_has_assign()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.assign_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::AssignExpr* Expression::release_assign() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.assign) - if (_internal_has_assign()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::AssignExpr* temp = _impl_.expr_oneof_.assign_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.assign_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::AssignExpr& Expression::_internal_assign() const { - return _internal_has_assign() - ? *_impl_.expr_oneof_.assign_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::AssignExpr&>(::solidity::test::sol2protofuzzer::_AssignExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::AssignExpr& Expression::assign() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.assign) - return _internal_assign(); -} -inline ::solidity::test::sol2protofuzzer::AssignExpr* Expression::unsafe_arena_release_assign() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.assign) - if (_internal_has_assign()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::AssignExpr* temp = _impl_.expr_oneof_.assign_; - _impl_.expr_oneof_.assign_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_assign(::solidity::test::sol2protofuzzer::AssignExpr* assign) { - clear_expr_oneof(); - if (assign) { - set_has_assign(); - _impl_.expr_oneof_.assign_ = assign; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.assign) -} -inline ::solidity::test::sol2protofuzzer::AssignExpr* Expression::_internal_mutable_assign() { - if (!_internal_has_assign()) { - clear_expr_oneof(); - set_has_assign(); - _impl_.expr_oneof_.assign_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AssignExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.assign_; -} -inline ::solidity::test::sol2protofuzzer::AssignExpr* Expression::mutable_assign() { - ::solidity::test::sol2protofuzzer::AssignExpr* _msg = _internal_mutable_assign(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.assign) - return _msg; -} - -// .solidity.test.sol2protofuzzer.StructMemberAccess struct_access = 17; -inline bool Expression::_internal_has_struct_access() const { - return expr_oneof_case() == kStructAccess; -} -inline bool Expression::has_struct_access() const { - return _internal_has_struct_access(); -} -inline void Expression::set_has_struct_access() { - _impl_._oneof_case_[0] = kStructAccess; -} -inline void Expression::clear_struct_access() { - if (_internal_has_struct_access()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.struct_access_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::StructMemberAccess* Expression::release_struct_access() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.struct_access) - if (_internal_has_struct_access()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::StructMemberAccess* temp = _impl_.expr_oneof_.struct_access_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.struct_access_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::StructMemberAccess& Expression::_internal_struct_access() const { - return _internal_has_struct_access() - ? *_impl_.expr_oneof_.struct_access_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::StructMemberAccess&>(::solidity::test::sol2protofuzzer::_StructMemberAccess_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::StructMemberAccess& Expression::struct_access() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.struct_access) - return _internal_struct_access(); -} -inline ::solidity::test::sol2protofuzzer::StructMemberAccess* Expression::unsafe_arena_release_struct_access() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.struct_access) - if (_internal_has_struct_access()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::StructMemberAccess* temp = _impl_.expr_oneof_.struct_access_; - _impl_.expr_oneof_.struct_access_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_struct_access(::solidity::test::sol2protofuzzer::StructMemberAccess* struct_access) { - clear_expr_oneof(); - if (struct_access) { - set_has_struct_access(); - _impl_.expr_oneof_.struct_access_ = struct_access; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.struct_access) -} -inline ::solidity::test::sol2protofuzzer::StructMemberAccess* Expression::_internal_mutable_struct_access() { - if (!_internal_has_struct_access()) { - clear_expr_oneof(); - set_has_struct_access(); - _impl_.expr_oneof_.struct_access_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructMemberAccess >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.struct_access_; -} -inline ::solidity::test::sol2protofuzzer::StructMemberAccess* Expression::mutable_struct_access() { - ::solidity::test::sol2protofuzzer::StructMemberAccess* _msg = _internal_mutable_struct_access(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.struct_access) - return _msg; -} - -// .solidity.test.sol2protofuzzer.EnumLiteral enum_lit = 18; -inline bool Expression::_internal_has_enum_lit() const { - return expr_oneof_case() == kEnumLit; -} -inline bool Expression::has_enum_lit() const { - return _internal_has_enum_lit(); -} -inline void Expression::set_has_enum_lit() { - _impl_._oneof_case_[0] = kEnumLit; -} -inline void Expression::clear_enum_lit() { - if (_internal_has_enum_lit()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.enum_lit_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::EnumLiteral* Expression::release_enum_lit() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.enum_lit) - if (_internal_has_enum_lit()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::EnumLiteral* temp = _impl_.expr_oneof_.enum_lit_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.enum_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::EnumLiteral& Expression::_internal_enum_lit() const { - return _internal_has_enum_lit() - ? *_impl_.expr_oneof_.enum_lit_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::EnumLiteral&>(::solidity::test::sol2protofuzzer::_EnumLiteral_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::EnumLiteral& Expression::enum_lit() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.enum_lit) - return _internal_enum_lit(); -} -inline ::solidity::test::sol2protofuzzer::EnumLiteral* Expression::unsafe_arena_release_enum_lit() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.enum_lit) - if (_internal_has_enum_lit()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::EnumLiteral* temp = _impl_.expr_oneof_.enum_lit_; - _impl_.expr_oneof_.enum_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_enum_lit(::solidity::test::sol2protofuzzer::EnumLiteral* enum_lit) { - clear_expr_oneof(); - if (enum_lit) { - set_has_enum_lit(); - _impl_.expr_oneof_.enum_lit_ = enum_lit; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.enum_lit) -} -inline ::solidity::test::sol2protofuzzer::EnumLiteral* Expression::_internal_mutable_enum_lit() { - if (!_internal_has_enum_lit()) { - clear_expr_oneof(); - set_has_enum_lit(); - _impl_.expr_oneof_.enum_lit_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::EnumLiteral >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.enum_lit_; -} -inline ::solidity::test::sol2protofuzzer::EnumLiteral* Expression::mutable_enum_lit() { - ::solidity::test::sol2protofuzzer::EnumLiteral* _msg = _internal_mutable_enum_lit(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.enum_lit) - return _msg; -} - -// .solidity.test.sol2protofuzzer.EcrecoverExpr ecrecover = 19; -inline bool Expression::_internal_has_ecrecover() const { - return expr_oneof_case() == kEcrecover; -} -inline bool Expression::has_ecrecover() const { - return _internal_has_ecrecover(); -} -inline void Expression::set_has_ecrecover() { - _impl_._oneof_case_[0] = kEcrecover; -} -inline void Expression::clear_ecrecover() { - if (_internal_has_ecrecover()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.ecrecover_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::EcrecoverExpr* Expression::release_ecrecover() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.ecrecover) - if (_internal_has_ecrecover()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::EcrecoverExpr* temp = _impl_.expr_oneof_.ecrecover_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.ecrecover_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::EcrecoverExpr& Expression::_internal_ecrecover() const { - return _internal_has_ecrecover() - ? *_impl_.expr_oneof_.ecrecover_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::EcrecoverExpr&>(::solidity::test::sol2protofuzzer::_EcrecoverExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::EcrecoverExpr& Expression::ecrecover() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.ecrecover) - return _internal_ecrecover(); -} -inline ::solidity::test::sol2protofuzzer::EcrecoverExpr* Expression::unsafe_arena_release_ecrecover() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.ecrecover) - if (_internal_has_ecrecover()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::EcrecoverExpr* temp = _impl_.expr_oneof_.ecrecover_; - _impl_.expr_oneof_.ecrecover_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_ecrecover(::solidity::test::sol2protofuzzer::EcrecoverExpr* ecrecover) { - clear_expr_oneof(); - if (ecrecover) { - set_has_ecrecover(); - _impl_.expr_oneof_.ecrecover_ = ecrecover; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.ecrecover) -} -inline ::solidity::test::sol2protofuzzer::EcrecoverExpr* Expression::_internal_mutable_ecrecover() { - if (!_internal_has_ecrecover()) { - clear_expr_oneof(); - set_has_ecrecover(); - _impl_.expr_oneof_.ecrecover_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::EcrecoverExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.ecrecover_; -} -inline ::solidity::test::sol2protofuzzer::EcrecoverExpr* Expression::mutable_ecrecover() { - ::solidity::test::sol2protofuzzer::EcrecoverExpr* _msg = _internal_mutable_ecrecover(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.ecrecover) - return _msg; -} - -// .solidity.test.sol2protofuzzer.TypeInfoExpr type_info = 20; -inline bool Expression::_internal_has_type_info() const { - return expr_oneof_case() == kTypeInfo; -} -inline bool Expression::has_type_info() const { - return _internal_has_type_info(); -} -inline void Expression::set_has_type_info() { - _impl_._oneof_case_[0] = kTypeInfo; -} -inline void Expression::clear_type_info() { - if (_internal_has_type_info()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.type_info_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::TypeInfoExpr* Expression::release_type_info() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.type_info) - if (_internal_has_type_info()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::TypeInfoExpr* temp = _impl_.expr_oneof_.type_info_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.type_info_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::TypeInfoExpr& Expression::_internal_type_info() const { - return _internal_has_type_info() - ? *_impl_.expr_oneof_.type_info_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::TypeInfoExpr&>(::solidity::test::sol2protofuzzer::_TypeInfoExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::TypeInfoExpr& Expression::type_info() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.type_info) - return _internal_type_info(); -} -inline ::solidity::test::sol2protofuzzer::TypeInfoExpr* Expression::unsafe_arena_release_type_info() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.type_info) - if (_internal_has_type_info()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::TypeInfoExpr* temp = _impl_.expr_oneof_.type_info_; - _impl_.expr_oneof_.type_info_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_type_info(::solidity::test::sol2protofuzzer::TypeInfoExpr* type_info) { - clear_expr_oneof(); - if (type_info) { - set_has_type_info(); - _impl_.expr_oneof_.type_info_ = type_info; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.type_info) -} -inline ::solidity::test::sol2protofuzzer::TypeInfoExpr* Expression::_internal_mutable_type_info() { - if (!_internal_has_type_info()) { - clear_expr_oneof(); - set_has_type_info(); - _impl_.expr_oneof_.type_info_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TypeInfoExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.type_info_; -} -inline ::solidity::test::sol2protofuzzer::TypeInfoExpr* Expression::mutable_type_info() { - ::solidity::test::sol2protofuzzer::TypeInfoExpr* _msg = _internal_mutable_type_info(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.type_info) - return _msg; -} - -// .solidity.test.sol2protofuzzer.SuperCallExpr super_call = 21; -inline bool Expression::_internal_has_super_call() const { - return expr_oneof_case() == kSuperCall; -} -inline bool Expression::has_super_call() const { - return _internal_has_super_call(); -} -inline void Expression::set_has_super_call() { - _impl_._oneof_case_[0] = kSuperCall; -} -inline void Expression::clear_super_call() { - if (_internal_has_super_call()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.super_call_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::SuperCallExpr* Expression::release_super_call() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.super_call) - if (_internal_has_super_call()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::SuperCallExpr* temp = _impl_.expr_oneof_.super_call_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.super_call_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::SuperCallExpr& Expression::_internal_super_call() const { - return _internal_has_super_call() - ? *_impl_.expr_oneof_.super_call_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::SuperCallExpr&>(::solidity::test::sol2protofuzzer::_SuperCallExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::SuperCallExpr& Expression::super_call() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.super_call) - return _internal_super_call(); -} -inline ::solidity::test::sol2protofuzzer::SuperCallExpr* Expression::unsafe_arena_release_super_call() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.super_call) - if (_internal_has_super_call()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::SuperCallExpr* temp = _impl_.expr_oneof_.super_call_; - _impl_.expr_oneof_.super_call_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_super_call(::solidity::test::sol2protofuzzer::SuperCallExpr* super_call) { - clear_expr_oneof(); - if (super_call) { - set_has_super_call(); - _impl_.expr_oneof_.super_call_ = super_call; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.super_call) -} -inline ::solidity::test::sol2protofuzzer::SuperCallExpr* Expression::_internal_mutable_super_call() { - if (!_internal_has_super_call()) { - clear_expr_oneof(); - set_has_super_call(); - _impl_.expr_oneof_.super_call_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::SuperCallExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.super_call_; -} -inline ::solidity::test::sol2protofuzzer::SuperCallExpr* Expression::mutable_super_call() { - ::solidity::test::sol2protofuzzer::SuperCallExpr* _msg = _internal_mutable_super_call(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.super_call) - return _msg; -} - -// .solidity.test.sol2protofuzzer.LibMemberCallExpr lib_member_call = 22; -inline bool Expression::_internal_has_lib_member_call() const { - return expr_oneof_case() == kLibMemberCall; -} -inline bool Expression::has_lib_member_call() const { - return _internal_has_lib_member_call(); -} -inline void Expression::set_has_lib_member_call() { - _impl_._oneof_case_[0] = kLibMemberCall; -} -inline void Expression::clear_lib_member_call() { - if (_internal_has_lib_member_call()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.lib_member_call_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::LibMemberCallExpr* Expression::release_lib_member_call() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.lib_member_call) - if (_internal_has_lib_member_call()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::LibMemberCallExpr* temp = _impl_.expr_oneof_.lib_member_call_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.lib_member_call_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::LibMemberCallExpr& Expression::_internal_lib_member_call() const { - return _internal_has_lib_member_call() - ? *_impl_.expr_oneof_.lib_member_call_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::LibMemberCallExpr&>(::solidity::test::sol2protofuzzer::_LibMemberCallExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::LibMemberCallExpr& Expression::lib_member_call() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.lib_member_call) - return _internal_lib_member_call(); -} -inline ::solidity::test::sol2protofuzzer::LibMemberCallExpr* Expression::unsafe_arena_release_lib_member_call() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.lib_member_call) - if (_internal_has_lib_member_call()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::LibMemberCallExpr* temp = _impl_.expr_oneof_.lib_member_call_; - _impl_.expr_oneof_.lib_member_call_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_lib_member_call(::solidity::test::sol2protofuzzer::LibMemberCallExpr* lib_member_call) { - clear_expr_oneof(); - if (lib_member_call) { - set_has_lib_member_call(); - _impl_.expr_oneof_.lib_member_call_ = lib_member_call; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.lib_member_call) -} -inline ::solidity::test::sol2protofuzzer::LibMemberCallExpr* Expression::_internal_mutable_lib_member_call() { - if (!_internal_has_lib_member_call()) { - clear_expr_oneof(); - set_has_lib_member_call(); - _impl_.expr_oneof_.lib_member_call_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::LibMemberCallExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.lib_member_call_; -} -inline ::solidity::test::sol2protofuzzer::LibMemberCallExpr* Expression::mutable_lib_member_call() { - ::solidity::test::sol2protofuzzer::LibMemberCallExpr* _msg = _internal_mutable_lib_member_call(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.lib_member_call) - return _msg; -} - -// .solidity.test.sol2protofuzzer.ConcatExpr concat = 23; -inline bool Expression::_internal_has_concat() const { - return expr_oneof_case() == kConcat; -} -inline bool Expression::has_concat() const { - return _internal_has_concat(); -} -inline void Expression::set_has_concat() { - _impl_._oneof_case_[0] = kConcat; -} -inline void Expression::clear_concat() { - if (_internal_has_concat()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.concat_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ConcatExpr* Expression::release_concat() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.concat) - if (_internal_has_concat()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::ConcatExpr* temp = _impl_.expr_oneof_.concat_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.concat_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ConcatExpr& Expression::_internal_concat() const { - return _internal_has_concat() - ? *_impl_.expr_oneof_.concat_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ConcatExpr&>(::solidity::test::sol2protofuzzer::_ConcatExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ConcatExpr& Expression::concat() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.concat) - return _internal_concat(); -} -inline ::solidity::test::sol2protofuzzer::ConcatExpr* Expression::unsafe_arena_release_concat() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.concat) - if (_internal_has_concat()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::ConcatExpr* temp = _impl_.expr_oneof_.concat_; - _impl_.expr_oneof_.concat_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_concat(::solidity::test::sol2protofuzzer::ConcatExpr* concat) { - clear_expr_oneof(); - if (concat) { - set_has_concat(); - _impl_.expr_oneof_.concat_ = concat; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.concat) -} -inline ::solidity::test::sol2protofuzzer::ConcatExpr* Expression::_internal_mutable_concat() { - if (!_internal_has_concat()) { - clear_expr_oneof(); - set_has_concat(); - _impl_.expr_oneof_.concat_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ConcatExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.concat_; -} -inline ::solidity::test::sol2protofuzzer::ConcatExpr* Expression::mutable_concat() { - ::solidity::test::sol2protofuzzer::ConcatExpr* _msg = _internal_mutable_concat(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.concat) - return _msg; -} - -// .solidity.test.sol2protofuzzer.SelectorExpr selector = 24; -inline bool Expression::_internal_has_selector() const { - return expr_oneof_case() == kSelector; -} -inline bool Expression::has_selector() const { - return _internal_has_selector(); -} -inline void Expression::set_has_selector() { - _impl_._oneof_case_[0] = kSelector; -} -inline void Expression::clear_selector() { - if (_internal_has_selector()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.selector_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::SelectorExpr* Expression::release_selector() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.selector) - if (_internal_has_selector()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::SelectorExpr* temp = _impl_.expr_oneof_.selector_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.selector_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::SelectorExpr& Expression::_internal_selector() const { - return _internal_has_selector() - ? *_impl_.expr_oneof_.selector_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::SelectorExpr&>(::solidity::test::sol2protofuzzer::_SelectorExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::SelectorExpr& Expression::selector() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.selector) - return _internal_selector(); -} -inline ::solidity::test::sol2protofuzzer::SelectorExpr* Expression::unsafe_arena_release_selector() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.selector) - if (_internal_has_selector()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::SelectorExpr* temp = _impl_.expr_oneof_.selector_; - _impl_.expr_oneof_.selector_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_selector(::solidity::test::sol2protofuzzer::SelectorExpr* selector) { - clear_expr_oneof(); - if (selector) { - set_has_selector(); - _impl_.expr_oneof_.selector_ = selector; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.selector) -} -inline ::solidity::test::sol2protofuzzer::SelectorExpr* Expression::_internal_mutable_selector() { - if (!_internal_has_selector()) { - clear_expr_oneof(); - set_has_selector(); - _impl_.expr_oneof_.selector_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::SelectorExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.selector_; -} -inline ::solidity::test::sol2protofuzzer::SelectorExpr* Expression::mutable_selector() { - ::solidity::test::sol2protofuzzer::SelectorExpr* _msg = _internal_mutable_selector(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.selector) - return _msg; -} - -// .solidity.test.sol2protofuzzer.ArrayLengthExpr array_length = 25; -inline bool Expression::_internal_has_array_length() const { - return expr_oneof_case() == kArrayLength; -} -inline bool Expression::has_array_length() const { - return _internal_has_array_length(); -} -inline void Expression::set_has_array_length() { - _impl_._oneof_case_[0] = kArrayLength; -} -inline void Expression::clear_array_length() { - if (_internal_has_array_length()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.array_length_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ArrayLengthExpr* Expression::release_array_length() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.array_length) - if (_internal_has_array_length()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::ArrayLengthExpr* temp = _impl_.expr_oneof_.array_length_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.array_length_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ArrayLengthExpr& Expression::_internal_array_length() const { - return _internal_has_array_length() - ? *_impl_.expr_oneof_.array_length_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ArrayLengthExpr&>(::solidity::test::sol2protofuzzer::_ArrayLengthExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ArrayLengthExpr& Expression::array_length() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.array_length) - return _internal_array_length(); -} -inline ::solidity::test::sol2protofuzzer::ArrayLengthExpr* Expression::unsafe_arena_release_array_length() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.array_length) - if (_internal_has_array_length()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::ArrayLengthExpr* temp = _impl_.expr_oneof_.array_length_; - _impl_.expr_oneof_.array_length_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_array_length(::solidity::test::sol2protofuzzer::ArrayLengthExpr* array_length) { - clear_expr_oneof(); - if (array_length) { - set_has_array_length(); - _impl_.expr_oneof_.array_length_ = array_length; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.array_length) -} -inline ::solidity::test::sol2protofuzzer::ArrayLengthExpr* Expression::_internal_mutable_array_length() { - if (!_internal_has_array_length()) { - clear_expr_oneof(); - set_has_array_length(); - _impl_.expr_oneof_.array_length_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArrayLengthExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.array_length_; -} -inline ::solidity::test::sol2protofuzzer::ArrayLengthExpr* Expression::mutable_array_length() { - ::solidity::test::sol2protofuzzer::ArrayLengthExpr* _msg = _internal_mutable_array_length(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.array_length) - return _msg; -} - -// .solidity.test.sol2protofuzzer.AbiDecodeExpr abi_decode = 26; -inline bool Expression::_internal_has_abi_decode() const { - return expr_oneof_case() == kAbiDecode; -} -inline bool Expression::has_abi_decode() const { - return _internal_has_abi_decode(); -} -inline void Expression::set_has_abi_decode() { - _impl_._oneof_case_[0] = kAbiDecode; -} -inline void Expression::clear_abi_decode() { - if (_internal_has_abi_decode()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.abi_decode_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::AbiDecodeExpr* Expression::release_abi_decode() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.abi_decode) - if (_internal_has_abi_decode()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::AbiDecodeExpr* temp = _impl_.expr_oneof_.abi_decode_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.abi_decode_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::AbiDecodeExpr& Expression::_internal_abi_decode() const { - return _internal_has_abi_decode() - ? *_impl_.expr_oneof_.abi_decode_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::AbiDecodeExpr&>(::solidity::test::sol2protofuzzer::_AbiDecodeExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::AbiDecodeExpr& Expression::abi_decode() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.abi_decode) - return _internal_abi_decode(); -} -inline ::solidity::test::sol2protofuzzer::AbiDecodeExpr* Expression::unsafe_arena_release_abi_decode() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.abi_decode) - if (_internal_has_abi_decode()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::AbiDecodeExpr* temp = _impl_.expr_oneof_.abi_decode_; - _impl_.expr_oneof_.abi_decode_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_abi_decode(::solidity::test::sol2protofuzzer::AbiDecodeExpr* abi_decode) { - clear_expr_oneof(); - if (abi_decode) { - set_has_abi_decode(); - _impl_.expr_oneof_.abi_decode_ = abi_decode; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.abi_decode) -} -inline ::solidity::test::sol2protofuzzer::AbiDecodeExpr* Expression::_internal_mutable_abi_decode() { - if (!_internal_has_abi_decode()) { - clear_expr_oneof(); - set_has_abi_decode(); - _impl_.expr_oneof_.abi_decode_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AbiDecodeExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.abi_decode_; -} -inline ::solidity::test::sol2protofuzzer::AbiDecodeExpr* Expression::mutable_abi_decode() { - ::solidity::test::sol2protofuzzer::AbiDecodeExpr* _msg = _internal_mutable_abi_decode(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.abi_decode) - return _msg; -} - -// .solidity.test.sol2protofuzzer.AbiEncodeCallExpr abi_encode_call = 27; -inline bool Expression::_internal_has_abi_encode_call() const { - return expr_oneof_case() == kAbiEncodeCall; -} -inline bool Expression::has_abi_encode_call() const { - return _internal_has_abi_encode_call(); -} -inline void Expression::set_has_abi_encode_call() { - _impl_._oneof_case_[0] = kAbiEncodeCall; -} -inline void Expression::clear_abi_encode_call() { - if (_internal_has_abi_encode_call()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.abi_encode_call_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* Expression::release_abi_encode_call() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.abi_encode_call) - if (_internal_has_abi_encode_call()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* temp = _impl_.expr_oneof_.abi_encode_call_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.abi_encode_call_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr& Expression::_internal_abi_encode_call() const { - return _internal_has_abi_encode_call() - ? *_impl_.expr_oneof_.abi_encode_call_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr&>(::solidity::test::sol2protofuzzer::_AbiEncodeCallExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr& Expression::abi_encode_call() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.abi_encode_call) - return _internal_abi_encode_call(); -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* Expression::unsafe_arena_release_abi_encode_call() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.abi_encode_call) - if (_internal_has_abi_encode_call()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* temp = _impl_.expr_oneof_.abi_encode_call_; - _impl_.expr_oneof_.abi_encode_call_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_abi_encode_call(::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* abi_encode_call) { - clear_expr_oneof(); - if (abi_encode_call) { - set_has_abi_encode_call(); - _impl_.expr_oneof_.abi_encode_call_ = abi_encode_call; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.abi_encode_call) -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* Expression::_internal_mutable_abi_encode_call() { - if (!_internal_has_abi_encode_call()) { - clear_expr_oneof(); - set_has_abi_encode_call(); - _impl_.expr_oneof_.abi_encode_call_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.abi_encode_call_; -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* Expression::mutable_abi_encode_call() { - ::solidity::test::sol2protofuzzer::AbiEncodeCallExpr* _msg = _internal_mutable_abi_encode_call(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.abi_encode_call) - return _msg; -} - -// .solidity.test.sol2protofuzzer.UdvtExpr udvt_expr = 28; -inline bool Expression::_internal_has_udvt_expr() const { - return expr_oneof_case() == kUdvtExpr; -} -inline bool Expression::has_udvt_expr() const { - return _internal_has_udvt_expr(); -} -inline void Expression::set_has_udvt_expr() { - _impl_._oneof_case_[0] = kUdvtExpr; -} -inline void Expression::clear_udvt_expr() { - if (_internal_has_udvt_expr()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.udvt_expr_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::UdvtExpr* Expression::release_udvt_expr() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.udvt_expr) - if (_internal_has_udvt_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::UdvtExpr* temp = _impl_.expr_oneof_.udvt_expr_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.udvt_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::UdvtExpr& Expression::_internal_udvt_expr() const { - return _internal_has_udvt_expr() - ? *_impl_.expr_oneof_.udvt_expr_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::UdvtExpr&>(::solidity::test::sol2protofuzzer::_UdvtExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::UdvtExpr& Expression::udvt_expr() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.udvt_expr) - return _internal_udvt_expr(); -} -inline ::solidity::test::sol2protofuzzer::UdvtExpr* Expression::unsafe_arena_release_udvt_expr() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.udvt_expr) - if (_internal_has_udvt_expr()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::UdvtExpr* temp = _impl_.expr_oneof_.udvt_expr_; - _impl_.expr_oneof_.udvt_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_udvt_expr(::solidity::test::sol2protofuzzer::UdvtExpr* udvt_expr) { - clear_expr_oneof(); - if (udvt_expr) { - set_has_udvt_expr(); - _impl_.expr_oneof_.udvt_expr_ = udvt_expr; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.udvt_expr) -} -inline ::solidity::test::sol2protofuzzer::UdvtExpr* Expression::_internal_mutable_udvt_expr() { - if (!_internal_has_udvt_expr()) { - clear_expr_oneof(); - set_has_udvt_expr(); - _impl_.expr_oneof_.udvt_expr_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::UdvtExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.udvt_expr_; -} -inline ::solidity::test::sol2protofuzzer::UdvtExpr* Expression::mutable_udvt_expr() { - ::solidity::test::sol2protofuzzer::UdvtExpr* _msg = _internal_mutable_udvt_expr(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.udvt_expr) - return _msg; -} - -// .solidity.test.sol2protofuzzer.ArrayLiteralExpr array_lit = 29; -inline bool Expression::_internal_has_array_lit() const { - return expr_oneof_case() == kArrayLit; -} -inline bool Expression::has_array_lit() const { - return _internal_has_array_lit(); -} -inline void Expression::set_has_array_lit() { - _impl_._oneof_case_[0] = kArrayLit; -} -inline void Expression::clear_array_lit() { - if (_internal_has_array_lit()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.array_lit_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* Expression::release_array_lit() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Expression.array_lit) - if (_internal_has_array_lit()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* temp = _impl_.expr_oneof_.array_lit_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.array_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ArrayLiteralExpr& Expression::_internal_array_lit() const { - return _internal_has_array_lit() - ? *_impl_.expr_oneof_.array_lit_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ArrayLiteralExpr&>(::solidity::test::sol2protofuzzer::_ArrayLiteralExpr_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ArrayLiteralExpr& Expression::array_lit() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Expression.array_lit) - return _internal_array_lit(); -} -inline ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* Expression::unsafe_arena_release_array_lit() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Expression.array_lit) - if (_internal_has_array_lit()) { - clear_has_expr_oneof(); - ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* temp = _impl_.expr_oneof_.array_lit_; - _impl_.expr_oneof_.array_lit_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_array_lit(::solidity::test::sol2protofuzzer::ArrayLiteralExpr* array_lit) { - clear_expr_oneof(); - if (array_lit) { - set_has_array_lit(); - _impl_.expr_oneof_.array_lit_ = array_lit; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Expression.array_lit) -} -inline ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* Expression::_internal_mutable_array_lit() { - if (!_internal_has_array_lit()) { - clear_expr_oneof(); - set_has_array_lit(); - _impl_.expr_oneof_.array_lit_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArrayLiteralExpr >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.array_lit_; -} -inline ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* Expression::mutable_array_lit() { - ::solidity::test::sol2protofuzzer::ArrayLiteralExpr* _msg = _internal_mutable_array_lit(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Expression.array_lit) - return _msg; -} - -inline bool Expression::has_expr_oneof() const { - return expr_oneof_case() != EXPR_ONEOF_NOT_SET; -} -inline void Expression::clear_has_expr_oneof() { - _impl_._oneof_case_[0] = EXPR_ONEOF_NOT_SET; -} -inline Expression::ExprOneofCase Expression::expr_oneof_case() const { - return Expression::ExprOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// UdvtExpr - -// required .solidity.test.sol2protofuzzer.Expression inner = 1; -inline bool UdvtExpr::_internal_has_inner() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.inner_ != nullptr); - return value; -} -inline bool UdvtExpr::has_inner() const { - return _internal_has_inner(); -} -inline void UdvtExpr::clear_inner() { - if (_impl_.inner_ != nullptr) _impl_.inner_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& UdvtExpr::_internal_inner() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.inner_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& UdvtExpr::inner() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UdvtExpr.inner) - return _internal_inner(); -} -inline void UdvtExpr::unsafe_arena_set_allocated_inner( - ::solidity::test::sol2protofuzzer::Expression* inner) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.inner_); - } - _impl_.inner_ = inner; - if (inner) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.UdvtExpr.inner) -} -inline ::solidity::test::sol2protofuzzer::Expression* UdvtExpr::release_inner() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.inner_; - _impl_.inner_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* UdvtExpr::unsafe_arena_release_inner() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.UdvtExpr.inner) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.inner_; - _impl_.inner_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* UdvtExpr::_internal_mutable_inner() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.inner_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.inner_ = p; - } - return _impl_.inner_; -} -inline ::solidity::test::sol2protofuzzer::Expression* UdvtExpr::mutable_inner() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_inner(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.UdvtExpr.inner) - return _msg; -} -inline void UdvtExpr::set_allocated_inner(::solidity::test::sol2protofuzzer::Expression* inner) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.inner_; - } - if (inner) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(inner); - if (message_arena != submessage_arena) { - inner = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, inner, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.inner_ = inner; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.UdvtExpr.inner) -} - -// required bool wrap_only = 2; -inline bool UdvtExpr::_internal_has_wrap_only() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool UdvtExpr::has_wrap_only() const { - return _internal_has_wrap_only(); -} -inline void UdvtExpr::clear_wrap_only() { - _impl_.wrap_only_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool UdvtExpr::_internal_wrap_only() const { - return _impl_.wrap_only_; -} -inline bool UdvtExpr::wrap_only() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UdvtExpr.wrap_only) - return _internal_wrap_only(); -} -inline void UdvtExpr::_internal_set_wrap_only(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.wrap_only_ = value; -} -inline void UdvtExpr::set_wrap_only(bool value) { - _internal_set_wrap_only(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.UdvtExpr.wrap_only) -} - -// ------------------------------------------------------------------- - -// ArrayLiteralExpr - -// required .solidity.test.sol2protofuzzer.ArrayLiteralExpr.Kind kind = 1; -inline bool ArrayLiteralExpr::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ArrayLiteralExpr::has_kind() const { - return _internal_has_kind(); -} -inline void ArrayLiteralExpr::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind ArrayLiteralExpr::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind ArrayLiteralExpr::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArrayLiteralExpr.kind) - return _internal_kind(); -} -inline void ArrayLiteralExpr::_internal_set_kind(::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind value) { - assert(::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.kind_ = value; -} -inline void ArrayLiteralExpr::set_kind(::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ArrayLiteralExpr.kind) -} - -// repeated .solidity.test.sol2protofuzzer.Expression elems = 2; -inline int ArrayLiteralExpr::_internal_elems_size() const { - return _impl_.elems_.size(); -} -inline int ArrayLiteralExpr::elems_size() const { - return _internal_elems_size(); -} -inline void ArrayLiteralExpr::clear_elems() { - _impl_.elems_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* ArrayLiteralExpr::mutable_elems(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ArrayLiteralExpr.elems) - return _impl_.elems_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -ArrayLiteralExpr::mutable_elems() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ArrayLiteralExpr.elems) - return &_impl_.elems_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& ArrayLiteralExpr::_internal_elems(int index) const { - return _impl_.elems_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& ArrayLiteralExpr::elems(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArrayLiteralExpr.elems) - return _internal_elems(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* ArrayLiteralExpr::_internal_add_elems() { - return _impl_.elems_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* ArrayLiteralExpr::add_elems() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_elems(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ArrayLiteralExpr.elems) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -ArrayLiteralExpr::elems() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ArrayLiteralExpr.elems) - return _impl_.elems_; -} - -// optional uint32 index = 3; -inline bool ArrayLiteralExpr::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ArrayLiteralExpr::has_index() const { - return _internal_has_index(); -} -inline void ArrayLiteralExpr::clear_index() { - _impl_.index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t ArrayLiteralExpr::_internal_index() const { - return _impl_.index_; -} -inline uint32_t ArrayLiteralExpr::index() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArrayLiteralExpr.index) - return _internal_index(); -} -inline void ArrayLiteralExpr::_internal_set_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.index_ = value; -} -inline void ArrayLiteralExpr::set_index(uint32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ArrayLiteralExpr.index) -} - -// ------------------------------------------------------------------- - -// VarDeclStmt - -// optional .solidity.test.sol2protofuzzer.Expression init = 2; -inline bool VarDeclStmt::_internal_has_init() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.init_ != nullptr); - return value; -} -inline bool VarDeclStmt::has_init() const { - return _internal_has_init(); -} -inline void VarDeclStmt::clear_init() { - if (_impl_.init_ != nullptr) _impl_.init_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& VarDeclStmt::_internal_init() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.init_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& VarDeclStmt::init() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.VarDeclStmt.init) - return _internal_init(); -} -inline void VarDeclStmt::unsafe_arena_set_allocated_init( - ::solidity::test::sol2protofuzzer::Expression* init) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.init_); - } - _impl_.init_ = init; - if (init) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.VarDeclStmt.init) -} -inline ::solidity::test::sol2protofuzzer::Expression* VarDeclStmt::release_init() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.init_; - _impl_.init_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* VarDeclStmt::unsafe_arena_release_init() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.VarDeclStmt.init) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.init_; - _impl_.init_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* VarDeclStmt::_internal_mutable_init() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.init_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.init_ = p; - } - return _impl_.init_; -} -inline ::solidity::test::sol2protofuzzer::Expression* VarDeclStmt::mutable_init() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_init(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.VarDeclStmt.init) - return _msg; -} -inline void VarDeclStmt::set_allocated_init(::solidity::test::sol2protofuzzer::Expression* init) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.init_; - } - if (init) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(init); - if (message_arena != submessage_arena) { - init = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, init, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.init_ = init; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.VarDeclStmt.init) -} - -// ------------------------------------------------------------------- - -// ExprStmt - -// required .solidity.test.sol2protofuzzer.Expression expr = 1; -inline bool ExprStmt::_internal_has_expr() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.expr_ != nullptr); - return value; -} -inline bool ExprStmt::has_expr() const { - return _internal_has_expr(); -} -inline void ExprStmt::clear_expr() { - if (_impl_.expr_ != nullptr) _impl_.expr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& ExprStmt::_internal_expr() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.expr_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& ExprStmt::expr() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ExprStmt.expr) - return _internal_expr(); -} -inline void ExprStmt::unsafe_arena_set_allocated_expr( - ::solidity::test::sol2protofuzzer::Expression* expr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.expr_); - } - _impl_.expr_ = expr; - if (expr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ExprStmt.expr) -} -inline ::solidity::test::sol2protofuzzer::Expression* ExprStmt::release_expr() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.expr_; - _impl_.expr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* ExprStmt::unsafe_arena_release_expr() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ExprStmt.expr) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.expr_; - _impl_.expr_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* ExprStmt::_internal_mutable_expr() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.expr_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.expr_ = p; - } - return _impl_.expr_; -} -inline ::solidity::test::sol2protofuzzer::Expression* ExprStmt::mutable_expr() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_expr(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ExprStmt.expr) - return _msg; -} -inline void ExprStmt::set_allocated_expr(::solidity::test::sol2protofuzzer::Expression* expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.expr_; - } - if (expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(expr); - if (message_arena != submessage_arena) { - expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, expr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.expr_ = expr; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ExprStmt.expr) -} - -// ------------------------------------------------------------------- - -// IfStmt - -// required .solidity.test.sol2protofuzzer.Expression cond = 1; -inline bool IfStmt::_internal_has_cond() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cond_ != nullptr); - return value; -} -inline bool IfStmt::has_cond() const { - return _internal_has_cond(); -} -inline void IfStmt::clear_cond() { - if (_impl_.cond_ != nullptr) _impl_.cond_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& IfStmt::_internal_cond() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.cond_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& IfStmt::cond() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IfStmt.cond) - return _internal_cond(); -} -inline void IfStmt::unsafe_arena_set_allocated_cond( - ::solidity::test::sol2protofuzzer::Expression* cond) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cond_); - } - _impl_.cond_ = cond; - if (cond) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.IfStmt.cond) -} -inline ::solidity::test::sol2protofuzzer::Expression* IfStmt::release_cond() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* IfStmt::unsafe_arena_release_cond() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.IfStmt.cond) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* IfStmt::_internal_mutable_cond() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.cond_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.cond_ = p; - } - return _impl_.cond_; -} -inline ::solidity::test::sol2protofuzzer::Expression* IfStmt::mutable_cond() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_cond(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.IfStmt.cond) - return _msg; -} -inline void IfStmt::set_allocated_cond(::solidity::test::sol2protofuzzer::Expression* cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cond_; - } - if (cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cond); - if (message_arena != submessage_arena) { - cond = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cond, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cond_ = cond; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.IfStmt.cond) -} - -// required .solidity.test.sol2protofuzzer.Block if_body = 2; -inline bool IfStmt::_internal_has_if_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.if_body_ != nullptr); - return value; -} -inline bool IfStmt::has_if_body() const { - return _internal_has_if_body(); -} -inline void IfStmt::clear_if_body() { - if (_impl_.if_body_ != nullptr) _impl_.if_body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Block& IfStmt::_internal_if_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.if_body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& IfStmt::if_body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IfStmt.if_body) - return _internal_if_body(); -} -inline void IfStmt::unsafe_arena_set_allocated_if_body( - ::solidity::test::sol2protofuzzer::Block* if_body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.if_body_); - } - _impl_.if_body_ = if_body; - if (if_body) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.IfStmt.if_body) -} -inline ::solidity::test::sol2protofuzzer::Block* IfStmt::release_if_body() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.if_body_; - _impl_.if_body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* IfStmt::unsafe_arena_release_if_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.IfStmt.if_body) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.if_body_; - _impl_.if_body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* IfStmt::_internal_mutable_if_body() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.if_body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.if_body_ = p; - } - return _impl_.if_body_; -} -inline ::solidity::test::sol2protofuzzer::Block* IfStmt::mutable_if_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_if_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.IfStmt.if_body) - return _msg; -} -inline void IfStmt::set_allocated_if_body(::solidity::test::sol2protofuzzer::Block* if_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.if_body_; - } - if (if_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(if_body); - if (message_arena != submessage_arena) { - if_body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, if_body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.if_body_ = if_body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.IfStmt.if_body) -} - -// optional .solidity.test.sol2protofuzzer.Block else_body = 3; -inline bool IfStmt::_internal_has_else_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.else_body_ != nullptr); - return value; -} -inline bool IfStmt::has_else_body() const { - return _internal_has_else_body(); -} -inline void IfStmt::clear_else_body() { - if (_impl_.else_body_ != nullptr) _impl_.else_body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::test::sol2protofuzzer::Block& IfStmt::_internal_else_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.else_body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& IfStmt::else_body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IfStmt.else_body) - return _internal_else_body(); -} -inline void IfStmt::unsafe_arena_set_allocated_else_body( - ::solidity::test::sol2protofuzzer::Block* else_body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.else_body_); - } - _impl_.else_body_ = else_body; - if (else_body) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.IfStmt.else_body) -} -inline ::solidity::test::sol2protofuzzer::Block* IfStmt::release_else_body() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.else_body_; - _impl_.else_body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* IfStmt::unsafe_arena_release_else_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.IfStmt.else_body) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.else_body_; - _impl_.else_body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* IfStmt::_internal_mutable_else_body() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.else_body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.else_body_ = p; - } - return _impl_.else_body_; -} -inline ::solidity::test::sol2protofuzzer::Block* IfStmt::mutable_else_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_else_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.IfStmt.else_body) - return _msg; -} -inline void IfStmt::set_allocated_else_body(::solidity::test::sol2protofuzzer::Block* else_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.else_body_; - } - if (else_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(else_body); - if (message_arena != submessage_arena) { - else_body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, else_body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.else_body_ = else_body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.IfStmt.else_body) -} - -// ------------------------------------------------------------------- - -// ForStmt - -// required .solidity.test.sol2protofuzzer.Block body = 4; -inline bool ForStmt::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.body_ != nullptr); - return value; -} -inline bool ForStmt::has_body() const { - return _internal_has_body(); -} -inline void ForStmt::clear_body() { - if (_impl_.body_ != nullptr) _impl_.body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Block& ForStmt::_internal_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& ForStmt::body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ForStmt.body) - return _internal_body(); -} -inline void ForStmt::unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.body_); - } - _impl_.body_ = body; - if (body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ForStmt.body) -} -inline ::solidity::test::sol2protofuzzer::Block* ForStmt::release_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* ForStmt::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ForStmt.body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* ForStmt::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.body_ = p; - } - return _impl_.body_; -} -inline ::solidity::test::sol2protofuzzer::Block* ForStmt::mutable_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ForStmt.body) - return _msg; -} -inline void ForStmt::set_allocated_body(::solidity::test::sol2protofuzzer::Block* body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.body_; - } - if (body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(body); - if (message_arena != submessage_arena) { - body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.body_ = body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ForStmt.body) -} - -// ------------------------------------------------------------------- - -// WhileStmt - -// required .solidity.test.sol2protofuzzer.Expression cond = 1; -inline bool WhileStmt::_internal_has_cond() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cond_ != nullptr); - return value; -} -inline bool WhileStmt::has_cond() const { - return _internal_has_cond(); -} -inline void WhileStmt::clear_cond() { - if (_impl_.cond_ != nullptr) _impl_.cond_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& WhileStmt::_internal_cond() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.cond_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& WhileStmt::cond() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.WhileStmt.cond) - return _internal_cond(); -} -inline void WhileStmt::unsafe_arena_set_allocated_cond( - ::solidity::test::sol2protofuzzer::Expression* cond) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cond_); - } - _impl_.cond_ = cond; - if (cond) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.WhileStmt.cond) -} -inline ::solidity::test::sol2protofuzzer::Expression* WhileStmt::release_cond() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* WhileStmt::unsafe_arena_release_cond() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.WhileStmt.cond) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* WhileStmt::_internal_mutable_cond() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.cond_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.cond_ = p; - } - return _impl_.cond_; -} -inline ::solidity::test::sol2protofuzzer::Expression* WhileStmt::mutable_cond() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_cond(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.WhileStmt.cond) - return _msg; -} -inline void WhileStmt::set_allocated_cond(::solidity::test::sol2protofuzzer::Expression* cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cond_; - } - if (cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cond); - if (message_arena != submessage_arena) { - cond = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cond, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cond_ = cond; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.WhileStmt.cond) -} - -// required .solidity.test.sol2protofuzzer.Block body = 2; -inline bool WhileStmt::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.body_ != nullptr); - return value; -} -inline bool WhileStmt::has_body() const { - return _internal_has_body(); -} -inline void WhileStmt::clear_body() { - if (_impl_.body_ != nullptr) _impl_.body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Block& WhileStmt::_internal_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& WhileStmt::body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.WhileStmt.body) - return _internal_body(); -} -inline void WhileStmt::unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.body_); - } - _impl_.body_ = body; - if (body) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.WhileStmt.body) -} -inline ::solidity::test::sol2protofuzzer::Block* WhileStmt::release_body() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* WhileStmt::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.WhileStmt.body) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* WhileStmt::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.body_ = p; - } - return _impl_.body_; -} -inline ::solidity::test::sol2protofuzzer::Block* WhileStmt::mutable_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.WhileStmt.body) - return _msg; -} -inline void WhileStmt::set_allocated_body(::solidity::test::sol2protofuzzer::Block* body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.body_; - } - if (body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(body); - if (message_arena != submessage_arena) { - body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.body_ = body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.WhileStmt.body) -} - -// ------------------------------------------------------------------- - -// DoWhileStmt - -// required .solidity.test.sol2protofuzzer.Expression cond = 1; -inline bool DoWhileStmt::_internal_has_cond() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cond_ != nullptr); - return value; -} -inline bool DoWhileStmt::has_cond() const { - return _internal_has_cond(); -} -inline void DoWhileStmt::clear_cond() { - if (_impl_.cond_ != nullptr) _impl_.cond_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& DoWhileStmt::_internal_cond() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.cond_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& DoWhileStmt::cond() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.DoWhileStmt.cond) - return _internal_cond(); -} -inline void DoWhileStmt::unsafe_arena_set_allocated_cond( - ::solidity::test::sol2protofuzzer::Expression* cond) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cond_); - } - _impl_.cond_ = cond; - if (cond) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.DoWhileStmt.cond) -} -inline ::solidity::test::sol2protofuzzer::Expression* DoWhileStmt::release_cond() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* DoWhileStmt::unsafe_arena_release_cond() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.DoWhileStmt.cond) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* DoWhileStmt::_internal_mutable_cond() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.cond_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.cond_ = p; - } - return _impl_.cond_; -} -inline ::solidity::test::sol2protofuzzer::Expression* DoWhileStmt::mutable_cond() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_cond(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.DoWhileStmt.cond) - return _msg; -} -inline void DoWhileStmt::set_allocated_cond(::solidity::test::sol2protofuzzer::Expression* cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cond_; - } - if (cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cond); - if (message_arena != submessage_arena) { - cond = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cond, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cond_ = cond; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.DoWhileStmt.cond) -} - -// required .solidity.test.sol2protofuzzer.Block body = 2; -inline bool DoWhileStmt::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.body_ != nullptr); - return value; -} -inline bool DoWhileStmt::has_body() const { - return _internal_has_body(); -} -inline void DoWhileStmt::clear_body() { - if (_impl_.body_ != nullptr) _impl_.body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Block& DoWhileStmt::_internal_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& DoWhileStmt::body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.DoWhileStmt.body) - return _internal_body(); -} -inline void DoWhileStmt::unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.body_); - } - _impl_.body_ = body; - if (body) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.DoWhileStmt.body) -} -inline ::solidity::test::sol2protofuzzer::Block* DoWhileStmt::release_body() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* DoWhileStmt::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.DoWhileStmt.body) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* DoWhileStmt::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.body_ = p; - } - return _impl_.body_; -} -inline ::solidity::test::sol2protofuzzer::Block* DoWhileStmt::mutable_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.DoWhileStmt.body) - return _msg; -} -inline void DoWhileStmt::set_allocated_body(::solidity::test::sol2protofuzzer::Block* body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.body_; - } - if (body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(body); - if (message_arena != submessage_arena) { - body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.body_ = body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.DoWhileStmt.body) -} - -// ------------------------------------------------------------------- - -// ReturnStmt - -// optional .solidity.test.sol2protofuzzer.Expression val = 1; -inline bool ReturnStmt::_internal_has_val() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.val_ != nullptr); - return value; -} -inline bool ReturnStmt::has_val() const { - return _internal_has_val(); -} -inline void ReturnStmt::clear_val() { - if (_impl_.val_ != nullptr) _impl_.val_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& ReturnStmt::_internal_val() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.val_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& ReturnStmt::val() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ReturnStmt.val) - return _internal_val(); -} -inline void ReturnStmt::unsafe_arena_set_allocated_val( - ::solidity::test::sol2protofuzzer::Expression* val) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.val_); - } - _impl_.val_ = val; - if (val) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ReturnStmt.val) -} -inline ::solidity::test::sol2protofuzzer::Expression* ReturnStmt::release_val() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.val_; - _impl_.val_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* ReturnStmt::unsafe_arena_release_val() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ReturnStmt.val) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.val_; - _impl_.val_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* ReturnStmt::_internal_mutable_val() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.val_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.val_ = p; - } - return _impl_.val_; -} -inline ::solidity::test::sol2protofuzzer::Expression* ReturnStmt::mutable_val() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_val(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ReturnStmt.val) - return _msg; -} -inline void ReturnStmt::set_allocated_val(::solidity::test::sol2protofuzzer::Expression* val) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.val_; - } - if (val) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(val); - if (message_arena != submessage_arena) { - val = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, val, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.val_ = val; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ReturnStmt.val) -} - -// ------------------------------------------------------------------- - -// BreakStmt - -// ------------------------------------------------------------------- - -// ContinueStmt - -// ------------------------------------------------------------------- - -// RequireStmt - -// required .solidity.test.sol2protofuzzer.Expression cond = 1; -inline bool RequireStmt::_internal_has_cond() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cond_ != nullptr); - return value; -} -inline bool RequireStmt::has_cond() const { - return _internal_has_cond(); -} -inline void RequireStmt::clear_cond() { - if (_impl_.cond_ != nullptr) _impl_.cond_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& RequireStmt::_internal_cond() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.cond_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& RequireStmt::cond() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.RequireStmt.cond) - return _internal_cond(); -} -inline void RequireStmt::unsafe_arena_set_allocated_cond( - ::solidity::test::sol2protofuzzer::Expression* cond) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cond_); - } - _impl_.cond_ = cond; - if (cond) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.RequireStmt.cond) -} -inline ::solidity::test::sol2protofuzzer::Expression* RequireStmt::release_cond() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* RequireStmt::unsafe_arena_release_cond() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.RequireStmt.cond) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* RequireStmt::_internal_mutable_cond() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.cond_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.cond_ = p; - } - return _impl_.cond_; -} -inline ::solidity::test::sol2protofuzzer::Expression* RequireStmt::mutable_cond() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_cond(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.RequireStmt.cond) - return _msg; -} -inline void RequireStmt::set_allocated_cond(::solidity::test::sol2protofuzzer::Expression* cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cond_; - } - if (cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cond); - if (message_arena != submessage_arena) { - cond = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cond, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cond_ = cond; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.RequireStmt.cond) -} - -// required bool is_assert = 2; -inline bool RequireStmt::_internal_has_is_assert() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool RequireStmt::has_is_assert() const { - return _internal_has_is_assert(); -} -inline void RequireStmt::clear_is_assert() { - _impl_.is_assert_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool RequireStmt::_internal_is_assert() const { - return _impl_.is_assert_; -} -inline bool RequireStmt::is_assert() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.RequireStmt.is_assert) - return _internal_is_assert(); -} -inline void RequireStmt::_internal_set_is_assert(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.is_assert_ = value; -} -inline void RequireStmt::set_is_assert(bool value) { - _internal_set_is_assert(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.RequireStmt.is_assert) -} - -// optional bool with_message = 3; -inline bool RequireStmt::_internal_has_with_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool RequireStmt::has_with_message() const { - return _internal_has_with_message(); -} -inline void RequireStmt::clear_with_message() { - _impl_.with_message_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool RequireStmt::_internal_with_message() const { - return _impl_.with_message_; -} -inline bool RequireStmt::with_message() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.RequireStmt.with_message) - return _internal_with_message(); -} -inline void RequireStmt::_internal_set_with_message(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.with_message_ = value; -} -inline void RequireStmt::set_with_message(bool value) { - _internal_set_with_message(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.RequireStmt.with_message) -} - -// optional uint32 error_id = 4; -inline bool RequireStmt::_internal_has_error_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool RequireStmt::has_error_id() const { - return _internal_has_error_id(); -} -inline void RequireStmt::clear_error_id() { - _impl_.error_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t RequireStmt::_internal_error_id() const { - return _impl_.error_id_; -} -inline uint32_t RequireStmt::error_id() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.RequireStmt.error_id) - return _internal_error_id(); -} -inline void RequireStmt::_internal_set_error_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.error_id_ = value; -} -inline void RequireStmt::set_error_id(uint32_t value) { - _internal_set_error_id(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.RequireStmt.error_id) -} - -// optional bool use_named_args = 5; -inline bool RequireStmt::_internal_has_use_named_args() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool RequireStmt::has_use_named_args() const { - return _internal_has_use_named_args(); -} -inline void RequireStmt::clear_use_named_args() { - _impl_.use_named_args_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool RequireStmt::_internal_use_named_args() const { - return _impl_.use_named_args_; -} -inline bool RequireStmt::use_named_args() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.RequireStmt.use_named_args) - return _internal_use_named_args(); -} -inline void RequireStmt::_internal_set_use_named_args(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.use_named_args_ = value; -} -inline void RequireStmt::set_use_named_args(bool value) { - _internal_set_use_named_args(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.RequireStmt.use_named_args) -} - -// ------------------------------------------------------------------- - -// SelfdestructStmt - -// required .solidity.test.sol2protofuzzer.Expression beneficiary = 1; -inline bool SelfdestructStmt::_internal_has_beneficiary() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.beneficiary_ != nullptr); - return value; -} -inline bool SelfdestructStmt::has_beneficiary() const { - return _internal_has_beneficiary(); -} -inline void SelfdestructStmt::clear_beneficiary() { - if (_impl_.beneficiary_ != nullptr) _impl_.beneficiary_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& SelfdestructStmt::_internal_beneficiary() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.beneficiary_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& SelfdestructStmt::beneficiary() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.SelfdestructStmt.beneficiary) - return _internal_beneficiary(); -} -inline void SelfdestructStmt::unsafe_arena_set_allocated_beneficiary( - ::solidity::test::sol2protofuzzer::Expression* beneficiary) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.beneficiary_); - } - _impl_.beneficiary_ = beneficiary; - if (beneficiary) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.SelfdestructStmt.beneficiary) -} -inline ::solidity::test::sol2protofuzzer::Expression* SelfdestructStmt::release_beneficiary() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.beneficiary_; - _impl_.beneficiary_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* SelfdestructStmt::unsafe_arena_release_beneficiary() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.SelfdestructStmt.beneficiary) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.beneficiary_; - _impl_.beneficiary_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* SelfdestructStmt::_internal_mutable_beneficiary() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.beneficiary_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.beneficiary_ = p; - } - return _impl_.beneficiary_; -} -inline ::solidity::test::sol2protofuzzer::Expression* SelfdestructStmt::mutable_beneficiary() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_beneficiary(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.SelfdestructStmt.beneficiary) - return _msg; -} -inline void SelfdestructStmt::set_allocated_beneficiary(::solidity::test::sol2protofuzzer::Expression* beneficiary) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.beneficiary_; - } - if (beneficiary) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(beneficiary); - if (message_arena != submessage_arena) { - beneficiary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, beneficiary, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.beneficiary_ = beneficiary; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.SelfdestructStmt.beneficiary) -} - -// ------------------------------------------------------------------- - -// BareMagicStmt - -// required .solidity.test.sol2protofuzzer.BareMagicStmt.Kind kind = 1; -inline bool BareMagicStmt::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool BareMagicStmt::has_kind() const { - return _internal_has_kind(); -} -inline void BareMagicStmt::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::BareMagicStmt_Kind BareMagicStmt::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::BareMagicStmt_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::BareMagicStmt_Kind BareMagicStmt::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.BareMagicStmt.kind) - return _internal_kind(); -} -inline void BareMagicStmt::_internal_set_kind(::solidity::test::sol2protofuzzer::BareMagicStmt_Kind value) { - assert(::solidity::test::sol2protofuzzer::BareMagicStmt_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.kind_ = value; -} -inline void BareMagicStmt::set_kind(::solidity::test::sol2protofuzzer::BareMagicStmt_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.BareMagicStmt.kind) -} - -// ------------------------------------------------------------------- - -// FixedAsmStmt - -// required .solidity.test.sol2protofuzzer.FixedAsmStmt.Kind kind = 1; -inline bool FixedAsmStmt::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool FixedAsmStmt::has_kind() const { - return _internal_has_kind(); -} -inline void FixedAsmStmt::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind FixedAsmStmt::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind FixedAsmStmt::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FixedAsmStmt.kind) - return _internal_kind(); -} -inline void FixedAsmStmt::_internal_set_kind(::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind value) { - assert(::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.kind_ = value; -} -inline void FixedAsmStmt::set_kind(::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FixedAsmStmt.kind) -} - -// ------------------------------------------------------------------- - -// AbiEncodeStructStmt - -// required uint32 struct_idx = 1; -inline bool AbiEncodeStructStmt::_internal_has_struct_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool AbiEncodeStructStmt::has_struct_idx() const { - return _internal_has_struct_idx(); -} -inline void AbiEncodeStructStmt::clear_struct_idx() { - _impl_.struct_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t AbiEncodeStructStmt::_internal_struct_idx() const { - return _impl_.struct_idx_; -} -inline uint32_t AbiEncodeStructStmt::struct_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AbiEncodeStructStmt.struct_idx) - return _internal_struct_idx(); -} -inline void AbiEncodeStructStmt::_internal_set_struct_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.struct_idx_ = value; -} -inline void AbiEncodeStructStmt::set_struct_idx(uint32_t value) { - _internal_set_struct_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.AbiEncodeStructStmt.struct_idx) -} - -// optional bool wrap_in_array = 2; -inline bool AbiEncodeStructStmt::_internal_has_wrap_in_array() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool AbiEncodeStructStmt::has_wrap_in_array() const { - return _internal_has_wrap_in_array(); -} -inline void AbiEncodeStructStmt::clear_wrap_in_array() { - _impl_.wrap_in_array_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool AbiEncodeStructStmt::_internal_wrap_in_array() const { - return _impl_.wrap_in_array_; -} -inline bool AbiEncodeStructStmt::wrap_in_array() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.AbiEncodeStructStmt.wrap_in_array) - return _internal_wrap_in_array(); -} -inline void AbiEncodeStructStmt::_internal_set_wrap_in_array(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.wrap_in_array_ = value; -} -inline void AbiEncodeStructStmt::set_wrap_in_array(bool value) { - _internal_set_wrap_in_array(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.AbiEncodeStructStmt.wrap_in_array) -} - -// ------------------------------------------------------------------- - -// EmitStmt - -// required uint32 event_id = 1; -inline bool EmitStmt::_internal_has_event_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool EmitStmt::has_event_id() const { - return _internal_has_event_id(); -} -inline void EmitStmt::clear_event_id() { - _impl_.event_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t EmitStmt::_internal_event_id() const { - return _impl_.event_id_; -} -inline uint32_t EmitStmt::event_id() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EmitStmt.event_id) - return _internal_event_id(); -} -inline void EmitStmt::_internal_set_event_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_id_ = value; -} -inline void EmitStmt::set_event_id(uint32_t value) { - _internal_set_event_id(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.EmitStmt.event_id) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 2; -inline int EmitStmt::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int EmitStmt::args_size() const { - return _internal_args_size(); -} -inline void EmitStmt::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* EmitStmt::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.EmitStmt.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -EmitStmt::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.EmitStmt.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& EmitStmt::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& EmitStmt::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EmitStmt.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* EmitStmt::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* EmitStmt::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.EmitStmt.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -EmitStmt::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.EmitStmt.args) - return _impl_.args_; -} - -// ------------------------------------------------------------------- - -// RevertStmt - -// required uint32 error_id = 1; -inline bool RevertStmt::_internal_has_error_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool RevertStmt::has_error_id() const { - return _internal_has_error_id(); -} -inline void RevertStmt::clear_error_id() { - _impl_.error_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t RevertStmt::_internal_error_id() const { - return _impl_.error_id_; -} -inline uint32_t RevertStmt::error_id() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.RevertStmt.error_id) - return _internal_error_id(); -} -inline void RevertStmt::_internal_set_error_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.error_id_ = value; -} -inline void RevertStmt::set_error_id(uint32_t value) { - _internal_set_error_id(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.RevertStmt.error_id) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 2; -inline int RevertStmt::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int RevertStmt::args_size() const { - return _internal_args_size(); -} -inline void RevertStmt::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* RevertStmt::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.RevertStmt.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -RevertStmt::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.RevertStmt.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& RevertStmt::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& RevertStmt::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.RevertStmt.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* RevertStmt::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* RevertStmt::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.RevertStmt.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -RevertStmt::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.RevertStmt.args) - return _impl_.args_; -} - -// optional bool use_named_args = 3; -inline bool RevertStmt::_internal_has_use_named_args() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool RevertStmt::has_use_named_args() const { - return _internal_has_use_named_args(); -} -inline void RevertStmt::clear_use_named_args() { - _impl_.use_named_args_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool RevertStmt::_internal_use_named_args() const { - return _impl_.use_named_args_; -} -inline bool RevertStmt::use_named_args() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.RevertStmt.use_named_args) - return _internal_use_named_args(); -} -inline void RevertStmt::_internal_set_use_named_args(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.use_named_args_ = value; -} -inline void RevertStmt::set_use_named_args(bool value) { - _internal_set_use_named_args(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.RevertStmt.use_named_args) -} - -// ------------------------------------------------------------------- - -// DeleteStmt - -// required .solidity.test.sol2protofuzzer.VarRef target = 1; -inline bool DeleteStmt::_internal_has_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_ != nullptr); - return value; -} -inline bool DeleteStmt::has_target() const { - return _internal_has_target(); -} -inline void DeleteStmt::clear_target() { - if (_impl_.target_ != nullptr) _impl_.target_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::VarRef& DeleteStmt::_internal_target() const { - const ::solidity::test::sol2protofuzzer::VarRef* p = _impl_.target_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_VarRef_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::VarRef& DeleteStmt::target() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.DeleteStmt.target) - return _internal_target(); -} -inline void DeleteStmt::unsafe_arena_set_allocated_target( - ::solidity::test::sol2protofuzzer::VarRef* target) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_); - } - _impl_.target_ = target; - if (target) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.DeleteStmt.target) -} -inline ::solidity::test::sol2protofuzzer::VarRef* DeleteStmt::release_target() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::VarRef* temp = _impl_.target_; - _impl_.target_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::VarRef* DeleteStmt::unsafe_arena_release_target() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.DeleteStmt.target) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::VarRef* temp = _impl_.target_; - _impl_.target_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::VarRef* DeleteStmt::_internal_mutable_target() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.target_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::VarRef>(GetArenaForAllocation()); - _impl_.target_ = p; - } - return _impl_.target_; -} -inline ::solidity::test::sol2protofuzzer::VarRef* DeleteStmt::mutable_target() { - ::solidity::test::sol2protofuzzer::VarRef* _msg = _internal_mutable_target(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.DeleteStmt.target) - return _msg; -} -inline void DeleteStmt::set_allocated_target(::solidity::test::sol2protofuzzer::VarRef* target) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.target_; - } - if (target) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target); - if (message_arena != submessage_arena) { - target = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, target, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.target_ = target; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.DeleteStmt.target) -} - -// ------------------------------------------------------------------- - -// TryCatchStmt - -// required uint32 func_id = 1; -inline bool TryCatchStmt::_internal_has_func_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool TryCatchStmt::has_func_id() const { - return _internal_has_func_id(); -} -inline void TryCatchStmt::clear_func_id() { - _impl_.func_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t TryCatchStmt::_internal_func_id() const { - return _impl_.func_id_; -} -inline uint32_t TryCatchStmt::func_id() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TryCatchStmt.func_id) - return _internal_func_id(); -} -inline void TryCatchStmt::_internal_set_func_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.func_id_ = value; -} -inline void TryCatchStmt::set_func_id(uint32_t value) { - _internal_set_func_id(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.TryCatchStmt.func_id) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 2; -inline int TryCatchStmt::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int TryCatchStmt::args_size() const { - return _internal_args_size(); -} -inline void TryCatchStmt::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* TryCatchStmt::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TryCatchStmt.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -TryCatchStmt::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.TryCatchStmt.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& TryCatchStmt::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& TryCatchStmt::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TryCatchStmt.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* TryCatchStmt::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* TryCatchStmt::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.TryCatchStmt.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -TryCatchStmt::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.TryCatchStmt.args) - return _impl_.args_; -} - -// required .solidity.test.sol2protofuzzer.Block try_body = 3; -inline bool TryCatchStmt::_internal_has_try_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.try_body_ != nullptr); - return value; -} -inline bool TryCatchStmt::has_try_body() const { - return _internal_has_try_body(); -} -inline void TryCatchStmt::clear_try_body() { - if (_impl_.try_body_ != nullptr) _impl_.try_body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Block& TryCatchStmt::_internal_try_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.try_body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& TryCatchStmt::try_body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TryCatchStmt.try_body) - return _internal_try_body(); -} -inline void TryCatchStmt::unsafe_arena_set_allocated_try_body( - ::solidity::test::sol2protofuzzer::Block* try_body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.try_body_); - } - _impl_.try_body_ = try_body; - if (try_body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TryCatchStmt.try_body) -} -inline ::solidity::test::sol2protofuzzer::Block* TryCatchStmt::release_try_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.try_body_; - _impl_.try_body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* TryCatchStmt::unsafe_arena_release_try_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TryCatchStmt.try_body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.try_body_; - _impl_.try_body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* TryCatchStmt::_internal_mutable_try_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.try_body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.try_body_ = p; - } - return _impl_.try_body_; -} -inline ::solidity::test::sol2protofuzzer::Block* TryCatchStmt::mutable_try_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_try_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TryCatchStmt.try_body) - return _msg; -} -inline void TryCatchStmt::set_allocated_try_body(::solidity::test::sol2protofuzzer::Block* try_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.try_body_; - } - if (try_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(try_body); - if (message_arena != submessage_arena) { - try_body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, try_body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.try_body_ = try_body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TryCatchStmt.try_body) -} - -// required .solidity.test.sol2protofuzzer.Block catch_body = 4; -inline bool TryCatchStmt::_internal_has_catch_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.catch_body_ != nullptr); - return value; -} -inline bool TryCatchStmt::has_catch_body() const { - return _internal_has_catch_body(); -} -inline void TryCatchStmt::clear_catch_body() { - if (_impl_.catch_body_ != nullptr) _impl_.catch_body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Block& TryCatchStmt::_internal_catch_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.catch_body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& TryCatchStmt::catch_body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TryCatchStmt.catch_body) - return _internal_catch_body(); -} -inline void TryCatchStmt::unsafe_arena_set_allocated_catch_body( - ::solidity::test::sol2protofuzzer::Block* catch_body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.catch_body_); - } - _impl_.catch_body_ = catch_body; - if (catch_body) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TryCatchStmt.catch_body) -} -inline ::solidity::test::sol2protofuzzer::Block* TryCatchStmt::release_catch_body() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.catch_body_; - _impl_.catch_body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* TryCatchStmt::unsafe_arena_release_catch_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TryCatchStmt.catch_body) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.catch_body_; - _impl_.catch_body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* TryCatchStmt::_internal_mutable_catch_body() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.catch_body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.catch_body_ = p; - } - return _impl_.catch_body_; -} -inline ::solidity::test::sol2protofuzzer::Block* TryCatchStmt::mutable_catch_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_catch_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TryCatchStmt.catch_body) - return _msg; -} -inline void TryCatchStmt::set_allocated_catch_body(::solidity::test::sol2protofuzzer::Block* catch_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.catch_body_; - } - if (catch_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(catch_body); - if (message_arena != submessage_arena) { - catch_body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, catch_body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.catch_body_ = catch_body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TryCatchStmt.catch_body) -} - -// ------------------------------------------------------------------- - -// Block - -// repeated .solidity.test.sol2protofuzzer.Statement stmts = 1; -inline int Block::_internal_stmts_size() const { - return _impl_.stmts_.size(); -} -inline int Block::stmts_size() const { - return _internal_stmts_size(); -} -inline void Block::clear_stmts() { - _impl_.stmts_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Statement* Block::mutable_stmts(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Block.stmts) - return _impl_.stmts_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Statement >* -Block::mutable_stmts() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.Block.stmts) - return &_impl_.stmts_; -} -inline const ::solidity::test::sol2protofuzzer::Statement& Block::_internal_stmts(int index) const { - return _impl_.stmts_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Statement& Block::stmts(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Block.stmts) - return _internal_stmts(index); -} -inline ::solidity::test::sol2protofuzzer::Statement* Block::_internal_add_stmts() { - return _impl_.stmts_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Statement* Block::add_stmts() { - ::solidity::test::sol2protofuzzer::Statement* _add = _internal_add_stmts(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.Block.stmts) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Statement >& -Block::stmts() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.Block.stmts) - return _impl_.stmts_; -} - -// ------------------------------------------------------------------- - -// UncheckedBlock - -// required .solidity.test.sol2protofuzzer.Block body = 1; -inline bool UncheckedBlock::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.body_ != nullptr); - return value; -} -inline bool UncheckedBlock::has_body() const { - return _internal_has_body(); -} -inline void UncheckedBlock::clear_body() { - if (_impl_.body_ != nullptr) _impl_.body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Block& UncheckedBlock::_internal_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& UncheckedBlock::body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UncheckedBlock.body) - return _internal_body(); -} -inline void UncheckedBlock::unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.body_); - } - _impl_.body_ = body; - if (body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.UncheckedBlock.body) -} -inline ::solidity::test::sol2protofuzzer::Block* UncheckedBlock::release_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* UncheckedBlock::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.UncheckedBlock.body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* UncheckedBlock::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.body_ = p; - } - return _impl_.body_; -} -inline ::solidity::test::sol2protofuzzer::Block* UncheckedBlock::mutable_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.UncheckedBlock.body) - return _msg; -} -inline void UncheckedBlock::set_allocated_body(::solidity::test::sol2protofuzzer::Block* body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.body_; - } - if (body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(body); - if (message_arena != submessage_arena) { - body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.body_ = body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.UncheckedBlock.body) -} - -// ------------------------------------------------------------------- - -// IndexAssignStmt - -// required uint32 var_idx = 1; -inline bool IndexAssignStmt::_internal_has_var_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool IndexAssignStmt::has_var_idx() const { - return _internal_has_var_idx(); -} -inline void IndexAssignStmt::clear_var_idx() { - _impl_.var_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t IndexAssignStmt::_internal_var_idx() const { - return _impl_.var_idx_; -} -inline uint32_t IndexAssignStmt::var_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IndexAssignStmt.var_idx) - return _internal_var_idx(); -} -inline void IndexAssignStmt::_internal_set_var_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.var_idx_ = value; -} -inline void IndexAssignStmt::set_var_idx(uint32_t value) { - _internal_set_var_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.IndexAssignStmt.var_idx) -} - -// required .solidity.test.sol2protofuzzer.Expression index = 2; -inline bool IndexAssignStmt::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.index_ != nullptr); - return value; -} -inline bool IndexAssignStmt::has_index() const { - return _internal_has_index(); -} -inline void IndexAssignStmt::clear_index() { - if (_impl_.index_ != nullptr) _impl_.index_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& IndexAssignStmt::_internal_index() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.index_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& IndexAssignStmt::index() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IndexAssignStmt.index) - return _internal_index(); -} -inline void IndexAssignStmt::unsafe_arena_set_allocated_index( - ::solidity::test::sol2protofuzzer::Expression* index) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.index_); - } - _impl_.index_ = index; - if (index) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.IndexAssignStmt.index) -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAssignStmt::release_index() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.index_; - _impl_.index_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAssignStmt::unsafe_arena_release_index() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.IndexAssignStmt.index) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.index_; - _impl_.index_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAssignStmt::_internal_mutable_index() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.index_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.index_ = p; - } - return _impl_.index_; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAssignStmt::mutable_index() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_index(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.IndexAssignStmt.index) - return _msg; -} -inline void IndexAssignStmt::set_allocated_index(::solidity::test::sol2protofuzzer::Expression* index) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.index_; - } - if (index) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(index); - if (message_arena != submessage_arena) { - index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, index, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.index_ = index; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.IndexAssignStmt.index) -} - -// required .solidity.test.sol2protofuzzer.Expression value = 3; -inline bool IndexAssignStmt::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); - return value; -} -inline bool IndexAssignStmt::has_value() const { - return _internal_has_value(); -} -inline void IndexAssignStmt::clear_value() { - if (_impl_.value_ != nullptr) _impl_.value_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& IndexAssignStmt::_internal_value() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.value_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& IndexAssignStmt::value() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.IndexAssignStmt.value) - return _internal_value(); -} -inline void IndexAssignStmt::unsafe_arena_set_allocated_value( - ::solidity::test::sol2protofuzzer::Expression* value) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); - } - _impl_.value_ = value; - if (value) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.IndexAssignStmt.value) -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAssignStmt::release_value() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.value_; - _impl_.value_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAssignStmt::unsafe_arena_release_value() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.IndexAssignStmt.value) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.value_; - _impl_.value_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAssignStmt::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.value_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.value_ = p; - } - return _impl_.value_; -} -inline ::solidity::test::sol2protofuzzer::Expression* IndexAssignStmt::mutable_value() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.IndexAssignStmt.value) - return _msg; -} -inline void IndexAssignStmt::set_allocated_value(::solidity::test::sol2protofuzzer::Expression* value) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.value_; - } - if (value) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(value); - if (message_arena != submessage_arena) { - value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.value_ = value; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.IndexAssignStmt.value) -} - -// ------------------------------------------------------------------- - -// TupleAssignStmt - -// required .solidity.test.sol2protofuzzer.Expression val1 = 1; -inline bool TupleAssignStmt::_internal_has_val1() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.val1_ != nullptr); - return value; -} -inline bool TupleAssignStmt::has_val1() const { - return _internal_has_val1(); -} -inline void TupleAssignStmt::clear_val1() { - if (_impl_.val1_ != nullptr) _impl_.val1_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& TupleAssignStmt::_internal_val1() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.val1_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& TupleAssignStmt::val1() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TupleAssignStmt.val1) - return _internal_val1(); -} -inline void TupleAssignStmt::unsafe_arena_set_allocated_val1( - ::solidity::test::sol2protofuzzer::Expression* val1) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.val1_); - } - _impl_.val1_ = val1; - if (val1) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TupleAssignStmt.val1) -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleAssignStmt::release_val1() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.val1_; - _impl_.val1_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleAssignStmt::unsafe_arena_release_val1() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TupleAssignStmt.val1) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.val1_; - _impl_.val1_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleAssignStmt::_internal_mutable_val1() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.val1_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.val1_ = p; - } - return _impl_.val1_; -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleAssignStmt::mutable_val1() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_val1(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TupleAssignStmt.val1) - return _msg; -} -inline void TupleAssignStmt::set_allocated_val1(::solidity::test::sol2protofuzzer::Expression* val1) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.val1_; - } - if (val1) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(val1); - if (message_arena != submessage_arena) { - val1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, val1, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.val1_ = val1; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TupleAssignStmt.val1) -} - -// required .solidity.test.sol2protofuzzer.Expression val2 = 2; -inline bool TupleAssignStmt::_internal_has_val2() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.val2_ != nullptr); - return value; -} -inline bool TupleAssignStmt::has_val2() const { - return _internal_has_val2(); -} -inline void TupleAssignStmt::clear_val2() { - if (_impl_.val2_ != nullptr) _impl_.val2_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& TupleAssignStmt::_internal_val2() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.val2_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& TupleAssignStmt::val2() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TupleAssignStmt.val2) - return _internal_val2(); -} -inline void TupleAssignStmt::unsafe_arena_set_allocated_val2( - ::solidity::test::sol2protofuzzer::Expression* val2) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.val2_); - } - _impl_.val2_ = val2; - if (val2) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.TupleAssignStmt.val2) -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleAssignStmt::release_val2() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.val2_; - _impl_.val2_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleAssignStmt::unsafe_arena_release_val2() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.TupleAssignStmt.val2) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.val2_; - _impl_.val2_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleAssignStmt::_internal_mutable_val2() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.val2_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.val2_ = p; - } - return _impl_.val2_; -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleAssignStmt::mutable_val2() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_val2(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TupleAssignStmt.val2) - return _msg; -} -inline void TupleAssignStmt::set_allocated_val2(::solidity::test::sol2protofuzzer::Expression* val2) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.val2_; - } - if (val2) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(val2); - if (message_arena != submessage_arena) { - val2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, val2, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.val2_ = val2; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.TupleAssignStmt.val2) -} - -// ------------------------------------------------------------------- - -// ArrayPushStmt - -// required uint32 var_idx = 1; -inline bool ArrayPushStmt::_internal_has_var_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ArrayPushStmt::has_var_idx() const { - return _internal_has_var_idx(); -} -inline void ArrayPushStmt::clear_var_idx() { - _impl_.var_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t ArrayPushStmt::_internal_var_idx() const { - return _impl_.var_idx_; -} -inline uint32_t ArrayPushStmt::var_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArrayPushStmt.var_idx) - return _internal_var_idx(); -} -inline void ArrayPushStmt::_internal_set_var_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.var_idx_ = value; -} -inline void ArrayPushStmt::set_var_idx(uint32_t value) { - _internal_set_var_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ArrayPushStmt.var_idx) -} - -// optional .solidity.test.sol2protofuzzer.Expression value = 2; -inline bool ArrayPushStmt::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); - return value; -} -inline bool ArrayPushStmt::has_value() const { - return _internal_has_value(); -} -inline void ArrayPushStmt::clear_value() { - if (_impl_.value_ != nullptr) _impl_.value_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Expression& ArrayPushStmt::_internal_value() const { - const ::solidity::test::sol2protofuzzer::Expression* p = _impl_.value_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Expression_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Expression& ArrayPushStmt::value() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArrayPushStmt.value) - return _internal_value(); -} -inline void ArrayPushStmt::unsafe_arena_set_allocated_value( - ::solidity::test::sol2protofuzzer::Expression* value) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); - } - _impl_.value_ = value; - if (value) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ArrayPushStmt.value) -} -inline ::solidity::test::sol2protofuzzer::Expression* ArrayPushStmt::release_value() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.value_; - _impl_.value_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* ArrayPushStmt::unsafe_arena_release_value() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ArrayPushStmt.value) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Expression* temp = _impl_.value_; - _impl_.value_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Expression* ArrayPushStmt::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.value_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Expression>(GetArenaForAllocation()); - _impl_.value_ = p; - } - return _impl_.value_; -} -inline ::solidity::test::sol2protofuzzer::Expression* ArrayPushStmt::mutable_value() { - ::solidity::test::sol2protofuzzer::Expression* _msg = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ArrayPushStmt.value) - return _msg; -} -inline void ArrayPushStmt::set_allocated_value(::solidity::test::sol2protofuzzer::Expression* value) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.value_; - } - if (value) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(value); - if (message_arena != submessage_arena) { - value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.value_ = value; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ArrayPushStmt.value) -} - -// ------------------------------------------------------------------- - -// ArrayPopStmt - -// required uint32 var_idx = 1; -inline bool ArrayPopStmt::_internal_has_var_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ArrayPopStmt::has_var_idx() const { - return _internal_has_var_idx(); -} -inline void ArrayPopStmt::clear_var_idx() { - _impl_.var_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t ArrayPopStmt::_internal_var_idx() const { - return _impl_.var_idx_; -} -inline uint32_t ArrayPopStmt::var_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArrayPopStmt.var_idx) - return _internal_var_idx(); -} -inline void ArrayPopStmt::_internal_set_var_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.var_idx_ = value; -} -inline void ArrayPopStmt::set_var_idx(uint32_t value) { - _internal_set_var_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ArrayPopStmt.var_idx) -} - -// ------------------------------------------------------------------- - -// TupleDestructStmt - -// required uint32 func_id = 1; -inline bool TupleDestructStmt::_internal_has_func_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool TupleDestructStmt::has_func_id() const { - return _internal_has_func_id(); -} -inline void TupleDestructStmt::clear_func_id() { - _impl_.func_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t TupleDestructStmt::_internal_func_id() const { - return _impl_.func_id_; -} -inline uint32_t TupleDestructStmt::func_id() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TupleDestructStmt.func_id) - return _internal_func_id(); -} -inline void TupleDestructStmt::_internal_set_func_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.func_id_ = value; -} -inline void TupleDestructStmt::set_func_id(uint32_t value) { - _internal_set_func_id(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.TupleDestructStmt.func_id) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 2; -inline int TupleDestructStmt::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int TupleDestructStmt::args_size() const { - return _internal_args_size(); -} -inline void TupleDestructStmt::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleDestructStmt::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.TupleDestructStmt.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -TupleDestructStmt::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.TupleDestructStmt.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& TupleDestructStmt::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& TupleDestructStmt::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.TupleDestructStmt.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleDestructStmt::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* TupleDestructStmt::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.TupleDestructStmt.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -TupleDestructStmt::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.TupleDestructStmt.args) - return _impl_.args_; -} - -// ------------------------------------------------------------------- - -// StructLocalDeclStmt - -// required uint32 struct_idx = 1; -inline bool StructLocalDeclStmt::_internal_has_struct_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool StructLocalDeclStmt::has_struct_idx() const { - return _internal_has_struct_idx(); -} -inline void StructLocalDeclStmt::clear_struct_idx() { - _impl_.struct_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t StructLocalDeclStmt::_internal_struct_idx() const { - return _impl_.struct_idx_; -} -inline uint32_t StructLocalDeclStmt::struct_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructLocalDeclStmt.struct_idx) - return _internal_struct_idx(); -} -inline void StructLocalDeclStmt::_internal_set_struct_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.struct_idx_ = value; -} -inline void StructLocalDeclStmt::set_struct_idx(uint32_t value) { - _internal_set_struct_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StructLocalDeclStmt.struct_idx) -} - -// ------------------------------------------------------------------- - -// StructTupleAliasStmt - -// required uint32 local_sel = 1; -inline bool StructTupleAliasStmt::_internal_has_local_sel() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool StructTupleAliasStmt::has_local_sel() const { - return _internal_has_local_sel(); -} -inline void StructTupleAliasStmt::clear_local_sel() { - _impl_.local_sel_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t StructTupleAliasStmt::_internal_local_sel() const { - return _impl_.local_sel_; -} -inline uint32_t StructTupleAliasStmt::local_sel() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructTupleAliasStmt.local_sel) - return _internal_local_sel(); -} -inline void StructTupleAliasStmt::_internal_set_local_sel(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.local_sel_ = value; -} -inline void StructTupleAliasStmt::set_local_sel(uint32_t value) { - _internal_set_local_sel(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StructTupleAliasStmt.local_sel) -} - -// required uint32 sa_sel = 2; -inline bool StructTupleAliasStmt::_internal_has_sa_sel() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool StructTupleAliasStmt::has_sa_sel() const { - return _internal_has_sa_sel(); -} -inline void StructTupleAliasStmt::clear_sa_sel() { - _impl_.sa_sel_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t StructTupleAliasStmt::_internal_sa_sel() const { - return _impl_.sa_sel_; -} -inline uint32_t StructTupleAliasStmt::sa_sel() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructTupleAliasStmt.sa_sel) - return _internal_sa_sel(); -} -inline void StructTupleAliasStmt::_internal_set_sa_sel(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.sa_sel_ = value; -} -inline void StructTupleAliasStmt::set_sa_sel(uint32_t value) { - _internal_set_sa_sel(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StructTupleAliasStmt.sa_sel) -} - -// required uint32 sb_sel = 3; -inline bool StructTupleAliasStmt::_internal_has_sb_sel() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool StructTupleAliasStmt::has_sb_sel() const { - return _internal_has_sb_sel(); -} -inline void StructTupleAliasStmt::clear_sb_sel() { - _impl_.sb_sel_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t StructTupleAliasStmt::_internal_sb_sel() const { - return _impl_.sb_sel_; -} -inline uint32_t StructTupleAliasStmt::sb_sel() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructTupleAliasStmt.sb_sel) - return _internal_sb_sel(); -} -inline void StructTupleAliasStmt::_internal_set_sb_sel(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.sb_sel_ = value; -} -inline void StructTupleAliasStmt::set_sb_sel(uint32_t value) { - _internal_set_sb_sel(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StructTupleAliasStmt.sb_sel) -} - -// ------------------------------------------------------------------- - -// ArrayLengthExpr - -// required uint32 var_idx = 1; -inline bool ArrayLengthExpr::_internal_has_var_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ArrayLengthExpr::has_var_idx() const { - return _internal_has_var_idx(); -} -inline void ArrayLengthExpr::clear_var_idx() { - _impl_.var_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t ArrayLengthExpr::_internal_var_idx() const { - return _impl_.var_idx_; -} -inline uint32_t ArrayLengthExpr::var_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ArrayLengthExpr.var_idx) - return _internal_var_idx(); -} -inline void ArrayLengthExpr::_internal_set_var_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.var_idx_ = value; -} -inline void ArrayLengthExpr::set_var_idx(uint32_t value) { - _internal_set_var_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ArrayLengthExpr.var_idx) -} - -// ------------------------------------------------------------------- - -// Statement - -// .solidity.test.sol2protofuzzer.VarDeclStmt var_decl = 1; -inline bool Statement::_internal_has_var_decl() const { - return stmt_oneof_case() == kVarDecl; -} -inline bool Statement::has_var_decl() const { - return _internal_has_var_decl(); -} -inline void Statement::set_has_var_decl() { - _impl_._oneof_case_[0] = kVarDecl; -} -inline void Statement::clear_var_decl() { - if (_internal_has_var_decl()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.var_decl_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::VarDeclStmt* Statement::release_var_decl() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.var_decl) - if (_internal_has_var_decl()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::VarDeclStmt* temp = _impl_.stmt_oneof_.var_decl_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.var_decl_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::VarDeclStmt& Statement::_internal_var_decl() const { - return _internal_has_var_decl() - ? *_impl_.stmt_oneof_.var_decl_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::VarDeclStmt&>(::solidity::test::sol2protofuzzer::_VarDeclStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::VarDeclStmt& Statement::var_decl() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.var_decl) - return _internal_var_decl(); -} -inline ::solidity::test::sol2protofuzzer::VarDeclStmt* Statement::unsafe_arena_release_var_decl() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.var_decl) - if (_internal_has_var_decl()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::VarDeclStmt* temp = _impl_.stmt_oneof_.var_decl_; - _impl_.stmt_oneof_.var_decl_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_var_decl(::solidity::test::sol2protofuzzer::VarDeclStmt* var_decl) { - clear_stmt_oneof(); - if (var_decl) { - set_has_var_decl(); - _impl_.stmt_oneof_.var_decl_ = var_decl; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.var_decl) -} -inline ::solidity::test::sol2protofuzzer::VarDeclStmt* Statement::_internal_mutable_var_decl() { - if (!_internal_has_var_decl()) { - clear_stmt_oneof(); - set_has_var_decl(); - _impl_.stmt_oneof_.var_decl_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::VarDeclStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.var_decl_; -} -inline ::solidity::test::sol2protofuzzer::VarDeclStmt* Statement::mutable_var_decl() { - ::solidity::test::sol2protofuzzer::VarDeclStmt* _msg = _internal_mutable_var_decl(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.var_decl) - return _msg; -} - -// .solidity.test.sol2protofuzzer.ExprStmt expr_stmt = 2; -inline bool Statement::_internal_has_expr_stmt() const { - return stmt_oneof_case() == kExprStmt; -} -inline bool Statement::has_expr_stmt() const { - return _internal_has_expr_stmt(); -} -inline void Statement::set_has_expr_stmt() { - _impl_._oneof_case_[0] = kExprStmt; -} -inline void Statement::clear_expr_stmt() { - if (_internal_has_expr_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.expr_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ExprStmt* Statement::release_expr_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.expr_stmt) - if (_internal_has_expr_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ExprStmt* temp = _impl_.stmt_oneof_.expr_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.expr_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ExprStmt& Statement::_internal_expr_stmt() const { - return _internal_has_expr_stmt() - ? *_impl_.stmt_oneof_.expr_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ExprStmt&>(::solidity::test::sol2protofuzzer::_ExprStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ExprStmt& Statement::expr_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.expr_stmt) - return _internal_expr_stmt(); -} -inline ::solidity::test::sol2protofuzzer::ExprStmt* Statement::unsafe_arena_release_expr_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.expr_stmt) - if (_internal_has_expr_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ExprStmt* temp = _impl_.stmt_oneof_.expr_stmt_; - _impl_.stmt_oneof_.expr_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_expr_stmt(::solidity::test::sol2protofuzzer::ExprStmt* expr_stmt) { - clear_stmt_oneof(); - if (expr_stmt) { - set_has_expr_stmt(); - _impl_.stmt_oneof_.expr_stmt_ = expr_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.expr_stmt) -} -inline ::solidity::test::sol2protofuzzer::ExprStmt* Statement::_internal_mutable_expr_stmt() { - if (!_internal_has_expr_stmt()) { - clear_stmt_oneof(); - set_has_expr_stmt(); - _impl_.stmt_oneof_.expr_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ExprStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.expr_stmt_; -} -inline ::solidity::test::sol2protofuzzer::ExprStmt* Statement::mutable_expr_stmt() { - ::solidity::test::sol2protofuzzer::ExprStmt* _msg = _internal_mutable_expr_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.expr_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.IfStmt if_stmt = 3; -inline bool Statement::_internal_has_if_stmt() const { - return stmt_oneof_case() == kIfStmt; -} -inline bool Statement::has_if_stmt() const { - return _internal_has_if_stmt(); -} -inline void Statement::set_has_if_stmt() { - _impl_._oneof_case_[0] = kIfStmt; -} -inline void Statement::clear_if_stmt() { - if (_internal_has_if_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.if_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::IfStmt* Statement::release_if_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.if_stmt) - if (_internal_has_if_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::IfStmt* temp = _impl_.stmt_oneof_.if_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.if_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::IfStmt& Statement::_internal_if_stmt() const { - return _internal_has_if_stmt() - ? *_impl_.stmt_oneof_.if_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::IfStmt&>(::solidity::test::sol2protofuzzer::_IfStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::IfStmt& Statement::if_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.if_stmt) - return _internal_if_stmt(); -} -inline ::solidity::test::sol2protofuzzer::IfStmt* Statement::unsafe_arena_release_if_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.if_stmt) - if (_internal_has_if_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::IfStmt* temp = _impl_.stmt_oneof_.if_stmt_; - _impl_.stmt_oneof_.if_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_if_stmt(::solidity::test::sol2protofuzzer::IfStmt* if_stmt) { - clear_stmt_oneof(); - if (if_stmt) { - set_has_if_stmt(); - _impl_.stmt_oneof_.if_stmt_ = if_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.if_stmt) -} -inline ::solidity::test::sol2protofuzzer::IfStmt* Statement::_internal_mutable_if_stmt() { - if (!_internal_has_if_stmt()) { - clear_stmt_oneof(); - set_has_if_stmt(); - _impl_.stmt_oneof_.if_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::IfStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.if_stmt_; -} -inline ::solidity::test::sol2protofuzzer::IfStmt* Statement::mutable_if_stmt() { - ::solidity::test::sol2protofuzzer::IfStmt* _msg = _internal_mutable_if_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.if_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.ForStmt for_stmt = 4; -inline bool Statement::_internal_has_for_stmt() const { - return stmt_oneof_case() == kForStmt; -} -inline bool Statement::has_for_stmt() const { - return _internal_has_for_stmt(); -} -inline void Statement::set_has_for_stmt() { - _impl_._oneof_case_[0] = kForStmt; -} -inline void Statement::clear_for_stmt() { - if (_internal_has_for_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.for_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ForStmt* Statement::release_for_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.for_stmt) - if (_internal_has_for_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ForStmt* temp = _impl_.stmt_oneof_.for_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.for_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ForStmt& Statement::_internal_for_stmt() const { - return _internal_has_for_stmt() - ? *_impl_.stmt_oneof_.for_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ForStmt&>(::solidity::test::sol2protofuzzer::_ForStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ForStmt& Statement::for_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.for_stmt) - return _internal_for_stmt(); -} -inline ::solidity::test::sol2protofuzzer::ForStmt* Statement::unsafe_arena_release_for_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.for_stmt) - if (_internal_has_for_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ForStmt* temp = _impl_.stmt_oneof_.for_stmt_; - _impl_.stmt_oneof_.for_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_for_stmt(::solidity::test::sol2protofuzzer::ForStmt* for_stmt) { - clear_stmt_oneof(); - if (for_stmt) { - set_has_for_stmt(); - _impl_.stmt_oneof_.for_stmt_ = for_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.for_stmt) -} -inline ::solidity::test::sol2protofuzzer::ForStmt* Statement::_internal_mutable_for_stmt() { - if (!_internal_has_for_stmt()) { - clear_stmt_oneof(); - set_has_for_stmt(); - _impl_.stmt_oneof_.for_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ForStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.for_stmt_; -} -inline ::solidity::test::sol2protofuzzer::ForStmt* Statement::mutable_for_stmt() { - ::solidity::test::sol2protofuzzer::ForStmt* _msg = _internal_mutable_for_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.for_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.WhileStmt while_stmt = 5; -inline bool Statement::_internal_has_while_stmt() const { - return stmt_oneof_case() == kWhileStmt; -} -inline bool Statement::has_while_stmt() const { - return _internal_has_while_stmt(); -} -inline void Statement::set_has_while_stmt() { - _impl_._oneof_case_[0] = kWhileStmt; -} -inline void Statement::clear_while_stmt() { - if (_internal_has_while_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.while_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::WhileStmt* Statement::release_while_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.while_stmt) - if (_internal_has_while_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::WhileStmt* temp = _impl_.stmt_oneof_.while_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.while_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::WhileStmt& Statement::_internal_while_stmt() const { - return _internal_has_while_stmt() - ? *_impl_.stmt_oneof_.while_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::WhileStmt&>(::solidity::test::sol2protofuzzer::_WhileStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::WhileStmt& Statement::while_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.while_stmt) - return _internal_while_stmt(); -} -inline ::solidity::test::sol2protofuzzer::WhileStmt* Statement::unsafe_arena_release_while_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.while_stmt) - if (_internal_has_while_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::WhileStmt* temp = _impl_.stmt_oneof_.while_stmt_; - _impl_.stmt_oneof_.while_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_while_stmt(::solidity::test::sol2protofuzzer::WhileStmt* while_stmt) { - clear_stmt_oneof(); - if (while_stmt) { - set_has_while_stmt(); - _impl_.stmt_oneof_.while_stmt_ = while_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.while_stmt) -} -inline ::solidity::test::sol2protofuzzer::WhileStmt* Statement::_internal_mutable_while_stmt() { - if (!_internal_has_while_stmt()) { - clear_stmt_oneof(); - set_has_while_stmt(); - _impl_.stmt_oneof_.while_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::WhileStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.while_stmt_; -} -inline ::solidity::test::sol2protofuzzer::WhileStmt* Statement::mutable_while_stmt() { - ::solidity::test::sol2protofuzzer::WhileStmt* _msg = _internal_mutable_while_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.while_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.DoWhileStmt do_while = 6; -inline bool Statement::_internal_has_do_while() const { - return stmt_oneof_case() == kDoWhile; -} -inline bool Statement::has_do_while() const { - return _internal_has_do_while(); -} -inline void Statement::set_has_do_while() { - _impl_._oneof_case_[0] = kDoWhile; -} -inline void Statement::clear_do_while() { - if (_internal_has_do_while()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.do_while_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::DoWhileStmt* Statement::release_do_while() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.do_while) - if (_internal_has_do_while()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::DoWhileStmt* temp = _impl_.stmt_oneof_.do_while_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.do_while_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::DoWhileStmt& Statement::_internal_do_while() const { - return _internal_has_do_while() - ? *_impl_.stmt_oneof_.do_while_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::DoWhileStmt&>(::solidity::test::sol2protofuzzer::_DoWhileStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::DoWhileStmt& Statement::do_while() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.do_while) - return _internal_do_while(); -} -inline ::solidity::test::sol2protofuzzer::DoWhileStmt* Statement::unsafe_arena_release_do_while() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.do_while) - if (_internal_has_do_while()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::DoWhileStmt* temp = _impl_.stmt_oneof_.do_while_; - _impl_.stmt_oneof_.do_while_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_do_while(::solidity::test::sol2protofuzzer::DoWhileStmt* do_while) { - clear_stmt_oneof(); - if (do_while) { - set_has_do_while(); - _impl_.stmt_oneof_.do_while_ = do_while; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.do_while) -} -inline ::solidity::test::sol2protofuzzer::DoWhileStmt* Statement::_internal_mutable_do_while() { - if (!_internal_has_do_while()) { - clear_stmt_oneof(); - set_has_do_while(); - _impl_.stmt_oneof_.do_while_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::DoWhileStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.do_while_; -} -inline ::solidity::test::sol2protofuzzer::DoWhileStmt* Statement::mutable_do_while() { - ::solidity::test::sol2protofuzzer::DoWhileStmt* _msg = _internal_mutable_do_while(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.do_while) - return _msg; -} - -// .solidity.test.sol2protofuzzer.ReturnStmt return_stmt = 7; -inline bool Statement::_internal_has_return_stmt() const { - return stmt_oneof_case() == kReturnStmt; -} -inline bool Statement::has_return_stmt() const { - return _internal_has_return_stmt(); -} -inline void Statement::set_has_return_stmt() { - _impl_._oneof_case_[0] = kReturnStmt; -} -inline void Statement::clear_return_stmt() { - if (_internal_has_return_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.return_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ReturnStmt* Statement::release_return_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.return_stmt) - if (_internal_has_return_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ReturnStmt* temp = _impl_.stmt_oneof_.return_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.return_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ReturnStmt& Statement::_internal_return_stmt() const { - return _internal_has_return_stmt() - ? *_impl_.stmt_oneof_.return_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ReturnStmt&>(::solidity::test::sol2protofuzzer::_ReturnStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ReturnStmt& Statement::return_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.return_stmt) - return _internal_return_stmt(); -} -inline ::solidity::test::sol2protofuzzer::ReturnStmt* Statement::unsafe_arena_release_return_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.return_stmt) - if (_internal_has_return_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ReturnStmt* temp = _impl_.stmt_oneof_.return_stmt_; - _impl_.stmt_oneof_.return_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_return_stmt(::solidity::test::sol2protofuzzer::ReturnStmt* return_stmt) { - clear_stmt_oneof(); - if (return_stmt) { - set_has_return_stmt(); - _impl_.stmt_oneof_.return_stmt_ = return_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.return_stmt) -} -inline ::solidity::test::sol2protofuzzer::ReturnStmt* Statement::_internal_mutable_return_stmt() { - if (!_internal_has_return_stmt()) { - clear_stmt_oneof(); - set_has_return_stmt(); - _impl_.stmt_oneof_.return_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ReturnStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.return_stmt_; -} -inline ::solidity::test::sol2protofuzzer::ReturnStmt* Statement::mutable_return_stmt() { - ::solidity::test::sol2protofuzzer::ReturnStmt* _msg = _internal_mutable_return_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.return_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.EmitStmt emit_stmt = 8; -inline bool Statement::_internal_has_emit_stmt() const { - return stmt_oneof_case() == kEmitStmt; -} -inline bool Statement::has_emit_stmt() const { - return _internal_has_emit_stmt(); -} -inline void Statement::set_has_emit_stmt() { - _impl_._oneof_case_[0] = kEmitStmt; -} -inline void Statement::clear_emit_stmt() { - if (_internal_has_emit_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.emit_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::EmitStmt* Statement::release_emit_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.emit_stmt) - if (_internal_has_emit_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::EmitStmt* temp = _impl_.stmt_oneof_.emit_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.emit_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::EmitStmt& Statement::_internal_emit_stmt() const { - return _internal_has_emit_stmt() - ? *_impl_.stmt_oneof_.emit_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::EmitStmt&>(::solidity::test::sol2protofuzzer::_EmitStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::EmitStmt& Statement::emit_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.emit_stmt) - return _internal_emit_stmt(); -} -inline ::solidity::test::sol2protofuzzer::EmitStmt* Statement::unsafe_arena_release_emit_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.emit_stmt) - if (_internal_has_emit_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::EmitStmt* temp = _impl_.stmt_oneof_.emit_stmt_; - _impl_.stmt_oneof_.emit_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_emit_stmt(::solidity::test::sol2protofuzzer::EmitStmt* emit_stmt) { - clear_stmt_oneof(); - if (emit_stmt) { - set_has_emit_stmt(); - _impl_.stmt_oneof_.emit_stmt_ = emit_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.emit_stmt) -} -inline ::solidity::test::sol2protofuzzer::EmitStmt* Statement::_internal_mutable_emit_stmt() { - if (!_internal_has_emit_stmt()) { - clear_stmt_oneof(); - set_has_emit_stmt(); - _impl_.stmt_oneof_.emit_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::EmitStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.emit_stmt_; -} -inline ::solidity::test::sol2protofuzzer::EmitStmt* Statement::mutable_emit_stmt() { - ::solidity::test::sol2protofuzzer::EmitStmt* _msg = _internal_mutable_emit_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.emit_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.RevertStmt revert_stmt = 9; -inline bool Statement::_internal_has_revert_stmt() const { - return stmt_oneof_case() == kRevertStmt; -} -inline bool Statement::has_revert_stmt() const { - return _internal_has_revert_stmt(); -} -inline void Statement::set_has_revert_stmt() { - _impl_._oneof_case_[0] = kRevertStmt; -} -inline void Statement::clear_revert_stmt() { - if (_internal_has_revert_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.revert_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::RevertStmt* Statement::release_revert_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.revert_stmt) - if (_internal_has_revert_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::RevertStmt* temp = _impl_.stmt_oneof_.revert_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.revert_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::RevertStmt& Statement::_internal_revert_stmt() const { - return _internal_has_revert_stmt() - ? *_impl_.stmt_oneof_.revert_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::RevertStmt&>(::solidity::test::sol2protofuzzer::_RevertStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::RevertStmt& Statement::revert_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.revert_stmt) - return _internal_revert_stmt(); -} -inline ::solidity::test::sol2protofuzzer::RevertStmt* Statement::unsafe_arena_release_revert_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.revert_stmt) - if (_internal_has_revert_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::RevertStmt* temp = _impl_.stmt_oneof_.revert_stmt_; - _impl_.stmt_oneof_.revert_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_revert_stmt(::solidity::test::sol2protofuzzer::RevertStmt* revert_stmt) { - clear_stmt_oneof(); - if (revert_stmt) { - set_has_revert_stmt(); - _impl_.stmt_oneof_.revert_stmt_ = revert_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.revert_stmt) -} -inline ::solidity::test::sol2protofuzzer::RevertStmt* Statement::_internal_mutable_revert_stmt() { - if (!_internal_has_revert_stmt()) { - clear_stmt_oneof(); - set_has_revert_stmt(); - _impl_.stmt_oneof_.revert_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::RevertStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.revert_stmt_; -} -inline ::solidity::test::sol2protofuzzer::RevertStmt* Statement::mutable_revert_stmt() { - ::solidity::test::sol2protofuzzer::RevertStmt* _msg = _internal_mutable_revert_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.revert_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.Block block = 10; -inline bool Statement::_internal_has_block() const { - return stmt_oneof_case() == kBlock; -} -inline bool Statement::has_block() const { - return _internal_has_block(); -} -inline void Statement::set_has_block() { - _impl_._oneof_case_[0] = kBlock; -} -inline void Statement::clear_block() { - if (_internal_has_block()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.block_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::Block* Statement::release_block() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.block) - if (_internal_has_block()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.stmt_oneof_.block_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.block_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::Block& Statement::_internal_block() const { - return _internal_has_block() - ? *_impl_.stmt_oneof_.block_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::Block&>(::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& Statement::block() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.block) - return _internal_block(); -} -inline ::solidity::test::sol2protofuzzer::Block* Statement::unsafe_arena_release_block() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.block) - if (_internal_has_block()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.stmt_oneof_.block_; - _impl_.stmt_oneof_.block_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_block(::solidity::test::sol2protofuzzer::Block* block) { - clear_stmt_oneof(); - if (block) { - set_has_block(); - _impl_.stmt_oneof_.block_ = block; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.block) -} -inline ::solidity::test::sol2protofuzzer::Block* Statement::_internal_mutable_block() { - if (!_internal_has_block()) { - clear_stmt_oneof(); - set_has_block(); - _impl_.stmt_oneof_.block_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::Block >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.block_; -} -inline ::solidity::test::sol2protofuzzer::Block* Statement::mutable_block() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_block(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.block) - return _msg; -} - -// .solidity.test.sol2protofuzzer.UncheckedBlock unchecked = 11; -inline bool Statement::_internal_has_unchecked() const { - return stmt_oneof_case() == kUnchecked; -} -inline bool Statement::has_unchecked() const { - return _internal_has_unchecked(); -} -inline void Statement::set_has_unchecked() { - _impl_._oneof_case_[0] = kUnchecked; -} -inline void Statement::clear_unchecked() { - if (_internal_has_unchecked()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.unchecked_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::UncheckedBlock* Statement::release_unchecked() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.unchecked) - if (_internal_has_unchecked()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::UncheckedBlock* temp = _impl_.stmt_oneof_.unchecked_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.unchecked_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::UncheckedBlock& Statement::_internal_unchecked() const { - return _internal_has_unchecked() - ? *_impl_.stmt_oneof_.unchecked_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::UncheckedBlock&>(::solidity::test::sol2protofuzzer::_UncheckedBlock_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::UncheckedBlock& Statement::unchecked() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.unchecked) - return _internal_unchecked(); -} -inline ::solidity::test::sol2protofuzzer::UncheckedBlock* Statement::unsafe_arena_release_unchecked() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.unchecked) - if (_internal_has_unchecked()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::UncheckedBlock* temp = _impl_.stmt_oneof_.unchecked_; - _impl_.stmt_oneof_.unchecked_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_unchecked(::solidity::test::sol2protofuzzer::UncheckedBlock* unchecked) { - clear_stmt_oneof(); - if (unchecked) { - set_has_unchecked(); - _impl_.stmt_oneof_.unchecked_ = unchecked; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.unchecked) -} -inline ::solidity::test::sol2protofuzzer::UncheckedBlock* Statement::_internal_mutable_unchecked() { - if (!_internal_has_unchecked()) { - clear_stmt_oneof(); - set_has_unchecked(); - _impl_.stmt_oneof_.unchecked_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::UncheckedBlock >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.unchecked_; -} -inline ::solidity::test::sol2protofuzzer::UncheckedBlock* Statement::mutable_unchecked() { - ::solidity::test::sol2protofuzzer::UncheckedBlock* _msg = _internal_mutable_unchecked(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.unchecked) - return _msg; -} - -// .solidity.test.sol2protofuzzer.BreakStmt break_stmt = 12; -inline bool Statement::_internal_has_break_stmt() const { - return stmt_oneof_case() == kBreakStmt; -} -inline bool Statement::has_break_stmt() const { - return _internal_has_break_stmt(); -} -inline void Statement::set_has_break_stmt() { - _impl_._oneof_case_[0] = kBreakStmt; -} -inline void Statement::clear_break_stmt() { - if (_internal_has_break_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.break_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::BreakStmt* Statement::release_break_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.break_stmt) - if (_internal_has_break_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::BreakStmt* temp = _impl_.stmt_oneof_.break_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.break_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::BreakStmt& Statement::_internal_break_stmt() const { - return _internal_has_break_stmt() - ? *_impl_.stmt_oneof_.break_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::BreakStmt&>(::solidity::test::sol2protofuzzer::_BreakStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::BreakStmt& Statement::break_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.break_stmt) - return _internal_break_stmt(); -} -inline ::solidity::test::sol2protofuzzer::BreakStmt* Statement::unsafe_arena_release_break_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.break_stmt) - if (_internal_has_break_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::BreakStmt* temp = _impl_.stmt_oneof_.break_stmt_; - _impl_.stmt_oneof_.break_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_break_stmt(::solidity::test::sol2protofuzzer::BreakStmt* break_stmt) { - clear_stmt_oneof(); - if (break_stmt) { - set_has_break_stmt(); - _impl_.stmt_oneof_.break_stmt_ = break_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.break_stmt) -} -inline ::solidity::test::sol2protofuzzer::BreakStmt* Statement::_internal_mutable_break_stmt() { - if (!_internal_has_break_stmt()) { - clear_stmt_oneof(); - set_has_break_stmt(); - _impl_.stmt_oneof_.break_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BreakStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.break_stmt_; -} -inline ::solidity::test::sol2protofuzzer::BreakStmt* Statement::mutable_break_stmt() { - ::solidity::test::sol2protofuzzer::BreakStmt* _msg = _internal_mutable_break_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.break_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.ContinueStmt continue_stmt = 13; -inline bool Statement::_internal_has_continue_stmt() const { - return stmt_oneof_case() == kContinueStmt; -} -inline bool Statement::has_continue_stmt() const { - return _internal_has_continue_stmt(); -} -inline void Statement::set_has_continue_stmt() { - _impl_._oneof_case_[0] = kContinueStmt; -} -inline void Statement::clear_continue_stmt() { - if (_internal_has_continue_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.continue_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ContinueStmt* Statement::release_continue_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.continue_stmt) - if (_internal_has_continue_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ContinueStmt* temp = _impl_.stmt_oneof_.continue_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.continue_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ContinueStmt& Statement::_internal_continue_stmt() const { - return _internal_has_continue_stmt() - ? *_impl_.stmt_oneof_.continue_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ContinueStmt&>(::solidity::test::sol2protofuzzer::_ContinueStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ContinueStmt& Statement::continue_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.continue_stmt) - return _internal_continue_stmt(); -} -inline ::solidity::test::sol2protofuzzer::ContinueStmt* Statement::unsafe_arena_release_continue_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.continue_stmt) - if (_internal_has_continue_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ContinueStmt* temp = _impl_.stmt_oneof_.continue_stmt_; - _impl_.stmt_oneof_.continue_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_continue_stmt(::solidity::test::sol2protofuzzer::ContinueStmt* continue_stmt) { - clear_stmt_oneof(); - if (continue_stmt) { - set_has_continue_stmt(); - _impl_.stmt_oneof_.continue_stmt_ = continue_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.continue_stmt) -} -inline ::solidity::test::sol2protofuzzer::ContinueStmt* Statement::_internal_mutable_continue_stmt() { - if (!_internal_has_continue_stmt()) { - clear_stmt_oneof(); - set_has_continue_stmt(); - _impl_.stmt_oneof_.continue_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ContinueStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.continue_stmt_; -} -inline ::solidity::test::sol2protofuzzer::ContinueStmt* Statement::mutable_continue_stmt() { - ::solidity::test::sol2protofuzzer::ContinueStmt* _msg = _internal_mutable_continue_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.continue_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.RequireStmt require_stmt = 14; -inline bool Statement::_internal_has_require_stmt() const { - return stmt_oneof_case() == kRequireStmt; -} -inline bool Statement::has_require_stmt() const { - return _internal_has_require_stmt(); -} -inline void Statement::set_has_require_stmt() { - _impl_._oneof_case_[0] = kRequireStmt; -} -inline void Statement::clear_require_stmt() { - if (_internal_has_require_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.require_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::RequireStmt* Statement::release_require_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.require_stmt) - if (_internal_has_require_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::RequireStmt* temp = _impl_.stmt_oneof_.require_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.require_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::RequireStmt& Statement::_internal_require_stmt() const { - return _internal_has_require_stmt() - ? *_impl_.stmt_oneof_.require_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::RequireStmt&>(::solidity::test::sol2protofuzzer::_RequireStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::RequireStmt& Statement::require_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.require_stmt) - return _internal_require_stmt(); -} -inline ::solidity::test::sol2protofuzzer::RequireStmt* Statement::unsafe_arena_release_require_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.require_stmt) - if (_internal_has_require_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::RequireStmt* temp = _impl_.stmt_oneof_.require_stmt_; - _impl_.stmt_oneof_.require_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_require_stmt(::solidity::test::sol2protofuzzer::RequireStmt* require_stmt) { - clear_stmt_oneof(); - if (require_stmt) { - set_has_require_stmt(); - _impl_.stmt_oneof_.require_stmt_ = require_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.require_stmt) -} -inline ::solidity::test::sol2protofuzzer::RequireStmt* Statement::_internal_mutable_require_stmt() { - if (!_internal_has_require_stmt()) { - clear_stmt_oneof(); - set_has_require_stmt(); - _impl_.stmt_oneof_.require_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::RequireStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.require_stmt_; -} -inline ::solidity::test::sol2protofuzzer::RequireStmt* Statement::mutable_require_stmt() { - ::solidity::test::sol2protofuzzer::RequireStmt* _msg = _internal_mutable_require_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.require_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.DeleteStmt delete_stmt = 15; -inline bool Statement::_internal_has_delete_stmt() const { - return stmt_oneof_case() == kDeleteStmt; -} -inline bool Statement::has_delete_stmt() const { - return _internal_has_delete_stmt(); -} -inline void Statement::set_has_delete_stmt() { - _impl_._oneof_case_[0] = kDeleteStmt; -} -inline void Statement::clear_delete_stmt() { - if (_internal_has_delete_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.delete_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::DeleteStmt* Statement::release_delete_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.delete_stmt) - if (_internal_has_delete_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::DeleteStmt* temp = _impl_.stmt_oneof_.delete_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.delete_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::DeleteStmt& Statement::_internal_delete_stmt() const { - return _internal_has_delete_stmt() - ? *_impl_.stmt_oneof_.delete_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::DeleteStmt&>(::solidity::test::sol2protofuzzer::_DeleteStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::DeleteStmt& Statement::delete_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.delete_stmt) - return _internal_delete_stmt(); -} -inline ::solidity::test::sol2protofuzzer::DeleteStmt* Statement::unsafe_arena_release_delete_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.delete_stmt) - if (_internal_has_delete_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::DeleteStmt* temp = _impl_.stmt_oneof_.delete_stmt_; - _impl_.stmt_oneof_.delete_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_delete_stmt(::solidity::test::sol2protofuzzer::DeleteStmt* delete_stmt) { - clear_stmt_oneof(); - if (delete_stmt) { - set_has_delete_stmt(); - _impl_.stmt_oneof_.delete_stmt_ = delete_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.delete_stmt) -} -inline ::solidity::test::sol2protofuzzer::DeleteStmt* Statement::_internal_mutable_delete_stmt() { - if (!_internal_has_delete_stmt()) { - clear_stmt_oneof(); - set_has_delete_stmt(); - _impl_.stmt_oneof_.delete_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::DeleteStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.delete_stmt_; -} -inline ::solidity::test::sol2protofuzzer::DeleteStmt* Statement::mutable_delete_stmt() { - ::solidity::test::sol2protofuzzer::DeleteStmt* _msg = _internal_mutable_delete_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.delete_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.TryCatchStmt try_catch = 16; -inline bool Statement::_internal_has_try_catch() const { - return stmt_oneof_case() == kTryCatch; -} -inline bool Statement::has_try_catch() const { - return _internal_has_try_catch(); -} -inline void Statement::set_has_try_catch() { - _impl_._oneof_case_[0] = kTryCatch; -} -inline void Statement::clear_try_catch() { - if (_internal_has_try_catch()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.try_catch_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::TryCatchStmt* Statement::release_try_catch() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.try_catch) - if (_internal_has_try_catch()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::TryCatchStmt* temp = _impl_.stmt_oneof_.try_catch_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.try_catch_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::TryCatchStmt& Statement::_internal_try_catch() const { - return _internal_has_try_catch() - ? *_impl_.stmt_oneof_.try_catch_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::TryCatchStmt&>(::solidity::test::sol2protofuzzer::_TryCatchStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::TryCatchStmt& Statement::try_catch() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.try_catch) - return _internal_try_catch(); -} -inline ::solidity::test::sol2protofuzzer::TryCatchStmt* Statement::unsafe_arena_release_try_catch() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.try_catch) - if (_internal_has_try_catch()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::TryCatchStmt* temp = _impl_.stmt_oneof_.try_catch_; - _impl_.stmt_oneof_.try_catch_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_try_catch(::solidity::test::sol2protofuzzer::TryCatchStmt* try_catch) { - clear_stmt_oneof(); - if (try_catch) { - set_has_try_catch(); - _impl_.stmt_oneof_.try_catch_ = try_catch; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.try_catch) -} -inline ::solidity::test::sol2protofuzzer::TryCatchStmt* Statement::_internal_mutable_try_catch() { - if (!_internal_has_try_catch()) { - clear_stmt_oneof(); - set_has_try_catch(); - _impl_.stmt_oneof_.try_catch_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TryCatchStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.try_catch_; -} -inline ::solidity::test::sol2protofuzzer::TryCatchStmt* Statement::mutable_try_catch() { - ::solidity::test::sol2protofuzzer::TryCatchStmt* _msg = _internal_mutable_try_catch(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.try_catch) - return _msg; -} - -// .solidity.test.sol2protofuzzer.IndexAssignStmt index_assign = 17; -inline bool Statement::_internal_has_index_assign() const { - return stmt_oneof_case() == kIndexAssign; -} -inline bool Statement::has_index_assign() const { - return _internal_has_index_assign(); -} -inline void Statement::set_has_index_assign() { - _impl_._oneof_case_[0] = kIndexAssign; -} -inline void Statement::clear_index_assign() { - if (_internal_has_index_assign()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.index_assign_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::IndexAssignStmt* Statement::release_index_assign() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.index_assign) - if (_internal_has_index_assign()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::IndexAssignStmt* temp = _impl_.stmt_oneof_.index_assign_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.index_assign_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::IndexAssignStmt& Statement::_internal_index_assign() const { - return _internal_has_index_assign() - ? *_impl_.stmt_oneof_.index_assign_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::IndexAssignStmt&>(::solidity::test::sol2protofuzzer::_IndexAssignStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::IndexAssignStmt& Statement::index_assign() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.index_assign) - return _internal_index_assign(); -} -inline ::solidity::test::sol2protofuzzer::IndexAssignStmt* Statement::unsafe_arena_release_index_assign() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.index_assign) - if (_internal_has_index_assign()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::IndexAssignStmt* temp = _impl_.stmt_oneof_.index_assign_; - _impl_.stmt_oneof_.index_assign_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_index_assign(::solidity::test::sol2protofuzzer::IndexAssignStmt* index_assign) { - clear_stmt_oneof(); - if (index_assign) { - set_has_index_assign(); - _impl_.stmt_oneof_.index_assign_ = index_assign; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.index_assign) -} -inline ::solidity::test::sol2protofuzzer::IndexAssignStmt* Statement::_internal_mutable_index_assign() { - if (!_internal_has_index_assign()) { - clear_stmt_oneof(); - set_has_index_assign(); - _impl_.stmt_oneof_.index_assign_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::IndexAssignStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.index_assign_; -} -inline ::solidity::test::sol2protofuzzer::IndexAssignStmt* Statement::mutable_index_assign() { - ::solidity::test::sol2protofuzzer::IndexAssignStmt* _msg = _internal_mutable_index_assign(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.index_assign) - return _msg; -} - -// .solidity.test.sol2protofuzzer.TupleAssignStmt tuple_assign = 18; -inline bool Statement::_internal_has_tuple_assign() const { - return stmt_oneof_case() == kTupleAssign; -} -inline bool Statement::has_tuple_assign() const { - return _internal_has_tuple_assign(); -} -inline void Statement::set_has_tuple_assign() { - _impl_._oneof_case_[0] = kTupleAssign; -} -inline void Statement::clear_tuple_assign() { - if (_internal_has_tuple_assign()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.tuple_assign_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::TupleAssignStmt* Statement::release_tuple_assign() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.tuple_assign) - if (_internal_has_tuple_assign()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::TupleAssignStmt* temp = _impl_.stmt_oneof_.tuple_assign_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.tuple_assign_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::TupleAssignStmt& Statement::_internal_tuple_assign() const { - return _internal_has_tuple_assign() - ? *_impl_.stmt_oneof_.tuple_assign_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::TupleAssignStmt&>(::solidity::test::sol2protofuzzer::_TupleAssignStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::TupleAssignStmt& Statement::tuple_assign() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.tuple_assign) - return _internal_tuple_assign(); -} -inline ::solidity::test::sol2protofuzzer::TupleAssignStmt* Statement::unsafe_arena_release_tuple_assign() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.tuple_assign) - if (_internal_has_tuple_assign()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::TupleAssignStmt* temp = _impl_.stmt_oneof_.tuple_assign_; - _impl_.stmt_oneof_.tuple_assign_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_tuple_assign(::solidity::test::sol2protofuzzer::TupleAssignStmt* tuple_assign) { - clear_stmt_oneof(); - if (tuple_assign) { - set_has_tuple_assign(); - _impl_.stmt_oneof_.tuple_assign_ = tuple_assign; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.tuple_assign) -} -inline ::solidity::test::sol2protofuzzer::TupleAssignStmt* Statement::_internal_mutable_tuple_assign() { - if (!_internal_has_tuple_assign()) { - clear_stmt_oneof(); - set_has_tuple_assign(); - _impl_.stmt_oneof_.tuple_assign_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TupleAssignStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.tuple_assign_; -} -inline ::solidity::test::sol2protofuzzer::TupleAssignStmt* Statement::mutable_tuple_assign() { - ::solidity::test::sol2protofuzzer::TupleAssignStmt* _msg = _internal_mutable_tuple_assign(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.tuple_assign) - return _msg; -} - -// .solidity.test.sol2protofuzzer.SelfdestructStmt selfdestruct_stmt = 19; -inline bool Statement::_internal_has_selfdestruct_stmt() const { - return stmt_oneof_case() == kSelfdestructStmt; -} -inline bool Statement::has_selfdestruct_stmt() const { - return _internal_has_selfdestruct_stmt(); -} -inline void Statement::set_has_selfdestruct_stmt() { - _impl_._oneof_case_[0] = kSelfdestructStmt; -} -inline void Statement::clear_selfdestruct_stmt() { - if (_internal_has_selfdestruct_stmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.selfdestruct_stmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::SelfdestructStmt* Statement::release_selfdestruct_stmt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.selfdestruct_stmt) - if (_internal_has_selfdestruct_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::SelfdestructStmt* temp = _impl_.stmt_oneof_.selfdestruct_stmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.selfdestruct_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::SelfdestructStmt& Statement::_internal_selfdestruct_stmt() const { - return _internal_has_selfdestruct_stmt() - ? *_impl_.stmt_oneof_.selfdestruct_stmt_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::SelfdestructStmt&>(::solidity::test::sol2protofuzzer::_SelfdestructStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::SelfdestructStmt& Statement::selfdestruct_stmt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.selfdestruct_stmt) - return _internal_selfdestruct_stmt(); -} -inline ::solidity::test::sol2protofuzzer::SelfdestructStmt* Statement::unsafe_arena_release_selfdestruct_stmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.selfdestruct_stmt) - if (_internal_has_selfdestruct_stmt()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::SelfdestructStmt* temp = _impl_.stmt_oneof_.selfdestruct_stmt_; - _impl_.stmt_oneof_.selfdestruct_stmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_selfdestruct_stmt(::solidity::test::sol2protofuzzer::SelfdestructStmt* selfdestruct_stmt) { - clear_stmt_oneof(); - if (selfdestruct_stmt) { - set_has_selfdestruct_stmt(); - _impl_.stmt_oneof_.selfdestruct_stmt_ = selfdestruct_stmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.selfdestruct_stmt) -} -inline ::solidity::test::sol2protofuzzer::SelfdestructStmt* Statement::_internal_mutable_selfdestruct_stmt() { - if (!_internal_has_selfdestruct_stmt()) { - clear_stmt_oneof(); - set_has_selfdestruct_stmt(); - _impl_.stmt_oneof_.selfdestruct_stmt_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::SelfdestructStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.selfdestruct_stmt_; -} -inline ::solidity::test::sol2protofuzzer::SelfdestructStmt* Statement::mutable_selfdestruct_stmt() { - ::solidity::test::sol2protofuzzer::SelfdestructStmt* _msg = _internal_mutable_selfdestruct_stmt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.selfdestruct_stmt) - return _msg; -} - -// .solidity.test.sol2protofuzzer.ArrayPushStmt array_push = 20; -inline bool Statement::_internal_has_array_push() const { - return stmt_oneof_case() == kArrayPush; -} -inline bool Statement::has_array_push() const { - return _internal_has_array_push(); -} -inline void Statement::set_has_array_push() { - _impl_._oneof_case_[0] = kArrayPush; -} -inline void Statement::clear_array_push() { - if (_internal_has_array_push()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.array_push_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ArrayPushStmt* Statement::release_array_push() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.array_push) - if (_internal_has_array_push()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ArrayPushStmt* temp = _impl_.stmt_oneof_.array_push_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.array_push_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ArrayPushStmt& Statement::_internal_array_push() const { - return _internal_has_array_push() - ? *_impl_.stmt_oneof_.array_push_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ArrayPushStmt&>(::solidity::test::sol2protofuzzer::_ArrayPushStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ArrayPushStmt& Statement::array_push() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.array_push) - return _internal_array_push(); -} -inline ::solidity::test::sol2protofuzzer::ArrayPushStmt* Statement::unsafe_arena_release_array_push() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.array_push) - if (_internal_has_array_push()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ArrayPushStmt* temp = _impl_.stmt_oneof_.array_push_; - _impl_.stmt_oneof_.array_push_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_array_push(::solidity::test::sol2protofuzzer::ArrayPushStmt* array_push) { - clear_stmt_oneof(); - if (array_push) { - set_has_array_push(); - _impl_.stmt_oneof_.array_push_ = array_push; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.array_push) -} -inline ::solidity::test::sol2protofuzzer::ArrayPushStmt* Statement::_internal_mutable_array_push() { - if (!_internal_has_array_push()) { - clear_stmt_oneof(); - set_has_array_push(); - _impl_.stmt_oneof_.array_push_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArrayPushStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.array_push_; -} -inline ::solidity::test::sol2protofuzzer::ArrayPushStmt* Statement::mutable_array_push() { - ::solidity::test::sol2protofuzzer::ArrayPushStmt* _msg = _internal_mutable_array_push(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.array_push) - return _msg; -} - -// .solidity.test.sol2protofuzzer.ArrayPopStmt array_pop = 21; -inline bool Statement::_internal_has_array_pop() const { - return stmt_oneof_case() == kArrayPop; -} -inline bool Statement::has_array_pop() const { - return _internal_has_array_pop(); -} -inline void Statement::set_has_array_pop() { - _impl_._oneof_case_[0] = kArrayPop; -} -inline void Statement::clear_array_pop() { - if (_internal_has_array_pop()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.array_pop_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::ArrayPopStmt* Statement::release_array_pop() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.array_pop) - if (_internal_has_array_pop()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ArrayPopStmt* temp = _impl_.stmt_oneof_.array_pop_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.array_pop_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::ArrayPopStmt& Statement::_internal_array_pop() const { - return _internal_has_array_pop() - ? *_impl_.stmt_oneof_.array_pop_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::ArrayPopStmt&>(::solidity::test::sol2protofuzzer::_ArrayPopStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ArrayPopStmt& Statement::array_pop() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.array_pop) - return _internal_array_pop(); -} -inline ::solidity::test::sol2protofuzzer::ArrayPopStmt* Statement::unsafe_arena_release_array_pop() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.array_pop) - if (_internal_has_array_pop()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::ArrayPopStmt* temp = _impl_.stmt_oneof_.array_pop_; - _impl_.stmt_oneof_.array_pop_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_array_pop(::solidity::test::sol2protofuzzer::ArrayPopStmt* array_pop) { - clear_stmt_oneof(); - if (array_pop) { - set_has_array_pop(); - _impl_.stmt_oneof_.array_pop_ = array_pop; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.array_pop) -} -inline ::solidity::test::sol2protofuzzer::ArrayPopStmt* Statement::_internal_mutable_array_pop() { - if (!_internal_has_array_pop()) { - clear_stmt_oneof(); - set_has_array_pop(); - _impl_.stmt_oneof_.array_pop_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::ArrayPopStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.array_pop_; -} -inline ::solidity::test::sol2protofuzzer::ArrayPopStmt* Statement::mutable_array_pop() { - ::solidity::test::sol2protofuzzer::ArrayPopStmt* _msg = _internal_mutable_array_pop(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.array_pop) - return _msg; -} - -// .solidity.test.sol2protofuzzer.TupleDestructStmt tuple_destruct = 22; -inline bool Statement::_internal_has_tuple_destruct() const { - return stmt_oneof_case() == kTupleDestruct; -} -inline bool Statement::has_tuple_destruct() const { - return _internal_has_tuple_destruct(); -} -inline void Statement::set_has_tuple_destruct() { - _impl_._oneof_case_[0] = kTupleDestruct; -} -inline void Statement::clear_tuple_destruct() { - if (_internal_has_tuple_destruct()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.tuple_destruct_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::TupleDestructStmt* Statement::release_tuple_destruct() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.tuple_destruct) - if (_internal_has_tuple_destruct()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::TupleDestructStmt* temp = _impl_.stmt_oneof_.tuple_destruct_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.tuple_destruct_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::TupleDestructStmt& Statement::_internal_tuple_destruct() const { - return _internal_has_tuple_destruct() - ? *_impl_.stmt_oneof_.tuple_destruct_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::TupleDestructStmt&>(::solidity::test::sol2protofuzzer::_TupleDestructStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::TupleDestructStmt& Statement::tuple_destruct() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.tuple_destruct) - return _internal_tuple_destruct(); -} -inline ::solidity::test::sol2protofuzzer::TupleDestructStmt* Statement::unsafe_arena_release_tuple_destruct() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.tuple_destruct) - if (_internal_has_tuple_destruct()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::TupleDestructStmt* temp = _impl_.stmt_oneof_.tuple_destruct_; - _impl_.stmt_oneof_.tuple_destruct_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_tuple_destruct(::solidity::test::sol2protofuzzer::TupleDestructStmt* tuple_destruct) { - clear_stmt_oneof(); - if (tuple_destruct) { - set_has_tuple_destruct(); - _impl_.stmt_oneof_.tuple_destruct_ = tuple_destruct; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.tuple_destruct) -} -inline ::solidity::test::sol2protofuzzer::TupleDestructStmt* Statement::_internal_mutable_tuple_destruct() { - if (!_internal_has_tuple_destruct()) { - clear_stmt_oneof(); - set_has_tuple_destruct(); - _impl_.stmt_oneof_.tuple_destruct_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::TupleDestructStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.tuple_destruct_; -} -inline ::solidity::test::sol2protofuzzer::TupleDestructStmt* Statement::mutable_tuple_destruct() { - ::solidity::test::sol2protofuzzer::TupleDestructStmt* _msg = _internal_mutable_tuple_destruct(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.tuple_destruct) - return _msg; -} - -// .solidity.test.sol2protofuzzer.BareMagicStmt bare_magic = 23; -inline bool Statement::_internal_has_bare_magic() const { - return stmt_oneof_case() == kBareMagic; -} -inline bool Statement::has_bare_magic() const { - return _internal_has_bare_magic(); -} -inline void Statement::set_has_bare_magic() { - _impl_._oneof_case_[0] = kBareMagic; -} -inline void Statement::clear_bare_magic() { - if (_internal_has_bare_magic()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.bare_magic_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::BareMagicStmt* Statement::release_bare_magic() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.bare_magic) - if (_internal_has_bare_magic()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::BareMagicStmt* temp = _impl_.stmt_oneof_.bare_magic_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.bare_magic_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::BareMagicStmt& Statement::_internal_bare_magic() const { - return _internal_has_bare_magic() - ? *_impl_.stmt_oneof_.bare_magic_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::BareMagicStmt&>(::solidity::test::sol2protofuzzer::_BareMagicStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::BareMagicStmt& Statement::bare_magic() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.bare_magic) - return _internal_bare_magic(); -} -inline ::solidity::test::sol2protofuzzer::BareMagicStmt* Statement::unsafe_arena_release_bare_magic() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.bare_magic) - if (_internal_has_bare_magic()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::BareMagicStmt* temp = _impl_.stmt_oneof_.bare_magic_; - _impl_.stmt_oneof_.bare_magic_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_bare_magic(::solidity::test::sol2protofuzzer::BareMagicStmt* bare_magic) { - clear_stmt_oneof(); - if (bare_magic) { - set_has_bare_magic(); - _impl_.stmt_oneof_.bare_magic_ = bare_magic; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.bare_magic) -} -inline ::solidity::test::sol2protofuzzer::BareMagicStmt* Statement::_internal_mutable_bare_magic() { - if (!_internal_has_bare_magic()) { - clear_stmt_oneof(); - set_has_bare_magic(); - _impl_.stmt_oneof_.bare_magic_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::BareMagicStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.bare_magic_; -} -inline ::solidity::test::sol2protofuzzer::BareMagicStmt* Statement::mutable_bare_magic() { - ::solidity::test::sol2protofuzzer::BareMagicStmt* _msg = _internal_mutable_bare_magic(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.bare_magic) - return _msg; -} - -// .solidity.test.sol2protofuzzer.FixedAsmStmt fixed_asm = 24; -inline bool Statement::_internal_has_fixed_asm() const { - return stmt_oneof_case() == kFixedAsm; -} -inline bool Statement::has_fixed_asm() const { - return _internal_has_fixed_asm(); -} -inline void Statement::set_has_fixed_asm() { - _impl_._oneof_case_[0] = kFixedAsm; -} -inline void Statement::clear_fixed_asm() { - if (_internal_has_fixed_asm()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.fixed_asm_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::FixedAsmStmt* Statement::release_fixed_asm() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.fixed_asm) - if (_internal_has_fixed_asm()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::FixedAsmStmt* temp = _impl_.stmt_oneof_.fixed_asm_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.fixed_asm_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::FixedAsmStmt& Statement::_internal_fixed_asm() const { - return _internal_has_fixed_asm() - ? *_impl_.stmt_oneof_.fixed_asm_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::FixedAsmStmt&>(::solidity::test::sol2protofuzzer::_FixedAsmStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::FixedAsmStmt& Statement::fixed_asm() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.fixed_asm) - return _internal_fixed_asm(); -} -inline ::solidity::test::sol2protofuzzer::FixedAsmStmt* Statement::unsafe_arena_release_fixed_asm() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.fixed_asm) - if (_internal_has_fixed_asm()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::FixedAsmStmt* temp = _impl_.stmt_oneof_.fixed_asm_; - _impl_.stmt_oneof_.fixed_asm_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_fixed_asm(::solidity::test::sol2protofuzzer::FixedAsmStmt* fixed_asm) { - clear_stmt_oneof(); - if (fixed_asm) { - set_has_fixed_asm(); - _impl_.stmt_oneof_.fixed_asm_ = fixed_asm; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.fixed_asm) -} -inline ::solidity::test::sol2protofuzzer::FixedAsmStmt* Statement::_internal_mutable_fixed_asm() { - if (!_internal_has_fixed_asm()) { - clear_stmt_oneof(); - set_has_fixed_asm(); - _impl_.stmt_oneof_.fixed_asm_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FixedAsmStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.fixed_asm_; -} -inline ::solidity::test::sol2protofuzzer::FixedAsmStmt* Statement::mutable_fixed_asm() { - ::solidity::test::sol2protofuzzer::FixedAsmStmt* _msg = _internal_mutable_fixed_asm(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.fixed_asm) - return _msg; -} - -// .solidity.test.sol2protofuzzer.AbiEncodeStructStmt abi_encode_struct = 25; -inline bool Statement::_internal_has_abi_encode_struct() const { - return stmt_oneof_case() == kAbiEncodeStruct; -} -inline bool Statement::has_abi_encode_struct() const { - return _internal_has_abi_encode_struct(); -} -inline void Statement::set_has_abi_encode_struct() { - _impl_._oneof_case_[0] = kAbiEncodeStruct; -} -inline void Statement::clear_abi_encode_struct() { - if (_internal_has_abi_encode_struct()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.abi_encode_struct_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* Statement::release_abi_encode_struct() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.abi_encode_struct) - if (_internal_has_abi_encode_struct()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* temp = _impl_.stmt_oneof_.abi_encode_struct_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.abi_encode_struct_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt& Statement::_internal_abi_encode_struct() const { - return _internal_has_abi_encode_struct() - ? *_impl_.stmt_oneof_.abi_encode_struct_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt&>(::solidity::test::sol2protofuzzer::_AbiEncodeStructStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt& Statement::abi_encode_struct() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.abi_encode_struct) - return _internal_abi_encode_struct(); -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* Statement::unsafe_arena_release_abi_encode_struct() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.abi_encode_struct) - if (_internal_has_abi_encode_struct()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* temp = _impl_.stmt_oneof_.abi_encode_struct_; - _impl_.stmt_oneof_.abi_encode_struct_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_abi_encode_struct(::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* abi_encode_struct) { - clear_stmt_oneof(); - if (abi_encode_struct) { - set_has_abi_encode_struct(); - _impl_.stmt_oneof_.abi_encode_struct_ = abi_encode_struct; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.abi_encode_struct) -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* Statement::_internal_mutable_abi_encode_struct() { - if (!_internal_has_abi_encode_struct()) { - clear_stmt_oneof(); - set_has_abi_encode_struct(); - _impl_.stmt_oneof_.abi_encode_struct_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.abi_encode_struct_; -} -inline ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* Statement::mutable_abi_encode_struct() { - ::solidity::test::sol2protofuzzer::AbiEncodeStructStmt* _msg = _internal_mutable_abi_encode_struct(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.abi_encode_struct) - return _msg; -} - -// .solidity.test.sol2protofuzzer.FuncPtrStmt func_ptr = 26; -inline bool Statement::_internal_has_func_ptr() const { - return stmt_oneof_case() == kFuncPtr; -} -inline bool Statement::has_func_ptr() const { - return _internal_has_func_ptr(); -} -inline void Statement::set_has_func_ptr() { - _impl_._oneof_case_[0] = kFuncPtr; -} -inline void Statement::clear_func_ptr() { - if (_internal_has_func_ptr()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.func_ptr_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::FuncPtrStmt* Statement::release_func_ptr() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.func_ptr) - if (_internal_has_func_ptr()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::FuncPtrStmt* temp = _impl_.stmt_oneof_.func_ptr_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.func_ptr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::FuncPtrStmt& Statement::_internal_func_ptr() const { - return _internal_has_func_ptr() - ? *_impl_.stmt_oneof_.func_ptr_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::FuncPtrStmt&>(::solidity::test::sol2protofuzzer::_FuncPtrStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::FuncPtrStmt& Statement::func_ptr() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.func_ptr) - return _internal_func_ptr(); -} -inline ::solidity::test::sol2protofuzzer::FuncPtrStmt* Statement::unsafe_arena_release_func_ptr() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.func_ptr) - if (_internal_has_func_ptr()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::FuncPtrStmt* temp = _impl_.stmt_oneof_.func_ptr_; - _impl_.stmt_oneof_.func_ptr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_func_ptr(::solidity::test::sol2protofuzzer::FuncPtrStmt* func_ptr) { - clear_stmt_oneof(); - if (func_ptr) { - set_has_func_ptr(); - _impl_.stmt_oneof_.func_ptr_ = func_ptr; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.func_ptr) -} -inline ::solidity::test::sol2protofuzzer::FuncPtrStmt* Statement::_internal_mutable_func_ptr() { - if (!_internal_has_func_ptr()) { - clear_stmt_oneof(); - set_has_func_ptr(); - _impl_.stmt_oneof_.func_ptr_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::FuncPtrStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.func_ptr_; -} -inline ::solidity::test::sol2protofuzzer::FuncPtrStmt* Statement::mutable_func_ptr() { - ::solidity::test::sol2protofuzzer::FuncPtrStmt* _msg = _internal_mutable_func_ptr(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.func_ptr) - return _msg; -} - -// .solidity.test.sol2protofuzzer.StructLocalDeclStmt struct_local_decl = 27; -inline bool Statement::_internal_has_struct_local_decl() const { - return stmt_oneof_case() == kStructLocalDecl; -} -inline bool Statement::has_struct_local_decl() const { - return _internal_has_struct_local_decl(); -} -inline void Statement::set_has_struct_local_decl() { - _impl_._oneof_case_[0] = kStructLocalDecl; -} -inline void Statement::clear_struct_local_decl() { - if (_internal_has_struct_local_decl()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.struct_local_decl_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* Statement::release_struct_local_decl() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.struct_local_decl) - if (_internal_has_struct_local_decl()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* temp = _impl_.stmt_oneof_.struct_local_decl_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.struct_local_decl_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::StructLocalDeclStmt& Statement::_internal_struct_local_decl() const { - return _internal_has_struct_local_decl() - ? *_impl_.stmt_oneof_.struct_local_decl_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::StructLocalDeclStmt&>(::solidity::test::sol2protofuzzer::_StructLocalDeclStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::StructLocalDeclStmt& Statement::struct_local_decl() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.struct_local_decl) - return _internal_struct_local_decl(); -} -inline ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* Statement::unsafe_arena_release_struct_local_decl() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.struct_local_decl) - if (_internal_has_struct_local_decl()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* temp = _impl_.stmt_oneof_.struct_local_decl_; - _impl_.stmt_oneof_.struct_local_decl_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_struct_local_decl(::solidity::test::sol2protofuzzer::StructLocalDeclStmt* struct_local_decl) { - clear_stmt_oneof(); - if (struct_local_decl) { - set_has_struct_local_decl(); - _impl_.stmt_oneof_.struct_local_decl_ = struct_local_decl; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.struct_local_decl) -} -inline ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* Statement::_internal_mutable_struct_local_decl() { - if (!_internal_has_struct_local_decl()) { - clear_stmt_oneof(); - set_has_struct_local_decl(); - _impl_.stmt_oneof_.struct_local_decl_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructLocalDeclStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.struct_local_decl_; -} -inline ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* Statement::mutable_struct_local_decl() { - ::solidity::test::sol2protofuzzer::StructLocalDeclStmt* _msg = _internal_mutable_struct_local_decl(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.struct_local_decl) - return _msg; -} - -// .solidity.test.sol2protofuzzer.StructTupleAliasStmt struct_tuple_alias = 28; -inline bool Statement::_internal_has_struct_tuple_alias() const { - return stmt_oneof_case() == kStructTupleAlias; -} -inline bool Statement::has_struct_tuple_alias() const { - return _internal_has_struct_tuple_alias(); -} -inline void Statement::set_has_struct_tuple_alias() { - _impl_._oneof_case_[0] = kStructTupleAlias; -} -inline void Statement::clear_struct_tuple_alias() { - if (_internal_has_struct_tuple_alias()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.struct_tuple_alias_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* Statement::release_struct_tuple_alias() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Statement.struct_tuple_alias) - if (_internal_has_struct_tuple_alias()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* temp = _impl_.stmt_oneof_.struct_tuple_alias_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.struct_tuple_alias_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::StructTupleAliasStmt& Statement::_internal_struct_tuple_alias() const { - return _internal_has_struct_tuple_alias() - ? *_impl_.stmt_oneof_.struct_tuple_alias_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::StructTupleAliasStmt&>(::solidity::test::sol2protofuzzer::_StructTupleAliasStmt_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::StructTupleAliasStmt& Statement::struct_tuple_alias() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Statement.struct_tuple_alias) - return _internal_struct_tuple_alias(); -} -inline ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* Statement::unsafe_arena_release_struct_tuple_alias() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.Statement.struct_tuple_alias) - if (_internal_has_struct_tuple_alias()) { - clear_has_stmt_oneof(); - ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* temp = _impl_.stmt_oneof_.struct_tuple_alias_; - _impl_.stmt_oneof_.struct_tuple_alias_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_struct_tuple_alias(::solidity::test::sol2protofuzzer::StructTupleAliasStmt* struct_tuple_alias) { - clear_stmt_oneof(); - if (struct_tuple_alias) { - set_has_struct_tuple_alias(); - _impl_.stmt_oneof_.struct_tuple_alias_ = struct_tuple_alias; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.Statement.struct_tuple_alias) -} -inline ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* Statement::_internal_mutable_struct_tuple_alias() { - if (!_internal_has_struct_tuple_alias()) { - clear_stmt_oneof(); - set_has_struct_tuple_alias(); - _impl_.stmt_oneof_.struct_tuple_alias_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructTupleAliasStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.struct_tuple_alias_; -} -inline ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* Statement::mutable_struct_tuple_alias() { - ::solidity::test::sol2protofuzzer::StructTupleAliasStmt* _msg = _internal_mutable_struct_tuple_alias(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Statement.struct_tuple_alias) - return _msg; -} - -inline bool Statement::has_stmt_oneof() const { - return stmt_oneof_case() != STMT_ONEOF_NOT_SET; -} -inline void Statement::clear_has_stmt_oneof() { - _impl_._oneof_case_[0] = STMT_ONEOF_NOT_SET; -} -inline Statement::StmtOneofCase Statement::stmt_oneof_case() const { - return Statement::StmtOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// FuncPtrStmt - -// required uint32 target_id = 1; -inline bool FuncPtrStmt::_internal_has_target_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool FuncPtrStmt::has_target_id() const { - return _internal_has_target_id(); -} -inline void FuncPtrStmt::clear_target_id() { - _impl_.target_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t FuncPtrStmt::_internal_target_id() const { - return _impl_.target_id_; -} -inline uint32_t FuncPtrStmt::target_id() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FuncPtrStmt.target_id) - return _internal_target_id(); -} -inline void FuncPtrStmt::_internal_set_target_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.target_id_ = value; -} -inline void FuncPtrStmt::set_target_id(uint32_t value) { - _internal_set_target_id(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FuncPtrStmt.target_id) -} - -// repeated .solidity.test.sol2protofuzzer.Expression args = 2; -inline int FuncPtrStmt::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int FuncPtrStmt::args_size() const { - return _internal_args_size(); -} -inline void FuncPtrStmt::clear_args() { - _impl_.args_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::Expression* FuncPtrStmt::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.FuncPtrStmt.args) - return _impl_.args_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >* -FuncPtrStmt::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.FuncPtrStmt.args) - return &_impl_.args_; -} -inline const ::solidity::test::sol2protofuzzer::Expression& FuncPtrStmt::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::Expression& FuncPtrStmt::args(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FuncPtrStmt.args) - return _internal_args(index); -} -inline ::solidity::test::sol2protofuzzer::Expression* FuncPtrStmt::_internal_add_args() { - return _impl_.args_.Add(); -} -inline ::solidity::test::sol2protofuzzer::Expression* FuncPtrStmt::add_args() { - ::solidity::test::sol2protofuzzer::Expression* _add = _internal_add_args(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.FuncPtrStmt.args) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::Expression >& -FuncPtrStmt::args() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.FuncPtrStmt.args) - return _impl_.args_; -} - -// ------------------------------------------------------------------- - -// StructField - -// required .solidity.test.sol2protofuzzer.ElementaryType type = 1; -inline bool StructField::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.type_ != nullptr); - return value; -} -inline bool StructField::has_type() const { - return _internal_has_type(); -} -inline void StructField::clear_type() { - if (_impl_.type_ != nullptr) _impl_.type_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& StructField::_internal_type() const { - const ::solidity::test::sol2protofuzzer::ElementaryType* p = _impl_.type_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_ElementaryType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& StructField::type() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructField.type) - return _internal_type(); -} -inline void StructField::unsafe_arena_set_allocated_type( - ::solidity::test::sol2protofuzzer::ElementaryType* type) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.type_); - } - _impl_.type_ = type; - if (type) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.StructField.type) -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* StructField::release_type() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.type_; - _impl_.type_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* StructField::unsafe_arena_release_type() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.StructField.type) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.type_; - _impl_.type_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* StructField::_internal_mutable_type() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.type_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::ElementaryType>(GetArenaForAllocation()); - _impl_.type_ = p; - } - return _impl_.type_; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* StructField::mutable_type() { - ::solidity::test::sol2protofuzzer::ElementaryType* _msg = _internal_mutable_type(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.StructField.type) - return _msg; -} -inline void StructField::set_allocated_type(::solidity::test::sol2protofuzzer::ElementaryType* type) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.type_; - } - if (type) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(type); - if (message_arena != submessage_arena) { - type = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, type, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.type_ = type; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.StructField.type) -} - -// .solidity.test.sol2protofuzzer.StructArrayField arr_field = 2; -inline bool StructField::_internal_has_arr_field() const { - return advanced_type_case() == kArrField; -} -inline bool StructField::has_arr_field() const { - return _internal_has_arr_field(); -} -inline void StructField::set_has_arr_field() { - _impl_._oneof_case_[0] = kArrField; -} -inline void StructField::clear_arr_field() { - if (_internal_has_arr_field()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.advanced_type_.arr_field_; - } - clear_has_advanced_type(); - } -} -inline ::solidity::test::sol2protofuzzer::StructArrayField* StructField::release_arr_field() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.StructField.arr_field) - if (_internal_has_arr_field()) { - clear_has_advanced_type(); - ::solidity::test::sol2protofuzzer::StructArrayField* temp = _impl_.advanced_type_.arr_field_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.advanced_type_.arr_field_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::StructArrayField& StructField::_internal_arr_field() const { - return _internal_has_arr_field() - ? *_impl_.advanced_type_.arr_field_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::StructArrayField&>(::solidity::test::sol2protofuzzer::_StructArrayField_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::StructArrayField& StructField::arr_field() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructField.arr_field) - return _internal_arr_field(); -} -inline ::solidity::test::sol2protofuzzer::StructArrayField* StructField::unsafe_arena_release_arr_field() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.StructField.arr_field) - if (_internal_has_arr_field()) { - clear_has_advanced_type(); - ::solidity::test::sol2protofuzzer::StructArrayField* temp = _impl_.advanced_type_.arr_field_; - _impl_.advanced_type_.arr_field_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void StructField::unsafe_arena_set_allocated_arr_field(::solidity::test::sol2protofuzzer::StructArrayField* arr_field) { - clear_advanced_type(); - if (arr_field) { - set_has_arr_field(); - _impl_.advanced_type_.arr_field_ = arr_field; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.StructField.arr_field) -} -inline ::solidity::test::sol2protofuzzer::StructArrayField* StructField::_internal_mutable_arr_field() { - if (!_internal_has_arr_field()) { - clear_advanced_type(); - set_has_arr_field(); - _impl_.advanced_type_.arr_field_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructArrayField >(GetArenaForAllocation()); - } - return _impl_.advanced_type_.arr_field_; -} -inline ::solidity::test::sol2protofuzzer::StructArrayField* StructField::mutable_arr_field() { - ::solidity::test::sol2protofuzzer::StructArrayField* _msg = _internal_mutable_arr_field(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.StructField.arr_field) - return _msg; -} - -// .solidity.test.sol2protofuzzer.StructFunctionField fn_field = 3; -inline bool StructField::_internal_has_fn_field() const { - return advanced_type_case() == kFnField; -} -inline bool StructField::has_fn_field() const { - return _internal_has_fn_field(); -} -inline void StructField::set_has_fn_field() { - _impl_._oneof_case_[0] = kFnField; -} -inline void StructField::clear_fn_field() { - if (_internal_has_fn_field()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.advanced_type_.fn_field_; - } - clear_has_advanced_type(); - } -} -inline ::solidity::test::sol2protofuzzer::StructFunctionField* StructField::release_fn_field() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.StructField.fn_field) - if (_internal_has_fn_field()) { - clear_has_advanced_type(); - ::solidity::test::sol2protofuzzer::StructFunctionField* temp = _impl_.advanced_type_.fn_field_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.advanced_type_.fn_field_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::sol2protofuzzer::StructFunctionField& StructField::_internal_fn_field() const { - return _internal_has_fn_field() - ? *_impl_.advanced_type_.fn_field_ - : reinterpret_cast< ::solidity::test::sol2protofuzzer::StructFunctionField&>(::solidity::test::sol2protofuzzer::_StructFunctionField_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::StructFunctionField& StructField::fn_field() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructField.fn_field) - return _internal_fn_field(); -} -inline ::solidity::test::sol2protofuzzer::StructFunctionField* StructField::unsafe_arena_release_fn_field() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.sol2protofuzzer.StructField.fn_field) - if (_internal_has_fn_field()) { - clear_has_advanced_type(); - ::solidity::test::sol2protofuzzer::StructFunctionField* temp = _impl_.advanced_type_.fn_field_; - _impl_.advanced_type_.fn_field_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void StructField::unsafe_arena_set_allocated_fn_field(::solidity::test::sol2protofuzzer::StructFunctionField* fn_field) { - clear_advanced_type(); - if (fn_field) { - set_has_fn_field(); - _impl_.advanced_type_.fn_field_ = fn_field; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.StructField.fn_field) -} -inline ::solidity::test::sol2protofuzzer::StructFunctionField* StructField::_internal_mutable_fn_field() { - if (!_internal_has_fn_field()) { - clear_advanced_type(); - set_has_fn_field(); - _impl_.advanced_type_.fn_field_ = CreateMaybeMessage< ::solidity::test::sol2protofuzzer::StructFunctionField >(GetArenaForAllocation()); - } - return _impl_.advanced_type_.fn_field_; -} -inline ::solidity::test::sol2protofuzzer::StructFunctionField* StructField::mutable_fn_field() { - ::solidity::test::sol2protofuzzer::StructFunctionField* _msg = _internal_mutable_fn_field(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.StructField.fn_field) - return _msg; -} - -inline bool StructField::has_advanced_type() const { - return advanced_type_case() != ADVANCED_TYPE_NOT_SET; -} -inline void StructField::clear_has_advanced_type() { - _impl_._oneof_case_[0] = ADVANCED_TYPE_NOT_SET; -} -inline StructField::AdvancedTypeCase StructField::advanced_type_case() const { - return StructField::AdvancedTypeCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// StructArrayField - -// required .solidity.test.sol2protofuzzer.ElementaryType base = 1; -inline bool StructArrayField::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); - return value; -} -inline bool StructArrayField::has_base() const { - return _internal_has_base(); -} -inline void StructArrayField::clear_base() { - if (_impl_.base_ != nullptr) _impl_.base_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& StructArrayField::_internal_base() const { - const ::solidity::test::sol2protofuzzer::ElementaryType* p = _impl_.base_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_ElementaryType_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ElementaryType& StructArrayField::base() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructArrayField.base) - return _internal_base(); -} -inline void StructArrayField::unsafe_arena_set_allocated_base( - ::solidity::test::sol2protofuzzer::ElementaryType* base) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); - } - _impl_.base_ = base; - if (base) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.StructArrayField.base) -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* StructArrayField::release_base() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.base_; - _impl_.base_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* StructArrayField::unsafe_arena_release_base() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.StructArrayField.base) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ElementaryType* temp = _impl_.base_; - _impl_.base_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* StructArrayField::_internal_mutable_base() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.base_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::ElementaryType>(GetArenaForAllocation()); - _impl_.base_ = p; - } - return _impl_.base_; -} -inline ::solidity::test::sol2protofuzzer::ElementaryType* StructArrayField::mutable_base() { - ::solidity::test::sol2protofuzzer::ElementaryType* _msg = _internal_mutable_base(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.StructArrayField.base) - return _msg; -} -inline void StructArrayField::set_allocated_base(::solidity::test::sol2protofuzzer::ElementaryType* base) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.base_; - } - if (base) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); - if (message_arena != submessage_arena) { - base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, base, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.base_ = base; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.StructArrayField.base) -} - -// optional uint32 outer_length = 2; -inline bool StructArrayField::_internal_has_outer_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool StructArrayField::has_outer_length() const { - return _internal_has_outer_length(); -} -inline void StructArrayField::clear_outer_length() { - _impl_.outer_length_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t StructArrayField::_internal_outer_length() const { - return _impl_.outer_length_; -} -inline uint32_t StructArrayField::outer_length() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructArrayField.outer_length) - return _internal_outer_length(); -} -inline void StructArrayField::_internal_set_outer_length(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.outer_length_ = value; -} -inline void StructArrayField::set_outer_length(uint32_t value) { - _internal_set_outer_length(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StructArrayField.outer_length) -} - -// optional uint32 inner_length = 3; -inline bool StructArrayField::_internal_has_inner_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool StructArrayField::has_inner_length() const { - return _internal_has_inner_length(); -} -inline void StructArrayField::clear_inner_length() { - _impl_.inner_length_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t StructArrayField::_internal_inner_length() const { - return _impl_.inner_length_; -} -inline uint32_t StructArrayField::inner_length() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructArrayField.inner_length) - return _internal_inner_length(); -} -inline void StructArrayField::_internal_set_inner_length(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.inner_length_ = value; -} -inline void StructArrayField::set_inner_length(uint32_t value) { - _internal_set_inner_length(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StructArrayField.inner_length) -} - -// ------------------------------------------------------------------- - -// StructFunctionField - -// optional bool returns_calldata_array = 1; -inline bool StructFunctionField::_internal_has_returns_calldata_array() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool StructFunctionField::has_returns_calldata_array() const { - return _internal_has_returns_calldata_array(); -} -inline void StructFunctionField::clear_returns_calldata_array() { - _impl_.returns_calldata_array_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool StructFunctionField::_internal_returns_calldata_array() const { - return _impl_.returns_calldata_array_; -} -inline bool StructFunctionField::returns_calldata_array() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructFunctionField.returns_calldata_array) - return _internal_returns_calldata_array(); -} -inline void StructFunctionField::_internal_set_returns_calldata_array(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.returns_calldata_array_ = value; -} -inline void StructFunctionField::set_returns_calldata_array(bool value) { - _internal_set_returns_calldata_array(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StructFunctionField.returns_calldata_array) -} - -// ------------------------------------------------------------------- - -// StructDef - -// repeated .solidity.test.sol2protofuzzer.StructField fields = 1; -inline int StructDef::_internal_fields_size() const { - return _impl_.fields_.size(); -} -inline int StructDef::fields_size() const { - return _internal_fields_size(); -} -inline void StructDef::clear_fields() { - _impl_.fields_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::StructField* StructDef::mutable_fields(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.StructDef.fields) - return _impl_.fields_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StructField >* -StructDef::mutable_fields() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.StructDef.fields) - return &_impl_.fields_; -} -inline const ::solidity::test::sol2protofuzzer::StructField& StructDef::_internal_fields(int index) const { - return _impl_.fields_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::StructField& StructDef::fields(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StructDef.fields) - return _internal_fields(index); -} -inline ::solidity::test::sol2protofuzzer::StructField* StructDef::_internal_add_fields() { - return _impl_.fields_.Add(); -} -inline ::solidity::test::sol2protofuzzer::StructField* StructDef::add_fields() { - ::solidity::test::sol2protofuzzer::StructField* _add = _internal_add_fields(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.StructDef.fields) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StructField >& -StructDef::fields() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.StructDef.fields) - return _impl_.fields_; -} - -// ------------------------------------------------------------------- - -// EnumDef - -// required uint32 num_members = 1; -inline bool EnumDef::_internal_has_num_members() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool EnumDef::has_num_members() const { - return _internal_has_num_members(); -} -inline void EnumDef::clear_num_members() { - _impl_.num_members_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t EnumDef::_internal_num_members() const { - return _impl_.num_members_; -} -inline uint32_t EnumDef::num_members() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EnumDef.num_members) - return _internal_num_members(); -} -inline void EnumDef::_internal_set_num_members(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.num_members_ = value; -} -inline void EnumDef::set_num_members(uint32_t value) { - _internal_set_num_members(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.EnumDef.num_members) -} - -// ------------------------------------------------------------------- - -// EventDef - -// required uint32 num_params = 1; -inline bool EventDef::_internal_has_num_params() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool EventDef::has_num_params() const { - return _internal_has_num_params(); -} -inline void EventDef::clear_num_params() { - _impl_.num_params_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t EventDef::_internal_num_params() const { - return _impl_.num_params_; -} -inline uint32_t EventDef::num_params() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EventDef.num_params) - return _internal_num_params(); -} -inline void EventDef::_internal_set_num_params(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.num_params_ = value; -} -inline void EventDef::set_num_params(uint32_t value) { - _internal_set_num_params(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.EventDef.num_params) -} - -// repeated bool indexed_params = 2; -inline int EventDef::_internal_indexed_params_size() const { - return _impl_.indexed_params_.size(); -} -inline int EventDef::indexed_params_size() const { - return _internal_indexed_params_size(); -} -inline void EventDef::clear_indexed_params() { - _impl_.indexed_params_.Clear(); -} -inline bool EventDef::_internal_indexed_params(int index) const { - return _impl_.indexed_params_.Get(index); -} -inline bool EventDef::indexed_params(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.EventDef.indexed_params) - return _internal_indexed_params(index); -} -inline void EventDef::set_indexed_params(int index, bool value) { - _impl_.indexed_params_.Set(index, value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.EventDef.indexed_params) -} -inline void EventDef::_internal_add_indexed_params(bool value) { - _impl_.indexed_params_.Add(value); -} -inline void EventDef::add_indexed_params(bool value) { - _internal_add_indexed_params(value); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.EventDef.indexed_params) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& -EventDef::_internal_indexed_params() const { - return _impl_.indexed_params_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& -EventDef::indexed_params() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.EventDef.indexed_params) - return _internal_indexed_params(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* -EventDef::_internal_mutable_indexed_params() { - return &_impl_.indexed_params_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* -EventDef::mutable_indexed_params() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.EventDef.indexed_params) - return _internal_mutable_indexed_params(); -} - -// ------------------------------------------------------------------- - -// ErrorDef - -// required uint32 num_params = 1; -inline bool ErrorDef::_internal_has_num_params() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ErrorDef::has_num_params() const { - return _internal_has_num_params(); -} -inline void ErrorDef::clear_num_params() { - _impl_.num_params_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t ErrorDef::_internal_num_params() const { - return _impl_.num_params_; -} -inline uint32_t ErrorDef::num_params() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ErrorDef.num_params) - return _internal_num_params(); -} -inline void ErrorDef::_internal_set_num_params(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.num_params_ = value; -} -inline void ErrorDef::set_num_params(uint32_t value) { - _internal_set_num_params(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ErrorDef.num_params) -} - -// ------------------------------------------------------------------- - -// ModifierDef - -// required .solidity.test.sol2protofuzzer.Block body = 1; -inline bool ModifierDef::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.body_ != nullptr); - return value; -} -inline bool ModifierDef::has_body() const { - return _internal_has_body(); -} -inline void ModifierDef::clear_body() { - if (_impl_.body_ != nullptr) _impl_.body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Block& ModifierDef::_internal_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& ModifierDef::body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ModifierDef.body) - return _internal_body(); -} -inline void ModifierDef::unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.body_); - } - _impl_.body_ = body; - if (body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ModifierDef.body) -} -inline ::solidity::test::sol2protofuzzer::Block* ModifierDef::release_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* ModifierDef::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ModifierDef.body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* ModifierDef::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.body_ = p; - } - return _impl_.body_; -} -inline ::solidity::test::sol2protofuzzer::Block* ModifierDef::mutable_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ModifierDef.body) - return _msg; -} -inline void ModifierDef::set_allocated_body(::solidity::test::sol2protofuzzer::Block* body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.body_; - } - if (body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(body); - if (message_arena != submessage_arena) { - body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.body_ = body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ModifierDef.body) -} - -// ------------------------------------------------------------------- - -// ReceiveDef - -// required .solidity.test.sol2protofuzzer.Block body = 1; -inline bool ReceiveDef::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.body_ != nullptr); - return value; -} -inline bool ReceiveDef::has_body() const { - return _internal_has_body(); -} -inline void ReceiveDef::clear_body() { - if (_impl_.body_ != nullptr) _impl_.body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Block& ReceiveDef::_internal_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& ReceiveDef::body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ReceiveDef.body) - return _internal_body(); -} -inline void ReceiveDef::unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.body_); - } - _impl_.body_ = body; - if (body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ReceiveDef.body) -} -inline ::solidity::test::sol2protofuzzer::Block* ReceiveDef::release_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* ReceiveDef::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ReceiveDef.body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* ReceiveDef::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.body_ = p; - } - return _impl_.body_; -} -inline ::solidity::test::sol2protofuzzer::Block* ReceiveDef::mutable_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ReceiveDef.body) - return _msg; -} -inline void ReceiveDef::set_allocated_body(::solidity::test::sol2protofuzzer::Block* body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.body_; - } - if (body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(body); - if (message_arena != submessage_arena) { - body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.body_ = body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ReceiveDef.body) -} - -// ------------------------------------------------------------------- - -// FallbackDef - -// required .solidity.test.sol2protofuzzer.Block body = 1; -inline bool FallbackDef::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.body_ != nullptr); - return value; -} -inline bool FallbackDef::has_body() const { - return _internal_has_body(); -} -inline void FallbackDef::clear_body() { - if (_impl_.body_ != nullptr) _impl_.body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Block& FallbackDef::_internal_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& FallbackDef::body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FallbackDef.body) - return _internal_body(); -} -inline void FallbackDef::unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.body_); - } - _impl_.body_ = body; - if (body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.FallbackDef.body) -} -inline ::solidity::test::sol2protofuzzer::Block* FallbackDef::release_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* FallbackDef::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.FallbackDef.body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* FallbackDef::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.body_ = p; - } - return _impl_.body_; -} -inline ::solidity::test::sol2protofuzzer::Block* FallbackDef::mutable_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.FallbackDef.body) - return _msg; -} -inline void FallbackDef::set_allocated_body(::solidity::test::sol2protofuzzer::Block* body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.body_; - } - if (body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(body); - if (message_arena != submessage_arena) { - body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.body_ = body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.FallbackDef.body) -} - -// ------------------------------------------------------------------- - -// FunctionDef - -// required uint32 num_params = 1; -inline bool FunctionDef::_internal_has_num_params() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool FunctionDef::has_num_params() const { - return _internal_has_num_params(); -} -inline void FunctionDef::clear_num_params() { - _impl_.num_params_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t FunctionDef::_internal_num_params() const { - return _impl_.num_params_; -} -inline uint32_t FunctionDef::num_params() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.num_params) - return _internal_num_params(); -} -inline void FunctionDef::_internal_set_num_params(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.num_params_ = value; -} -inline void FunctionDef::set_num_params(uint32_t value) { - _internal_set_num_params(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FunctionDef.num_params) -} - -// required .solidity.test.sol2protofuzzer.Visibility vis = 3; -inline bool FunctionDef::_internal_has_vis() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool FunctionDef::has_vis() const { - return _internal_has_vis(); -} -inline void FunctionDef::clear_vis() { - _impl_.vis_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::solidity::test::sol2protofuzzer::Visibility FunctionDef::_internal_vis() const { - return static_cast< ::solidity::test::sol2protofuzzer::Visibility >(_impl_.vis_); -} -inline ::solidity::test::sol2protofuzzer::Visibility FunctionDef::vis() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.vis) - return _internal_vis(); -} -inline void FunctionDef::_internal_set_vis(::solidity::test::sol2protofuzzer::Visibility value) { - assert(::solidity::test::sol2protofuzzer::Visibility_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.vis_ = value; -} -inline void FunctionDef::set_vis(::solidity::test::sol2protofuzzer::Visibility value) { - _internal_set_vis(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FunctionDef.vis) -} - -// required .solidity.test.sol2protofuzzer.StateMutability mut = 4; -inline bool FunctionDef::_internal_has_mut() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool FunctionDef::has_mut() const { - return _internal_has_mut(); -} -inline void FunctionDef::clear_mut() { - _impl_.mut_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::solidity::test::sol2protofuzzer::StateMutability FunctionDef::_internal_mut() const { - return static_cast< ::solidity::test::sol2protofuzzer::StateMutability >(_impl_.mut_); -} -inline ::solidity::test::sol2protofuzzer::StateMutability FunctionDef::mut() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.mut) - return _internal_mut(); -} -inline void FunctionDef::_internal_set_mut(::solidity::test::sol2protofuzzer::StateMutability value) { - assert(::solidity::test::sol2protofuzzer::StateMutability_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.mut_ = value; -} -inline void FunctionDef::set_mut(::solidity::test::sol2protofuzzer::StateMutability value) { - _internal_set_mut(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FunctionDef.mut) -} - -// required .solidity.test.sol2protofuzzer.Block body = 6; -inline bool FunctionDef::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.body_ != nullptr); - return value; -} -inline bool FunctionDef::has_body() const { - return _internal_has_body(); -} -inline void FunctionDef::clear_body() { - if (_impl_.body_ != nullptr) _impl_.body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Block& FunctionDef::_internal_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& FunctionDef::body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.body) - return _internal_body(); -} -inline void FunctionDef::unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.body_); - } - _impl_.body_ = body; - if (body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.FunctionDef.body) -} -inline ::solidity::test::sol2protofuzzer::Block* FunctionDef::release_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* FunctionDef::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.FunctionDef.body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* FunctionDef::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.body_ = p; - } - return _impl_.body_; -} -inline ::solidity::test::sol2protofuzzer::Block* FunctionDef::mutable_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.FunctionDef.body) - return _msg; -} -inline void FunctionDef::set_allocated_body(::solidity::test::sol2protofuzzer::Block* body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.body_; - } - if (body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(body); - if (message_arena != submessage_arena) { - body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.body_ = body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.FunctionDef.body) -} - -// optional uint32 modifier_id = 7; -inline bool FunctionDef::_internal_has_modifier_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool FunctionDef::has_modifier_id() const { - return _internal_has_modifier_id(); -} -inline void FunctionDef::clear_modifier_id() { - _impl_.modifier_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t FunctionDef::_internal_modifier_id() const { - return _impl_.modifier_id_; -} -inline uint32_t FunctionDef::modifier_id() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.modifier_id) - return _internal_modifier_id(); -} -inline void FunctionDef::_internal_set_modifier_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.modifier_id_ = value; -} -inline void FunctionDef::set_modifier_id(uint32_t value) { - _internal_set_modifier_id(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FunctionDef.modifier_id) -} - -// optional bool share_name_with_prev = 8; -inline bool FunctionDef::_internal_has_share_name_with_prev() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool FunctionDef::has_share_name_with_prev() const { - return _internal_has_share_name_with_prev(); -} -inline void FunctionDef::clear_share_name_with_prev() { - _impl_.share_name_with_prev_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool FunctionDef::_internal_share_name_with_prev() const { - return _impl_.share_name_with_prev_; -} -inline bool FunctionDef::share_name_with_prev() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.share_name_with_prev) - return _internal_share_name_with_prev(); -} -inline void FunctionDef::_internal_set_share_name_with_prev(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.share_name_with_prev_ = value; -} -inline void FunctionDef::set_share_name_with_prev(bool value) { - _internal_set_share_name_with_prev(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FunctionDef.share_name_with_prev) -} - -// repeated .solidity.test.sol2protofuzzer.ParamType param_types = 9; -inline int FunctionDef::_internal_param_types_size() const { - return _impl_.param_types_.size(); -} -inline int FunctionDef::param_types_size() const { - return _internal_param_types_size(); -} -inline void FunctionDef::clear_param_types() { - _impl_.param_types_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::ParamType FunctionDef::_internal_param_types(int index) const { - return static_cast< ::solidity::test::sol2protofuzzer::ParamType >(_impl_.param_types_.Get(index)); -} -inline ::solidity::test::sol2protofuzzer::ParamType FunctionDef::param_types(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.param_types) - return _internal_param_types(index); -} -inline void FunctionDef::set_param_types(int index, ::solidity::test::sol2protofuzzer::ParamType value) { - assert(::solidity::test::sol2protofuzzer::ParamType_IsValid(value)); - _impl_.param_types_.Set(index, value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FunctionDef.param_types) -} -inline void FunctionDef::_internal_add_param_types(::solidity::test::sol2protofuzzer::ParamType value) { - assert(::solidity::test::sol2protofuzzer::ParamType_IsValid(value)); - _impl_.param_types_.Add(value); -} -inline void FunctionDef::add_param_types(::solidity::test::sol2protofuzzer::ParamType value) { - _internal_add_param_types(value); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.FunctionDef.param_types) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& -FunctionDef::param_types() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.FunctionDef.param_types) - return _impl_.param_types_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -FunctionDef::_internal_mutable_param_types() { - return &_impl_.param_types_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -FunctionDef::mutable_param_types() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.FunctionDef.param_types) - return _internal_mutable_param_types(); -} - -// optional bool returns_two = 10; -inline bool FunctionDef::_internal_has_returns_two() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool FunctionDef::has_returns_two() const { - return _internal_has_returns_two(); -} -inline void FunctionDef::clear_returns_two() { - _impl_.returns_two_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool FunctionDef::_internal_returns_two() const { - return _impl_.returns_two_; -} -inline bool FunctionDef::returns_two() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.returns_two) - return _internal_returns_two(); -} -inline void FunctionDef::_internal_set_returns_two(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.returns_two_ = value; -} -inline void FunctionDef::set_returns_two(bool value) { - _internal_set_returns_two(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FunctionDef.returns_two) -} - -// optional bool non_virtual = 11; -inline bool FunctionDef::_internal_has_non_virtual() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool FunctionDef::has_non_virtual() const { - return _internal_has_non_virtual(); -} -inline void FunctionDef::clear_non_virtual() { - _impl_.non_virtual_ = false; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline bool FunctionDef::_internal_non_virtual() const { - return _impl_.non_virtual_; -} -inline bool FunctionDef::non_virtual() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.non_virtual) - return _internal_non_virtual(); -} -inline void FunctionDef::_internal_set_non_virtual(bool value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.non_virtual_ = value; -} -inline void FunctionDef::set_non_virtual(bool value) { - _internal_set_non_virtual(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FunctionDef.non_virtual) -} - -// optional bool override_base = 12; -inline bool FunctionDef::_internal_has_override_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool FunctionDef::has_override_base() const { - return _internal_has_override_base(); -} -inline void FunctionDef::clear_override_base() { - _impl_.override_base_ = false; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline bool FunctionDef::_internal_override_base() const { - return _impl_.override_base_; -} -inline bool FunctionDef::override_base() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.override_base) - return _internal_override_base(); -} -inline void FunctionDef::_internal_set_override_base(bool value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.override_base_ = value; -} -inline void FunctionDef::set_override_base(bool value) { - _internal_set_override_base(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FunctionDef.override_base) -} - -// optional bool returns_struct = 13; -inline bool FunctionDef::_internal_has_returns_struct() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool FunctionDef::has_returns_struct() const { - return _internal_has_returns_struct(); -} -inline void FunctionDef::clear_returns_struct() { - _impl_.returns_struct_ = false; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline bool FunctionDef::_internal_returns_struct() const { - return _impl_.returns_struct_; -} -inline bool FunctionDef::returns_struct() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FunctionDef.returns_struct) - return _internal_returns_struct(); -} -inline void FunctionDef::_internal_set_returns_struct(bool value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.returns_struct_ = value; -} -inline void FunctionDef::set_returns_struct(bool value) { - _internal_set_returns_struct(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FunctionDef.returns_struct) -} - -// ------------------------------------------------------------------- - -// ConstructorDef - -// required .solidity.test.sol2protofuzzer.Block body = 1; -inline bool ConstructorDef::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.body_ != nullptr); - return value; -} -inline bool ConstructorDef::has_body() const { - return _internal_has_body(); -} -inline void ConstructorDef::clear_body() { - if (_impl_.body_ != nullptr) _impl_.body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Block& ConstructorDef::_internal_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& ConstructorDef::body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ConstructorDef.body) - return _internal_body(); -} -inline void ConstructorDef::unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.body_); - } - _impl_.body_ = body; - if (body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ConstructorDef.body) -} -inline ::solidity::test::sol2protofuzzer::Block* ConstructorDef::release_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* ConstructorDef::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ConstructorDef.body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* ConstructorDef::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.body_ = p; - } - return _impl_.body_; -} -inline ::solidity::test::sol2protofuzzer::Block* ConstructorDef::mutable_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ConstructorDef.body) - return _msg; -} -inline void ConstructorDef::set_allocated_body(::solidity::test::sol2protofuzzer::Block* body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.body_; - } - if (body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(body); - if (message_arena != submessage_arena) { - body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.body_ = body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ConstructorDef.body) -} - -// required bool payable = 2; -inline bool ConstructorDef::_internal_has_payable() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ConstructorDef::has_payable() const { - return _internal_has_payable(); -} -inline void ConstructorDef::clear_payable() { - _impl_.payable_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool ConstructorDef::_internal_payable() const { - return _impl_.payable_; -} -inline bool ConstructorDef::payable() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ConstructorDef.payable) - return _internal_payable(); -} -inline void ConstructorDef::_internal_set_payable(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.payable_ = value; -} -inline void ConstructorDef::set_payable(bool value) { - _internal_set_payable(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ConstructorDef.payable) -} - -// optional bool has_param = 3; -inline bool ConstructorDef::_internal_has_has_param() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool ConstructorDef::has_has_param() const { - return _internal_has_has_param(); -} -inline void ConstructorDef::clear_has_param() { - _impl_.has_param_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool ConstructorDef::_internal_has_param() const { - return _impl_.has_param_; -} -inline bool ConstructorDef::has_param() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ConstructorDef.has_param) - return _internal_has_param(); -} -inline void ConstructorDef::_internal_set_has_param(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.has_param_ = value; -} -inline void ConstructorDef::set_has_param(bool value) { - _internal_set_has_param(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ConstructorDef.has_param) -} - -// ------------------------------------------------------------------- - -// StateVarDecl - -// required .solidity.test.sol2protofuzzer.TypeName type = 1; -inline bool StateVarDecl::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.type_ != nullptr); - return value; -} -inline bool StateVarDecl::has_type() const { - return _internal_has_type(); -} -inline void StateVarDecl::clear_type() { - if (_impl_.type_ != nullptr) _impl_.type_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::TypeName& StateVarDecl::_internal_type() const { - const ::solidity::test::sol2protofuzzer::TypeName* p = _impl_.type_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_TypeName_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::TypeName& StateVarDecl::type() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StateVarDecl.type) - return _internal_type(); -} -inline void StateVarDecl::unsafe_arena_set_allocated_type( - ::solidity::test::sol2protofuzzer::TypeName* type) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.type_); - } - _impl_.type_ = type; - if (type) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.StateVarDecl.type) -} -inline ::solidity::test::sol2protofuzzer::TypeName* StateVarDecl::release_type() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::TypeName* temp = _impl_.type_; - _impl_.type_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::TypeName* StateVarDecl::unsafe_arena_release_type() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.StateVarDecl.type) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::TypeName* temp = _impl_.type_; - _impl_.type_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::TypeName* StateVarDecl::_internal_mutable_type() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.type_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::TypeName>(GetArenaForAllocation()); - _impl_.type_ = p; - } - return _impl_.type_; -} -inline ::solidity::test::sol2protofuzzer::TypeName* StateVarDecl::mutable_type() { - ::solidity::test::sol2protofuzzer::TypeName* _msg = _internal_mutable_type(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.StateVarDecl.type) - return _msg; -} -inline void StateVarDecl::set_allocated_type(::solidity::test::sol2protofuzzer::TypeName* type) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.type_; - } - if (type) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(type); - if (message_arena != submessage_arena) { - type = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, type, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.type_ = type; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.StateVarDecl.type) -} - -// optional bool is_transient = 5; -inline bool StateVarDecl::_internal_has_is_transient() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool StateVarDecl::has_is_transient() const { - return _internal_has_is_transient(); -} -inline void StateVarDecl::clear_is_transient() { - _impl_.is_transient_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool StateVarDecl::_internal_is_transient() const { - return _impl_.is_transient_; -} -inline bool StateVarDecl::is_transient() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StateVarDecl.is_transient) - return _internal_is_transient(); -} -inline void StateVarDecl::_internal_set_is_transient(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.is_transient_ = value; -} -inline void StateVarDecl::set_is_transient(bool value) { - _internal_set_is_transient(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StateVarDecl.is_transient) -} - -// optional bool is_constant = 6; -inline bool StateVarDecl::_internal_has_is_constant() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool StateVarDecl::has_is_constant() const { - return _internal_has_is_constant(); -} -inline void StateVarDecl::clear_is_constant() { - _impl_.is_constant_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool StateVarDecl::_internal_is_constant() const { - return _impl_.is_constant_; -} -inline bool StateVarDecl::is_constant() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StateVarDecl.is_constant) - return _internal_is_constant(); -} -inline void StateVarDecl::_internal_set_is_constant(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.is_constant_ = value; -} -inline void StateVarDecl::set_is_constant(bool value) { - _internal_set_is_constant(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StateVarDecl.is_constant) -} - -// optional bool is_immutable = 7; -inline bool StateVarDecl::_internal_has_is_immutable() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool StateVarDecl::has_is_immutable() const { - return _internal_has_is_immutable(); -} -inline void StateVarDecl::clear_is_immutable() { - _impl_.is_immutable_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool StateVarDecl::_internal_is_immutable() const { - return _impl_.is_immutable_; -} -inline bool StateVarDecl::is_immutable() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.StateVarDecl.is_immutable) - return _internal_is_immutable(); -} -inline void StateVarDecl::_internal_set_is_immutable(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.is_immutable_ = value; -} -inline void StateVarDecl::set_is_immutable(bool value) { - _internal_set_is_immutable(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.StateVarDecl.is_immutable) -} - -// ------------------------------------------------------------------- - -// UsingForBinding - -// required uint32 function_idx = 1; -inline bool UsingForBinding::_internal_has_function_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool UsingForBinding::has_function_idx() const { - return _internal_has_function_idx(); -} -inline void UsingForBinding::clear_function_idx() { - _impl_.function_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t UsingForBinding::_internal_function_idx() const { - return _impl_.function_idx_; -} -inline uint32_t UsingForBinding::function_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UsingForBinding.function_idx) - return _internal_function_idx(); -} -inline void UsingForBinding::_internal_set_function_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.function_idx_ = value; -} -inline void UsingForBinding::set_function_idx(uint32_t value) { - _internal_set_function_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.UsingForBinding.function_idx) -} - -// optional .solidity.test.sol2protofuzzer.UsingForBinding.OperatorKind operator_kind = 2; -inline bool UsingForBinding::_internal_has_operator_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool UsingForBinding::has_operator_kind() const { - return _internal_has_operator_kind(); -} -inline void UsingForBinding::clear_operator_kind() { - _impl_.operator_kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind UsingForBinding::_internal_operator_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind >(_impl_.operator_kind_); -} -inline ::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind UsingForBinding::operator_kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UsingForBinding.operator_kind) - return _internal_operator_kind(); -} -inline void UsingForBinding::_internal_set_operator_kind(::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind value) { - assert(::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.operator_kind_ = value; -} -inline void UsingForBinding::set_operator_kind(::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind value) { - _internal_set_operator_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.UsingForBinding.operator_kind) -} - -// ------------------------------------------------------------------- - -// UsingForDirective - -// required uint32 target_type_idx = 1; -inline bool UsingForDirective::_internal_has_target_type_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool UsingForDirective::has_target_type_idx() const { - return _internal_has_target_type_idx(); -} -inline void UsingForDirective::clear_target_type_idx() { - _impl_.target_type_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t UsingForDirective::_internal_target_type_idx() const { - return _impl_.target_type_idx_; -} -inline uint32_t UsingForDirective::target_type_idx() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UsingForDirective.target_type_idx) - return _internal_target_type_idx(); -} -inline void UsingForDirective::_internal_set_target_type_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.target_type_idx_ = value; -} -inline void UsingForDirective::set_target_type_idx(uint32_t value) { - _internal_set_target_type_idx(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.UsingForDirective.target_type_idx) -} - -// repeated .solidity.test.sol2protofuzzer.UsingForBinding bindings = 2; -inline int UsingForDirective::_internal_bindings_size() const { - return _impl_.bindings_.size(); -} -inline int UsingForDirective::bindings_size() const { - return _internal_bindings_size(); -} -inline void UsingForDirective::clear_bindings() { - _impl_.bindings_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::UsingForBinding* UsingForDirective::mutable_bindings(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.UsingForDirective.bindings) - return _impl_.bindings_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForBinding >* -UsingForDirective::mutable_bindings() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.UsingForDirective.bindings) - return &_impl_.bindings_; -} -inline const ::solidity::test::sol2protofuzzer::UsingForBinding& UsingForDirective::_internal_bindings(int index) const { - return _impl_.bindings_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::UsingForBinding& UsingForDirective::bindings(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UsingForDirective.bindings) - return _internal_bindings(index); -} -inline ::solidity::test::sol2protofuzzer::UsingForBinding* UsingForDirective::_internal_add_bindings() { - return _impl_.bindings_.Add(); -} -inline ::solidity::test::sol2protofuzzer::UsingForBinding* UsingForDirective::add_bindings() { - ::solidity::test::sol2protofuzzer::UsingForBinding* _add = _internal_add_bindings(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.UsingForDirective.bindings) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForBinding >& -UsingForDirective::bindings() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.UsingForDirective.bindings) - return _impl_.bindings_; -} - -// optional bool is_global = 3; -inline bool UsingForDirective::_internal_has_is_global() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool UsingForDirective::has_is_global() const { - return _internal_has_is_global(); -} -inline void UsingForDirective::clear_is_global() { - _impl_.is_global_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool UsingForDirective::_internal_is_global() const { - return _impl_.is_global_; -} -inline bool UsingForDirective::is_global() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UsingForDirective.is_global) - return _internal_is_global(); -} -inline void UsingForDirective::_internal_set_is_global(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.is_global_ = value; -} -inline void UsingForDirective::set_is_global(bool value) { - _internal_set_is_global(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.UsingForDirective.is_global) -} - -// optional bool allow_invalid_external = 4; -inline bool UsingForDirective::_internal_has_allow_invalid_external() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool UsingForDirective::has_allow_invalid_external() const { - return _internal_has_allow_invalid_external(); -} -inline void UsingForDirective::clear_allow_invalid_external() { - _impl_.allow_invalid_external_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool UsingForDirective::_internal_allow_invalid_external() const { - return _impl_.allow_invalid_external_; -} -inline bool UsingForDirective::allow_invalid_external() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UsingForDirective.allow_invalid_external) - return _internal_allow_invalid_external(); -} -inline void UsingForDirective::_internal_set_allow_invalid_external(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.allow_invalid_external_ = value; -} -inline void UsingForDirective::set_allow_invalid_external(bool value) { - _internal_set_allow_invalid_external(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.UsingForDirective.allow_invalid_external) -} - -// optional bool allow_self_referential = 5; -inline bool UsingForDirective::_internal_has_allow_self_referential() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool UsingForDirective::has_allow_self_referential() const { - return _internal_has_allow_self_referential(); -} -inline void UsingForDirective::clear_allow_self_referential() { - _impl_.allow_self_referential_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool UsingForDirective::_internal_allow_self_referential() const { - return _impl_.allow_self_referential_; -} -inline bool UsingForDirective::allow_self_referential() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.UsingForDirective.allow_self_referential) - return _internal_allow_self_referential(); -} -inline void UsingForDirective::_internal_set_allow_self_referential(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.allow_self_referential_ = value; -} -inline void UsingForDirective::set_allow_self_referential(bool value) { - _internal_set_allow_self_referential(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.UsingForDirective.allow_self_referential) -} - -// ------------------------------------------------------------------- - -// ContractDef - -// required .solidity.test.sol2protofuzzer.ContractDef.Kind kind = 1; -inline bool ContractDef::_internal_has_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool ContractDef::has_kind() const { - return _internal_has_kind(); -} -inline void ContractDef::clear_kind() { - _impl_.kind_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::solidity::test::sol2protofuzzer::ContractDef_Kind ContractDef::_internal_kind() const { - return static_cast< ::solidity::test::sol2protofuzzer::ContractDef_Kind >(_impl_.kind_); -} -inline ::solidity::test::sol2protofuzzer::ContractDef_Kind ContractDef::kind() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.kind) - return _internal_kind(); -} -inline void ContractDef::_internal_set_kind(::solidity::test::sol2protofuzzer::ContractDef_Kind value) { - assert(::solidity::test::sol2protofuzzer::ContractDef_Kind_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.kind_ = value; -} -inline void ContractDef::set_kind(::solidity::test::sol2protofuzzer::ContractDef_Kind value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ContractDef.kind) -} - -// repeated uint32 bases = 2; -inline int ContractDef::_internal_bases_size() const { - return _impl_.bases_.size(); -} -inline int ContractDef::bases_size() const { - return _internal_bases_size(); -} -inline void ContractDef::clear_bases() { - _impl_.bases_.Clear(); -} -inline uint32_t ContractDef::_internal_bases(int index) const { - return _impl_.bases_.Get(index); -} -inline uint32_t ContractDef::bases(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.bases) - return _internal_bases(index); -} -inline void ContractDef::set_bases(int index, uint32_t value) { - _impl_.bases_.Set(index, value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.ContractDef.bases) -} -inline void ContractDef::_internal_add_bases(uint32_t value) { - _impl_.bases_.Add(value); -} -inline void ContractDef::add_bases(uint32_t value) { - _internal_add_bases(value); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ContractDef.bases) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -ContractDef::_internal_bases() const { - return _impl_.bases_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -ContractDef::bases() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ContractDef.bases) - return _internal_bases(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -ContractDef::_internal_mutable_bases() { - return &_impl_.bases_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -ContractDef::mutable_bases() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ContractDef.bases) - return _internal_mutable_bases(); -} - -// repeated .solidity.test.sol2protofuzzer.StructDef structs = 3; -inline int ContractDef::_internal_structs_size() const { - return _impl_.structs_.size(); -} -inline int ContractDef::structs_size() const { - return _internal_structs_size(); -} -inline void ContractDef::clear_structs() { - _impl_.structs_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::StructDef* ContractDef::mutable_structs(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.structs) - return _impl_.structs_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StructDef >* -ContractDef::mutable_structs() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ContractDef.structs) - return &_impl_.structs_; -} -inline const ::solidity::test::sol2protofuzzer::StructDef& ContractDef::_internal_structs(int index) const { - return _impl_.structs_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::StructDef& ContractDef::structs(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.structs) - return _internal_structs(index); -} -inline ::solidity::test::sol2protofuzzer::StructDef* ContractDef::_internal_add_structs() { - return _impl_.structs_.Add(); -} -inline ::solidity::test::sol2protofuzzer::StructDef* ContractDef::add_structs() { - ::solidity::test::sol2protofuzzer::StructDef* _add = _internal_add_structs(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ContractDef.structs) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StructDef >& -ContractDef::structs() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ContractDef.structs) - return _impl_.structs_; -} - -// repeated .solidity.test.sol2protofuzzer.EnumDef enums = 4; -inline int ContractDef::_internal_enums_size() const { - return _impl_.enums_.size(); -} -inline int ContractDef::enums_size() const { - return _internal_enums_size(); -} -inline void ContractDef::clear_enums() { - _impl_.enums_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::EnumDef* ContractDef::mutable_enums(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.enums) - return _impl_.enums_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::EnumDef >* -ContractDef::mutable_enums() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ContractDef.enums) - return &_impl_.enums_; -} -inline const ::solidity::test::sol2protofuzzer::EnumDef& ContractDef::_internal_enums(int index) const { - return _impl_.enums_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::EnumDef& ContractDef::enums(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.enums) - return _internal_enums(index); -} -inline ::solidity::test::sol2protofuzzer::EnumDef* ContractDef::_internal_add_enums() { - return _impl_.enums_.Add(); -} -inline ::solidity::test::sol2protofuzzer::EnumDef* ContractDef::add_enums() { - ::solidity::test::sol2protofuzzer::EnumDef* _add = _internal_add_enums(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ContractDef.enums) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::EnumDef >& -ContractDef::enums() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ContractDef.enums) - return _impl_.enums_; -} - -// repeated .solidity.test.sol2protofuzzer.StateVarDecl state_vars = 5; -inline int ContractDef::_internal_state_vars_size() const { - return _impl_.state_vars_.size(); -} -inline int ContractDef::state_vars_size() const { - return _internal_state_vars_size(); -} -inline void ContractDef::clear_state_vars() { - _impl_.state_vars_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::StateVarDecl* ContractDef::mutable_state_vars(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.state_vars) - return _impl_.state_vars_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StateVarDecl >* -ContractDef::mutable_state_vars() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ContractDef.state_vars) - return &_impl_.state_vars_; -} -inline const ::solidity::test::sol2protofuzzer::StateVarDecl& ContractDef::_internal_state_vars(int index) const { - return _impl_.state_vars_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::StateVarDecl& ContractDef::state_vars(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.state_vars) - return _internal_state_vars(index); -} -inline ::solidity::test::sol2protofuzzer::StateVarDecl* ContractDef::_internal_add_state_vars() { - return _impl_.state_vars_.Add(); -} -inline ::solidity::test::sol2protofuzzer::StateVarDecl* ContractDef::add_state_vars() { - ::solidity::test::sol2protofuzzer::StateVarDecl* _add = _internal_add_state_vars(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ContractDef.state_vars) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::StateVarDecl >& -ContractDef::state_vars() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ContractDef.state_vars) - return _impl_.state_vars_; -} - -// repeated .solidity.test.sol2protofuzzer.FunctionDef functions = 6; -inline int ContractDef::_internal_functions_size() const { - return _impl_.functions_.size(); -} -inline int ContractDef::functions_size() const { - return _internal_functions_size(); -} -inline void ContractDef::clear_functions() { - _impl_.functions_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::FunctionDef* ContractDef::mutable_functions(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.functions) - return _impl_.functions_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::FunctionDef >* -ContractDef::mutable_functions() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ContractDef.functions) - return &_impl_.functions_; -} -inline const ::solidity::test::sol2protofuzzer::FunctionDef& ContractDef::_internal_functions(int index) const { - return _impl_.functions_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::FunctionDef& ContractDef::functions(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.functions) - return _internal_functions(index); -} -inline ::solidity::test::sol2protofuzzer::FunctionDef* ContractDef::_internal_add_functions() { - return _impl_.functions_.Add(); -} -inline ::solidity::test::sol2protofuzzer::FunctionDef* ContractDef::add_functions() { - ::solidity::test::sol2protofuzzer::FunctionDef* _add = _internal_add_functions(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ContractDef.functions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::FunctionDef >& -ContractDef::functions() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ContractDef.functions) - return _impl_.functions_; -} - -// repeated .solidity.test.sol2protofuzzer.EventDef events = 7; -inline int ContractDef::_internal_events_size() const { - return _impl_.events_.size(); -} -inline int ContractDef::events_size() const { - return _internal_events_size(); -} -inline void ContractDef::clear_events() { - _impl_.events_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::EventDef* ContractDef::mutable_events(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.events) - return _impl_.events_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::EventDef >* -ContractDef::mutable_events() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ContractDef.events) - return &_impl_.events_; -} -inline const ::solidity::test::sol2protofuzzer::EventDef& ContractDef::_internal_events(int index) const { - return _impl_.events_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::EventDef& ContractDef::events(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.events) - return _internal_events(index); -} -inline ::solidity::test::sol2protofuzzer::EventDef* ContractDef::_internal_add_events() { - return _impl_.events_.Add(); -} -inline ::solidity::test::sol2protofuzzer::EventDef* ContractDef::add_events() { - ::solidity::test::sol2protofuzzer::EventDef* _add = _internal_add_events(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ContractDef.events) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::EventDef >& -ContractDef::events() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ContractDef.events) - return _impl_.events_; -} - -// repeated .solidity.test.sol2protofuzzer.ErrorDef errors = 8; -inline int ContractDef::_internal_errors_size() const { - return _impl_.errors_.size(); -} -inline int ContractDef::errors_size() const { - return _internal_errors_size(); -} -inline void ContractDef::clear_errors() { - _impl_.errors_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::ErrorDef* ContractDef::mutable_errors(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.errors) - return _impl_.errors_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ErrorDef >* -ContractDef::mutable_errors() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ContractDef.errors) - return &_impl_.errors_; -} -inline const ::solidity::test::sol2protofuzzer::ErrorDef& ContractDef::_internal_errors(int index) const { - return _impl_.errors_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::ErrorDef& ContractDef::errors(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.errors) - return _internal_errors(index); -} -inline ::solidity::test::sol2protofuzzer::ErrorDef* ContractDef::_internal_add_errors() { - return _impl_.errors_.Add(); -} -inline ::solidity::test::sol2protofuzzer::ErrorDef* ContractDef::add_errors() { - ::solidity::test::sol2protofuzzer::ErrorDef* _add = _internal_add_errors(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ContractDef.errors) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ErrorDef >& -ContractDef::errors() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ContractDef.errors) - return _impl_.errors_; -} - -// optional .solidity.test.sol2protofuzzer.ConstructorDef constructor = 9; -inline bool ContractDef::_internal_has_constructor() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.constructor_ != nullptr); - return value; -} -inline bool ContractDef::has_constructor() const { - return _internal_has_constructor(); -} -inline void ContractDef::clear_constructor() { - if (_impl_.constructor_ != nullptr) _impl_.constructor_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::ConstructorDef& ContractDef::_internal_constructor() const { - const ::solidity::test::sol2protofuzzer::ConstructorDef* p = _impl_.constructor_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_ConstructorDef_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ConstructorDef& ContractDef::constructor() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.constructor) - return _internal_constructor(); -} -inline void ContractDef::unsafe_arena_set_allocated_constructor( - ::solidity::test::sol2protofuzzer::ConstructorDef* constructor) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.constructor_); - } - _impl_.constructor_ = constructor; - if (constructor) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ContractDef.constructor) -} -inline ::solidity::test::sol2protofuzzer::ConstructorDef* ContractDef::release_constructor() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ConstructorDef* temp = _impl_.constructor_; - _impl_.constructor_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::ConstructorDef* ContractDef::unsafe_arena_release_constructor() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ContractDef.constructor) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::ConstructorDef* temp = _impl_.constructor_; - _impl_.constructor_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::ConstructorDef* ContractDef::_internal_mutable_constructor() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.constructor_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::ConstructorDef>(GetArenaForAllocation()); - _impl_.constructor_ = p; - } - return _impl_.constructor_; -} -inline ::solidity::test::sol2protofuzzer::ConstructorDef* ContractDef::mutable_constructor() { - ::solidity::test::sol2protofuzzer::ConstructorDef* _msg = _internal_mutable_constructor(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.constructor) - return _msg; -} -inline void ContractDef::set_allocated_constructor(::solidity::test::sol2protofuzzer::ConstructorDef* constructor) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.constructor_; - } - if (constructor) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(constructor); - if (message_arena != submessage_arena) { - constructor = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, constructor, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.constructor_ = constructor; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ContractDef.constructor) -} - -// repeated .solidity.test.sol2protofuzzer.ModifierDef modifiers = 10; -inline int ContractDef::_internal_modifiers_size() const { - return _impl_.modifiers_.size(); -} -inline int ContractDef::modifiers_size() const { - return _internal_modifiers_size(); -} -inline void ContractDef::clear_modifiers() { - _impl_.modifiers_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::ModifierDef* ContractDef::mutable_modifiers(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.modifiers) - return _impl_.modifiers_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ModifierDef >* -ContractDef::mutable_modifiers() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ContractDef.modifiers) - return &_impl_.modifiers_; -} -inline const ::solidity::test::sol2protofuzzer::ModifierDef& ContractDef::_internal_modifiers(int index) const { - return _impl_.modifiers_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::ModifierDef& ContractDef::modifiers(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.modifiers) - return _internal_modifiers(index); -} -inline ::solidity::test::sol2protofuzzer::ModifierDef* ContractDef::_internal_add_modifiers() { - return _impl_.modifiers_.Add(); -} -inline ::solidity::test::sol2protofuzzer::ModifierDef* ContractDef::add_modifiers() { - ::solidity::test::sol2protofuzzer::ModifierDef* _add = _internal_add_modifiers(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ContractDef.modifiers) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ModifierDef >& -ContractDef::modifiers() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ContractDef.modifiers) - return _impl_.modifiers_; -} - -// optional .solidity.test.sol2protofuzzer.ReceiveDef receive = 11; -inline bool ContractDef::_internal_has_receive() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.receive_ != nullptr); - return value; -} -inline bool ContractDef::has_receive() const { - return _internal_has_receive(); -} -inline void ContractDef::clear_receive() { - if (_impl_.receive_ != nullptr) _impl_.receive_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::test::sol2protofuzzer::ReceiveDef& ContractDef::_internal_receive() const { - const ::solidity::test::sol2protofuzzer::ReceiveDef* p = _impl_.receive_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_ReceiveDef_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::ReceiveDef& ContractDef::receive() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.receive) - return _internal_receive(); -} -inline void ContractDef::unsafe_arena_set_allocated_receive( - ::solidity::test::sol2protofuzzer::ReceiveDef* receive) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.receive_); - } - _impl_.receive_ = receive; - if (receive) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ContractDef.receive) -} -inline ::solidity::test::sol2protofuzzer::ReceiveDef* ContractDef::release_receive() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::ReceiveDef* temp = _impl_.receive_; - _impl_.receive_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::ReceiveDef* ContractDef::unsafe_arena_release_receive() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ContractDef.receive) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::test::sol2protofuzzer::ReceiveDef* temp = _impl_.receive_; - _impl_.receive_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::ReceiveDef* ContractDef::_internal_mutable_receive() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.receive_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::ReceiveDef>(GetArenaForAllocation()); - _impl_.receive_ = p; - } - return _impl_.receive_; -} -inline ::solidity::test::sol2protofuzzer::ReceiveDef* ContractDef::mutable_receive() { - ::solidity::test::sol2protofuzzer::ReceiveDef* _msg = _internal_mutable_receive(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.receive) - return _msg; -} -inline void ContractDef::set_allocated_receive(::solidity::test::sol2protofuzzer::ReceiveDef* receive) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.receive_; - } - if (receive) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(receive); - if (message_arena != submessage_arena) { - receive = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, receive, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.receive_ = receive; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ContractDef.receive) -} - -// optional .solidity.test.sol2protofuzzer.FallbackDef fallback_func = 12; -inline bool ContractDef::_internal_has_fallback_func() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.fallback_func_ != nullptr); - return value; -} -inline bool ContractDef::has_fallback_func() const { - return _internal_has_fallback_func(); -} -inline void ContractDef::clear_fallback_func() { - if (_impl_.fallback_func_ != nullptr) _impl_.fallback_func_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::test::sol2protofuzzer::FallbackDef& ContractDef::_internal_fallback_func() const { - const ::solidity::test::sol2protofuzzer::FallbackDef* p = _impl_.fallback_func_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_FallbackDef_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::FallbackDef& ContractDef::fallback_func() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.fallback_func) - return _internal_fallback_func(); -} -inline void ContractDef::unsafe_arena_set_allocated_fallback_func( - ::solidity::test::sol2protofuzzer::FallbackDef* fallback_func) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fallback_func_); - } - _impl_.fallback_func_ = fallback_func; - if (fallback_func) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.ContractDef.fallback_func) -} -inline ::solidity::test::sol2protofuzzer::FallbackDef* ContractDef::release_fallback_func() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::test::sol2protofuzzer::FallbackDef* temp = _impl_.fallback_func_; - _impl_.fallback_func_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::FallbackDef* ContractDef::unsafe_arena_release_fallback_func() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.ContractDef.fallback_func) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::test::sol2protofuzzer::FallbackDef* temp = _impl_.fallback_func_; - _impl_.fallback_func_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::FallbackDef* ContractDef::_internal_mutable_fallback_func() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.fallback_func_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::FallbackDef>(GetArenaForAllocation()); - _impl_.fallback_func_ = p; - } - return _impl_.fallback_func_; -} -inline ::solidity::test::sol2protofuzzer::FallbackDef* ContractDef::mutable_fallback_func() { - ::solidity::test::sol2protofuzzer::FallbackDef* _msg = _internal_mutable_fallback_func(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.fallback_func) - return _msg; -} -inline void ContractDef::set_allocated_fallback_func(::solidity::test::sol2protofuzzer::FallbackDef* fallback_func) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.fallback_func_; - } - if (fallback_func) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(fallback_func); - if (message_arena != submessage_arena) { - fallback_func = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fallback_func, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.fallback_func_ = fallback_func; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.ContractDef.fallback_func) -} - -// repeated .solidity.test.sol2protofuzzer.UsingForDirective using_for = 13; -inline int ContractDef::_internal_using_for_size() const { - return _impl_.using_for_.size(); -} -inline int ContractDef::using_for_size() const { - return _internal_using_for_size(); -} -inline void ContractDef::clear_using_for() { - _impl_.using_for_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::UsingForDirective* ContractDef::mutable_using_for(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.ContractDef.using_for) - return _impl_.using_for_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForDirective >* -ContractDef::mutable_using_for() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.ContractDef.using_for) - return &_impl_.using_for_; -} -inline const ::solidity::test::sol2protofuzzer::UsingForDirective& ContractDef::_internal_using_for(int index) const { - return _impl_.using_for_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::UsingForDirective& ContractDef::using_for(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.ContractDef.using_for) - return _internal_using_for(index); -} -inline ::solidity::test::sol2protofuzzer::UsingForDirective* ContractDef::_internal_add_using_for() { - return _impl_.using_for_.Add(); -} -inline ::solidity::test::sol2protofuzzer::UsingForDirective* ContractDef::add_using_for() { - ::solidity::test::sol2protofuzzer::UsingForDirective* _add = _internal_add_using_for(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.ContractDef.using_for) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForDirective >& -ContractDef::using_for() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.ContractDef.using_for) - return _impl_.using_for_; -} - -// ------------------------------------------------------------------- - -// FreeFunctionDef - -// required uint32 num_params = 1; -inline bool FreeFunctionDef::_internal_has_num_params() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool FreeFunctionDef::has_num_params() const { - return _internal_has_num_params(); -} -inline void FreeFunctionDef::clear_num_params() { - _impl_.num_params_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t FreeFunctionDef::_internal_num_params() const { - return _impl_.num_params_; -} -inline uint32_t FreeFunctionDef::num_params() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FreeFunctionDef.num_params) - return _internal_num_params(); -} -inline void FreeFunctionDef::_internal_set_num_params(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.num_params_ = value; -} -inline void FreeFunctionDef::set_num_params(uint32_t value) { - _internal_set_num_params(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FreeFunctionDef.num_params) -} - -// required .solidity.test.sol2protofuzzer.Block body = 2; -inline bool FreeFunctionDef::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.body_ != nullptr); - return value; -} -inline bool FreeFunctionDef::has_body() const { - return _internal_has_body(); -} -inline void FreeFunctionDef::clear_body() { - if (_impl_.body_ != nullptr) _impl_.body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::sol2protofuzzer::Block& FreeFunctionDef::_internal_body() const { - const ::solidity::test::sol2protofuzzer::Block* p = _impl_.body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::sol2protofuzzer::_Block_default_instance_); -} -inline const ::solidity::test::sol2protofuzzer::Block& FreeFunctionDef::body() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FreeFunctionDef.body) - return _internal_body(); -} -inline void FreeFunctionDef::unsafe_arena_set_allocated_body( - ::solidity::test::sol2protofuzzer::Block* body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.body_); - } - _impl_.body_ = body; - if (body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.sol2protofuzzer.FreeFunctionDef.body) -} -inline ::solidity::test::sol2protofuzzer::Block* FreeFunctionDef::release_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* FreeFunctionDef::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.FreeFunctionDef.body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::sol2protofuzzer::Block* temp = _impl_.body_; - _impl_.body_ = nullptr; - return temp; -} -inline ::solidity::test::sol2protofuzzer::Block* FreeFunctionDef::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::sol2protofuzzer::Block>(GetArenaForAllocation()); - _impl_.body_ = p; - } - return _impl_.body_; -} -inline ::solidity::test::sol2protofuzzer::Block* FreeFunctionDef::mutable_body() { - ::solidity::test::sol2protofuzzer::Block* _msg = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.FreeFunctionDef.body) - return _msg; -} -inline void FreeFunctionDef::set_allocated_body(::solidity::test::sol2protofuzzer::Block* body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.body_; - } - if (body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(body); - if (message_arena != submessage_arena) { - body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.body_ = body; - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.FreeFunctionDef.body) -} - -// optional bool emit_external = 3; -inline bool FreeFunctionDef::_internal_has_emit_external() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool FreeFunctionDef::has_emit_external() const { - return _internal_has_emit_external(); -} -inline void FreeFunctionDef::clear_emit_external() { - _impl_.emit_external_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool FreeFunctionDef::_internal_emit_external() const { - return _impl_.emit_external_; -} -inline bool FreeFunctionDef::emit_external() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FreeFunctionDef.emit_external) - return _internal_emit_external(); -} -inline void FreeFunctionDef::_internal_set_emit_external(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.emit_external_ = value; -} -inline void FreeFunctionDef::set_emit_external(bool value) { - _internal_set_emit_external(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FreeFunctionDef.emit_external) -} - -// optional bool use_udvt_sig = 4; -inline bool FreeFunctionDef::_internal_has_use_udvt_sig() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool FreeFunctionDef::has_use_udvt_sig() const { - return _internal_has_use_udvt_sig(); -} -inline void FreeFunctionDef::clear_use_udvt_sig() { - _impl_.use_udvt_sig_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool FreeFunctionDef::_internal_use_udvt_sig() const { - return _impl_.use_udvt_sig_; -} -inline bool FreeFunctionDef::use_udvt_sig() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.FreeFunctionDef.use_udvt_sig) - return _internal_use_udvt_sig(); -} -inline void FreeFunctionDef::_internal_set_use_udvt_sig(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.use_udvt_sig_ = value; -} -inline void FreeFunctionDef::set_use_udvt_sig(bool value) { - _internal_set_use_udvt_sig(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.FreeFunctionDef.use_udvt_sig) -} - -// ------------------------------------------------------------------- - -// Program - -// repeated .solidity.test.sol2protofuzzer.ContractDef contracts = 1; -inline int Program::_internal_contracts_size() const { - return _impl_.contracts_.size(); -} -inline int Program::contracts_size() const { - return _internal_contracts_size(); -} -inline void Program::clear_contracts() { - _impl_.contracts_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::ContractDef* Program::mutable_contracts(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Program.contracts) - return _impl_.contracts_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ContractDef >* -Program::mutable_contracts() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.Program.contracts) - return &_impl_.contracts_; -} -inline const ::solidity::test::sol2protofuzzer::ContractDef& Program::_internal_contracts(int index) const { - return _impl_.contracts_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::ContractDef& Program::contracts(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.contracts) - return _internal_contracts(index); -} -inline ::solidity::test::sol2protofuzzer::ContractDef* Program::_internal_add_contracts() { - return _impl_.contracts_.Add(); -} -inline ::solidity::test::sol2protofuzzer::ContractDef* Program::add_contracts() { - ::solidity::test::sol2protofuzzer::ContractDef* _add = _internal_add_contracts(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.Program.contracts) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::ContractDef >& -Program::contracts() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.Program.contracts) - return _impl_.contracts_; -} - -// required uint64 seed = 2; -inline bool Program::_internal_has_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool Program::has_seed() const { - return _internal_has_seed(); -} -inline void Program::clear_seed() { - _impl_.seed_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t Program::_internal_seed() const { - return _impl_.seed_; -} -inline uint64_t Program::seed() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.seed) - return _internal_seed(); -} -inline void Program::_internal_set_seed(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.seed_ = value; -} -inline void Program::set_seed(uint64_t value) { - _internal_set_seed(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.Program.seed) -} - -// required bool via_ir = 3; -inline bool Program::_internal_has_via_ir() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool Program::has_via_ir() const { - return _internal_has_via_ir(); -} -inline void Program::clear_via_ir() { - _impl_.via_ir_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool Program::_internal_via_ir() const { - return _impl_.via_ir_; -} -inline bool Program::via_ir() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.via_ir) - return _internal_via_ir(); -} -inline void Program::_internal_set_via_ir(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.via_ir_ = value; -} -inline void Program::set_via_ir(bool value) { - _internal_set_via_ir(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.Program.via_ir) -} - -// required bool optimize = 4; -inline bool Program::_internal_has_optimize() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool Program::has_optimize() const { - return _internal_has_optimize(); -} -inline void Program::clear_optimize() { - _impl_.optimize_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool Program::_internal_optimize() const { - return _impl_.optimize_; -} -inline bool Program::optimize() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.optimize) - return _internal_optimize(); -} -inline void Program::_internal_set_optimize(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.optimize_ = value; -} -inline void Program::set_optimize(bool value) { - _internal_set_optimize(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.Program.optimize) -} - -// optional bytes calldata_data = 5; -inline bool Program::_internal_has_calldata_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool Program::has_calldata_data() const { - return _internal_has_calldata_data(); -} -inline void Program::clear_calldata_data() { - _impl_.calldata_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& Program::calldata_data() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.calldata_data) - return _internal_calldata_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Program::set_calldata_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.calldata_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.Program.calldata_data) -} -inline std::string* Program::mutable_calldata_data() { - std::string* _s = _internal_mutable_calldata_data(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Program.calldata_data) - return _s; -} -inline const std::string& Program::_internal_calldata_data() const { - return _impl_.calldata_data_.Get(); -} -inline void Program::_internal_set_calldata_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.calldata_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* Program::_internal_mutable_calldata_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.calldata_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* Program::release_calldata_data() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Program.calldata_data) - if (!_internal_has_calldata_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.calldata_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.calldata_data_.IsDefault()) { - _impl_.calldata_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void Program::set_allocated_calldata_data(std::string* calldata_data) { - if (calldata_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.calldata_data_.SetAllocated(calldata_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.calldata_data_.IsDefault()) { - _impl_.calldata_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Program.calldata_data) -} - -// optional bytes create2_salt = 6; -inline bool Program::_internal_has_create2_salt() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool Program::has_create2_salt() const { - return _internal_has_create2_salt(); -} -inline void Program::clear_create2_salt() { - _impl_.create2_salt_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& Program::create2_salt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.create2_salt) - return _internal_create2_salt(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Program::set_create2_salt(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.create2_salt_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.Program.create2_salt) -} -inline std::string* Program::mutable_create2_salt() { - std::string* _s = _internal_mutable_create2_salt(); - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Program.create2_salt) - return _s; -} -inline const std::string& Program::_internal_create2_salt() const { - return _impl_.create2_salt_.Get(); -} -inline void Program::_internal_set_create2_salt(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.create2_salt_.Set(value, GetArenaForAllocation()); -} -inline std::string* Program::_internal_mutable_create2_salt() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.create2_salt_.Mutable(GetArenaForAllocation()); -} -inline std::string* Program::release_create2_salt() { - // @@protoc_insertion_point(field_release:solidity.test.sol2protofuzzer.Program.create2_salt) - if (!_internal_has_create2_salt()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.create2_salt_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.create2_salt_.IsDefault()) { - _impl_.create2_salt_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void Program::set_allocated_create2_salt(std::string* create2_salt) { - if (create2_salt != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.create2_salt_.SetAllocated(create2_salt, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.create2_salt_.IsDefault()) { - _impl_.create2_salt_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:solidity.test.sol2protofuzzer.Program.create2_salt) -} - -// repeated .solidity.test.sol2protofuzzer.FreeFunctionDef free_functions = 7; -inline int Program::_internal_free_functions_size() const { - return _impl_.free_functions_.size(); -} -inline int Program::free_functions_size() const { - return _internal_free_functions_size(); -} -inline void Program::clear_free_functions() { - _impl_.free_functions_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::FreeFunctionDef* Program::mutable_free_functions(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Program.free_functions) - return _impl_.free_functions_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::FreeFunctionDef >* -Program::mutable_free_functions() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.Program.free_functions) - return &_impl_.free_functions_; -} -inline const ::solidity::test::sol2protofuzzer::FreeFunctionDef& Program::_internal_free_functions(int index) const { - return _impl_.free_functions_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::FreeFunctionDef& Program::free_functions(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.free_functions) - return _internal_free_functions(index); -} -inline ::solidity::test::sol2protofuzzer::FreeFunctionDef* Program::_internal_add_free_functions() { - return _impl_.free_functions_.Add(); -} -inline ::solidity::test::sol2protofuzzer::FreeFunctionDef* Program::add_free_functions() { - ::solidity::test::sol2protofuzzer::FreeFunctionDef* _add = _internal_add_free_functions(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.Program.free_functions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::FreeFunctionDef >& -Program::free_functions() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.Program.free_functions) - return _impl_.free_functions_; -} - -// optional bool gen_udvt = 10; -inline bool Program::_internal_has_gen_udvt() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool Program::has_gen_udvt() const { - return _internal_has_gen_udvt(); -} -inline void Program::clear_gen_udvt() { - _impl_.gen_udvt_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool Program::_internal_gen_udvt() const { - return _impl_.gen_udvt_; -} -inline bool Program::gen_udvt() const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.gen_udvt) - return _internal_gen_udvt(); -} -inline void Program::_internal_set_gen_udvt(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.gen_udvt_ = value; -} -inline void Program::set_gen_udvt(bool value) { - _internal_set_gen_udvt(value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.Program.gen_udvt) -} - -// repeated uint32 optimiser_seq = 8; -inline int Program::_internal_optimiser_seq_size() const { - return _impl_.optimiser_seq_.size(); -} -inline int Program::optimiser_seq_size() const { - return _internal_optimiser_seq_size(); -} -inline void Program::clear_optimiser_seq() { - _impl_.optimiser_seq_.Clear(); -} -inline uint32_t Program::_internal_optimiser_seq(int index) const { - return _impl_.optimiser_seq_.Get(index); -} -inline uint32_t Program::optimiser_seq(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.optimiser_seq) - return _internal_optimiser_seq(index); -} -inline void Program::set_optimiser_seq(int index, uint32_t value) { - _impl_.optimiser_seq_.Set(index, value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.Program.optimiser_seq) -} -inline void Program::_internal_add_optimiser_seq(uint32_t value) { - _impl_.optimiser_seq_.Add(value); -} -inline void Program::add_optimiser_seq(uint32_t value) { - _internal_add_optimiser_seq(value); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.Program.optimiser_seq) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -Program::_internal_optimiser_seq() const { - return _impl_.optimiser_seq_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -Program::optimiser_seq() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.Program.optimiser_seq) - return _internal_optimiser_seq(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -Program::_internal_mutable_optimiser_seq() { - return &_impl_.optimiser_seq_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -Program::mutable_optimiser_seq() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.Program.optimiser_seq) - return _internal_mutable_optimiser_seq(); -} - -// repeated uint32 optimiser_cleanup_seq = 9; -inline int Program::_internal_optimiser_cleanup_seq_size() const { - return _impl_.optimiser_cleanup_seq_.size(); -} -inline int Program::optimiser_cleanup_seq_size() const { - return _internal_optimiser_cleanup_seq_size(); -} -inline void Program::clear_optimiser_cleanup_seq() { - _impl_.optimiser_cleanup_seq_.Clear(); -} -inline uint32_t Program::_internal_optimiser_cleanup_seq(int index) const { - return _impl_.optimiser_cleanup_seq_.Get(index); -} -inline uint32_t Program::optimiser_cleanup_seq(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.optimiser_cleanup_seq) - return _internal_optimiser_cleanup_seq(index); -} -inline void Program::set_optimiser_cleanup_seq(int index, uint32_t value) { - _impl_.optimiser_cleanup_seq_.Set(index, value); - // @@protoc_insertion_point(field_set:solidity.test.sol2protofuzzer.Program.optimiser_cleanup_seq) -} -inline void Program::_internal_add_optimiser_cleanup_seq(uint32_t value) { - _impl_.optimiser_cleanup_seq_.Add(value); -} -inline void Program::add_optimiser_cleanup_seq(uint32_t value) { - _internal_add_optimiser_cleanup_seq(value); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.Program.optimiser_cleanup_seq) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -Program::_internal_optimiser_cleanup_seq() const { - return _impl_.optimiser_cleanup_seq_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -Program::optimiser_cleanup_seq() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.Program.optimiser_cleanup_seq) - return _internal_optimiser_cleanup_seq(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -Program::_internal_mutable_optimiser_cleanup_seq() { - return &_impl_.optimiser_cleanup_seq_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -Program::mutable_optimiser_cleanup_seq() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.Program.optimiser_cleanup_seq) - return _internal_mutable_optimiser_cleanup_seq(); -} - -// repeated .solidity.test.sol2protofuzzer.UsingForDirective file_using_for = 11; -inline int Program::_internal_file_using_for_size() const { - return _impl_.file_using_for_.size(); -} -inline int Program::file_using_for_size() const { - return _internal_file_using_for_size(); -} -inline void Program::clear_file_using_for() { - _impl_.file_using_for_.Clear(); -} -inline ::solidity::test::sol2protofuzzer::UsingForDirective* Program::mutable_file_using_for(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.sol2protofuzzer.Program.file_using_for) - return _impl_.file_using_for_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForDirective >* -Program::mutable_file_using_for() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.sol2protofuzzer.Program.file_using_for) - return &_impl_.file_using_for_; -} -inline const ::solidity::test::sol2protofuzzer::UsingForDirective& Program::_internal_file_using_for(int index) const { - return _impl_.file_using_for_.Get(index); -} -inline const ::solidity::test::sol2protofuzzer::UsingForDirective& Program::file_using_for(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.sol2protofuzzer.Program.file_using_for) - return _internal_file_using_for(index); -} -inline ::solidity::test::sol2protofuzzer::UsingForDirective* Program::_internal_add_file_using_for() { - return _impl_.file_using_for_.Add(); -} -inline ::solidity::test::sol2protofuzzer::UsingForDirective* Program::add_file_using_for() { - ::solidity::test::sol2protofuzzer::UsingForDirective* _add = _internal_add_file_using_for(); - // @@protoc_insertion_point(field_add:solidity.test.sol2protofuzzer.Program.file_using_for) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::sol2protofuzzer::UsingForDirective >& -Program::file_using_for() const { - // @@protoc_insertion_point(field_list:solidity.test.sol2protofuzzer.Program.file_using_for) - return _impl_.file_using_for_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace sol2protofuzzer -} // namespace test -} // namespace solidity - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::IntegerType_Width> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::IntegerType_Width>() { - return ::solidity::test::sol2protofuzzer::IntegerType_Width_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::FixedBytesType_Width> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::FixedBytesType_Width>() { - return ::solidity::test::sol2protofuzzer::FixedBytesType_Width_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind>() { - return ::solidity::test::sol2protofuzzer::ArraySizeExpr_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit>() { - return ::solidity::test::sol2protofuzzer::IntegerLiteral_EtherUnit_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::BinaryOp_Op> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::BinaryOp_Op>() { - return ::solidity::test::sol2protofuzzer::BinaryOp_Op_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::UnaryOp_Op> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::UnaryOp_Op>() { - return ::solidity::test::sol2protofuzzer::UnaryOp_Op_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::MsgExpr_Field> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::MsgExpr_Field>() { - return ::solidity::test::sol2protofuzzer::MsgExpr_Field_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::BlockExpr_Field> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::BlockExpr_Field>() { - return ::solidity::test::sol2protofuzzer::BlockExpr_Field_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::TxExpr_Field> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::TxExpr_Field>() { - return ::solidity::test::sol2protofuzzer::TxExpr_Field_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind>() { - return ::solidity::test::sol2protofuzzer::AbiEncodeExpr_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::HashExpr_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::HashExpr_Kind>() { - return ::solidity::test::sol2protofuzzer::HashExpr_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::MathExpr_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::MathExpr_Kind>() { - return ::solidity::test::sol2protofuzzer::MathExpr_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::BuiltinExpr_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::BuiltinExpr_Kind>() { - return ::solidity::test::sol2protofuzzer::BuiltinExpr_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind>() { - return ::solidity::test::sol2protofuzzer::TypeInfoExpr_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::AssignExpr_Op> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::AssignExpr_Op>() { - return ::solidity::test::sol2protofuzzer::AssignExpr_Op_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::ConcatExpr_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::ConcatExpr_Kind>() { - return ::solidity::test::sol2protofuzzer::ConcatExpr_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind>() { - return ::solidity::test::sol2protofuzzer::ArrayLiteralExpr_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::BareMagicStmt_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::BareMagicStmt_Kind>() { - return ::solidity::test::sol2protofuzzer::BareMagicStmt_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind>() { - return ::solidity::test::sol2protofuzzer::FixedAsmStmt_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind>() { - return ::solidity::test::sol2protofuzzer::UsingForBinding_OperatorKind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::ContractDef_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::ContractDef_Kind>() { - return ::solidity::test::sol2protofuzzer::ContractDef_Kind_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::Visibility> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::Visibility>() { - return ::solidity::test::sol2protofuzzer::Visibility_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::StateMutability> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::StateMutability>() { - return ::solidity::test::sol2protofuzzer::StateMutability_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::sol2protofuzzer::ParamType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::sol2protofuzzer::ParamType>() { - return ::solidity::test::sol2protofuzzer::ParamType_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_sol2Proto_2eproto diff --git a/tools/ossfuzz/solProto.pb.cc b/tools/ossfuzz/solProto.pb.cc deleted file mode 100644 index 81d157d..0000000 --- a/tools/ossfuzz/solProto.pb.cc +++ /dev/null @@ -1,3216 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: solProto.proto - -#include "solProto.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -namespace solidity { -namespace test { -namespace solprotofuzzer { -PROTOBUF_CONSTEXPR InterfaceFunction::InterfaceFunction( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mut_)*/0} {} -struct InterfaceFunctionDefaultTypeInternal { - PROTOBUF_CONSTEXPR InterfaceFunctionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~InterfaceFunctionDefaultTypeInternal() {} - union { - InterfaceFunction _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InterfaceFunctionDefaultTypeInternal _InterfaceFunction_default_instance_; -PROTOBUF_CONSTEXPR LibraryFunction::LibraryFunction( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.vis_)*/0 - , /*decltype(_impl_.mut_)*/0} {} -struct LibraryFunctionDefaultTypeInternal { - PROTOBUF_CONSTEXPR LibraryFunctionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~LibraryFunctionDefaultTypeInternal() {} - union { - LibraryFunction _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LibraryFunctionDefaultTypeInternal _LibraryFunction_default_instance_; -PROTOBUF_CONSTEXPR ContractFunction::ContractFunction( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.vis_)*/0 - , /*decltype(_impl_.mut_)*/0 - , /*decltype(_impl_.virtualfunc_)*/false} {} -struct ContractFunctionDefaultTypeInternal { - PROTOBUF_CONSTEXPR ContractFunctionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ContractFunctionDefaultTypeInternal() {} - union { - ContractFunction _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContractFunctionDefaultTypeInternal _ContractFunction_default_instance_; -PROTOBUF_CONSTEXPR Library::Library( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.funcdef_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct LibraryDefaultTypeInternal { - PROTOBUF_CONSTEXPR LibraryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~LibraryDefaultTypeInternal() {} - union { - Library _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LibraryDefaultTypeInternal _Library_default_instance_; -PROTOBUF_CONSTEXPR Interface::Interface( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.funcdef_)*/{} - , /*decltype(_impl_.bases_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct InterfaceDefaultTypeInternal { - PROTOBUF_CONSTEXPR InterfaceDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~InterfaceDefaultTypeInternal() {} - union { - Interface _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InterfaceDefaultTypeInternal _Interface_default_instance_; -PROTOBUF_CONSTEXPR Contract::Contract( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.funcdef_)*/{} - , /*decltype(_impl_.bases_)*/{} - , /*decltype(_impl_.abstract_)*/false} {} -struct ContractDefaultTypeInternal { - PROTOBUF_CONSTEXPR ContractDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ContractDefaultTypeInternal() {} - union { - Contract _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContractDefaultTypeInternal _Contract_default_instance_; -PROTOBUF_CONSTEXPR ContractOrInterface::ContractOrInterface( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.contract_or_interface_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct ContractOrInterfaceDefaultTypeInternal { - PROTOBUF_CONSTEXPR ContractOrInterfaceDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ContractOrInterfaceDefaultTypeInternal() {} - union { - ContractOrInterface _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContractOrInterfaceDefaultTypeInternal _ContractOrInterface_default_instance_; -PROTOBUF_CONSTEXPR ContractType::ContractType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.contract_type_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct ContractTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR ContractTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ContractTypeDefaultTypeInternal() {} - union { - ContractType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContractTypeDefaultTypeInternal _ContractType_default_instance_; -PROTOBUF_CONSTEXPR TestContract::TestContract( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/0} {} -struct TestContractDefaultTypeInternal { - PROTOBUF_CONSTEXPR TestContractDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TestContractDefaultTypeInternal() {} - union { - TestContract _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestContractDefaultTypeInternal _TestContract_default_instance_; -PROTOBUF_CONSTEXPR Program::Program( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.contracts_)*/{} - , /*decltype(_impl_.test_)*/nullptr - , /*decltype(_impl_.seed_)*/uint64_t{0u}} {} -struct ProgramDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProgramDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ProgramDefaultTypeInternal() {} - union { - Program _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProgramDefaultTypeInternal _Program_default_instance_; -} // namespace solprotofuzzer -} // namespace test -} // namespace solidity -static ::_pb::Metadata file_level_metadata_solProto_2eproto[10]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_solProto_2eproto[6]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_solProto_2eproto = nullptr; - -const uint32_t TableStruct_solProto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::InterfaceFunction, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::InterfaceFunction, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::InterfaceFunction, _impl_.mut_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::LibraryFunction, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::LibraryFunction, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::LibraryFunction, _impl_.vis_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::LibraryFunction, _impl_.mut_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractFunction, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractFunction, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractFunction, _impl_.vis_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractFunction, _impl_.mut_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractFunction, _impl_.virtualfunc_), - 0, - 1, - 2, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Library, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Library, _impl_.funcdef_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Interface, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Interface, _impl_.funcdef_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Interface, _impl_.bases_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Contract, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Contract, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Contract, _impl_.funcdef_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Contract, _impl_.abstract_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Contract, _impl_.bases_), - ~0u, - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractOrInterface, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractOrInterface, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractOrInterface, _impl_.contract_or_interface_oneof_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractType, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractType, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::ContractType, _impl_.contract_type_oneof_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::TestContract, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::TestContract, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::TestContract, _impl_.type_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Program, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Program, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Program, _impl_.contracts_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Program, _impl_.test_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solprotofuzzer::Program, _impl_.seed_), - ~0u, - 0, - 1, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 7, -1, sizeof(::solidity::test::solprotofuzzer::InterfaceFunction)}, - { 8, 16, -1, sizeof(::solidity::test::solprotofuzzer::LibraryFunction)}, - { 18, 27, -1, sizeof(::solidity::test::solprotofuzzer::ContractFunction)}, - { 30, -1, -1, sizeof(::solidity::test::solprotofuzzer::Library)}, - { 37, -1, -1, sizeof(::solidity::test::solprotofuzzer::Interface)}, - { 45, 54, -1, sizeof(::solidity::test::solprotofuzzer::Contract)}, - { 57, -1, -1, sizeof(::solidity::test::solprotofuzzer::ContractOrInterface)}, - { 66, -1, -1, sizeof(::solidity::test::solprotofuzzer::ContractType)}, - { 76, 83, -1, sizeof(::solidity::test::solprotofuzzer::TestContract)}, - { 84, 93, -1, sizeof(::solidity::test::solprotofuzzer::Program)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::solidity::test::solprotofuzzer::_InterfaceFunction_default_instance_._instance, - &::solidity::test::solprotofuzzer::_LibraryFunction_default_instance_._instance, - &::solidity::test::solprotofuzzer::_ContractFunction_default_instance_._instance, - &::solidity::test::solprotofuzzer::_Library_default_instance_._instance, - &::solidity::test::solprotofuzzer::_Interface_default_instance_._instance, - &::solidity::test::solprotofuzzer::_Contract_default_instance_._instance, - &::solidity::test::solprotofuzzer::_ContractOrInterface_default_instance_._instance, - &::solidity::test::solprotofuzzer::_ContractType_default_instance_._instance, - &::solidity::test::solprotofuzzer::_TestContract_default_instance_._instance, - &::solidity::test::solprotofuzzer::_Program_default_instance_._instance, -}; - -const char descriptor_table_protodef_solProto_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\016solProto.proto\022\034solidity.test.solproto" - "fuzzer\"\245\001\n\021InterfaceFunction\022L\n\003mut\030\001 \002(" - "\0162\?.solidity.test.solprotofuzzer.Interfa" - "ceFunction.StateMutability\"B\n\017StateMutab" - "ility\022\010\n\004PURE\020\000\022\010\n\004VIEW\020\001\022\013\n\007PAYABLE\020\002\022\016" - "\n\nNONPAYABLE\020\003\"\236\002\n\017LibraryFunction\022E\n\003vi" - "s\030\001 \002(\01628.solidity.test.solprotofuzzer.L" - "ibraryFunction.Visibility\022J\n\003mut\030\002 \002(\0162=" - ".solidity.test.solprotofuzzer.LibraryFun" - "ction.StateMutability\"5\n\017StateMutability" - "\022\010\n\004PURE\020\000\022\010\n\004VIEW\020\001\022\016\n\nNONPAYABLE\020\002\"A\n\n" - "Visibility\022\n\n\006PUBLIC\020\000\022\014\n\010EXTERNAL\020\001\022\014\n\010" - "INTERNAL\020\002\022\013\n\007PRIVATE\020\003\"\303\002\n\020ContractFunc" - "tion\022F\n\003vis\030\001 \002(\01629.solidity.test.solpro" - "tofuzzer.ContractFunction.Visibility\022K\n\003" - "mut\030\002 \002(\0162>.solidity.test.solprotofuzzer" - ".ContractFunction.StateMutability\022\023\n\013vir" - "tualfunc\030\003 \002(\010\"B\n\017StateMutability\022\010\n\004PUR" - "E\020\000\022\010\n\004VIEW\020\001\022\013\n\007PAYABLE\020\002\022\016\n\nNONPAYABLE" - "\020\003\"A\n\nVisibility\022\n\n\006PUBLIC\020\000\022\014\n\010EXTERNAL" - "\020\001\022\014\n\010INTERNAL\020\002\022\013\n\007PRIVATE\020\003\"I\n\007Library" - "\022>\n\007funcdef\030\001 \003(\0132-.solidity.test.solpro" - "tofuzzer.LibraryFunction\"\205\001\n\tInterface\022@" - "\n\007funcdef\030\001 \003(\0132/.solidity.test.solproto" - "fuzzer.InterfaceFunction\0226\n\005bases\030\002 \003(\0132" - "\'.solidity.test.solprotofuzzer.Interface" - "\"\237\001\n\010Contract\022\?\n\007funcdef\030\001 \003(\0132..solidit" - "y.test.solprotofuzzer.ContractFunction\022\020" - "\n\010abstract\030\002 \002(\010\022@\n\005bases\030\003 \003(\01321.solidi" - "ty.test.solprotofuzzer.ContractOrInterfa" - "ce\"\237\001\n\023ContractOrInterface\0223\n\001c\030\001 \001(\0132&." - "solidity.test.solprotofuzzer.ContractH\000\022" - "4\n\001i\030\002 \001(\0132\'.solidity.test.solprotofuzze" - "r.InterfaceH\000B\035\n\033contract_or_interface_o" - "neof\"\304\001\n\014ContractType\0223\n\001c\030\001 \001(\0132&.solid" - "ity.test.solprotofuzzer.ContractH\000\0222\n\001l\030" - "\002 \001(\0132%.solidity.test.solprotofuzzer.Lib" - "raryH\000\0224\n\001i\030\003 \001(\0132\'.solidity.test.solpro" - "tofuzzer.InterfaceH\000B\025\n\023contract_type_on" - "eof\"p\n\014TestContract\022=\n\004type\030\001 \002(\0162/.soli" - "dity.test.solprotofuzzer.TestContract.Ty" - "pe\"!\n\004Type\022\013\n\007LIBRARY\020\000\022\014\n\010CONTRACT\020\001\"\220\001" - "\n\007Program\022=\n\tcontracts\030\001 \003(\0132*.solidity." - "test.solprotofuzzer.ContractType\0228\n\004test" - "\030\002 \002(\0132*.solidity.test.solprotofuzzer.Te" - "stContract\022\014\n\004seed\030\003 \002(\004" - ; -static ::_pbi::once_flag descriptor_table_solProto_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_solProto_2eproto = { - false, false, 1824, descriptor_table_protodef_solProto_2eproto, - "solProto.proto", - &descriptor_table_solProto_2eproto_once, nullptr, 0, 10, - schemas, file_default_instances, TableStruct_solProto_2eproto::offsets, - file_level_metadata_solProto_2eproto, file_level_enum_descriptors_solProto_2eproto, - file_level_service_descriptors_solProto_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_solProto_2eproto_getter() { - return &descriptor_table_solProto_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_solProto_2eproto(&descriptor_table_solProto_2eproto); -namespace solidity { -namespace test { -namespace solprotofuzzer { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* InterfaceFunction_StateMutability_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_solProto_2eproto); - return file_level_enum_descriptors_solProto_2eproto[0]; -} -bool InterfaceFunction_StateMutability_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr InterfaceFunction_StateMutability InterfaceFunction::PURE; -constexpr InterfaceFunction_StateMutability InterfaceFunction::VIEW; -constexpr InterfaceFunction_StateMutability InterfaceFunction::PAYABLE; -constexpr InterfaceFunction_StateMutability InterfaceFunction::NONPAYABLE; -constexpr InterfaceFunction_StateMutability InterfaceFunction::StateMutability_MIN; -constexpr InterfaceFunction_StateMutability InterfaceFunction::StateMutability_MAX; -constexpr int InterfaceFunction::StateMutability_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LibraryFunction_StateMutability_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_solProto_2eproto); - return file_level_enum_descriptors_solProto_2eproto[1]; -} -bool LibraryFunction_StateMutability_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr LibraryFunction_StateMutability LibraryFunction::PURE; -constexpr LibraryFunction_StateMutability LibraryFunction::VIEW; -constexpr LibraryFunction_StateMutability LibraryFunction::NONPAYABLE; -constexpr LibraryFunction_StateMutability LibraryFunction::StateMutability_MIN; -constexpr LibraryFunction_StateMutability LibraryFunction::StateMutability_MAX; -constexpr int LibraryFunction::StateMutability_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LibraryFunction_Visibility_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_solProto_2eproto); - return file_level_enum_descriptors_solProto_2eproto[2]; -} -bool LibraryFunction_Visibility_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr LibraryFunction_Visibility LibraryFunction::PUBLIC; -constexpr LibraryFunction_Visibility LibraryFunction::EXTERNAL; -constexpr LibraryFunction_Visibility LibraryFunction::INTERNAL; -constexpr LibraryFunction_Visibility LibraryFunction::PRIVATE; -constexpr LibraryFunction_Visibility LibraryFunction::Visibility_MIN; -constexpr LibraryFunction_Visibility LibraryFunction::Visibility_MAX; -constexpr int LibraryFunction::Visibility_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContractFunction_StateMutability_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_solProto_2eproto); - return file_level_enum_descriptors_solProto_2eproto[3]; -} -bool ContractFunction_StateMutability_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr ContractFunction_StateMutability ContractFunction::PURE; -constexpr ContractFunction_StateMutability ContractFunction::VIEW; -constexpr ContractFunction_StateMutability ContractFunction::PAYABLE; -constexpr ContractFunction_StateMutability ContractFunction::NONPAYABLE; -constexpr ContractFunction_StateMutability ContractFunction::StateMutability_MIN; -constexpr ContractFunction_StateMutability ContractFunction::StateMutability_MAX; -constexpr int ContractFunction::StateMutability_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContractFunction_Visibility_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_solProto_2eproto); - return file_level_enum_descriptors_solProto_2eproto[4]; -} -bool ContractFunction_Visibility_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr ContractFunction_Visibility ContractFunction::PUBLIC; -constexpr ContractFunction_Visibility ContractFunction::EXTERNAL; -constexpr ContractFunction_Visibility ContractFunction::INTERNAL; -constexpr ContractFunction_Visibility ContractFunction::PRIVATE; -constexpr ContractFunction_Visibility ContractFunction::Visibility_MIN; -constexpr ContractFunction_Visibility ContractFunction::Visibility_MAX; -constexpr int ContractFunction::Visibility_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TestContract_Type_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_solProto_2eproto); - return file_level_enum_descriptors_solProto_2eproto[5]; -} -bool TestContract_Type_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr TestContract_Type TestContract::LIBRARY; -constexpr TestContract_Type TestContract::CONTRACT; -constexpr TestContract_Type TestContract::Type_MIN; -constexpr TestContract_Type TestContract::Type_MAX; -constexpr int TestContract::Type_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -// =================================================================== - -class InterfaceFunction::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_mut(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -InterfaceFunction::InterfaceFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solprotofuzzer.InterfaceFunction) -} -InterfaceFunction::InterfaceFunction(const InterfaceFunction& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - InterfaceFunction* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mut_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.mut_ = from._impl_.mut_; - // @@protoc_insertion_point(copy_constructor:solidity.test.solprotofuzzer.InterfaceFunction) -} - -inline void InterfaceFunction::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mut_){0} - }; -} - -InterfaceFunction::~InterfaceFunction() { - // @@protoc_insertion_point(destructor:solidity.test.solprotofuzzer.InterfaceFunction) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void InterfaceFunction::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void InterfaceFunction::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void InterfaceFunction::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solprotofuzzer.InterfaceFunction) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.mut_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* InterfaceFunction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.solprotofuzzer.InterfaceFunction.StateMutability mut = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability_IsValid(val))) { - _internal_set_mut(static_cast<::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* InterfaceFunction::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solprotofuzzer.InterfaceFunction) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.solprotofuzzer.InterfaceFunction.StateMutability mut = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_mut(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solprotofuzzer.InterfaceFunction) - return target; -} - -size_t InterfaceFunction::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solprotofuzzer.InterfaceFunction) - size_t total_size = 0; - - // required .solidity.test.solprotofuzzer.InterfaceFunction.StateMutability mut = 1; - if (_internal_has_mut()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_mut()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InterfaceFunction::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - InterfaceFunction::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InterfaceFunction::GetClassData() const { return &_class_data_; } - - -void InterfaceFunction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solprotofuzzer.InterfaceFunction) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_mut()) { - _this->_internal_set_mut(from._internal_mut()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void InterfaceFunction::CopyFrom(const InterfaceFunction& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solprotofuzzer.InterfaceFunction) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool InterfaceFunction::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void InterfaceFunction::InternalSwap(InterfaceFunction* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.mut_, other->_impl_.mut_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata InterfaceFunction::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solProto_2eproto_getter, &descriptor_table_solProto_2eproto_once, - file_level_metadata_solProto_2eproto[0]); -} - -// =================================================================== - -class LibraryFunction::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_vis(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_mut(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -LibraryFunction::LibraryFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solprotofuzzer.LibraryFunction) -} -LibraryFunction::LibraryFunction(const LibraryFunction& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - LibraryFunction* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.vis_){} - , decltype(_impl_.mut_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.vis_, &from._impl_.vis_, - static_cast(reinterpret_cast(&_impl_.mut_) - - reinterpret_cast(&_impl_.vis_)) + sizeof(_impl_.mut_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.solprotofuzzer.LibraryFunction) -} - -inline void LibraryFunction::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.vis_){0} - , decltype(_impl_.mut_){0} - }; -} - -LibraryFunction::~LibraryFunction() { - // @@protoc_insertion_point(destructor:solidity.test.solprotofuzzer.LibraryFunction) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void LibraryFunction::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void LibraryFunction::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void LibraryFunction::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solprotofuzzer.LibraryFunction) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.vis_, 0, static_cast( - reinterpret_cast(&_impl_.mut_) - - reinterpret_cast(&_impl_.vis_)) + sizeof(_impl_.mut_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* LibraryFunction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.solprotofuzzer.LibraryFunction.Visibility vis = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solprotofuzzer::LibraryFunction_Visibility_IsValid(val))) { - _internal_set_vis(static_cast<::solidity::test::solprotofuzzer::LibraryFunction_Visibility>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.solprotofuzzer.LibraryFunction.StateMutability mut = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability_IsValid(val))) { - _internal_set_mut(static_cast<::solidity::test::solprotofuzzer::LibraryFunction_StateMutability>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* LibraryFunction::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solprotofuzzer.LibraryFunction) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.solprotofuzzer.LibraryFunction.Visibility vis = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_vis(), target); - } - - // required .solidity.test.solprotofuzzer.LibraryFunction.StateMutability mut = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_mut(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solprotofuzzer.LibraryFunction) - return target; -} - -size_t LibraryFunction::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.solprotofuzzer.LibraryFunction) - size_t total_size = 0; - - if (_internal_has_vis()) { - // required .solidity.test.solprotofuzzer.LibraryFunction.Visibility vis = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_vis()); - } - - if (_internal_has_mut()) { - // required .solidity.test.solprotofuzzer.LibraryFunction.StateMutability mut = 2; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_mut()); - } - - return total_size; -} -size_t LibraryFunction::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solprotofuzzer.LibraryFunction) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.solprotofuzzer.LibraryFunction.Visibility vis = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_vis()); - - // required .solidity.test.solprotofuzzer.LibraryFunction.StateMutability mut = 2; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_mut()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LibraryFunction::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - LibraryFunction::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LibraryFunction::GetClassData() const { return &_class_data_; } - - -void LibraryFunction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solprotofuzzer.LibraryFunction) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.vis_ = from._impl_.vis_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.mut_ = from._impl_.mut_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void LibraryFunction::CopyFrom(const LibraryFunction& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solprotofuzzer.LibraryFunction) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LibraryFunction::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void LibraryFunction::InternalSwap(LibraryFunction* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(LibraryFunction, _impl_.mut_) - + sizeof(LibraryFunction::_impl_.mut_) - - PROTOBUF_FIELD_OFFSET(LibraryFunction, _impl_.vis_)>( - reinterpret_cast(&_impl_.vis_), - reinterpret_cast(&other->_impl_.vis_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata LibraryFunction::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solProto_2eproto_getter, &descriptor_table_solProto_2eproto_once, - file_level_metadata_solProto_2eproto[1]); -} - -// =================================================================== - -class ContractFunction::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_vis(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_mut(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_virtualfunc(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -ContractFunction::ContractFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solprotofuzzer.ContractFunction) -} -ContractFunction::ContractFunction(const ContractFunction& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ContractFunction* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.vis_){} - , decltype(_impl_.mut_){} - , decltype(_impl_.virtualfunc_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.vis_, &from._impl_.vis_, - static_cast(reinterpret_cast(&_impl_.virtualfunc_) - - reinterpret_cast(&_impl_.vis_)) + sizeof(_impl_.virtualfunc_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.solprotofuzzer.ContractFunction) -} - -inline void ContractFunction::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.vis_){0} - , decltype(_impl_.mut_){0} - , decltype(_impl_.virtualfunc_){false} - }; -} - -ContractFunction::~ContractFunction() { - // @@protoc_insertion_point(destructor:solidity.test.solprotofuzzer.ContractFunction) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ContractFunction::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ContractFunction::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ContractFunction::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solprotofuzzer.ContractFunction) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.vis_, 0, static_cast( - reinterpret_cast(&_impl_.virtualfunc_) - - reinterpret_cast(&_impl_.vis_)) + sizeof(_impl_.virtualfunc_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ContractFunction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.solprotofuzzer.ContractFunction.Visibility vis = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solprotofuzzer::ContractFunction_Visibility_IsValid(val))) { - _internal_set_vis(static_cast<::solidity::test::solprotofuzzer::ContractFunction_Visibility>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.solprotofuzzer.ContractFunction.StateMutability mut = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solprotofuzzer::ContractFunction_StateMutability_IsValid(val))) { - _internal_set_mut(static_cast<::solidity::test::solprotofuzzer::ContractFunction_StateMutability>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required bool virtualfunc = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_virtualfunc(&has_bits); - _impl_.virtualfunc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ContractFunction::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solprotofuzzer.ContractFunction) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.solprotofuzzer.ContractFunction.Visibility vis = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_vis(), target); - } - - // required .solidity.test.solprotofuzzer.ContractFunction.StateMutability mut = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_mut(), target); - } - - // required bool virtualfunc = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_virtualfunc(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solprotofuzzer.ContractFunction) - return target; -} - -size_t ContractFunction::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.solprotofuzzer.ContractFunction) - size_t total_size = 0; - - if (_internal_has_vis()) { - // required .solidity.test.solprotofuzzer.ContractFunction.Visibility vis = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_vis()); - } - - if (_internal_has_mut()) { - // required .solidity.test.solprotofuzzer.ContractFunction.StateMutability mut = 2; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_mut()); - } - - if (_internal_has_virtualfunc()) { - // required bool virtualfunc = 3; - total_size += 1 + 1; - } - - return total_size; -} -size_t ContractFunction::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solprotofuzzer.ContractFunction) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.test.solprotofuzzer.ContractFunction.Visibility vis = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_vis()); - - // required .solidity.test.solprotofuzzer.ContractFunction.StateMutability mut = 2; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_mut()); - - // required bool virtualfunc = 3; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContractFunction::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ContractFunction::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContractFunction::GetClassData() const { return &_class_data_; } - - -void ContractFunction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solprotofuzzer.ContractFunction) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.vis_ = from._impl_.vis_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.mut_ = from._impl_.mut_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.virtualfunc_ = from._impl_.virtualfunc_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ContractFunction::CopyFrom(const ContractFunction& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solprotofuzzer.ContractFunction) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ContractFunction::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void ContractFunction::InternalSwap(ContractFunction* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ContractFunction, _impl_.virtualfunc_) - + sizeof(ContractFunction::_impl_.virtualfunc_) - - PROTOBUF_FIELD_OFFSET(ContractFunction, _impl_.vis_)>( - reinterpret_cast(&_impl_.vis_), - reinterpret_cast(&other->_impl_.vis_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ContractFunction::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solProto_2eproto_getter, &descriptor_table_solProto_2eproto_once, - file_level_metadata_solProto_2eproto[2]); -} - -// =================================================================== - -class Library::_Internal { - public: -}; - -Library::Library(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solprotofuzzer.Library) -} -Library::Library(const Library& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Library* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.funcdef_){from._impl_.funcdef_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.solprotofuzzer.Library) -} - -inline void Library::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.funcdef_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -Library::~Library() { - // @@protoc_insertion_point(destructor:solidity.test.solprotofuzzer.Library) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Library::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.funcdef_.~RepeatedPtrField(); -} - -void Library::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Library::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solprotofuzzer.Library) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.funcdef_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Library::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.test.solprotofuzzer.LibraryFunction funcdef = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_funcdef(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Library::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solprotofuzzer.Library) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.test.solprotofuzzer.LibraryFunction funcdef = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_funcdef_size()); i < n; i++) { - const auto& repfield = this->_internal_funcdef(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solprotofuzzer.Library) - return target; -} - -size_t Library::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solprotofuzzer.Library) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.solprotofuzzer.LibraryFunction funcdef = 1; - total_size += 1UL * this->_internal_funcdef_size(); - for (const auto& msg : this->_impl_.funcdef_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Library::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Library::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Library::GetClassData() const { return &_class_data_; } - - -void Library::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solprotofuzzer.Library) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.funcdef_.MergeFrom(from._impl_.funcdef_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Library::CopyFrom(const Library& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solprotofuzzer.Library) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Library::IsInitialized() const { - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.funcdef_)) - return false; - return true; -} - -void Library::InternalSwap(Library* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.funcdef_.InternalSwap(&other->_impl_.funcdef_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Library::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solProto_2eproto_getter, &descriptor_table_solProto_2eproto_once, - file_level_metadata_solProto_2eproto[3]); -} - -// =================================================================== - -class Interface::_Internal { - public: -}; - -Interface::Interface(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solprotofuzzer.Interface) -} -Interface::Interface(const Interface& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Interface* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.funcdef_){from._impl_.funcdef_} - , decltype(_impl_.bases_){from._impl_.bases_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.solprotofuzzer.Interface) -} - -inline void Interface::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.funcdef_){arena} - , decltype(_impl_.bases_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -Interface::~Interface() { - // @@protoc_insertion_point(destructor:solidity.test.solprotofuzzer.Interface) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Interface::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.funcdef_.~RepeatedPtrField(); - _impl_.bases_.~RepeatedPtrField(); -} - -void Interface::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Interface::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solprotofuzzer.Interface) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.funcdef_.Clear(); - _impl_.bases_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Interface::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.test.solprotofuzzer.InterfaceFunction funcdef = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_funcdef(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.solprotofuzzer.Interface bases = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_bases(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Interface::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solprotofuzzer.Interface) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.test.solprotofuzzer.InterfaceFunction funcdef = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_funcdef_size()); i < n; i++) { - const auto& repfield = this->_internal_funcdef(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .solidity.test.solprotofuzzer.Interface bases = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_bases_size()); i < n; i++) { - const auto& repfield = this->_internal_bases(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solprotofuzzer.Interface) - return target; -} - -size_t Interface::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solprotofuzzer.Interface) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.solprotofuzzer.InterfaceFunction funcdef = 1; - total_size += 1UL * this->_internal_funcdef_size(); - for (const auto& msg : this->_impl_.funcdef_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.test.solprotofuzzer.Interface bases = 2; - total_size += 1UL * this->_internal_bases_size(); - for (const auto& msg : this->_impl_.bases_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Interface::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Interface::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Interface::GetClassData() const { return &_class_data_; } - - -void Interface::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solprotofuzzer.Interface) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.funcdef_.MergeFrom(from._impl_.funcdef_); - _this->_impl_.bases_.MergeFrom(from._impl_.bases_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Interface::CopyFrom(const Interface& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solprotofuzzer.Interface) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Interface::IsInitialized() const { - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.funcdef_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.bases_)) - return false; - return true; -} - -void Interface::InternalSwap(Interface* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.funcdef_.InternalSwap(&other->_impl_.funcdef_); - _impl_.bases_.InternalSwap(&other->_impl_.bases_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Interface::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solProto_2eproto_getter, &descriptor_table_solProto_2eproto_once, - file_level_metadata_solProto_2eproto[4]); -} - -// =================================================================== - -class Contract::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_abstract(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -Contract::Contract(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solprotofuzzer.Contract) -} -Contract::Contract(const Contract& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Contract* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.funcdef_){from._impl_.funcdef_} - , decltype(_impl_.bases_){from._impl_.bases_} - , decltype(_impl_.abstract_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.abstract_ = from._impl_.abstract_; - // @@protoc_insertion_point(copy_constructor:solidity.test.solprotofuzzer.Contract) -} - -inline void Contract::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.funcdef_){arena} - , decltype(_impl_.bases_){arena} - , decltype(_impl_.abstract_){false} - }; -} - -Contract::~Contract() { - // @@protoc_insertion_point(destructor:solidity.test.solprotofuzzer.Contract) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Contract::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.funcdef_.~RepeatedPtrField(); - _impl_.bases_.~RepeatedPtrField(); -} - -void Contract::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Contract::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solprotofuzzer.Contract) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.funcdef_.Clear(); - _impl_.bases_.Clear(); - _impl_.abstract_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Contract::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.test.solprotofuzzer.ContractFunction funcdef = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_funcdef(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // required bool abstract = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_abstract(&has_bits); - _impl_.abstract_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.solprotofuzzer.ContractOrInterface bases = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_bases(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Contract::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solprotofuzzer.Contract) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.test.solprotofuzzer.ContractFunction funcdef = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_funcdef_size()); i < n; i++) { - const auto& repfield = this->_internal_funcdef(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // required bool abstract = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_abstract(), target); - } - - // repeated .solidity.test.solprotofuzzer.ContractOrInterface bases = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_bases_size()); i < n; i++) { - const auto& repfield = this->_internal_bases(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solprotofuzzer.Contract) - return target; -} - -size_t Contract::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solprotofuzzer.Contract) - size_t total_size = 0; - - // required bool abstract = 2; - if (_internal_has_abstract()) { - total_size += 1 + 1; - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.solprotofuzzer.ContractFunction funcdef = 1; - total_size += 1UL * this->_internal_funcdef_size(); - for (const auto& msg : this->_impl_.funcdef_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .solidity.test.solprotofuzzer.ContractOrInterface bases = 3; - total_size += 1UL * this->_internal_bases_size(); - for (const auto& msg : this->_impl_.bases_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Contract::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Contract::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Contract::GetClassData() const { return &_class_data_; } - - -void Contract::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solprotofuzzer.Contract) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.funcdef_.MergeFrom(from._impl_.funcdef_); - _this->_impl_.bases_.MergeFrom(from._impl_.bases_); - if (from._internal_has_abstract()) { - _this->_internal_set_abstract(from._internal_abstract()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Contract::CopyFrom(const Contract& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solprotofuzzer.Contract) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Contract::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.funcdef_)) - return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.bases_)) - return false; - return true; -} - -void Contract::InternalSwap(Contract* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.funcdef_.InternalSwap(&other->_impl_.funcdef_); - _impl_.bases_.InternalSwap(&other->_impl_.bases_); - swap(_impl_.abstract_, other->_impl_.abstract_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Contract::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solProto_2eproto_getter, &descriptor_table_solProto_2eproto_once, - file_level_metadata_solProto_2eproto[5]); -} - -// =================================================================== - -class ContractOrInterface::_Internal { - public: - static const ::solidity::test::solprotofuzzer::Contract& c(const ContractOrInterface* msg); - static const ::solidity::test::solprotofuzzer::Interface& i(const ContractOrInterface* msg); -}; - -const ::solidity::test::solprotofuzzer::Contract& -ContractOrInterface::_Internal::c(const ContractOrInterface* msg) { - return *msg->_impl_.contract_or_interface_oneof_.c_; -} -const ::solidity::test::solprotofuzzer::Interface& -ContractOrInterface::_Internal::i(const ContractOrInterface* msg) { - return *msg->_impl_.contract_or_interface_oneof_.i_; -} -void ContractOrInterface::set_allocated_c(::solidity::test::solprotofuzzer::Contract* c) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_contract_or_interface_oneof(); - if (c) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(c); - if (message_arena != submessage_arena) { - c = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, c, submessage_arena); - } - set_has_c(); - _impl_.contract_or_interface_oneof_.c_ = c; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.solprotofuzzer.ContractOrInterface.c) -} -void ContractOrInterface::set_allocated_i(::solidity::test::solprotofuzzer::Interface* i) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_contract_or_interface_oneof(); - if (i) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(i); - if (message_arena != submessage_arena) { - i = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, i, submessage_arena); - } - set_has_i(); - _impl_.contract_or_interface_oneof_.i_ = i; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.solprotofuzzer.ContractOrInterface.i) -} -ContractOrInterface::ContractOrInterface(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solprotofuzzer.ContractOrInterface) -} -ContractOrInterface::ContractOrInterface(const ContractOrInterface& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ContractOrInterface* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.contract_or_interface_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_contract_or_interface_oneof(); - switch (from.contract_or_interface_oneof_case()) { - case kC: { - _this->_internal_mutable_c()->::solidity::test::solprotofuzzer::Contract::MergeFrom( - from._internal_c()); - break; - } - case kI: { - _this->_internal_mutable_i()->::solidity::test::solprotofuzzer::Interface::MergeFrom( - from._internal_i()); - break; - } - case CONTRACT_OR_INTERFACE_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.solprotofuzzer.ContractOrInterface) -} - -inline void ContractOrInterface::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.contract_or_interface_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_contract_or_interface_oneof(); -} - -ContractOrInterface::~ContractOrInterface() { - // @@protoc_insertion_point(destructor:solidity.test.solprotofuzzer.ContractOrInterface) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ContractOrInterface::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_contract_or_interface_oneof()) { - clear_contract_or_interface_oneof(); - } -} - -void ContractOrInterface::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ContractOrInterface::clear_contract_or_interface_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.solprotofuzzer.ContractOrInterface) - switch (contract_or_interface_oneof_case()) { - case kC: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.contract_or_interface_oneof_.c_; - } - break; - } - case kI: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.contract_or_interface_oneof_.i_; - } - break; - } - case CONTRACT_OR_INTERFACE_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = CONTRACT_OR_INTERFACE_ONEOF_NOT_SET; -} - - -void ContractOrInterface::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solprotofuzzer.ContractOrInterface) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_contract_or_interface_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ContractOrInterface::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.test.solprotofuzzer.Contract c = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_c(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.solprotofuzzer.Interface i = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_i(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ContractOrInterface::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solprotofuzzer.ContractOrInterface) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (contract_or_interface_oneof_case()) { - case kC: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::c(this), - _Internal::c(this).GetCachedSize(), target, stream); - break; - } - case kI: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::i(this), - _Internal::i(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solprotofuzzer.ContractOrInterface) - return target; -} - -size_t ContractOrInterface::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solprotofuzzer.ContractOrInterface) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (contract_or_interface_oneof_case()) { - // .solidity.test.solprotofuzzer.Contract c = 1; - case kC: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.contract_or_interface_oneof_.c_); - break; - } - // .solidity.test.solprotofuzzer.Interface i = 2; - case kI: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.contract_or_interface_oneof_.i_); - break; - } - case CONTRACT_OR_INTERFACE_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContractOrInterface::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ContractOrInterface::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContractOrInterface::GetClassData() const { return &_class_data_; } - - -void ContractOrInterface::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solprotofuzzer.ContractOrInterface) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.contract_or_interface_oneof_case()) { - case kC: { - _this->_internal_mutable_c()->::solidity::test::solprotofuzzer::Contract::MergeFrom( - from._internal_c()); - break; - } - case kI: { - _this->_internal_mutable_i()->::solidity::test::solprotofuzzer::Interface::MergeFrom( - from._internal_i()); - break; - } - case CONTRACT_OR_INTERFACE_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ContractOrInterface::CopyFrom(const ContractOrInterface& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solprotofuzzer.ContractOrInterface) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ContractOrInterface::IsInitialized() const { - switch (contract_or_interface_oneof_case()) { - case kC: { - if (_internal_has_c()) { - if (!_impl_.contract_or_interface_oneof_.c_->IsInitialized()) return false; - } - break; - } - case kI: { - if (_internal_has_i()) { - if (!_impl_.contract_or_interface_oneof_.i_->IsInitialized()) return false; - } - break; - } - case CONTRACT_OR_INTERFACE_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void ContractOrInterface::InternalSwap(ContractOrInterface* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.contract_or_interface_oneof_, other->_impl_.contract_or_interface_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ContractOrInterface::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solProto_2eproto_getter, &descriptor_table_solProto_2eproto_once, - file_level_metadata_solProto_2eproto[6]); -} - -// =================================================================== - -class ContractType::_Internal { - public: - static const ::solidity::test::solprotofuzzer::Contract& c(const ContractType* msg); - static const ::solidity::test::solprotofuzzer::Library& l(const ContractType* msg); - static const ::solidity::test::solprotofuzzer::Interface& i(const ContractType* msg); -}; - -const ::solidity::test::solprotofuzzer::Contract& -ContractType::_Internal::c(const ContractType* msg) { - return *msg->_impl_.contract_type_oneof_.c_; -} -const ::solidity::test::solprotofuzzer::Library& -ContractType::_Internal::l(const ContractType* msg) { - return *msg->_impl_.contract_type_oneof_.l_; -} -const ::solidity::test::solprotofuzzer::Interface& -ContractType::_Internal::i(const ContractType* msg) { - return *msg->_impl_.contract_type_oneof_.i_; -} -void ContractType::set_allocated_c(::solidity::test::solprotofuzzer::Contract* c) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_contract_type_oneof(); - if (c) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(c); - if (message_arena != submessage_arena) { - c = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, c, submessage_arena); - } - set_has_c(); - _impl_.contract_type_oneof_.c_ = c; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.solprotofuzzer.ContractType.c) -} -void ContractType::set_allocated_l(::solidity::test::solprotofuzzer::Library* l) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_contract_type_oneof(); - if (l) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(l); - if (message_arena != submessage_arena) { - l = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, l, submessage_arena); - } - set_has_l(); - _impl_.contract_type_oneof_.l_ = l; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.solprotofuzzer.ContractType.l) -} -void ContractType::set_allocated_i(::solidity::test::solprotofuzzer::Interface* i) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_contract_type_oneof(); - if (i) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(i); - if (message_arena != submessage_arena) { - i = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, i, submessage_arena); - } - set_has_i(); - _impl_.contract_type_oneof_.i_ = i; - } - // @@protoc_insertion_point(field_set_allocated:solidity.test.solprotofuzzer.ContractType.i) -} -ContractType::ContractType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solprotofuzzer.ContractType) -} -ContractType::ContractType(const ContractType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ContractType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.contract_type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_contract_type_oneof(); - switch (from.contract_type_oneof_case()) { - case kC: { - _this->_internal_mutable_c()->::solidity::test::solprotofuzzer::Contract::MergeFrom( - from._internal_c()); - break; - } - case kL: { - _this->_internal_mutable_l()->::solidity::test::solprotofuzzer::Library::MergeFrom( - from._internal_l()); - break; - } - case kI: { - _this->_internal_mutable_i()->::solidity::test::solprotofuzzer::Interface::MergeFrom( - from._internal_i()); - break; - } - case CONTRACT_TYPE_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.test.solprotofuzzer.ContractType) -} - -inline void ContractType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.contract_type_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_contract_type_oneof(); -} - -ContractType::~ContractType() { - // @@protoc_insertion_point(destructor:solidity.test.solprotofuzzer.ContractType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ContractType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_contract_type_oneof()) { - clear_contract_type_oneof(); - } -} - -void ContractType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ContractType::clear_contract_type_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.test.solprotofuzzer.ContractType) - switch (contract_type_oneof_case()) { - case kC: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.contract_type_oneof_.c_; - } - break; - } - case kL: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.contract_type_oneof_.l_; - } - break; - } - case kI: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.contract_type_oneof_.i_; - } - break; - } - case CONTRACT_TYPE_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = CONTRACT_TYPE_ONEOF_NOT_SET; -} - - -void ContractType::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solprotofuzzer.ContractType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_contract_type_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ContractType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.test.solprotofuzzer.Contract c = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_c(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.solprotofuzzer.Library l = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_l(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.test.solprotofuzzer.Interface i = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_i(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ContractType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solprotofuzzer.ContractType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (contract_type_oneof_case()) { - case kC: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::c(this), - _Internal::c(this).GetCachedSize(), target, stream); - break; - } - case kL: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::l(this), - _Internal::l(this).GetCachedSize(), target, stream); - break; - } - case kI: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::i(this), - _Internal::i(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solprotofuzzer.ContractType) - return target; -} - -size_t ContractType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solprotofuzzer.ContractType) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (contract_type_oneof_case()) { - // .solidity.test.solprotofuzzer.Contract c = 1; - case kC: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.contract_type_oneof_.c_); - break; - } - // .solidity.test.solprotofuzzer.Library l = 2; - case kL: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.contract_type_oneof_.l_); - break; - } - // .solidity.test.solprotofuzzer.Interface i = 3; - case kI: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.contract_type_oneof_.i_); - break; - } - case CONTRACT_TYPE_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContractType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ContractType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContractType::GetClassData() const { return &_class_data_; } - - -void ContractType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solprotofuzzer.ContractType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.contract_type_oneof_case()) { - case kC: { - _this->_internal_mutable_c()->::solidity::test::solprotofuzzer::Contract::MergeFrom( - from._internal_c()); - break; - } - case kL: { - _this->_internal_mutable_l()->::solidity::test::solprotofuzzer::Library::MergeFrom( - from._internal_l()); - break; - } - case kI: { - _this->_internal_mutable_i()->::solidity::test::solprotofuzzer::Interface::MergeFrom( - from._internal_i()); - break; - } - case CONTRACT_TYPE_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ContractType::CopyFrom(const ContractType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solprotofuzzer.ContractType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ContractType::IsInitialized() const { - switch (contract_type_oneof_case()) { - case kC: { - if (_internal_has_c()) { - if (!_impl_.contract_type_oneof_.c_->IsInitialized()) return false; - } - break; - } - case kL: { - if (_internal_has_l()) { - if (!_impl_.contract_type_oneof_.l_->IsInitialized()) return false; - } - break; - } - case kI: { - if (_internal_has_i()) { - if (!_impl_.contract_type_oneof_.i_->IsInitialized()) return false; - } - break; - } - case CONTRACT_TYPE_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void ContractType::InternalSwap(ContractType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.contract_type_oneof_, other->_impl_.contract_type_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ContractType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solProto_2eproto_getter, &descriptor_table_solProto_2eproto_once, - file_level_metadata_solProto_2eproto[7]); -} - -// =================================================================== - -class TestContract::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -TestContract::TestContract(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solprotofuzzer.TestContract) -} -TestContract::TestContract(const TestContract& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TestContract* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.type_ = from._impl_.type_; - // @@protoc_insertion_point(copy_constructor:solidity.test.solprotofuzzer.TestContract) -} - -inline void TestContract::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){0} - }; -} - -TestContract::~TestContract() { - // @@protoc_insertion_point(destructor:solidity.test.solprotofuzzer.TestContract) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TestContract::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void TestContract::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TestContract::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solprotofuzzer.TestContract) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.type_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TestContract::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.solprotofuzzer.TestContract.Type type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solprotofuzzer::TestContract_Type_IsValid(val))) { - _internal_set_type(static_cast<::solidity::test::solprotofuzzer::TestContract_Type>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TestContract::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solprotofuzzer.TestContract) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.solprotofuzzer.TestContract.Type type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solprotofuzzer.TestContract) - return target; -} - -size_t TestContract::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solprotofuzzer.TestContract) - size_t total_size = 0; - - // required .solidity.test.solprotofuzzer.TestContract.Type type = 1; - if (_internal_has_type()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TestContract::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TestContract::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TestContract::GetClassData() const { return &_class_data_; } - - -void TestContract::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solprotofuzzer.TestContract) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_type()) { - _this->_internal_set_type(from._internal_type()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TestContract::CopyFrom(const TestContract& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solprotofuzzer.TestContract) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TestContract::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void TestContract::InternalSwap(TestContract* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.type_, other->_impl_.type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TestContract::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solProto_2eproto_getter, &descriptor_table_solProto_2eproto_once, - file_level_metadata_solProto_2eproto[8]); -} - -// =================================================================== - -class Program::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::solprotofuzzer::TestContract& test(const Program* msg); - static void set_has_test(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_seed(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::test::solprotofuzzer::TestContract& -Program::_Internal::test(const Program* msg) { - return *msg->_impl_.test_; -} -Program::Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solprotofuzzer.Program) -} -Program::Program(const Program& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Program* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.contracts_){from._impl_.contracts_} - , decltype(_impl_.test_){nullptr} - , decltype(_impl_.seed_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_test()) { - _this->_impl_.test_ = new ::solidity::test::solprotofuzzer::TestContract(*from._impl_.test_); - } - _this->_impl_.seed_ = from._impl_.seed_; - // @@protoc_insertion_point(copy_constructor:solidity.test.solprotofuzzer.Program) -} - -inline void Program::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.contracts_){arena} - , decltype(_impl_.test_){nullptr} - , decltype(_impl_.seed_){uint64_t{0u}} - }; -} - -Program::~Program() { - // @@protoc_insertion_point(destructor:solidity.test.solprotofuzzer.Program) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Program::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.contracts_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.test_; -} - -void Program::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Program::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solprotofuzzer.Program) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.contracts_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.test_ != nullptr); - _impl_.test_->Clear(); - } - _impl_.seed_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Program::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.test.solprotofuzzer.ContractType contracts = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_contracts(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // required .solidity.test.solprotofuzzer.TestContract test = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_test(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint64 seed = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_seed(&has_bits); - _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Program::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solprotofuzzer.Program) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.test.solprotofuzzer.ContractType contracts = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_contracts_size()); i < n; i++) { - const auto& repfield = this->_internal_contracts(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.solprotofuzzer.TestContract test = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::test(this), - _Internal::test(this).GetCachedSize(), target, stream); - } - - // required uint64 seed = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_seed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solprotofuzzer.Program) - return target; -} - -size_t Program::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.solprotofuzzer.Program) - size_t total_size = 0; - - if (_internal_has_test()) { - // required .solidity.test.solprotofuzzer.TestContract test = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.test_); - } - - if (_internal_has_seed()) { - // required uint64 seed = 3; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_seed()); - } - - return total_size; -} -size_t Program::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solprotofuzzer.Program) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.solprotofuzzer.TestContract test = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.test_); - - // required uint64 seed = 3; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_seed()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.solprotofuzzer.ContractType contracts = 1; - total_size += 1UL * this->_internal_contracts_size(); - for (const auto& msg : this->_impl_.contracts_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Program::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Program::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Program::GetClassData() const { return &_class_data_; } - - -void Program::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solprotofuzzer.Program) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.contracts_.MergeFrom(from._impl_.contracts_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_test()->::solidity::test::solprotofuzzer::TestContract::MergeFrom( - from._internal_test()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.seed_ = from._impl_.seed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Program::CopyFrom(const Program& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solprotofuzzer.Program) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Program::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.contracts_)) - return false; - if (_internal_has_test()) { - if (!_impl_.test_->IsInitialized()) return false; - } - return true; -} - -void Program::InternalSwap(Program* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.contracts_.InternalSwap(&other->_impl_.contracts_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Program, _impl_.seed_) - + sizeof(Program::_impl_.seed_) - - PROTOBUF_FIELD_OFFSET(Program, _impl_.test_)>( - reinterpret_cast(&_impl_.test_), - reinterpret_cast(&other->_impl_.test_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Program::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solProto_2eproto_getter, &descriptor_table_solProto_2eproto_once, - file_level_metadata_solProto_2eproto[9]); -} - -// @@protoc_insertion_point(namespace_scope) -} // namespace solprotofuzzer -} // namespace test -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::solidity::test::solprotofuzzer::InterfaceFunction* -Arena::CreateMaybeMessage< ::solidity::test::solprotofuzzer::InterfaceFunction >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solprotofuzzer::InterfaceFunction >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solprotofuzzer::LibraryFunction* -Arena::CreateMaybeMessage< ::solidity::test::solprotofuzzer::LibraryFunction >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solprotofuzzer::LibraryFunction >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solprotofuzzer::ContractFunction* -Arena::CreateMaybeMessage< ::solidity::test::solprotofuzzer::ContractFunction >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solprotofuzzer::ContractFunction >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solprotofuzzer::Library* -Arena::CreateMaybeMessage< ::solidity::test::solprotofuzzer::Library >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solprotofuzzer::Library >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solprotofuzzer::Interface* -Arena::CreateMaybeMessage< ::solidity::test::solprotofuzzer::Interface >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solprotofuzzer::Interface >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solprotofuzzer::Contract* -Arena::CreateMaybeMessage< ::solidity::test::solprotofuzzer::Contract >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solprotofuzzer::Contract >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solprotofuzzer::ContractOrInterface* -Arena::CreateMaybeMessage< ::solidity::test::solprotofuzzer::ContractOrInterface >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solprotofuzzer::ContractOrInterface >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solprotofuzzer::ContractType* -Arena::CreateMaybeMessage< ::solidity::test::solprotofuzzer::ContractType >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solprotofuzzer::ContractType >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solprotofuzzer::TestContract* -Arena::CreateMaybeMessage< ::solidity::test::solprotofuzzer::TestContract >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solprotofuzzer::TestContract >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solprotofuzzer::Program* -Arena::CreateMaybeMessage< ::solidity::test::solprotofuzzer::Program >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solprotofuzzer::Program >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/tools/ossfuzz/solProto.pb.h b/tools/ossfuzz/solProto.pb.h deleted file mode 100644 index 5fc28a5..0000000 --- a/tools/ossfuzz/solProto.pb.h +++ /dev/null @@ -1,3404 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: solProto.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_solProto_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_solProto_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021007 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_solProto_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_solProto_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_solProto_2eproto; -namespace solidity { -namespace test { -namespace solprotofuzzer { -class Contract; -struct ContractDefaultTypeInternal; -extern ContractDefaultTypeInternal _Contract_default_instance_; -class ContractFunction; -struct ContractFunctionDefaultTypeInternal; -extern ContractFunctionDefaultTypeInternal _ContractFunction_default_instance_; -class ContractOrInterface; -struct ContractOrInterfaceDefaultTypeInternal; -extern ContractOrInterfaceDefaultTypeInternal _ContractOrInterface_default_instance_; -class ContractType; -struct ContractTypeDefaultTypeInternal; -extern ContractTypeDefaultTypeInternal _ContractType_default_instance_; -class Interface; -struct InterfaceDefaultTypeInternal; -extern InterfaceDefaultTypeInternal _Interface_default_instance_; -class InterfaceFunction; -struct InterfaceFunctionDefaultTypeInternal; -extern InterfaceFunctionDefaultTypeInternal _InterfaceFunction_default_instance_; -class Library; -struct LibraryDefaultTypeInternal; -extern LibraryDefaultTypeInternal _Library_default_instance_; -class LibraryFunction; -struct LibraryFunctionDefaultTypeInternal; -extern LibraryFunctionDefaultTypeInternal _LibraryFunction_default_instance_; -class Program; -struct ProgramDefaultTypeInternal; -extern ProgramDefaultTypeInternal _Program_default_instance_; -class TestContract; -struct TestContractDefaultTypeInternal; -extern TestContractDefaultTypeInternal _TestContract_default_instance_; -} // namespace solprotofuzzer -} // namespace test -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> ::solidity::test::solprotofuzzer::Contract* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::Contract>(Arena*); -template<> ::solidity::test::solprotofuzzer::ContractFunction* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::ContractFunction>(Arena*); -template<> ::solidity::test::solprotofuzzer::ContractOrInterface* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::ContractOrInterface>(Arena*); -template<> ::solidity::test::solprotofuzzer::ContractType* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::ContractType>(Arena*); -template<> ::solidity::test::solprotofuzzer::Interface* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::Interface>(Arena*); -template<> ::solidity::test::solprotofuzzer::InterfaceFunction* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::InterfaceFunction>(Arena*); -template<> ::solidity::test::solprotofuzzer::Library* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::Library>(Arena*); -template<> ::solidity::test::solprotofuzzer::LibraryFunction* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::LibraryFunction>(Arena*); -template<> ::solidity::test::solprotofuzzer::Program* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::Program>(Arena*); -template<> ::solidity::test::solprotofuzzer::TestContract* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::TestContract>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace solidity { -namespace test { -namespace solprotofuzzer { - -enum InterfaceFunction_StateMutability : int { - InterfaceFunction_StateMutability_PURE = 0, - InterfaceFunction_StateMutability_VIEW = 1, - InterfaceFunction_StateMutability_PAYABLE = 2, - InterfaceFunction_StateMutability_NONPAYABLE = 3 -}; -bool InterfaceFunction_StateMutability_IsValid(int value); -constexpr InterfaceFunction_StateMutability InterfaceFunction_StateMutability_StateMutability_MIN = InterfaceFunction_StateMutability_PURE; -constexpr InterfaceFunction_StateMutability InterfaceFunction_StateMutability_StateMutability_MAX = InterfaceFunction_StateMutability_NONPAYABLE; -constexpr int InterfaceFunction_StateMutability_StateMutability_ARRAYSIZE = InterfaceFunction_StateMutability_StateMutability_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* InterfaceFunction_StateMutability_descriptor(); -template -inline const std::string& InterfaceFunction_StateMutability_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function InterfaceFunction_StateMutability_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - InterfaceFunction_StateMutability_descriptor(), enum_t_value); -} -inline bool InterfaceFunction_StateMutability_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InterfaceFunction_StateMutability* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - InterfaceFunction_StateMutability_descriptor(), name, value); -} -enum LibraryFunction_StateMutability : int { - LibraryFunction_StateMutability_PURE = 0, - LibraryFunction_StateMutability_VIEW = 1, - LibraryFunction_StateMutability_NONPAYABLE = 2 -}; -bool LibraryFunction_StateMutability_IsValid(int value); -constexpr LibraryFunction_StateMutability LibraryFunction_StateMutability_StateMutability_MIN = LibraryFunction_StateMutability_PURE; -constexpr LibraryFunction_StateMutability LibraryFunction_StateMutability_StateMutability_MAX = LibraryFunction_StateMutability_NONPAYABLE; -constexpr int LibraryFunction_StateMutability_StateMutability_ARRAYSIZE = LibraryFunction_StateMutability_StateMutability_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LibraryFunction_StateMutability_descriptor(); -template -inline const std::string& LibraryFunction_StateMutability_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function LibraryFunction_StateMutability_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - LibraryFunction_StateMutability_descriptor(), enum_t_value); -} -inline bool LibraryFunction_StateMutability_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LibraryFunction_StateMutability* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - LibraryFunction_StateMutability_descriptor(), name, value); -} -enum LibraryFunction_Visibility : int { - LibraryFunction_Visibility_PUBLIC = 0, - LibraryFunction_Visibility_EXTERNAL = 1, - LibraryFunction_Visibility_INTERNAL = 2, - LibraryFunction_Visibility_PRIVATE = 3 -}; -bool LibraryFunction_Visibility_IsValid(int value); -constexpr LibraryFunction_Visibility LibraryFunction_Visibility_Visibility_MIN = LibraryFunction_Visibility_PUBLIC; -constexpr LibraryFunction_Visibility LibraryFunction_Visibility_Visibility_MAX = LibraryFunction_Visibility_PRIVATE; -constexpr int LibraryFunction_Visibility_Visibility_ARRAYSIZE = LibraryFunction_Visibility_Visibility_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LibraryFunction_Visibility_descriptor(); -template -inline const std::string& LibraryFunction_Visibility_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function LibraryFunction_Visibility_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - LibraryFunction_Visibility_descriptor(), enum_t_value); -} -inline bool LibraryFunction_Visibility_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LibraryFunction_Visibility* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - LibraryFunction_Visibility_descriptor(), name, value); -} -enum ContractFunction_StateMutability : int { - ContractFunction_StateMutability_PURE = 0, - ContractFunction_StateMutability_VIEW = 1, - ContractFunction_StateMutability_PAYABLE = 2, - ContractFunction_StateMutability_NONPAYABLE = 3 -}; -bool ContractFunction_StateMutability_IsValid(int value); -constexpr ContractFunction_StateMutability ContractFunction_StateMutability_StateMutability_MIN = ContractFunction_StateMutability_PURE; -constexpr ContractFunction_StateMutability ContractFunction_StateMutability_StateMutability_MAX = ContractFunction_StateMutability_NONPAYABLE; -constexpr int ContractFunction_StateMutability_StateMutability_ARRAYSIZE = ContractFunction_StateMutability_StateMutability_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContractFunction_StateMutability_descriptor(); -template -inline const std::string& ContractFunction_StateMutability_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ContractFunction_StateMutability_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ContractFunction_StateMutability_descriptor(), enum_t_value); -} -inline bool ContractFunction_StateMutability_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContractFunction_StateMutability* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ContractFunction_StateMutability_descriptor(), name, value); -} -enum ContractFunction_Visibility : int { - ContractFunction_Visibility_PUBLIC = 0, - ContractFunction_Visibility_EXTERNAL = 1, - ContractFunction_Visibility_INTERNAL = 2, - ContractFunction_Visibility_PRIVATE = 3 -}; -bool ContractFunction_Visibility_IsValid(int value); -constexpr ContractFunction_Visibility ContractFunction_Visibility_Visibility_MIN = ContractFunction_Visibility_PUBLIC; -constexpr ContractFunction_Visibility ContractFunction_Visibility_Visibility_MAX = ContractFunction_Visibility_PRIVATE; -constexpr int ContractFunction_Visibility_Visibility_ARRAYSIZE = ContractFunction_Visibility_Visibility_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContractFunction_Visibility_descriptor(); -template -inline const std::string& ContractFunction_Visibility_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ContractFunction_Visibility_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ContractFunction_Visibility_descriptor(), enum_t_value); -} -inline bool ContractFunction_Visibility_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContractFunction_Visibility* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ContractFunction_Visibility_descriptor(), name, value); -} -enum TestContract_Type : int { - TestContract_Type_LIBRARY = 0, - TestContract_Type_CONTRACT = 1 -}; -bool TestContract_Type_IsValid(int value); -constexpr TestContract_Type TestContract_Type_Type_MIN = TestContract_Type_LIBRARY; -constexpr TestContract_Type TestContract_Type_Type_MAX = TestContract_Type_CONTRACT; -constexpr int TestContract_Type_Type_ARRAYSIZE = TestContract_Type_Type_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TestContract_Type_descriptor(); -template -inline const std::string& TestContract_Type_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function TestContract_Type_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - TestContract_Type_descriptor(), enum_t_value); -} -inline bool TestContract_Type_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TestContract_Type* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - TestContract_Type_descriptor(), name, value); -} -// =================================================================== - -class InterfaceFunction final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.InterfaceFunction) */ { - public: - inline InterfaceFunction() : InterfaceFunction(nullptr) {} - ~InterfaceFunction() override; - explicit PROTOBUF_CONSTEXPR InterfaceFunction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - InterfaceFunction(const InterfaceFunction& from); - InterfaceFunction(InterfaceFunction&& from) noexcept - : InterfaceFunction() { - *this = ::std::move(from); - } - - inline InterfaceFunction& operator=(const InterfaceFunction& from) { - CopyFrom(from); - return *this; - } - inline InterfaceFunction& operator=(InterfaceFunction&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const InterfaceFunction& default_instance() { - return *internal_default_instance(); - } - static inline const InterfaceFunction* internal_default_instance() { - return reinterpret_cast( - &_InterfaceFunction_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(InterfaceFunction& a, InterfaceFunction& b) { - a.Swap(&b); - } - inline void Swap(InterfaceFunction* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(InterfaceFunction* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - InterfaceFunction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const InterfaceFunction& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const InterfaceFunction& from) { - InterfaceFunction::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(InterfaceFunction* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solprotofuzzer.InterfaceFunction"; - } - protected: - explicit InterfaceFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef InterfaceFunction_StateMutability StateMutability; - static constexpr StateMutability PURE = - InterfaceFunction_StateMutability_PURE; - static constexpr StateMutability VIEW = - InterfaceFunction_StateMutability_VIEW; - static constexpr StateMutability PAYABLE = - InterfaceFunction_StateMutability_PAYABLE; - static constexpr StateMutability NONPAYABLE = - InterfaceFunction_StateMutability_NONPAYABLE; - static inline bool StateMutability_IsValid(int value) { - return InterfaceFunction_StateMutability_IsValid(value); - } - static constexpr StateMutability StateMutability_MIN = - InterfaceFunction_StateMutability_StateMutability_MIN; - static constexpr StateMutability StateMutability_MAX = - InterfaceFunction_StateMutability_StateMutability_MAX; - static constexpr int StateMutability_ARRAYSIZE = - InterfaceFunction_StateMutability_StateMutability_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - StateMutability_descriptor() { - return InterfaceFunction_StateMutability_descriptor(); - } - template - static inline const std::string& StateMutability_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function StateMutability_Name."); - return InterfaceFunction_StateMutability_Name(enum_t_value); - } - static inline bool StateMutability_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - StateMutability* value) { - return InterfaceFunction_StateMutability_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kMutFieldNumber = 1, - }; - // required .solidity.test.solprotofuzzer.InterfaceFunction.StateMutability mut = 1; - bool has_mut() const; - private: - bool _internal_has_mut() const; - public: - void clear_mut(); - ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability mut() const; - void set_mut(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability value); - private: - ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability _internal_mut() const; - void _internal_set_mut(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.InterfaceFunction) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int mut_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solProto_2eproto; -}; -// ------------------------------------------------------------------- - -class LibraryFunction final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.LibraryFunction) */ { - public: - inline LibraryFunction() : LibraryFunction(nullptr) {} - ~LibraryFunction() override; - explicit PROTOBUF_CONSTEXPR LibraryFunction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - LibraryFunction(const LibraryFunction& from); - LibraryFunction(LibraryFunction&& from) noexcept - : LibraryFunction() { - *this = ::std::move(from); - } - - inline LibraryFunction& operator=(const LibraryFunction& from) { - CopyFrom(from); - return *this; - } - inline LibraryFunction& operator=(LibraryFunction&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const LibraryFunction& default_instance() { - return *internal_default_instance(); - } - static inline const LibraryFunction* internal_default_instance() { - return reinterpret_cast( - &_LibraryFunction_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(LibraryFunction& a, LibraryFunction& b) { - a.Swap(&b); - } - inline void Swap(LibraryFunction* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(LibraryFunction* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - LibraryFunction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const LibraryFunction& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const LibraryFunction& from) { - LibraryFunction::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(LibraryFunction* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solprotofuzzer.LibraryFunction"; - } - protected: - explicit LibraryFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef LibraryFunction_StateMutability StateMutability; - static constexpr StateMutability PURE = - LibraryFunction_StateMutability_PURE; - static constexpr StateMutability VIEW = - LibraryFunction_StateMutability_VIEW; - static constexpr StateMutability NONPAYABLE = - LibraryFunction_StateMutability_NONPAYABLE; - static inline bool StateMutability_IsValid(int value) { - return LibraryFunction_StateMutability_IsValid(value); - } - static constexpr StateMutability StateMutability_MIN = - LibraryFunction_StateMutability_StateMutability_MIN; - static constexpr StateMutability StateMutability_MAX = - LibraryFunction_StateMutability_StateMutability_MAX; - static constexpr int StateMutability_ARRAYSIZE = - LibraryFunction_StateMutability_StateMutability_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - StateMutability_descriptor() { - return LibraryFunction_StateMutability_descriptor(); - } - template - static inline const std::string& StateMutability_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function StateMutability_Name."); - return LibraryFunction_StateMutability_Name(enum_t_value); - } - static inline bool StateMutability_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - StateMutability* value) { - return LibraryFunction_StateMutability_Parse(name, value); - } - - typedef LibraryFunction_Visibility Visibility; - static constexpr Visibility PUBLIC = - LibraryFunction_Visibility_PUBLIC; - static constexpr Visibility EXTERNAL = - LibraryFunction_Visibility_EXTERNAL; - static constexpr Visibility INTERNAL = - LibraryFunction_Visibility_INTERNAL; - static constexpr Visibility PRIVATE = - LibraryFunction_Visibility_PRIVATE; - static inline bool Visibility_IsValid(int value) { - return LibraryFunction_Visibility_IsValid(value); - } - static constexpr Visibility Visibility_MIN = - LibraryFunction_Visibility_Visibility_MIN; - static constexpr Visibility Visibility_MAX = - LibraryFunction_Visibility_Visibility_MAX; - static constexpr int Visibility_ARRAYSIZE = - LibraryFunction_Visibility_Visibility_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Visibility_descriptor() { - return LibraryFunction_Visibility_descriptor(); - } - template - static inline const std::string& Visibility_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Visibility_Name."); - return LibraryFunction_Visibility_Name(enum_t_value); - } - static inline bool Visibility_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Visibility* value) { - return LibraryFunction_Visibility_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kVisFieldNumber = 1, - kMutFieldNumber = 2, - }; - // required .solidity.test.solprotofuzzer.LibraryFunction.Visibility vis = 1; - bool has_vis() const; - private: - bool _internal_has_vis() const; - public: - void clear_vis(); - ::solidity::test::solprotofuzzer::LibraryFunction_Visibility vis() const; - void set_vis(::solidity::test::solprotofuzzer::LibraryFunction_Visibility value); - private: - ::solidity::test::solprotofuzzer::LibraryFunction_Visibility _internal_vis() const; - void _internal_set_vis(::solidity::test::solprotofuzzer::LibraryFunction_Visibility value); - public: - - // required .solidity.test.solprotofuzzer.LibraryFunction.StateMutability mut = 2; - bool has_mut() const; - private: - bool _internal_has_mut() const; - public: - void clear_mut(); - ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability mut() const; - void set_mut(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability value); - private: - ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability _internal_mut() const; - void _internal_set_mut(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.LibraryFunction) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int vis_; - int mut_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solProto_2eproto; -}; -// ------------------------------------------------------------------- - -class ContractFunction final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.ContractFunction) */ { - public: - inline ContractFunction() : ContractFunction(nullptr) {} - ~ContractFunction() override; - explicit PROTOBUF_CONSTEXPR ContractFunction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ContractFunction(const ContractFunction& from); - ContractFunction(ContractFunction&& from) noexcept - : ContractFunction() { - *this = ::std::move(from); - } - - inline ContractFunction& operator=(const ContractFunction& from) { - CopyFrom(from); - return *this; - } - inline ContractFunction& operator=(ContractFunction&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ContractFunction& default_instance() { - return *internal_default_instance(); - } - static inline const ContractFunction* internal_default_instance() { - return reinterpret_cast( - &_ContractFunction_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(ContractFunction& a, ContractFunction& b) { - a.Swap(&b); - } - inline void Swap(ContractFunction* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ContractFunction* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ContractFunction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ContractFunction& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ContractFunction& from) { - ContractFunction::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ContractFunction* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solprotofuzzer.ContractFunction"; - } - protected: - explicit ContractFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef ContractFunction_StateMutability StateMutability; - static constexpr StateMutability PURE = - ContractFunction_StateMutability_PURE; - static constexpr StateMutability VIEW = - ContractFunction_StateMutability_VIEW; - static constexpr StateMutability PAYABLE = - ContractFunction_StateMutability_PAYABLE; - static constexpr StateMutability NONPAYABLE = - ContractFunction_StateMutability_NONPAYABLE; - static inline bool StateMutability_IsValid(int value) { - return ContractFunction_StateMutability_IsValid(value); - } - static constexpr StateMutability StateMutability_MIN = - ContractFunction_StateMutability_StateMutability_MIN; - static constexpr StateMutability StateMutability_MAX = - ContractFunction_StateMutability_StateMutability_MAX; - static constexpr int StateMutability_ARRAYSIZE = - ContractFunction_StateMutability_StateMutability_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - StateMutability_descriptor() { - return ContractFunction_StateMutability_descriptor(); - } - template - static inline const std::string& StateMutability_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function StateMutability_Name."); - return ContractFunction_StateMutability_Name(enum_t_value); - } - static inline bool StateMutability_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - StateMutability* value) { - return ContractFunction_StateMutability_Parse(name, value); - } - - typedef ContractFunction_Visibility Visibility; - static constexpr Visibility PUBLIC = - ContractFunction_Visibility_PUBLIC; - static constexpr Visibility EXTERNAL = - ContractFunction_Visibility_EXTERNAL; - static constexpr Visibility INTERNAL = - ContractFunction_Visibility_INTERNAL; - static constexpr Visibility PRIVATE = - ContractFunction_Visibility_PRIVATE; - static inline bool Visibility_IsValid(int value) { - return ContractFunction_Visibility_IsValid(value); - } - static constexpr Visibility Visibility_MIN = - ContractFunction_Visibility_Visibility_MIN; - static constexpr Visibility Visibility_MAX = - ContractFunction_Visibility_Visibility_MAX; - static constexpr int Visibility_ARRAYSIZE = - ContractFunction_Visibility_Visibility_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Visibility_descriptor() { - return ContractFunction_Visibility_descriptor(); - } - template - static inline const std::string& Visibility_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Visibility_Name."); - return ContractFunction_Visibility_Name(enum_t_value); - } - static inline bool Visibility_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Visibility* value) { - return ContractFunction_Visibility_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kVisFieldNumber = 1, - kMutFieldNumber = 2, - kVirtualfuncFieldNumber = 3, - }; - // required .solidity.test.solprotofuzzer.ContractFunction.Visibility vis = 1; - bool has_vis() const; - private: - bool _internal_has_vis() const; - public: - void clear_vis(); - ::solidity::test::solprotofuzzer::ContractFunction_Visibility vis() const; - void set_vis(::solidity::test::solprotofuzzer::ContractFunction_Visibility value); - private: - ::solidity::test::solprotofuzzer::ContractFunction_Visibility _internal_vis() const; - void _internal_set_vis(::solidity::test::solprotofuzzer::ContractFunction_Visibility value); - public: - - // required .solidity.test.solprotofuzzer.ContractFunction.StateMutability mut = 2; - bool has_mut() const; - private: - bool _internal_has_mut() const; - public: - void clear_mut(); - ::solidity::test::solprotofuzzer::ContractFunction_StateMutability mut() const; - void set_mut(::solidity::test::solprotofuzzer::ContractFunction_StateMutability value); - private: - ::solidity::test::solprotofuzzer::ContractFunction_StateMutability _internal_mut() const; - void _internal_set_mut(::solidity::test::solprotofuzzer::ContractFunction_StateMutability value); - public: - - // required bool virtualfunc = 3; - bool has_virtualfunc() const; - private: - bool _internal_has_virtualfunc() const; - public: - void clear_virtualfunc(); - bool virtualfunc() const; - void set_virtualfunc(bool value); - private: - bool _internal_virtualfunc() const; - void _internal_set_virtualfunc(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.ContractFunction) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int vis_; - int mut_; - bool virtualfunc_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Library final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.Library) */ { - public: - inline Library() : Library(nullptr) {} - ~Library() override; - explicit PROTOBUF_CONSTEXPR Library(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Library(const Library& from); - Library(Library&& from) noexcept - : Library() { - *this = ::std::move(from); - } - - inline Library& operator=(const Library& from) { - CopyFrom(from); - return *this; - } - inline Library& operator=(Library&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Library& default_instance() { - return *internal_default_instance(); - } - static inline const Library* internal_default_instance() { - return reinterpret_cast( - &_Library_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(Library& a, Library& b) { - a.Swap(&b); - } - inline void Swap(Library* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Library* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Library* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Library& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Library& from) { - Library::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Library* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solprotofuzzer.Library"; - } - protected: - explicit Library(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFuncdefFieldNumber = 1, - }; - // repeated .solidity.test.solprotofuzzer.LibraryFunction funcdef = 1; - int funcdef_size() const; - private: - int _internal_funcdef_size() const; - public: - void clear_funcdef(); - ::solidity::test::solprotofuzzer::LibraryFunction* mutable_funcdef(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::LibraryFunction >* - mutable_funcdef(); - private: - const ::solidity::test::solprotofuzzer::LibraryFunction& _internal_funcdef(int index) const; - ::solidity::test::solprotofuzzer::LibraryFunction* _internal_add_funcdef(); - public: - const ::solidity::test::solprotofuzzer::LibraryFunction& funcdef(int index) const; - ::solidity::test::solprotofuzzer::LibraryFunction* add_funcdef(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::LibraryFunction >& - funcdef() const; - - // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.Library) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::LibraryFunction > funcdef_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Interface final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.Interface) */ { - public: - inline Interface() : Interface(nullptr) {} - ~Interface() override; - explicit PROTOBUF_CONSTEXPR Interface(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Interface(const Interface& from); - Interface(Interface&& from) noexcept - : Interface() { - *this = ::std::move(from); - } - - inline Interface& operator=(const Interface& from) { - CopyFrom(from); - return *this; - } - inline Interface& operator=(Interface&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Interface& default_instance() { - return *internal_default_instance(); - } - static inline const Interface* internal_default_instance() { - return reinterpret_cast( - &_Interface_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(Interface& a, Interface& b) { - a.Swap(&b); - } - inline void Swap(Interface* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Interface* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Interface* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Interface& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Interface& from) { - Interface::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Interface* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solprotofuzzer.Interface"; - } - protected: - explicit Interface(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFuncdefFieldNumber = 1, - kBasesFieldNumber = 2, - }; - // repeated .solidity.test.solprotofuzzer.InterfaceFunction funcdef = 1; - int funcdef_size() const; - private: - int _internal_funcdef_size() const; - public: - void clear_funcdef(); - ::solidity::test::solprotofuzzer::InterfaceFunction* mutable_funcdef(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::InterfaceFunction >* - mutable_funcdef(); - private: - const ::solidity::test::solprotofuzzer::InterfaceFunction& _internal_funcdef(int index) const; - ::solidity::test::solprotofuzzer::InterfaceFunction* _internal_add_funcdef(); - public: - const ::solidity::test::solprotofuzzer::InterfaceFunction& funcdef(int index) const; - ::solidity::test::solprotofuzzer::InterfaceFunction* add_funcdef(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::InterfaceFunction >& - funcdef() const; - - // repeated .solidity.test.solprotofuzzer.Interface bases = 2; - int bases_size() const; - private: - int _internal_bases_size() const; - public: - void clear_bases(); - ::solidity::test::solprotofuzzer::Interface* mutable_bases(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::Interface >* - mutable_bases(); - private: - const ::solidity::test::solprotofuzzer::Interface& _internal_bases(int index) const; - ::solidity::test::solprotofuzzer::Interface* _internal_add_bases(); - public: - const ::solidity::test::solprotofuzzer::Interface& bases(int index) const; - ::solidity::test::solprotofuzzer::Interface* add_bases(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::Interface >& - bases() const; - - // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.Interface) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::InterfaceFunction > funcdef_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::Interface > bases_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Contract final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.Contract) */ { - public: - inline Contract() : Contract(nullptr) {} - ~Contract() override; - explicit PROTOBUF_CONSTEXPR Contract(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Contract(const Contract& from); - Contract(Contract&& from) noexcept - : Contract() { - *this = ::std::move(from); - } - - inline Contract& operator=(const Contract& from) { - CopyFrom(from); - return *this; - } - inline Contract& operator=(Contract&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Contract& default_instance() { - return *internal_default_instance(); - } - static inline const Contract* internal_default_instance() { - return reinterpret_cast( - &_Contract_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(Contract& a, Contract& b) { - a.Swap(&b); - } - inline void Swap(Contract* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Contract* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Contract* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Contract& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Contract& from) { - Contract::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Contract* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solprotofuzzer.Contract"; - } - protected: - explicit Contract(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFuncdefFieldNumber = 1, - kBasesFieldNumber = 3, - kAbstractFieldNumber = 2, - }; - // repeated .solidity.test.solprotofuzzer.ContractFunction funcdef = 1; - int funcdef_size() const; - private: - int _internal_funcdef_size() const; - public: - void clear_funcdef(); - ::solidity::test::solprotofuzzer::ContractFunction* mutable_funcdef(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractFunction >* - mutable_funcdef(); - private: - const ::solidity::test::solprotofuzzer::ContractFunction& _internal_funcdef(int index) const; - ::solidity::test::solprotofuzzer::ContractFunction* _internal_add_funcdef(); - public: - const ::solidity::test::solprotofuzzer::ContractFunction& funcdef(int index) const; - ::solidity::test::solprotofuzzer::ContractFunction* add_funcdef(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractFunction >& - funcdef() const; - - // repeated .solidity.test.solprotofuzzer.ContractOrInterface bases = 3; - int bases_size() const; - private: - int _internal_bases_size() const; - public: - void clear_bases(); - ::solidity::test::solprotofuzzer::ContractOrInterface* mutable_bases(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractOrInterface >* - mutable_bases(); - private: - const ::solidity::test::solprotofuzzer::ContractOrInterface& _internal_bases(int index) const; - ::solidity::test::solprotofuzzer::ContractOrInterface* _internal_add_bases(); - public: - const ::solidity::test::solprotofuzzer::ContractOrInterface& bases(int index) const; - ::solidity::test::solprotofuzzer::ContractOrInterface* add_bases(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractOrInterface >& - bases() const; - - // required bool abstract = 2; - bool has_abstract() const; - private: - bool _internal_has_abstract() const; - public: - void clear_abstract(); - bool abstract() const; - void set_abstract(bool value); - private: - bool _internal_abstract() const; - void _internal_set_abstract(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.Contract) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractFunction > funcdef_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractOrInterface > bases_; - bool abstract_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solProto_2eproto; -}; -// ------------------------------------------------------------------- - -class ContractOrInterface final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.ContractOrInterface) */ { - public: - inline ContractOrInterface() : ContractOrInterface(nullptr) {} - ~ContractOrInterface() override; - explicit PROTOBUF_CONSTEXPR ContractOrInterface(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ContractOrInterface(const ContractOrInterface& from); - ContractOrInterface(ContractOrInterface&& from) noexcept - : ContractOrInterface() { - *this = ::std::move(from); - } - - inline ContractOrInterface& operator=(const ContractOrInterface& from) { - CopyFrom(from); - return *this; - } - inline ContractOrInterface& operator=(ContractOrInterface&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ContractOrInterface& default_instance() { - return *internal_default_instance(); - } - enum ContractOrInterfaceOneofCase { - kC = 1, - kI = 2, - CONTRACT_OR_INTERFACE_ONEOF_NOT_SET = 0, - }; - - static inline const ContractOrInterface* internal_default_instance() { - return reinterpret_cast( - &_ContractOrInterface_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(ContractOrInterface& a, ContractOrInterface& b) { - a.Swap(&b); - } - inline void Swap(ContractOrInterface* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ContractOrInterface* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ContractOrInterface* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ContractOrInterface& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ContractOrInterface& from) { - ContractOrInterface::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ContractOrInterface* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solprotofuzzer.ContractOrInterface"; - } - protected: - explicit ContractOrInterface(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCFieldNumber = 1, - kIFieldNumber = 2, - }; - // .solidity.test.solprotofuzzer.Contract c = 1; - bool has_c() const; - private: - bool _internal_has_c() const; - public: - void clear_c(); - const ::solidity::test::solprotofuzzer::Contract& c() const; - PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::Contract* release_c(); - ::solidity::test::solprotofuzzer::Contract* mutable_c(); - void set_allocated_c(::solidity::test::solprotofuzzer::Contract* c); - private: - const ::solidity::test::solprotofuzzer::Contract& _internal_c() const; - ::solidity::test::solprotofuzzer::Contract* _internal_mutable_c(); - public: - void unsafe_arena_set_allocated_c( - ::solidity::test::solprotofuzzer::Contract* c); - ::solidity::test::solprotofuzzer::Contract* unsafe_arena_release_c(); - - // .solidity.test.solprotofuzzer.Interface i = 2; - bool has_i() const; - private: - bool _internal_has_i() const; - public: - void clear_i(); - const ::solidity::test::solprotofuzzer::Interface& i() const; - PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::Interface* release_i(); - ::solidity::test::solprotofuzzer::Interface* mutable_i(); - void set_allocated_i(::solidity::test::solprotofuzzer::Interface* i); - private: - const ::solidity::test::solprotofuzzer::Interface& _internal_i() const; - ::solidity::test::solprotofuzzer::Interface* _internal_mutable_i(); - public: - void unsafe_arena_set_allocated_i( - ::solidity::test::solprotofuzzer::Interface* i); - ::solidity::test::solprotofuzzer::Interface* unsafe_arena_release_i(); - - void clear_contract_or_interface_oneof(); - ContractOrInterfaceOneofCase contract_or_interface_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.ContractOrInterface) - private: - class _Internal; - void set_has_c(); - void set_has_i(); - - inline bool has_contract_or_interface_oneof() const; - inline void clear_has_contract_or_interface_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union ContractOrInterfaceOneofUnion { - constexpr ContractOrInterfaceOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::solprotofuzzer::Contract* c_; - ::solidity::test::solprotofuzzer::Interface* i_; - } contract_or_interface_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solProto_2eproto; -}; -// ------------------------------------------------------------------- - -class ContractType final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.ContractType) */ { - public: - inline ContractType() : ContractType(nullptr) {} - ~ContractType() override; - explicit PROTOBUF_CONSTEXPR ContractType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ContractType(const ContractType& from); - ContractType(ContractType&& from) noexcept - : ContractType() { - *this = ::std::move(from); - } - - inline ContractType& operator=(const ContractType& from) { - CopyFrom(from); - return *this; - } - inline ContractType& operator=(ContractType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ContractType& default_instance() { - return *internal_default_instance(); - } - enum ContractTypeOneofCase { - kC = 1, - kL = 2, - kI = 3, - CONTRACT_TYPE_ONEOF_NOT_SET = 0, - }; - - static inline const ContractType* internal_default_instance() { - return reinterpret_cast( - &_ContractType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(ContractType& a, ContractType& b) { - a.Swap(&b); - } - inline void Swap(ContractType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ContractType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ContractType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ContractType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ContractType& from) { - ContractType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ContractType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solprotofuzzer.ContractType"; - } - protected: - explicit ContractType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCFieldNumber = 1, - kLFieldNumber = 2, - kIFieldNumber = 3, - }; - // .solidity.test.solprotofuzzer.Contract c = 1; - bool has_c() const; - private: - bool _internal_has_c() const; - public: - void clear_c(); - const ::solidity::test::solprotofuzzer::Contract& c() const; - PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::Contract* release_c(); - ::solidity::test::solprotofuzzer::Contract* mutable_c(); - void set_allocated_c(::solidity::test::solprotofuzzer::Contract* c); - private: - const ::solidity::test::solprotofuzzer::Contract& _internal_c() const; - ::solidity::test::solprotofuzzer::Contract* _internal_mutable_c(); - public: - void unsafe_arena_set_allocated_c( - ::solidity::test::solprotofuzzer::Contract* c); - ::solidity::test::solprotofuzzer::Contract* unsafe_arena_release_c(); - - // .solidity.test.solprotofuzzer.Library l = 2; - bool has_l() const; - private: - bool _internal_has_l() const; - public: - void clear_l(); - const ::solidity::test::solprotofuzzer::Library& l() const; - PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::Library* release_l(); - ::solidity::test::solprotofuzzer::Library* mutable_l(); - void set_allocated_l(::solidity::test::solprotofuzzer::Library* l); - private: - const ::solidity::test::solprotofuzzer::Library& _internal_l() const; - ::solidity::test::solprotofuzzer::Library* _internal_mutable_l(); - public: - void unsafe_arena_set_allocated_l( - ::solidity::test::solprotofuzzer::Library* l); - ::solidity::test::solprotofuzzer::Library* unsafe_arena_release_l(); - - // .solidity.test.solprotofuzzer.Interface i = 3; - bool has_i() const; - private: - bool _internal_has_i() const; - public: - void clear_i(); - const ::solidity::test::solprotofuzzer::Interface& i() const; - PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::Interface* release_i(); - ::solidity::test::solprotofuzzer::Interface* mutable_i(); - void set_allocated_i(::solidity::test::solprotofuzzer::Interface* i); - private: - const ::solidity::test::solprotofuzzer::Interface& _internal_i() const; - ::solidity::test::solprotofuzzer::Interface* _internal_mutable_i(); - public: - void unsafe_arena_set_allocated_i( - ::solidity::test::solprotofuzzer::Interface* i); - ::solidity::test::solprotofuzzer::Interface* unsafe_arena_release_i(); - - void clear_contract_type_oneof(); - ContractTypeOneofCase contract_type_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.ContractType) - private: - class _Internal; - void set_has_c(); - void set_has_l(); - void set_has_i(); - - inline bool has_contract_type_oneof() const; - inline void clear_has_contract_type_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union ContractTypeOneofUnion { - constexpr ContractTypeOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::test::solprotofuzzer::Contract* c_; - ::solidity::test::solprotofuzzer::Library* l_; - ::solidity::test::solprotofuzzer::Interface* i_; - } contract_type_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solProto_2eproto; -}; -// ------------------------------------------------------------------- - -class TestContract final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.TestContract) */ { - public: - inline TestContract() : TestContract(nullptr) {} - ~TestContract() override; - explicit PROTOBUF_CONSTEXPR TestContract(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TestContract(const TestContract& from); - TestContract(TestContract&& from) noexcept - : TestContract() { - *this = ::std::move(from); - } - - inline TestContract& operator=(const TestContract& from) { - CopyFrom(from); - return *this; - } - inline TestContract& operator=(TestContract&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TestContract& default_instance() { - return *internal_default_instance(); - } - static inline const TestContract* internal_default_instance() { - return reinterpret_cast( - &_TestContract_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(TestContract& a, TestContract& b) { - a.Swap(&b); - } - inline void Swap(TestContract* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TestContract* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TestContract* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TestContract& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TestContract& from) { - TestContract::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TestContract* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solprotofuzzer.TestContract"; - } - protected: - explicit TestContract(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef TestContract_Type Type; - static constexpr Type LIBRARY = - TestContract_Type_LIBRARY; - static constexpr Type CONTRACT = - TestContract_Type_CONTRACT; - static inline bool Type_IsValid(int value) { - return TestContract_Type_IsValid(value); - } - static constexpr Type Type_MIN = - TestContract_Type_Type_MIN; - static constexpr Type Type_MAX = - TestContract_Type_Type_MAX; - static constexpr int Type_ARRAYSIZE = - TestContract_Type_Type_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Type_descriptor() { - return TestContract_Type_descriptor(); - } - template - static inline const std::string& Type_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Type_Name."); - return TestContract_Type_Name(enum_t_value); - } - static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Type* value) { - return TestContract_Type_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - }; - // required .solidity.test.solprotofuzzer.TestContract.Type type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - ::solidity::test::solprotofuzzer::TestContract_Type type() const; - void set_type(::solidity::test::solprotofuzzer::TestContract_Type value); - private: - ::solidity::test::solprotofuzzer::TestContract_Type _internal_type() const; - void _internal_set_type(::solidity::test::solprotofuzzer::TestContract_Type value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.TestContract) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Program final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.Program) */ { - public: - inline Program() : Program(nullptr) {} - ~Program() override; - explicit PROTOBUF_CONSTEXPR Program(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Program(const Program& from); - Program(Program&& from) noexcept - : Program() { - *this = ::std::move(from); - } - - inline Program& operator=(const Program& from) { - CopyFrom(from); - return *this; - } - inline Program& operator=(Program&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Program& default_instance() { - return *internal_default_instance(); - } - static inline const Program* internal_default_instance() { - return reinterpret_cast( - &_Program_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(Program& a, Program& b) { - a.Swap(&b); - } - inline void Swap(Program* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Program* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Program* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Program& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Program& from) { - Program::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Program* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solprotofuzzer.Program"; - } - protected: - explicit Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kContractsFieldNumber = 1, - kTestFieldNumber = 2, - kSeedFieldNumber = 3, - }; - // repeated .solidity.test.solprotofuzzer.ContractType contracts = 1; - int contracts_size() const; - private: - int _internal_contracts_size() const; - public: - void clear_contracts(); - ::solidity::test::solprotofuzzer::ContractType* mutable_contracts(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractType >* - mutable_contracts(); - private: - const ::solidity::test::solprotofuzzer::ContractType& _internal_contracts(int index) const; - ::solidity::test::solprotofuzzer::ContractType* _internal_add_contracts(); - public: - const ::solidity::test::solprotofuzzer::ContractType& contracts(int index) const; - ::solidity::test::solprotofuzzer::ContractType* add_contracts(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractType >& - contracts() const; - - // required .solidity.test.solprotofuzzer.TestContract test = 2; - bool has_test() const; - private: - bool _internal_has_test() const; - public: - void clear_test(); - const ::solidity::test::solprotofuzzer::TestContract& test() const; - PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::TestContract* release_test(); - ::solidity::test::solprotofuzzer::TestContract* mutable_test(); - void set_allocated_test(::solidity::test::solprotofuzzer::TestContract* test); - private: - const ::solidity::test::solprotofuzzer::TestContract& _internal_test() const; - ::solidity::test::solprotofuzzer::TestContract* _internal_mutable_test(); - public: - void unsafe_arena_set_allocated_test( - ::solidity::test::solprotofuzzer::TestContract* test); - ::solidity::test::solprotofuzzer::TestContract* unsafe_arena_release_test(); - - // required uint64 seed = 3; - bool has_seed() const; - private: - bool _internal_has_seed() const; - public: - void clear_seed(); - uint64_t seed() const; - void set_seed(uint64_t value); - private: - uint64_t _internal_seed() const; - void _internal_set_seed(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.Program) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractType > contracts_; - ::solidity::test::solprotofuzzer::TestContract* test_; - uint64_t seed_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solProto_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// InterfaceFunction - -// required .solidity.test.solprotofuzzer.InterfaceFunction.StateMutability mut = 1; -inline bool InterfaceFunction::_internal_has_mut() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool InterfaceFunction::has_mut() const { - return _internal_has_mut(); -} -inline void InterfaceFunction::clear_mut() { - _impl_.mut_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability InterfaceFunction::_internal_mut() const { - return static_cast< ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability >(_impl_.mut_); -} -inline ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability InterfaceFunction::mut() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.InterfaceFunction.mut) - return _internal_mut(); -} -inline void InterfaceFunction::_internal_set_mut(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability value) { - assert(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.mut_ = value; -} -inline void InterfaceFunction::set_mut(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability value) { - _internal_set_mut(value); - // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.InterfaceFunction.mut) -} - -// ------------------------------------------------------------------- - -// LibraryFunction - -// required .solidity.test.solprotofuzzer.LibraryFunction.Visibility vis = 1; -inline bool LibraryFunction::_internal_has_vis() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool LibraryFunction::has_vis() const { - return _internal_has_vis(); -} -inline void LibraryFunction::clear_vis() { - _impl_.vis_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::solprotofuzzer::LibraryFunction_Visibility LibraryFunction::_internal_vis() const { - return static_cast< ::solidity::test::solprotofuzzer::LibraryFunction_Visibility >(_impl_.vis_); -} -inline ::solidity::test::solprotofuzzer::LibraryFunction_Visibility LibraryFunction::vis() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.LibraryFunction.vis) - return _internal_vis(); -} -inline void LibraryFunction::_internal_set_vis(::solidity::test::solprotofuzzer::LibraryFunction_Visibility value) { - assert(::solidity::test::solprotofuzzer::LibraryFunction_Visibility_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.vis_ = value; -} -inline void LibraryFunction::set_vis(::solidity::test::solprotofuzzer::LibraryFunction_Visibility value) { - _internal_set_vis(value); - // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.LibraryFunction.vis) -} - -// required .solidity.test.solprotofuzzer.LibraryFunction.StateMutability mut = 2; -inline bool LibraryFunction::_internal_has_mut() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool LibraryFunction::has_mut() const { - return _internal_has_mut(); -} -inline void LibraryFunction::clear_mut() { - _impl_.mut_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability LibraryFunction::_internal_mut() const { - return static_cast< ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability >(_impl_.mut_); -} -inline ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability LibraryFunction::mut() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.LibraryFunction.mut) - return _internal_mut(); -} -inline void LibraryFunction::_internal_set_mut(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability value) { - assert(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.mut_ = value; -} -inline void LibraryFunction::set_mut(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability value) { - _internal_set_mut(value); - // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.LibraryFunction.mut) -} - -// ------------------------------------------------------------------- - -// ContractFunction - -// required .solidity.test.solprotofuzzer.ContractFunction.Visibility vis = 1; -inline bool ContractFunction::_internal_has_vis() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ContractFunction::has_vis() const { - return _internal_has_vis(); -} -inline void ContractFunction::clear_vis() { - _impl_.vis_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::solprotofuzzer::ContractFunction_Visibility ContractFunction::_internal_vis() const { - return static_cast< ::solidity::test::solprotofuzzer::ContractFunction_Visibility >(_impl_.vis_); -} -inline ::solidity::test::solprotofuzzer::ContractFunction_Visibility ContractFunction::vis() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractFunction.vis) - return _internal_vis(); -} -inline void ContractFunction::_internal_set_vis(::solidity::test::solprotofuzzer::ContractFunction_Visibility value) { - assert(::solidity::test::solprotofuzzer::ContractFunction_Visibility_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.vis_ = value; -} -inline void ContractFunction::set_vis(::solidity::test::solprotofuzzer::ContractFunction_Visibility value) { - _internal_set_vis(value); - // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.ContractFunction.vis) -} - -// required .solidity.test.solprotofuzzer.ContractFunction.StateMutability mut = 2; -inline bool ContractFunction::_internal_has_mut() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ContractFunction::has_mut() const { - return _internal_has_mut(); -} -inline void ContractFunction::clear_mut() { - _impl_.mut_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::test::solprotofuzzer::ContractFunction_StateMutability ContractFunction::_internal_mut() const { - return static_cast< ::solidity::test::solprotofuzzer::ContractFunction_StateMutability >(_impl_.mut_); -} -inline ::solidity::test::solprotofuzzer::ContractFunction_StateMutability ContractFunction::mut() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractFunction.mut) - return _internal_mut(); -} -inline void ContractFunction::_internal_set_mut(::solidity::test::solprotofuzzer::ContractFunction_StateMutability value) { - assert(::solidity::test::solprotofuzzer::ContractFunction_StateMutability_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.mut_ = value; -} -inline void ContractFunction::set_mut(::solidity::test::solprotofuzzer::ContractFunction_StateMutability value) { - _internal_set_mut(value); - // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.ContractFunction.mut) -} - -// required bool virtualfunc = 3; -inline bool ContractFunction::_internal_has_virtualfunc() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool ContractFunction::has_virtualfunc() const { - return _internal_has_virtualfunc(); -} -inline void ContractFunction::clear_virtualfunc() { - _impl_.virtualfunc_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool ContractFunction::_internal_virtualfunc() const { - return _impl_.virtualfunc_; -} -inline bool ContractFunction::virtualfunc() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractFunction.virtualfunc) - return _internal_virtualfunc(); -} -inline void ContractFunction::_internal_set_virtualfunc(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.virtualfunc_ = value; -} -inline void ContractFunction::set_virtualfunc(bool value) { - _internal_set_virtualfunc(value); - // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.ContractFunction.virtualfunc) -} - -// ------------------------------------------------------------------- - -// Library - -// repeated .solidity.test.solprotofuzzer.LibraryFunction funcdef = 1; -inline int Library::_internal_funcdef_size() const { - return _impl_.funcdef_.size(); -} -inline int Library::funcdef_size() const { - return _internal_funcdef_size(); -} -inline void Library::clear_funcdef() { - _impl_.funcdef_.Clear(); -} -inline ::solidity::test::solprotofuzzer::LibraryFunction* Library::mutable_funcdef(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Library.funcdef) - return _impl_.funcdef_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::LibraryFunction >* -Library::mutable_funcdef() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Library.funcdef) - return &_impl_.funcdef_; -} -inline const ::solidity::test::solprotofuzzer::LibraryFunction& Library::_internal_funcdef(int index) const { - return _impl_.funcdef_.Get(index); -} -inline const ::solidity::test::solprotofuzzer::LibraryFunction& Library::funcdef(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Library.funcdef) - return _internal_funcdef(index); -} -inline ::solidity::test::solprotofuzzer::LibraryFunction* Library::_internal_add_funcdef() { - return _impl_.funcdef_.Add(); -} -inline ::solidity::test::solprotofuzzer::LibraryFunction* Library::add_funcdef() { - ::solidity::test::solprotofuzzer::LibraryFunction* _add = _internal_add_funcdef(); - // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Library.funcdef) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::LibraryFunction >& -Library::funcdef() const { - // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Library.funcdef) - return _impl_.funcdef_; -} - -// ------------------------------------------------------------------- - -// Interface - -// repeated .solidity.test.solprotofuzzer.InterfaceFunction funcdef = 1; -inline int Interface::_internal_funcdef_size() const { - return _impl_.funcdef_.size(); -} -inline int Interface::funcdef_size() const { - return _internal_funcdef_size(); -} -inline void Interface::clear_funcdef() { - _impl_.funcdef_.Clear(); -} -inline ::solidity::test::solprotofuzzer::InterfaceFunction* Interface::mutable_funcdef(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Interface.funcdef) - return _impl_.funcdef_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::InterfaceFunction >* -Interface::mutable_funcdef() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Interface.funcdef) - return &_impl_.funcdef_; -} -inline const ::solidity::test::solprotofuzzer::InterfaceFunction& Interface::_internal_funcdef(int index) const { - return _impl_.funcdef_.Get(index); -} -inline const ::solidity::test::solprotofuzzer::InterfaceFunction& Interface::funcdef(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Interface.funcdef) - return _internal_funcdef(index); -} -inline ::solidity::test::solprotofuzzer::InterfaceFunction* Interface::_internal_add_funcdef() { - return _impl_.funcdef_.Add(); -} -inline ::solidity::test::solprotofuzzer::InterfaceFunction* Interface::add_funcdef() { - ::solidity::test::solprotofuzzer::InterfaceFunction* _add = _internal_add_funcdef(); - // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Interface.funcdef) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::InterfaceFunction >& -Interface::funcdef() const { - // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Interface.funcdef) - return _impl_.funcdef_; -} - -// repeated .solidity.test.solprotofuzzer.Interface bases = 2; -inline int Interface::_internal_bases_size() const { - return _impl_.bases_.size(); -} -inline int Interface::bases_size() const { - return _internal_bases_size(); -} -inline void Interface::clear_bases() { - _impl_.bases_.Clear(); -} -inline ::solidity::test::solprotofuzzer::Interface* Interface::mutable_bases(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Interface.bases) - return _impl_.bases_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::Interface >* -Interface::mutable_bases() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Interface.bases) - return &_impl_.bases_; -} -inline const ::solidity::test::solprotofuzzer::Interface& Interface::_internal_bases(int index) const { - return _impl_.bases_.Get(index); -} -inline const ::solidity::test::solprotofuzzer::Interface& Interface::bases(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Interface.bases) - return _internal_bases(index); -} -inline ::solidity::test::solprotofuzzer::Interface* Interface::_internal_add_bases() { - return _impl_.bases_.Add(); -} -inline ::solidity::test::solprotofuzzer::Interface* Interface::add_bases() { - ::solidity::test::solprotofuzzer::Interface* _add = _internal_add_bases(); - // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Interface.bases) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::Interface >& -Interface::bases() const { - // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Interface.bases) - return _impl_.bases_; -} - -// ------------------------------------------------------------------- - -// Contract - -// repeated .solidity.test.solprotofuzzer.ContractFunction funcdef = 1; -inline int Contract::_internal_funcdef_size() const { - return _impl_.funcdef_.size(); -} -inline int Contract::funcdef_size() const { - return _internal_funcdef_size(); -} -inline void Contract::clear_funcdef() { - _impl_.funcdef_.Clear(); -} -inline ::solidity::test::solprotofuzzer::ContractFunction* Contract::mutable_funcdef(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Contract.funcdef) - return _impl_.funcdef_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractFunction >* -Contract::mutable_funcdef() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Contract.funcdef) - return &_impl_.funcdef_; -} -inline const ::solidity::test::solprotofuzzer::ContractFunction& Contract::_internal_funcdef(int index) const { - return _impl_.funcdef_.Get(index); -} -inline const ::solidity::test::solprotofuzzer::ContractFunction& Contract::funcdef(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Contract.funcdef) - return _internal_funcdef(index); -} -inline ::solidity::test::solprotofuzzer::ContractFunction* Contract::_internal_add_funcdef() { - return _impl_.funcdef_.Add(); -} -inline ::solidity::test::solprotofuzzer::ContractFunction* Contract::add_funcdef() { - ::solidity::test::solprotofuzzer::ContractFunction* _add = _internal_add_funcdef(); - // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Contract.funcdef) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractFunction >& -Contract::funcdef() const { - // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Contract.funcdef) - return _impl_.funcdef_; -} - -// required bool abstract = 2; -inline bool Contract::_internal_has_abstract() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool Contract::has_abstract() const { - return _internal_has_abstract(); -} -inline void Contract::clear_abstract() { - _impl_.abstract_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool Contract::_internal_abstract() const { - return _impl_.abstract_; -} -inline bool Contract::abstract() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Contract.abstract) - return _internal_abstract(); -} -inline void Contract::_internal_set_abstract(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.abstract_ = value; -} -inline void Contract::set_abstract(bool value) { - _internal_set_abstract(value); - // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.Contract.abstract) -} - -// repeated .solidity.test.solprotofuzzer.ContractOrInterface bases = 3; -inline int Contract::_internal_bases_size() const { - return _impl_.bases_.size(); -} -inline int Contract::bases_size() const { - return _internal_bases_size(); -} -inline void Contract::clear_bases() { - _impl_.bases_.Clear(); -} -inline ::solidity::test::solprotofuzzer::ContractOrInterface* Contract::mutable_bases(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Contract.bases) - return _impl_.bases_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractOrInterface >* -Contract::mutable_bases() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Contract.bases) - return &_impl_.bases_; -} -inline const ::solidity::test::solprotofuzzer::ContractOrInterface& Contract::_internal_bases(int index) const { - return _impl_.bases_.Get(index); -} -inline const ::solidity::test::solprotofuzzer::ContractOrInterface& Contract::bases(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Contract.bases) - return _internal_bases(index); -} -inline ::solidity::test::solprotofuzzer::ContractOrInterface* Contract::_internal_add_bases() { - return _impl_.bases_.Add(); -} -inline ::solidity::test::solprotofuzzer::ContractOrInterface* Contract::add_bases() { - ::solidity::test::solprotofuzzer::ContractOrInterface* _add = _internal_add_bases(); - // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Contract.bases) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractOrInterface >& -Contract::bases() const { - // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Contract.bases) - return _impl_.bases_; -} - -// ------------------------------------------------------------------- - -// ContractOrInterface - -// .solidity.test.solprotofuzzer.Contract c = 1; -inline bool ContractOrInterface::_internal_has_c() const { - return contract_or_interface_oneof_case() == kC; -} -inline bool ContractOrInterface::has_c() const { - return _internal_has_c(); -} -inline void ContractOrInterface::set_has_c() { - _impl_._oneof_case_[0] = kC; -} -inline void ContractOrInterface::clear_c() { - if (_internal_has_c()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.contract_or_interface_oneof_.c_; - } - clear_has_contract_or_interface_oneof(); - } -} -inline ::solidity::test::solprotofuzzer::Contract* ContractOrInterface::release_c() { - // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.ContractOrInterface.c) - if (_internal_has_c()) { - clear_has_contract_or_interface_oneof(); - ::solidity::test::solprotofuzzer::Contract* temp = _impl_.contract_or_interface_oneof_.c_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.contract_or_interface_oneof_.c_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::solprotofuzzer::Contract& ContractOrInterface::_internal_c() const { - return _internal_has_c() - ? *_impl_.contract_or_interface_oneof_.c_ - : reinterpret_cast< ::solidity::test::solprotofuzzer::Contract&>(::solidity::test::solprotofuzzer::_Contract_default_instance_); -} -inline const ::solidity::test::solprotofuzzer::Contract& ContractOrInterface::c() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractOrInterface.c) - return _internal_c(); -} -inline ::solidity::test::solprotofuzzer::Contract* ContractOrInterface::unsafe_arena_release_c() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.solprotofuzzer.ContractOrInterface.c) - if (_internal_has_c()) { - clear_has_contract_or_interface_oneof(); - ::solidity::test::solprotofuzzer::Contract* temp = _impl_.contract_or_interface_oneof_.c_; - _impl_.contract_or_interface_oneof_.c_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ContractOrInterface::unsafe_arena_set_allocated_c(::solidity::test::solprotofuzzer::Contract* c) { - clear_contract_or_interface_oneof(); - if (c) { - set_has_c(); - _impl_.contract_or_interface_oneof_.c_ = c; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.ContractOrInterface.c) -} -inline ::solidity::test::solprotofuzzer::Contract* ContractOrInterface::_internal_mutable_c() { - if (!_internal_has_c()) { - clear_contract_or_interface_oneof(); - set_has_c(); - _impl_.contract_or_interface_oneof_.c_ = CreateMaybeMessage< ::solidity::test::solprotofuzzer::Contract >(GetArenaForAllocation()); - } - return _impl_.contract_or_interface_oneof_.c_; -} -inline ::solidity::test::solprotofuzzer::Contract* ContractOrInterface::mutable_c() { - ::solidity::test::solprotofuzzer::Contract* _msg = _internal_mutable_c(); - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.ContractOrInterface.c) - return _msg; -} - -// .solidity.test.solprotofuzzer.Interface i = 2; -inline bool ContractOrInterface::_internal_has_i() const { - return contract_or_interface_oneof_case() == kI; -} -inline bool ContractOrInterface::has_i() const { - return _internal_has_i(); -} -inline void ContractOrInterface::set_has_i() { - _impl_._oneof_case_[0] = kI; -} -inline void ContractOrInterface::clear_i() { - if (_internal_has_i()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.contract_or_interface_oneof_.i_; - } - clear_has_contract_or_interface_oneof(); - } -} -inline ::solidity::test::solprotofuzzer::Interface* ContractOrInterface::release_i() { - // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.ContractOrInterface.i) - if (_internal_has_i()) { - clear_has_contract_or_interface_oneof(); - ::solidity::test::solprotofuzzer::Interface* temp = _impl_.contract_or_interface_oneof_.i_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.contract_or_interface_oneof_.i_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::solprotofuzzer::Interface& ContractOrInterface::_internal_i() const { - return _internal_has_i() - ? *_impl_.contract_or_interface_oneof_.i_ - : reinterpret_cast< ::solidity::test::solprotofuzzer::Interface&>(::solidity::test::solprotofuzzer::_Interface_default_instance_); -} -inline const ::solidity::test::solprotofuzzer::Interface& ContractOrInterface::i() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractOrInterface.i) - return _internal_i(); -} -inline ::solidity::test::solprotofuzzer::Interface* ContractOrInterface::unsafe_arena_release_i() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.solprotofuzzer.ContractOrInterface.i) - if (_internal_has_i()) { - clear_has_contract_or_interface_oneof(); - ::solidity::test::solprotofuzzer::Interface* temp = _impl_.contract_or_interface_oneof_.i_; - _impl_.contract_or_interface_oneof_.i_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ContractOrInterface::unsafe_arena_set_allocated_i(::solidity::test::solprotofuzzer::Interface* i) { - clear_contract_or_interface_oneof(); - if (i) { - set_has_i(); - _impl_.contract_or_interface_oneof_.i_ = i; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.ContractOrInterface.i) -} -inline ::solidity::test::solprotofuzzer::Interface* ContractOrInterface::_internal_mutable_i() { - if (!_internal_has_i()) { - clear_contract_or_interface_oneof(); - set_has_i(); - _impl_.contract_or_interface_oneof_.i_ = CreateMaybeMessage< ::solidity::test::solprotofuzzer::Interface >(GetArenaForAllocation()); - } - return _impl_.contract_or_interface_oneof_.i_; -} -inline ::solidity::test::solprotofuzzer::Interface* ContractOrInterface::mutable_i() { - ::solidity::test::solprotofuzzer::Interface* _msg = _internal_mutable_i(); - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.ContractOrInterface.i) - return _msg; -} - -inline bool ContractOrInterface::has_contract_or_interface_oneof() const { - return contract_or_interface_oneof_case() != CONTRACT_OR_INTERFACE_ONEOF_NOT_SET; -} -inline void ContractOrInterface::clear_has_contract_or_interface_oneof() { - _impl_._oneof_case_[0] = CONTRACT_OR_INTERFACE_ONEOF_NOT_SET; -} -inline ContractOrInterface::ContractOrInterfaceOneofCase ContractOrInterface::contract_or_interface_oneof_case() const { - return ContractOrInterface::ContractOrInterfaceOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ContractType - -// .solidity.test.solprotofuzzer.Contract c = 1; -inline bool ContractType::_internal_has_c() const { - return contract_type_oneof_case() == kC; -} -inline bool ContractType::has_c() const { - return _internal_has_c(); -} -inline void ContractType::set_has_c() { - _impl_._oneof_case_[0] = kC; -} -inline void ContractType::clear_c() { - if (_internal_has_c()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.contract_type_oneof_.c_; - } - clear_has_contract_type_oneof(); - } -} -inline ::solidity::test::solprotofuzzer::Contract* ContractType::release_c() { - // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.ContractType.c) - if (_internal_has_c()) { - clear_has_contract_type_oneof(); - ::solidity::test::solprotofuzzer::Contract* temp = _impl_.contract_type_oneof_.c_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.contract_type_oneof_.c_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::solprotofuzzer::Contract& ContractType::_internal_c() const { - return _internal_has_c() - ? *_impl_.contract_type_oneof_.c_ - : reinterpret_cast< ::solidity::test::solprotofuzzer::Contract&>(::solidity::test::solprotofuzzer::_Contract_default_instance_); -} -inline const ::solidity::test::solprotofuzzer::Contract& ContractType::c() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractType.c) - return _internal_c(); -} -inline ::solidity::test::solprotofuzzer::Contract* ContractType::unsafe_arena_release_c() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.solprotofuzzer.ContractType.c) - if (_internal_has_c()) { - clear_has_contract_type_oneof(); - ::solidity::test::solprotofuzzer::Contract* temp = _impl_.contract_type_oneof_.c_; - _impl_.contract_type_oneof_.c_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ContractType::unsafe_arena_set_allocated_c(::solidity::test::solprotofuzzer::Contract* c) { - clear_contract_type_oneof(); - if (c) { - set_has_c(); - _impl_.contract_type_oneof_.c_ = c; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.ContractType.c) -} -inline ::solidity::test::solprotofuzzer::Contract* ContractType::_internal_mutable_c() { - if (!_internal_has_c()) { - clear_contract_type_oneof(); - set_has_c(); - _impl_.contract_type_oneof_.c_ = CreateMaybeMessage< ::solidity::test::solprotofuzzer::Contract >(GetArenaForAllocation()); - } - return _impl_.contract_type_oneof_.c_; -} -inline ::solidity::test::solprotofuzzer::Contract* ContractType::mutable_c() { - ::solidity::test::solprotofuzzer::Contract* _msg = _internal_mutable_c(); - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.ContractType.c) - return _msg; -} - -// .solidity.test.solprotofuzzer.Library l = 2; -inline bool ContractType::_internal_has_l() const { - return contract_type_oneof_case() == kL; -} -inline bool ContractType::has_l() const { - return _internal_has_l(); -} -inline void ContractType::set_has_l() { - _impl_._oneof_case_[0] = kL; -} -inline void ContractType::clear_l() { - if (_internal_has_l()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.contract_type_oneof_.l_; - } - clear_has_contract_type_oneof(); - } -} -inline ::solidity::test::solprotofuzzer::Library* ContractType::release_l() { - // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.ContractType.l) - if (_internal_has_l()) { - clear_has_contract_type_oneof(); - ::solidity::test::solprotofuzzer::Library* temp = _impl_.contract_type_oneof_.l_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.contract_type_oneof_.l_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::solprotofuzzer::Library& ContractType::_internal_l() const { - return _internal_has_l() - ? *_impl_.contract_type_oneof_.l_ - : reinterpret_cast< ::solidity::test::solprotofuzzer::Library&>(::solidity::test::solprotofuzzer::_Library_default_instance_); -} -inline const ::solidity::test::solprotofuzzer::Library& ContractType::l() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractType.l) - return _internal_l(); -} -inline ::solidity::test::solprotofuzzer::Library* ContractType::unsafe_arena_release_l() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.solprotofuzzer.ContractType.l) - if (_internal_has_l()) { - clear_has_contract_type_oneof(); - ::solidity::test::solprotofuzzer::Library* temp = _impl_.contract_type_oneof_.l_; - _impl_.contract_type_oneof_.l_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ContractType::unsafe_arena_set_allocated_l(::solidity::test::solprotofuzzer::Library* l) { - clear_contract_type_oneof(); - if (l) { - set_has_l(); - _impl_.contract_type_oneof_.l_ = l; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.ContractType.l) -} -inline ::solidity::test::solprotofuzzer::Library* ContractType::_internal_mutable_l() { - if (!_internal_has_l()) { - clear_contract_type_oneof(); - set_has_l(); - _impl_.contract_type_oneof_.l_ = CreateMaybeMessage< ::solidity::test::solprotofuzzer::Library >(GetArenaForAllocation()); - } - return _impl_.contract_type_oneof_.l_; -} -inline ::solidity::test::solprotofuzzer::Library* ContractType::mutable_l() { - ::solidity::test::solprotofuzzer::Library* _msg = _internal_mutable_l(); - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.ContractType.l) - return _msg; -} - -// .solidity.test.solprotofuzzer.Interface i = 3; -inline bool ContractType::_internal_has_i() const { - return contract_type_oneof_case() == kI; -} -inline bool ContractType::has_i() const { - return _internal_has_i(); -} -inline void ContractType::set_has_i() { - _impl_._oneof_case_[0] = kI; -} -inline void ContractType::clear_i() { - if (_internal_has_i()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.contract_type_oneof_.i_; - } - clear_has_contract_type_oneof(); - } -} -inline ::solidity::test::solprotofuzzer::Interface* ContractType::release_i() { - // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.ContractType.i) - if (_internal_has_i()) { - clear_has_contract_type_oneof(); - ::solidity::test::solprotofuzzer::Interface* temp = _impl_.contract_type_oneof_.i_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.contract_type_oneof_.i_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::test::solprotofuzzer::Interface& ContractType::_internal_i() const { - return _internal_has_i() - ? *_impl_.contract_type_oneof_.i_ - : reinterpret_cast< ::solidity::test::solprotofuzzer::Interface&>(::solidity::test::solprotofuzzer::_Interface_default_instance_); -} -inline const ::solidity::test::solprotofuzzer::Interface& ContractType::i() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractType.i) - return _internal_i(); -} -inline ::solidity::test::solprotofuzzer::Interface* ContractType::unsafe_arena_release_i() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.solprotofuzzer.ContractType.i) - if (_internal_has_i()) { - clear_has_contract_type_oneof(); - ::solidity::test::solprotofuzzer::Interface* temp = _impl_.contract_type_oneof_.i_; - _impl_.contract_type_oneof_.i_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void ContractType::unsafe_arena_set_allocated_i(::solidity::test::solprotofuzzer::Interface* i) { - clear_contract_type_oneof(); - if (i) { - set_has_i(); - _impl_.contract_type_oneof_.i_ = i; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.ContractType.i) -} -inline ::solidity::test::solprotofuzzer::Interface* ContractType::_internal_mutable_i() { - if (!_internal_has_i()) { - clear_contract_type_oneof(); - set_has_i(); - _impl_.contract_type_oneof_.i_ = CreateMaybeMessage< ::solidity::test::solprotofuzzer::Interface >(GetArenaForAllocation()); - } - return _impl_.contract_type_oneof_.i_; -} -inline ::solidity::test::solprotofuzzer::Interface* ContractType::mutable_i() { - ::solidity::test::solprotofuzzer::Interface* _msg = _internal_mutable_i(); - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.ContractType.i) - return _msg; -} - -inline bool ContractType::has_contract_type_oneof() const { - return contract_type_oneof_case() != CONTRACT_TYPE_ONEOF_NOT_SET; -} -inline void ContractType::clear_has_contract_type_oneof() { - _impl_._oneof_case_[0] = CONTRACT_TYPE_ONEOF_NOT_SET; -} -inline ContractType::ContractTypeOneofCase ContractType::contract_type_oneof_case() const { - return ContractType::ContractTypeOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// TestContract - -// required .solidity.test.solprotofuzzer.TestContract.Type type = 1; -inline bool TestContract::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool TestContract::has_type() const { - return _internal_has_type(); -} -inline void TestContract::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::solprotofuzzer::TestContract_Type TestContract::_internal_type() const { - return static_cast< ::solidity::test::solprotofuzzer::TestContract_Type >(_impl_.type_); -} -inline ::solidity::test::solprotofuzzer::TestContract_Type TestContract::type() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.TestContract.type) - return _internal_type(); -} -inline void TestContract::_internal_set_type(::solidity::test::solprotofuzzer::TestContract_Type value) { - assert(::solidity::test::solprotofuzzer::TestContract_Type_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_ = value; -} -inline void TestContract::set_type(::solidity::test::solprotofuzzer::TestContract_Type value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.TestContract.type) -} - -// ------------------------------------------------------------------- - -// Program - -// repeated .solidity.test.solprotofuzzer.ContractType contracts = 1; -inline int Program::_internal_contracts_size() const { - return _impl_.contracts_.size(); -} -inline int Program::contracts_size() const { - return _internal_contracts_size(); -} -inline void Program::clear_contracts() { - _impl_.contracts_.Clear(); -} -inline ::solidity::test::solprotofuzzer::ContractType* Program::mutable_contracts(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Program.contracts) - return _impl_.contracts_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractType >* -Program::mutable_contracts() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Program.contracts) - return &_impl_.contracts_; -} -inline const ::solidity::test::solprotofuzzer::ContractType& Program::_internal_contracts(int index) const { - return _impl_.contracts_.Get(index); -} -inline const ::solidity::test::solprotofuzzer::ContractType& Program::contracts(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Program.contracts) - return _internal_contracts(index); -} -inline ::solidity::test::solprotofuzzer::ContractType* Program::_internal_add_contracts() { - return _impl_.contracts_.Add(); -} -inline ::solidity::test::solprotofuzzer::ContractType* Program::add_contracts() { - ::solidity::test::solprotofuzzer::ContractType* _add = _internal_add_contracts(); - // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Program.contracts) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractType >& -Program::contracts() const { - // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Program.contracts) - return _impl_.contracts_; -} - -// required .solidity.test.solprotofuzzer.TestContract test = 2; -inline bool Program::_internal_has_test() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.test_ != nullptr); - return value; -} -inline bool Program::has_test() const { - return _internal_has_test(); -} -inline void Program::clear_test() { - if (_impl_.test_ != nullptr) _impl_.test_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::solprotofuzzer::TestContract& Program::_internal_test() const { - const ::solidity::test::solprotofuzzer::TestContract* p = _impl_.test_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::solprotofuzzer::_TestContract_default_instance_); -} -inline const ::solidity::test::solprotofuzzer::TestContract& Program::test() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Program.test) - return _internal_test(); -} -inline void Program::unsafe_arena_set_allocated_test( - ::solidity::test::solprotofuzzer::TestContract* test) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.test_); - } - _impl_.test_ = test; - if (test) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.Program.test) -} -inline ::solidity::test::solprotofuzzer::TestContract* Program::release_test() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::solprotofuzzer::TestContract* temp = _impl_.test_; - _impl_.test_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::solprotofuzzer::TestContract* Program::unsafe_arena_release_test() { - // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.Program.test) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::solprotofuzzer::TestContract* temp = _impl_.test_; - _impl_.test_ = nullptr; - return temp; -} -inline ::solidity::test::solprotofuzzer::TestContract* Program::_internal_mutable_test() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.test_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::solprotofuzzer::TestContract>(GetArenaForAllocation()); - _impl_.test_ = p; - } - return _impl_.test_; -} -inline ::solidity::test::solprotofuzzer::TestContract* Program::mutable_test() { - ::solidity::test::solprotofuzzer::TestContract* _msg = _internal_mutable_test(); - // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Program.test) - return _msg; -} -inline void Program::set_allocated_test(::solidity::test::solprotofuzzer::TestContract* test) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.test_; - } - if (test) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(test); - if (message_arena != submessage_arena) { - test = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, test, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.test_ = test; - // @@protoc_insertion_point(field_set_allocated:solidity.test.solprotofuzzer.Program.test) -} - -// required uint64 seed = 3; -inline bool Program::_internal_has_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool Program::has_seed() const { - return _internal_has_seed(); -} -inline void Program::clear_seed() { - _impl_.seed_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t Program::_internal_seed() const { - return _impl_.seed_; -} -inline uint64_t Program::seed() const { - // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Program.seed) - return _internal_seed(); -} -inline void Program::_internal_set_seed(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.seed_ = value; -} -inline void Program::set_seed(uint64_t value) { - _internal_set_seed(value); - // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.Program.seed) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace solprotofuzzer -} // namespace test -} // namespace solidity - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability>() { - return ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability>() { - return ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::LibraryFunction_Visibility> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::LibraryFunction_Visibility>() { - return ::solidity::test::solprotofuzzer::LibraryFunction_Visibility_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::ContractFunction_StateMutability> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::ContractFunction_StateMutability>() { - return ::solidity::test::solprotofuzzer::ContractFunction_StateMutability_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::ContractFunction_Visibility> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::ContractFunction_Visibility>() { - return ::solidity::test::solprotofuzzer::ContractFunction_Visibility_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::TestContract_Type> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::TestContract_Type>() { - return ::solidity::test::solprotofuzzer::TestContract_Type_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_solProto_2eproto diff --git a/tools/ossfuzz/solRecStructAliasProto.pb.cc b/tools/ossfuzz/solRecStructAliasProto.pb.cc deleted file mode 100644 index 2acf1c0..0000000 --- a/tools/ossfuzz/solRecStructAliasProto.pb.cc +++ /dev/null @@ -1,902 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: solRecStructAliasProto.proto - -#include "solRecStructAliasProto.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -namespace solidity { -namespace test { -namespace solrecstructalias { -PROTOBUF_CONSTEXPR StructLayout::StructLayout( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.prefix_types_)*/{} - , /*decltype(_impl_.suffix_types_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct StructLayoutDefaultTypeInternal { - PROTOBUF_CONSTEXPR StructLayoutDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StructLayoutDefaultTypeInternal() {} - union { - StructLayout _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructLayoutDefaultTypeInternal _StructLayout_default_instance_; -PROTOBUF_CONSTEXPR Program::Program( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.struct_layout_)*/nullptr - , /*decltype(_impl_.push_count_)*/0u - , /*decltype(_impl_.child_index_)*/0u - , /*decltype(_impl_.seed_)*/uint64_t{0u} - , /*decltype(_impl_.via_ir_)*/false - , /*decltype(_impl_.optimize_)*/false - , /*decltype(_impl_.shape_)*/0 - , /*decltype(_impl_.grandchild_push_count_)*/0u - , /*decltype(_impl_.grandchild_index_)*/0u} {} -struct ProgramDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProgramDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ProgramDefaultTypeInternal() {} - union { - Program _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProgramDefaultTypeInternal _Program_default_instance_; -} // namespace solrecstructalias -} // namespace test -} // namespace solidity -static ::_pb::Metadata file_level_metadata_solRecStructAliasProto_2eproto[2]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_solRecStructAliasProto_2eproto[2]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_solRecStructAliasProto_2eproto = nullptr; - -const uint32_t TableStruct_solRecStructAliasProto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::StructLayout, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::StructLayout, _impl_.prefix_types_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::StructLayout, _impl_.suffix_types_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _impl_.struct_layout_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _impl_.push_count_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _impl_.child_index_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _impl_.seed_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _impl_.via_ir_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _impl_.optimize_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _impl_.shape_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _impl_.grandchild_push_count_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solrecstructalias::Program, _impl_.grandchild_index_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, -1, sizeof(::solidity::test::solrecstructalias::StructLayout)}, - { 8, 23, -1, sizeof(::solidity::test::solrecstructalias::Program)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::solidity::test::solrecstructalias::_StructLayout_default_instance_._instance, - &::solidity::test::solrecstructalias::_Program_default_instance_._instance, -}; - -const char descriptor_table_protodef_solRecStructAliasProto_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\034solRecStructAliasProto.proto\022\037solidity" - ".test.solrecstructalias\"\220\001\n\014StructLayout" - "\022\?\n\014prefix_types\030\001 \003(\0162).solidity.test.s" - "olrecstructalias.PrimType\022\?\n\014suffix_type" - "s\030\002 \003(\0162).solidity.test.solrecstructalia" - "s.PrimType\"\235\002\n\007Program\022D\n\rstruct_layout\030" - "\001 \002(\0132-.solidity.test.solrecstructalias." - "StructLayout\022\022\n\npush_count\030\002 \001(\r\022\023\n\013chil" - "d_index\030\003 \001(\r\022\014\n\004seed\030\004 \001(\004\022\016\n\006via_ir\030\005 " - "\001(\010\022\020\n\010optimize\030\006 \001(\010\022:\n\005shape\030\007 \001(\0162+.s" - "olidity.test.solrecstructalias.AliasShap" - "e\022\035\n\025grandchild_push_count\030\010 \001(\r\022\030\n\020gran" - "dchild_index\030\t \001(\r*o\n\010PrimType\022\006\n\002U8\020\000\022\007" - "\n\003U16\020\001\022\007\n\003U32\020\002\022\007\n\003U64\020\003\022\010\n\004U128\020\004\022\010\n\004U" - "256\020\005\022\010\n\004I256\020\006\022\013\n\007ADDRESS\020\007\022\010\n\004BOOL\020\010\022\013" - "\n\007BYTES32\020\t*9\n\nAliasShape\022\n\n\006DIRECT\020\000\022\017\n" - "\013VIA_POINTER\020\001\022\016\n\nGRANDCHILD\020\002" - ; -static ::_pbi::once_flag descriptor_table_solRecStructAliasProto_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_solRecStructAliasProto_2eproto = { - false, false, 670, descriptor_table_protodef_solRecStructAliasProto_2eproto, - "solRecStructAliasProto.proto", - &descriptor_table_solRecStructAliasProto_2eproto_once, nullptr, 0, 2, - schemas, file_default_instances, TableStruct_solRecStructAliasProto_2eproto::offsets, - file_level_metadata_solRecStructAliasProto_2eproto, file_level_enum_descriptors_solRecStructAliasProto_2eproto, - file_level_service_descriptors_solRecStructAliasProto_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_solRecStructAliasProto_2eproto_getter() { - return &descriptor_table_solRecStructAliasProto_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_solRecStructAliasProto_2eproto(&descriptor_table_solRecStructAliasProto_2eproto); -namespace solidity { -namespace test { -namespace solrecstructalias { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PrimType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_solRecStructAliasProto_2eproto); - return file_level_enum_descriptors_solRecStructAliasProto_2eproto[0]; -} -bool PrimType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AliasShape_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_solRecStructAliasProto_2eproto); - return file_level_enum_descriptors_solRecStructAliasProto_2eproto[1]; -} -bool AliasShape_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - - -// =================================================================== - -class StructLayout::_Internal { - public: -}; - -StructLayout::StructLayout(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solrecstructalias.StructLayout) -} -StructLayout::StructLayout(const StructLayout& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StructLayout* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.prefix_types_){from._impl_.prefix_types_} - , decltype(_impl_.suffix_types_){from._impl_.suffix_types_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.test.solrecstructalias.StructLayout) -} - -inline void StructLayout::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.prefix_types_){arena} - , decltype(_impl_.suffix_types_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -StructLayout::~StructLayout() { - // @@protoc_insertion_point(destructor:solidity.test.solrecstructalias.StructLayout) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StructLayout::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.prefix_types_.~RepeatedField(); - _impl_.suffix_types_.~RepeatedField(); -} - -void StructLayout::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StructLayout::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solrecstructalias.StructLayout) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.prefix_types_.Clear(); - _impl_.suffix_types_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StructLayout::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.test.solrecstructalias.PrimType prefix_types = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - ptr -= 1; - do { - ptr += 1; - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solrecstructalias::PrimType_IsValid(val))) { - _internal_add_prefix_types(static_cast<::solidity::test::solrecstructalias::PrimType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); - } else if (static_cast(tag) == 10) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(_internal_mutable_prefix_types(), ptr, ctx, ::solidity::test::solrecstructalias::PrimType_IsValid, &_internal_metadata_, 1); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.test.solrecstructalias.PrimType suffix_types = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solrecstructalias::PrimType_IsValid(val))) { - _internal_add_suffix_types(static_cast<::solidity::test::solrecstructalias::PrimType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); - } - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(_internal_mutable_suffix_types(), ptr, ctx, ::solidity::test::solrecstructalias::PrimType_IsValid, &_internal_metadata_, 2); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StructLayout::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solrecstructalias.StructLayout) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.test.solrecstructalias.PrimType prefix_types = 1; - for (int i = 0, n = this->_internal_prefix_types_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_prefix_types(i), target); - } - - // repeated .solidity.test.solrecstructalias.PrimType suffix_types = 2; - for (int i = 0, n = this->_internal_suffix_types_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_suffix_types(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solrecstructalias.StructLayout) - return target; -} - -size_t StructLayout::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solrecstructalias.StructLayout) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.solrecstructalias.PrimType prefix_types = 1; - { - size_t data_size = 0; - unsigned int count = static_cast(this->_internal_prefix_types_size());for (unsigned int i = 0; i < count; i++) { - data_size += ::_pbi::WireFormatLite::EnumSize( - this->_internal_prefix_types(static_cast(i))); - } - total_size += (1UL * count) + data_size; - } - - // repeated .solidity.test.solrecstructalias.PrimType suffix_types = 2; - { - size_t data_size = 0; - unsigned int count = static_cast(this->_internal_suffix_types_size());for (unsigned int i = 0; i < count; i++) { - data_size += ::_pbi::WireFormatLite::EnumSize( - this->_internal_suffix_types(static_cast(i))); - } - total_size += (1UL * count) + data_size; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructLayout::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StructLayout::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructLayout::GetClassData() const { return &_class_data_; } - - -void StructLayout::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solrecstructalias.StructLayout) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.prefix_types_.MergeFrom(from._impl_.prefix_types_); - _this->_impl_.suffix_types_.MergeFrom(from._impl_.suffix_types_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StructLayout::CopyFrom(const StructLayout& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solrecstructalias.StructLayout) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructLayout::IsInitialized() const { - return true; -} - -void StructLayout::InternalSwap(StructLayout* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.prefix_types_.InternalSwap(&other->_impl_.prefix_types_); - _impl_.suffix_types_.InternalSwap(&other->_impl_.suffix_types_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StructLayout::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solRecStructAliasProto_2eproto_getter, &descriptor_table_solRecStructAliasProto_2eproto_once, - file_level_metadata_solRecStructAliasProto_2eproto[0]); -} - -// =================================================================== - -class Program::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::test::solrecstructalias::StructLayout& struct_layout(const Program* msg); - static void set_has_struct_layout(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_push_count(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_child_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_seed(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_via_ir(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_optimize(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_shape(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_grandchild_push_count(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_grandchild_index(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::test::solrecstructalias::StructLayout& -Program::_Internal::struct_layout(const Program* msg) { - return *msg->_impl_.struct_layout_; -} -Program::Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solrecstructalias.Program) -} -Program::Program(const Program& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Program* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.struct_layout_){nullptr} - , decltype(_impl_.push_count_){} - , decltype(_impl_.child_index_){} - , decltype(_impl_.seed_){} - , decltype(_impl_.via_ir_){} - , decltype(_impl_.optimize_){} - , decltype(_impl_.shape_){} - , decltype(_impl_.grandchild_push_count_){} - , decltype(_impl_.grandchild_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_struct_layout()) { - _this->_impl_.struct_layout_ = new ::solidity::test::solrecstructalias::StructLayout(*from._impl_.struct_layout_); - } - ::memcpy(&_impl_.push_count_, &from._impl_.push_count_, - static_cast(reinterpret_cast(&_impl_.grandchild_index_) - - reinterpret_cast(&_impl_.push_count_)) + sizeof(_impl_.grandchild_index_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.solrecstructalias.Program) -} - -inline void Program::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.struct_layout_){nullptr} - , decltype(_impl_.push_count_){0u} - , decltype(_impl_.child_index_){0u} - , decltype(_impl_.seed_){uint64_t{0u}} - , decltype(_impl_.via_ir_){false} - , decltype(_impl_.optimize_){false} - , decltype(_impl_.shape_){0} - , decltype(_impl_.grandchild_push_count_){0u} - , decltype(_impl_.grandchild_index_){0u} - }; -} - -Program::~Program() { - // @@protoc_insertion_point(destructor:solidity.test.solrecstructalias.Program) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Program::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.struct_layout_; -} - -void Program::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Program::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solrecstructalias.Program) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.struct_layout_ != nullptr); - _impl_.struct_layout_->Clear(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.push_count_, 0, static_cast( - reinterpret_cast(&_impl_.grandchild_push_count_) - - reinterpret_cast(&_impl_.push_count_)) + sizeof(_impl_.grandchild_push_count_)); - } - _impl_.grandchild_index_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Program::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.solrecstructalias.StructLayout struct_layout = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_struct_layout(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 push_count = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_push_count(&has_bits); - _impl_.push_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 child_index = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_child_index(&has_bits); - _impl_.child_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 seed = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_seed(&has_bits); - _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool via_ir = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_via_ir(&has_bits); - _impl_.via_ir_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool optimize = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_optimize(&has_bits); - _impl_.optimize_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .solidity.test.solrecstructalias.AliasShape shape = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solrecstructalias::AliasShape_IsValid(val))) { - _internal_set_shape(static_cast<::solidity::test::solrecstructalias::AliasShape>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(7, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional uint32 grandchild_push_count = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_grandchild_push_count(&has_bits); - _impl_.grandchild_push_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 grandchild_index = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_grandchild_index(&has_bits); - _impl_.grandchild_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Program::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solrecstructalias.Program) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.solrecstructalias.StructLayout struct_layout = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::struct_layout(this), - _Internal::struct_layout(this).GetCachedSize(), target, stream); - } - - // optional uint32 push_count = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_push_count(), target); - } - - // optional uint32 child_index = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_child_index(), target); - } - - // optional uint64 seed = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_seed(), target); - } - - // optional bool via_ir = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_via_ir(), target); - } - - // optional bool optimize = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_optimize(), target); - } - - // optional .solidity.test.solrecstructalias.AliasShape shape = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 7, this->_internal_shape(), target); - } - - // optional uint32 grandchild_push_count = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_grandchild_push_count(), target); - } - - // optional uint32 grandchild_index = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_grandchild_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solrecstructalias.Program) - return target; -} - -size_t Program::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solrecstructalias.Program) - size_t total_size = 0; - - // required .solidity.test.solrecstructalias.StructLayout struct_layout = 1; - if (_internal_has_struct_layout()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.struct_layout_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000feu) { - // optional uint32 push_count = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_push_count()); - } - - // optional uint32 child_index = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_child_index()); - } - - // optional uint64 seed = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_seed()); - } - - // optional bool via_ir = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional bool optimize = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional .solidity.test.solrecstructalias.AliasShape shape = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_shape()); - } - - // optional uint32 grandchild_push_count = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_grandchild_push_count()); - } - - } - // optional uint32 grandchild_index = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_grandchild_index()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Program::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Program::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Program::GetClassData() const { return &_class_data_; } - - -void Program::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solrecstructalias.Program) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_struct_layout()->::solidity::test::solrecstructalias::StructLayout::MergeFrom( - from._internal_struct_layout()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.push_count_ = from._impl_.push_count_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.child_index_ = from._impl_.child_index_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.seed_ = from._impl_.seed_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.via_ir_ = from._impl_.via_ir_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.optimize_ = from._impl_.optimize_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.shape_ = from._impl_.shape_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.grandchild_push_count_ = from._impl_.grandchild_push_count_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_grandchild_index(from._internal_grandchild_index()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Program::CopyFrom(const Program& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solrecstructalias.Program) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Program::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void Program::InternalSwap(Program* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Program, _impl_.grandchild_index_) - + sizeof(Program::_impl_.grandchild_index_) - - PROTOBUF_FIELD_OFFSET(Program, _impl_.struct_layout_)>( - reinterpret_cast(&_impl_.struct_layout_), - reinterpret_cast(&other->_impl_.struct_layout_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Program::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solRecStructAliasProto_2eproto_getter, &descriptor_table_solRecStructAliasProto_2eproto_once, - file_level_metadata_solRecStructAliasProto_2eproto[1]); -} - -// @@protoc_insertion_point(namespace_scope) -} // namespace solrecstructalias -} // namespace test -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::solidity::test::solrecstructalias::StructLayout* -Arena::CreateMaybeMessage< ::solidity::test::solrecstructalias::StructLayout >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solrecstructalias::StructLayout >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solrecstructalias::Program* -Arena::CreateMaybeMessage< ::solidity::test::solrecstructalias::Program >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solrecstructalias::Program >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/tools/ossfuzz/solRecStructAliasProto.pb.h b/tools/ossfuzz/solRecStructAliasProto.pb.h deleted file mode 100644 index b957507..0000000 --- a/tools/ossfuzz/solRecStructAliasProto.pb.h +++ /dev/null @@ -1,1040 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: solRecStructAliasProto.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_solRecStructAliasProto_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_solRecStructAliasProto_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021007 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_solRecStructAliasProto_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_solRecStructAliasProto_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_solRecStructAliasProto_2eproto; -namespace solidity { -namespace test { -namespace solrecstructalias { -class Program; -struct ProgramDefaultTypeInternal; -extern ProgramDefaultTypeInternal _Program_default_instance_; -class StructLayout; -struct StructLayoutDefaultTypeInternal; -extern StructLayoutDefaultTypeInternal _StructLayout_default_instance_; -} // namespace solrecstructalias -} // namespace test -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> ::solidity::test::solrecstructalias::Program* Arena::CreateMaybeMessage<::solidity::test::solrecstructalias::Program>(Arena*); -template<> ::solidity::test::solrecstructalias::StructLayout* Arena::CreateMaybeMessage<::solidity::test::solrecstructalias::StructLayout>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace solidity { -namespace test { -namespace solrecstructalias { - -enum PrimType : int { - U8 = 0, - U16 = 1, - U32 = 2, - U64 = 3, - U128 = 4, - U256 = 5, - I256 = 6, - ADDRESS = 7, - BOOL = 8, - BYTES32 = 9 -}; -bool PrimType_IsValid(int value); -constexpr PrimType PrimType_MIN = U8; -constexpr PrimType PrimType_MAX = BYTES32; -constexpr int PrimType_ARRAYSIZE = PrimType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PrimType_descriptor(); -template -inline const std::string& PrimType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function PrimType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - PrimType_descriptor(), enum_t_value); -} -inline bool PrimType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PrimType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - PrimType_descriptor(), name, value); -} -enum AliasShape : int { - DIRECT = 0, - VIA_POINTER = 1, - GRANDCHILD = 2 -}; -bool AliasShape_IsValid(int value); -constexpr AliasShape AliasShape_MIN = DIRECT; -constexpr AliasShape AliasShape_MAX = GRANDCHILD; -constexpr int AliasShape_ARRAYSIZE = AliasShape_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AliasShape_descriptor(); -template -inline const std::string& AliasShape_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function AliasShape_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - AliasShape_descriptor(), enum_t_value); -} -inline bool AliasShape_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AliasShape* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - AliasShape_descriptor(), name, value); -} -// =================================================================== - -class StructLayout final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solrecstructalias.StructLayout) */ { - public: - inline StructLayout() : StructLayout(nullptr) {} - ~StructLayout() override; - explicit PROTOBUF_CONSTEXPR StructLayout(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StructLayout(const StructLayout& from); - StructLayout(StructLayout&& from) noexcept - : StructLayout() { - *this = ::std::move(from); - } - - inline StructLayout& operator=(const StructLayout& from) { - CopyFrom(from); - return *this; - } - inline StructLayout& operator=(StructLayout&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StructLayout& default_instance() { - return *internal_default_instance(); - } - static inline const StructLayout* internal_default_instance() { - return reinterpret_cast( - &_StructLayout_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(StructLayout& a, StructLayout& b) { - a.Swap(&b); - } - inline void Swap(StructLayout* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StructLayout* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StructLayout* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StructLayout& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StructLayout& from) { - StructLayout::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StructLayout* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solrecstructalias.StructLayout"; - } - protected: - explicit StructLayout(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPrefixTypesFieldNumber = 1, - kSuffixTypesFieldNumber = 2, - }; - // repeated .solidity.test.solrecstructalias.PrimType prefix_types = 1; - int prefix_types_size() const; - private: - int _internal_prefix_types_size() const; - public: - void clear_prefix_types(); - private: - ::solidity::test::solrecstructalias::PrimType _internal_prefix_types(int index) const; - void _internal_add_prefix_types(::solidity::test::solrecstructalias::PrimType value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_prefix_types(); - public: - ::solidity::test::solrecstructalias::PrimType prefix_types(int index) const; - void set_prefix_types(int index, ::solidity::test::solrecstructalias::PrimType value); - void add_prefix_types(::solidity::test::solrecstructalias::PrimType value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField& prefix_types() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_prefix_types(); - - // repeated .solidity.test.solrecstructalias.PrimType suffix_types = 2; - int suffix_types_size() const; - private: - int _internal_suffix_types_size() const; - public: - void clear_suffix_types(); - private: - ::solidity::test::solrecstructalias::PrimType _internal_suffix_types(int index) const; - void _internal_add_suffix_types(::solidity::test::solrecstructalias::PrimType value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_suffix_types(); - public: - ::solidity::test::solrecstructalias::PrimType suffix_types(int index) const; - void set_suffix_types(int index, ::solidity::test::solrecstructalias::PrimType value); - void add_suffix_types(::solidity::test::solrecstructalias::PrimType value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField& suffix_types() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_suffix_types(); - - // @@protoc_insertion_point(class_scope:solidity.test.solrecstructalias.StructLayout) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedField prefix_types_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField suffix_types_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solRecStructAliasProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Program final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solrecstructalias.Program) */ { - public: - inline Program() : Program(nullptr) {} - ~Program() override; - explicit PROTOBUF_CONSTEXPR Program(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Program(const Program& from); - Program(Program&& from) noexcept - : Program() { - *this = ::std::move(from); - } - - inline Program& operator=(const Program& from) { - CopyFrom(from); - return *this; - } - inline Program& operator=(Program&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Program& default_instance() { - return *internal_default_instance(); - } - static inline const Program* internal_default_instance() { - return reinterpret_cast( - &_Program_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(Program& a, Program& b) { - a.Swap(&b); - } - inline void Swap(Program* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Program* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Program* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Program& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Program& from) { - Program::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Program* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solrecstructalias.Program"; - } - protected: - explicit Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStructLayoutFieldNumber = 1, - kPushCountFieldNumber = 2, - kChildIndexFieldNumber = 3, - kSeedFieldNumber = 4, - kViaIrFieldNumber = 5, - kOptimizeFieldNumber = 6, - kShapeFieldNumber = 7, - kGrandchildPushCountFieldNumber = 8, - kGrandchildIndexFieldNumber = 9, - }; - // required .solidity.test.solrecstructalias.StructLayout struct_layout = 1; - bool has_struct_layout() const; - private: - bool _internal_has_struct_layout() const; - public: - void clear_struct_layout(); - const ::solidity::test::solrecstructalias::StructLayout& struct_layout() const; - PROTOBUF_NODISCARD ::solidity::test::solrecstructalias::StructLayout* release_struct_layout(); - ::solidity::test::solrecstructalias::StructLayout* mutable_struct_layout(); - void set_allocated_struct_layout(::solidity::test::solrecstructalias::StructLayout* struct_layout); - private: - const ::solidity::test::solrecstructalias::StructLayout& _internal_struct_layout() const; - ::solidity::test::solrecstructalias::StructLayout* _internal_mutable_struct_layout(); - public: - void unsafe_arena_set_allocated_struct_layout( - ::solidity::test::solrecstructalias::StructLayout* struct_layout); - ::solidity::test::solrecstructalias::StructLayout* unsafe_arena_release_struct_layout(); - - // optional uint32 push_count = 2; - bool has_push_count() const; - private: - bool _internal_has_push_count() const; - public: - void clear_push_count(); - uint32_t push_count() const; - void set_push_count(uint32_t value); - private: - uint32_t _internal_push_count() const; - void _internal_set_push_count(uint32_t value); - public: - - // optional uint32 child_index = 3; - bool has_child_index() const; - private: - bool _internal_has_child_index() const; - public: - void clear_child_index(); - uint32_t child_index() const; - void set_child_index(uint32_t value); - private: - uint32_t _internal_child_index() const; - void _internal_set_child_index(uint32_t value); - public: - - // optional uint64 seed = 4; - bool has_seed() const; - private: - bool _internal_has_seed() const; - public: - void clear_seed(); - uint64_t seed() const; - void set_seed(uint64_t value); - private: - uint64_t _internal_seed() const; - void _internal_set_seed(uint64_t value); - public: - - // optional bool via_ir = 5; - bool has_via_ir() const; - private: - bool _internal_has_via_ir() const; - public: - void clear_via_ir(); - bool via_ir() const; - void set_via_ir(bool value); - private: - bool _internal_via_ir() const; - void _internal_set_via_ir(bool value); - public: - - // optional bool optimize = 6; - bool has_optimize() const; - private: - bool _internal_has_optimize() const; - public: - void clear_optimize(); - bool optimize() const; - void set_optimize(bool value); - private: - bool _internal_optimize() const; - void _internal_set_optimize(bool value); - public: - - // optional .solidity.test.solrecstructalias.AliasShape shape = 7; - bool has_shape() const; - private: - bool _internal_has_shape() const; - public: - void clear_shape(); - ::solidity::test::solrecstructalias::AliasShape shape() const; - void set_shape(::solidity::test::solrecstructalias::AliasShape value); - private: - ::solidity::test::solrecstructalias::AliasShape _internal_shape() const; - void _internal_set_shape(::solidity::test::solrecstructalias::AliasShape value); - public: - - // optional uint32 grandchild_push_count = 8; - bool has_grandchild_push_count() const; - private: - bool _internal_has_grandchild_push_count() const; - public: - void clear_grandchild_push_count(); - uint32_t grandchild_push_count() const; - void set_grandchild_push_count(uint32_t value); - private: - uint32_t _internal_grandchild_push_count() const; - void _internal_set_grandchild_push_count(uint32_t value); - public: - - // optional uint32 grandchild_index = 9; - bool has_grandchild_index() const; - private: - bool _internal_has_grandchild_index() const; - public: - void clear_grandchild_index(); - uint32_t grandchild_index() const; - void set_grandchild_index(uint32_t value); - private: - uint32_t _internal_grandchild_index() const; - void _internal_set_grandchild_index(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.solrecstructalias.Program) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::test::solrecstructalias::StructLayout* struct_layout_; - uint32_t push_count_; - uint32_t child_index_; - uint64_t seed_; - bool via_ir_; - bool optimize_; - int shape_; - uint32_t grandchild_push_count_; - uint32_t grandchild_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solRecStructAliasProto_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// StructLayout - -// repeated .solidity.test.solrecstructalias.PrimType prefix_types = 1; -inline int StructLayout::_internal_prefix_types_size() const { - return _impl_.prefix_types_.size(); -} -inline int StructLayout::prefix_types_size() const { - return _internal_prefix_types_size(); -} -inline void StructLayout::clear_prefix_types() { - _impl_.prefix_types_.Clear(); -} -inline ::solidity::test::solrecstructalias::PrimType StructLayout::_internal_prefix_types(int index) const { - return static_cast< ::solidity::test::solrecstructalias::PrimType >(_impl_.prefix_types_.Get(index)); -} -inline ::solidity::test::solrecstructalias::PrimType StructLayout::prefix_types(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.StructLayout.prefix_types) - return _internal_prefix_types(index); -} -inline void StructLayout::set_prefix_types(int index, ::solidity::test::solrecstructalias::PrimType value) { - assert(::solidity::test::solrecstructalias::PrimType_IsValid(value)); - _impl_.prefix_types_.Set(index, value); - // @@protoc_insertion_point(field_set:solidity.test.solrecstructalias.StructLayout.prefix_types) -} -inline void StructLayout::_internal_add_prefix_types(::solidity::test::solrecstructalias::PrimType value) { - assert(::solidity::test::solrecstructalias::PrimType_IsValid(value)); - _impl_.prefix_types_.Add(value); -} -inline void StructLayout::add_prefix_types(::solidity::test::solrecstructalias::PrimType value) { - _internal_add_prefix_types(value); - // @@protoc_insertion_point(field_add:solidity.test.solrecstructalias.StructLayout.prefix_types) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& -StructLayout::prefix_types() const { - // @@protoc_insertion_point(field_list:solidity.test.solrecstructalias.StructLayout.prefix_types) - return _impl_.prefix_types_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -StructLayout::_internal_mutable_prefix_types() { - return &_impl_.prefix_types_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -StructLayout::mutable_prefix_types() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.solrecstructalias.StructLayout.prefix_types) - return _internal_mutable_prefix_types(); -} - -// repeated .solidity.test.solrecstructalias.PrimType suffix_types = 2; -inline int StructLayout::_internal_suffix_types_size() const { - return _impl_.suffix_types_.size(); -} -inline int StructLayout::suffix_types_size() const { - return _internal_suffix_types_size(); -} -inline void StructLayout::clear_suffix_types() { - _impl_.suffix_types_.Clear(); -} -inline ::solidity::test::solrecstructalias::PrimType StructLayout::_internal_suffix_types(int index) const { - return static_cast< ::solidity::test::solrecstructalias::PrimType >(_impl_.suffix_types_.Get(index)); -} -inline ::solidity::test::solrecstructalias::PrimType StructLayout::suffix_types(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.StructLayout.suffix_types) - return _internal_suffix_types(index); -} -inline void StructLayout::set_suffix_types(int index, ::solidity::test::solrecstructalias::PrimType value) { - assert(::solidity::test::solrecstructalias::PrimType_IsValid(value)); - _impl_.suffix_types_.Set(index, value); - // @@protoc_insertion_point(field_set:solidity.test.solrecstructalias.StructLayout.suffix_types) -} -inline void StructLayout::_internal_add_suffix_types(::solidity::test::solrecstructalias::PrimType value) { - assert(::solidity::test::solrecstructalias::PrimType_IsValid(value)); - _impl_.suffix_types_.Add(value); -} -inline void StructLayout::add_suffix_types(::solidity::test::solrecstructalias::PrimType value) { - _internal_add_suffix_types(value); - // @@protoc_insertion_point(field_add:solidity.test.solrecstructalias.StructLayout.suffix_types) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& -StructLayout::suffix_types() const { - // @@protoc_insertion_point(field_list:solidity.test.solrecstructalias.StructLayout.suffix_types) - return _impl_.suffix_types_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -StructLayout::_internal_mutable_suffix_types() { - return &_impl_.suffix_types_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -StructLayout::mutable_suffix_types() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.solrecstructalias.StructLayout.suffix_types) - return _internal_mutable_suffix_types(); -} - -// ------------------------------------------------------------------- - -// Program - -// required .solidity.test.solrecstructalias.StructLayout struct_layout = 1; -inline bool Program::_internal_has_struct_layout() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.struct_layout_ != nullptr); - return value; -} -inline bool Program::has_struct_layout() const { - return _internal_has_struct_layout(); -} -inline void Program::clear_struct_layout() { - if (_impl_.struct_layout_ != nullptr) _impl_.struct_layout_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::test::solrecstructalias::StructLayout& Program::_internal_struct_layout() const { - const ::solidity::test::solrecstructalias::StructLayout* p = _impl_.struct_layout_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::test::solrecstructalias::_StructLayout_default_instance_); -} -inline const ::solidity::test::solrecstructalias::StructLayout& Program::struct_layout() const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.Program.struct_layout) - return _internal_struct_layout(); -} -inline void Program::unsafe_arena_set_allocated_struct_layout( - ::solidity::test::solrecstructalias::StructLayout* struct_layout) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.struct_layout_); - } - _impl_.struct_layout_ = struct_layout; - if (struct_layout) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solrecstructalias.Program.struct_layout) -} -inline ::solidity::test::solrecstructalias::StructLayout* Program::release_struct_layout() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::solrecstructalias::StructLayout* temp = _impl_.struct_layout_; - _impl_.struct_layout_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::test::solrecstructalias::StructLayout* Program::unsafe_arena_release_struct_layout() { - // @@protoc_insertion_point(field_release:solidity.test.solrecstructalias.Program.struct_layout) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::test::solrecstructalias::StructLayout* temp = _impl_.struct_layout_; - _impl_.struct_layout_ = nullptr; - return temp; -} -inline ::solidity::test::solrecstructalias::StructLayout* Program::_internal_mutable_struct_layout() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.struct_layout_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::test::solrecstructalias::StructLayout>(GetArenaForAllocation()); - _impl_.struct_layout_ = p; - } - return _impl_.struct_layout_; -} -inline ::solidity::test::solrecstructalias::StructLayout* Program::mutable_struct_layout() { - ::solidity::test::solrecstructalias::StructLayout* _msg = _internal_mutable_struct_layout(); - // @@protoc_insertion_point(field_mutable:solidity.test.solrecstructalias.Program.struct_layout) - return _msg; -} -inline void Program::set_allocated_struct_layout(::solidity::test::solrecstructalias::StructLayout* struct_layout) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.struct_layout_; - } - if (struct_layout) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(struct_layout); - if (message_arena != submessage_arena) { - struct_layout = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, struct_layout, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.struct_layout_ = struct_layout; - // @@protoc_insertion_point(field_set_allocated:solidity.test.solrecstructalias.Program.struct_layout) -} - -// optional uint32 push_count = 2; -inline bool Program::_internal_has_push_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool Program::has_push_count() const { - return _internal_has_push_count(); -} -inline void Program::clear_push_count() { - _impl_.push_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t Program::_internal_push_count() const { - return _impl_.push_count_; -} -inline uint32_t Program::push_count() const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.Program.push_count) - return _internal_push_count(); -} -inline void Program::_internal_set_push_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.push_count_ = value; -} -inline void Program::set_push_count(uint32_t value) { - _internal_set_push_count(value); - // @@protoc_insertion_point(field_set:solidity.test.solrecstructalias.Program.push_count) -} - -// optional uint32 child_index = 3; -inline bool Program::_internal_has_child_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool Program::has_child_index() const { - return _internal_has_child_index(); -} -inline void Program::clear_child_index() { - _impl_.child_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t Program::_internal_child_index() const { - return _impl_.child_index_; -} -inline uint32_t Program::child_index() const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.Program.child_index) - return _internal_child_index(); -} -inline void Program::_internal_set_child_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.child_index_ = value; -} -inline void Program::set_child_index(uint32_t value) { - _internal_set_child_index(value); - // @@protoc_insertion_point(field_set:solidity.test.solrecstructalias.Program.child_index) -} - -// optional uint64 seed = 4; -inline bool Program::_internal_has_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool Program::has_seed() const { - return _internal_has_seed(); -} -inline void Program::clear_seed() { - _impl_.seed_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t Program::_internal_seed() const { - return _impl_.seed_; -} -inline uint64_t Program::seed() const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.Program.seed) - return _internal_seed(); -} -inline void Program::_internal_set_seed(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.seed_ = value; -} -inline void Program::set_seed(uint64_t value) { - _internal_set_seed(value); - // @@protoc_insertion_point(field_set:solidity.test.solrecstructalias.Program.seed) -} - -// optional bool via_ir = 5; -inline bool Program::_internal_has_via_ir() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool Program::has_via_ir() const { - return _internal_has_via_ir(); -} -inline void Program::clear_via_ir() { - _impl_.via_ir_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool Program::_internal_via_ir() const { - return _impl_.via_ir_; -} -inline bool Program::via_ir() const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.Program.via_ir) - return _internal_via_ir(); -} -inline void Program::_internal_set_via_ir(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.via_ir_ = value; -} -inline void Program::set_via_ir(bool value) { - _internal_set_via_ir(value); - // @@protoc_insertion_point(field_set:solidity.test.solrecstructalias.Program.via_ir) -} - -// optional bool optimize = 6; -inline bool Program::_internal_has_optimize() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool Program::has_optimize() const { - return _internal_has_optimize(); -} -inline void Program::clear_optimize() { - _impl_.optimize_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool Program::_internal_optimize() const { - return _impl_.optimize_; -} -inline bool Program::optimize() const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.Program.optimize) - return _internal_optimize(); -} -inline void Program::_internal_set_optimize(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.optimize_ = value; -} -inline void Program::set_optimize(bool value) { - _internal_set_optimize(value); - // @@protoc_insertion_point(field_set:solidity.test.solrecstructalias.Program.optimize) -} - -// optional .solidity.test.solrecstructalias.AliasShape shape = 7; -inline bool Program::_internal_has_shape() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool Program::has_shape() const { - return _internal_has_shape(); -} -inline void Program::clear_shape() { - _impl_.shape_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline ::solidity::test::solrecstructalias::AliasShape Program::_internal_shape() const { - return static_cast< ::solidity::test::solrecstructalias::AliasShape >(_impl_.shape_); -} -inline ::solidity::test::solrecstructalias::AliasShape Program::shape() const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.Program.shape) - return _internal_shape(); -} -inline void Program::_internal_set_shape(::solidity::test::solrecstructalias::AliasShape value) { - assert(::solidity::test::solrecstructalias::AliasShape_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.shape_ = value; -} -inline void Program::set_shape(::solidity::test::solrecstructalias::AliasShape value) { - _internal_set_shape(value); - // @@protoc_insertion_point(field_set:solidity.test.solrecstructalias.Program.shape) -} - -// optional uint32 grandchild_push_count = 8; -inline bool Program::_internal_has_grandchild_push_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool Program::has_grandchild_push_count() const { - return _internal_has_grandchild_push_count(); -} -inline void Program::clear_grandchild_push_count() { - _impl_.grandchild_push_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t Program::_internal_grandchild_push_count() const { - return _impl_.grandchild_push_count_; -} -inline uint32_t Program::grandchild_push_count() const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.Program.grandchild_push_count) - return _internal_grandchild_push_count(); -} -inline void Program::_internal_set_grandchild_push_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.grandchild_push_count_ = value; -} -inline void Program::set_grandchild_push_count(uint32_t value) { - _internal_set_grandchild_push_count(value); - // @@protoc_insertion_point(field_set:solidity.test.solrecstructalias.Program.grandchild_push_count) -} - -// optional uint32 grandchild_index = 9; -inline bool Program::_internal_has_grandchild_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool Program::has_grandchild_index() const { - return _internal_has_grandchild_index(); -} -inline void Program::clear_grandchild_index() { - _impl_.grandchild_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t Program::_internal_grandchild_index() const { - return _impl_.grandchild_index_; -} -inline uint32_t Program::grandchild_index() const { - // @@protoc_insertion_point(field_get:solidity.test.solrecstructalias.Program.grandchild_index) - return _internal_grandchild_index(); -} -inline void Program::_internal_set_grandchild_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.grandchild_index_ = value; -} -inline void Program::set_grandchild_index(uint32_t value) { - _internal_set_grandchild_index(value); - // @@protoc_insertion_point(field_set:solidity.test.solrecstructalias.Program.grandchild_index) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace solrecstructalias -} // namespace test -} // namespace solidity - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::solidity::test::solrecstructalias::PrimType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solrecstructalias::PrimType>() { - return ::solidity::test::solrecstructalias::PrimType_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::solrecstructalias::AliasShape> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solrecstructalias::AliasShape>() { - return ::solidity::test::solrecstructalias::AliasShape_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_solRecStructAliasProto_2eproto diff --git a/tools/ossfuzz/solRoundtripProto.pb.cc b/tools/ossfuzz/solRoundtripProto.pb.cc deleted file mode 100644 index d92af44..0000000 --- a/tools/ossfuzz/solRoundtripProto.pb.cc +++ /dev/null @@ -1,756 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: solRoundtripProto.proto - -#include "solRoundtripProto.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -namespace solidity { -namespace test { -namespace solroundtrip { -PROTOBUF_CONSTEXPR Probe::Probe( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.op_)*/0 - , /*decltype(_impl_.seed_)*/uint64_t{0u}} {} -struct ProbeDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProbeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ProbeDefaultTypeInternal() {} - union { - Probe _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProbeDefaultTypeInternal _Probe_default_instance_; -PROTOBUF_CONSTEXPR Program::Program( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.probes_)*/{} - , /*decltype(_impl_.via_ir_)*/false - , /*decltype(_impl_.optimize_)*/false} {} -struct ProgramDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProgramDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ProgramDefaultTypeInternal() {} - union { - Program _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProgramDefaultTypeInternal _Program_default_instance_; -} // namespace solroundtrip -} // namespace test -} // namespace solidity -static ::_pb::Metadata file_level_metadata_solRoundtripProto_2eproto[2]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_solRoundtripProto_2eproto[2]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_solRoundtripProto_2eproto = nullptr; - -const uint32_t TableStruct_solRoundtripProto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::solidity::test::solroundtrip::Probe, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solroundtrip::Probe, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solroundtrip::Probe, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solroundtrip::Probe, _impl_.op_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solroundtrip::Probe, _impl_.seed_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::test::solroundtrip::Program, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solroundtrip::Program, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::test::solroundtrip::Program, _impl_.probes_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solroundtrip::Program, _impl_.via_ir_), - PROTOBUF_FIELD_OFFSET(::solidity::test::solroundtrip::Program, _impl_.optimize_), - ~0u, - 0, - 1, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 9, -1, sizeof(::solidity::test::solroundtrip::Probe)}, - { 12, 21, -1, sizeof(::solidity::test::solroundtrip::Program)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::solidity::test::solroundtrip::_Probe_default_instance_._instance, - &::solidity::test::solroundtrip::_Program_default_instance_._instance, -}; - -const char descriptor_table_protodef_solRoundtripProto_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\027solRoundtripProto.proto\022\032solidity.test" - ".solroundtrip\"}\n\005Probe\0222\n\004type\030\001 \002(\0162$.s" - "olidity.test.solroundtrip.PrimType\0222\n\002op" - "\030\002 \002(\0162&.solidity.test.solroundtrip.Iden" - "tityOp\022\014\n\004seed\030\003 \001(\004\"^\n\007Program\0221\n\006probe" - "s\030\001 \003(\0132!.solidity.test.solroundtrip.Pro" - "be\022\016\n\006via_ir\030\002 \001(\010\022\020\n\010optimize\030\003 \001(\010*o\n\010" - "PrimType\022\006\n\002U8\020\000\022\007\n\003U16\020\001\022\007\n\003U32\020\002\022\007\n\003U6" - "4\020\003\022\010\n\004U128\020\004\022\010\n\004U256\020\005\022\010\n\004I256\020\006\022\013\n\007ADD" - "RESS\020\007\022\010\n\004BOOL\020\010\022\013\n\007BYTES32\020\t*[\n\nIdentit" - "yOp\022\021\n\rABI_ROUNDTRIP\020\000\022\025\n\021STORAGE_MEM_RO" - "UND\020\001\022\022\n\016DELETE_DEFAULT\020\002\022\017\n\013CAST_LADDER" - "\020\003" - ; -static ::_pbi::once_flag descriptor_table_solRoundtripProto_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_solRoundtripProto_2eproto = { - false, false, 482, descriptor_table_protodef_solRoundtripProto_2eproto, - "solRoundtripProto.proto", - &descriptor_table_solRoundtripProto_2eproto_once, nullptr, 0, 2, - schemas, file_default_instances, TableStruct_solRoundtripProto_2eproto::offsets, - file_level_metadata_solRoundtripProto_2eproto, file_level_enum_descriptors_solRoundtripProto_2eproto, - file_level_service_descriptors_solRoundtripProto_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_solRoundtripProto_2eproto_getter() { - return &descriptor_table_solRoundtripProto_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_solRoundtripProto_2eproto(&descriptor_table_solRoundtripProto_2eproto); -namespace solidity { -namespace test { -namespace solroundtrip { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PrimType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_solRoundtripProto_2eproto); - return file_level_enum_descriptors_solRoundtripProto_2eproto[0]; -} -bool PrimType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IdentityOp_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_solRoundtripProto_2eproto); - return file_level_enum_descriptors_solRoundtripProto_2eproto[1]; -} -bool IdentityOp_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - - -// =================================================================== - -class Probe::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_op(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_seed(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -Probe::Probe(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solroundtrip.Probe) -} -Probe::Probe(const Probe& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Probe* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){} - , decltype(_impl_.op_){} - , decltype(_impl_.seed_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.seed_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.seed_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.solroundtrip.Probe) -} - -inline void Probe::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){0} - , decltype(_impl_.op_){0} - , decltype(_impl_.seed_){uint64_t{0u}} - }; -} - -Probe::~Probe() { - // @@protoc_insertion_point(destructor:solidity.test.solroundtrip.Probe) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Probe::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void Probe::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Probe::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solroundtrip.Probe) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.type_, 0, static_cast( - reinterpret_cast(&_impl_.seed_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.seed_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Probe::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.test.solroundtrip.PrimType type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solroundtrip::PrimType_IsValid(val))) { - _internal_set_type(static_cast<::solidity::test::solroundtrip::PrimType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.test.solroundtrip.IdentityOp op = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::test::solroundtrip::IdentityOp_IsValid(val))) { - _internal_set_op(static_cast<::solidity::test::solroundtrip::IdentityOp>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional uint64 seed = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_seed(&has_bits); - _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Probe::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solroundtrip.Probe) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.test.solroundtrip.PrimType type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_type(), target); - } - - // required .solidity.test.solroundtrip.IdentityOp op = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_op(), target); - } - - // optional uint64 seed = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_seed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solroundtrip.Probe) - return target; -} - -size_t Probe::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.solroundtrip.Probe) - size_t total_size = 0; - - if (_internal_has_type()) { - // required .solidity.test.solroundtrip.PrimType type = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - } - - if (_internal_has_op()) { - // required .solidity.test.solroundtrip.IdentityOp op = 2; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - } - - return total_size; -} -size_t Probe::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solroundtrip.Probe) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.test.solroundtrip.PrimType type = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - - // required .solidity.test.solroundtrip.IdentityOp op = 2; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint64 seed = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_seed()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Probe::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Probe::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Probe::GetClassData() const { return &_class_data_; } - - -void Probe::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solroundtrip.Probe) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.op_ = from._impl_.op_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.seed_ = from._impl_.seed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Probe::CopyFrom(const Probe& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solroundtrip.Probe) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Probe::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void Probe::InternalSwap(Probe* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Probe, _impl_.seed_) - + sizeof(Probe::_impl_.seed_) - - PROTOBUF_FIELD_OFFSET(Probe, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Probe::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solRoundtripProto_2eproto_getter, &descriptor_table_solRoundtripProto_2eproto_once, - file_level_metadata_solRoundtripProto_2eproto[0]); -} - -// =================================================================== - -class Program::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_via_ir(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_optimize(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -Program::Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.test.solroundtrip.Program) -} -Program::Program(const Program& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Program* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.probes_){from._impl_.probes_} - , decltype(_impl_.via_ir_){} - , decltype(_impl_.optimize_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.via_ir_, &from._impl_.via_ir_, - static_cast(reinterpret_cast(&_impl_.optimize_) - - reinterpret_cast(&_impl_.via_ir_)) + sizeof(_impl_.optimize_)); - // @@protoc_insertion_point(copy_constructor:solidity.test.solroundtrip.Program) -} - -inline void Program::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.probes_){arena} - , decltype(_impl_.via_ir_){false} - , decltype(_impl_.optimize_){false} - }; -} - -Program::~Program() { - // @@protoc_insertion_point(destructor:solidity.test.solroundtrip.Program) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Program::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.probes_.~RepeatedPtrField(); -} - -void Program::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Program::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.test.solroundtrip.Program) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.probes_.Clear(); - ::memset(&_impl_.via_ir_, 0, static_cast( - reinterpret_cast(&_impl_.optimize_) - - reinterpret_cast(&_impl_.via_ir_)) + sizeof(_impl_.optimize_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Program::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.test.solroundtrip.Probe probes = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_probes(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional bool via_ir = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_via_ir(&has_bits); - _impl_.via_ir_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool optimize = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_optimize(&has_bits); - _impl_.optimize_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Program::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.test.solroundtrip.Program) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.test.solroundtrip.Probe probes = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_probes_size()); i < n; i++) { - const auto& repfield = this->_internal_probes(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool via_ir = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_via_ir(), target); - } - - // optional bool optimize = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_optimize(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.test.solroundtrip.Program) - return target; -} - -size_t Program::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.test.solroundtrip.Program) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.test.solroundtrip.Probe probes = 1; - total_size += 1UL * this->_internal_probes_size(); - for (const auto& msg : this->_impl_.probes_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bool via_ir = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional bool optimize = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Program::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Program::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Program::GetClassData() const { return &_class_data_; } - - -void Program::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.solroundtrip.Program) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.probes_.MergeFrom(from._impl_.probes_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.via_ir_ = from._impl_.via_ir_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.optimize_ = from._impl_.optimize_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Program::CopyFrom(const Program& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.solroundtrip.Program) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Program::IsInitialized() const { - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.probes_)) - return false; - return true; -} - -void Program::InternalSwap(Program* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.probes_.InternalSwap(&other->_impl_.probes_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Program, _impl_.optimize_) - + sizeof(Program::_impl_.optimize_) - - PROTOBUF_FIELD_OFFSET(Program, _impl_.via_ir_)>( - reinterpret_cast(&_impl_.via_ir_), - reinterpret_cast(&other->_impl_.via_ir_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Program::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_solRoundtripProto_2eproto_getter, &descriptor_table_solRoundtripProto_2eproto_once, - file_level_metadata_solRoundtripProto_2eproto[1]); -} - -// @@protoc_insertion_point(namespace_scope) -} // namespace solroundtrip -} // namespace test -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::solidity::test::solroundtrip::Probe* -Arena::CreateMaybeMessage< ::solidity::test::solroundtrip::Probe >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solroundtrip::Probe >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::test::solroundtrip::Program* -Arena::CreateMaybeMessage< ::solidity::test::solroundtrip::Program >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::test::solroundtrip::Program >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/tools/ossfuzz/solRoundtripProto.pb.h b/tools/ossfuzz/solRoundtripProto.pb.h deleted file mode 100644 index c10ab90..0000000 --- a/tools/ossfuzz/solRoundtripProto.pb.h +++ /dev/null @@ -1,739 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: solRoundtripProto.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_solRoundtripProto_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_solRoundtripProto_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021007 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_solRoundtripProto_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_solRoundtripProto_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_solRoundtripProto_2eproto; -namespace solidity { -namespace test { -namespace solroundtrip { -class Probe; -struct ProbeDefaultTypeInternal; -extern ProbeDefaultTypeInternal _Probe_default_instance_; -class Program; -struct ProgramDefaultTypeInternal; -extern ProgramDefaultTypeInternal _Program_default_instance_; -} // namespace solroundtrip -} // namespace test -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> ::solidity::test::solroundtrip::Probe* Arena::CreateMaybeMessage<::solidity::test::solroundtrip::Probe>(Arena*); -template<> ::solidity::test::solroundtrip::Program* Arena::CreateMaybeMessage<::solidity::test::solroundtrip::Program>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace solidity { -namespace test { -namespace solroundtrip { - -enum PrimType : int { - U8 = 0, - U16 = 1, - U32 = 2, - U64 = 3, - U128 = 4, - U256 = 5, - I256 = 6, - ADDRESS = 7, - BOOL = 8, - BYTES32 = 9 -}; -bool PrimType_IsValid(int value); -constexpr PrimType PrimType_MIN = U8; -constexpr PrimType PrimType_MAX = BYTES32; -constexpr int PrimType_ARRAYSIZE = PrimType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PrimType_descriptor(); -template -inline const std::string& PrimType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function PrimType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - PrimType_descriptor(), enum_t_value); -} -inline bool PrimType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PrimType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - PrimType_descriptor(), name, value); -} -enum IdentityOp : int { - ABI_ROUNDTRIP = 0, - STORAGE_MEM_ROUND = 1, - DELETE_DEFAULT = 2, - CAST_LADDER = 3 -}; -bool IdentityOp_IsValid(int value); -constexpr IdentityOp IdentityOp_MIN = ABI_ROUNDTRIP; -constexpr IdentityOp IdentityOp_MAX = CAST_LADDER; -constexpr int IdentityOp_ARRAYSIZE = IdentityOp_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IdentityOp_descriptor(); -template -inline const std::string& IdentityOp_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function IdentityOp_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - IdentityOp_descriptor(), enum_t_value); -} -inline bool IdentityOp_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IdentityOp* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - IdentityOp_descriptor(), name, value); -} -// =================================================================== - -class Probe final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solroundtrip.Probe) */ { - public: - inline Probe() : Probe(nullptr) {} - ~Probe() override; - explicit PROTOBUF_CONSTEXPR Probe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Probe(const Probe& from); - Probe(Probe&& from) noexcept - : Probe() { - *this = ::std::move(from); - } - - inline Probe& operator=(const Probe& from) { - CopyFrom(from); - return *this; - } - inline Probe& operator=(Probe&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Probe& default_instance() { - return *internal_default_instance(); - } - static inline const Probe* internal_default_instance() { - return reinterpret_cast( - &_Probe_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(Probe& a, Probe& b) { - a.Swap(&b); - } - inline void Swap(Probe* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Probe* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Probe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Probe& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Probe& from) { - Probe::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Probe* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solroundtrip.Probe"; - } - protected: - explicit Probe(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - kOpFieldNumber = 2, - kSeedFieldNumber = 3, - }; - // required .solidity.test.solroundtrip.PrimType type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - ::solidity::test::solroundtrip::PrimType type() const; - void set_type(::solidity::test::solroundtrip::PrimType value); - private: - ::solidity::test::solroundtrip::PrimType _internal_type() const; - void _internal_set_type(::solidity::test::solroundtrip::PrimType value); - public: - - // required .solidity.test.solroundtrip.IdentityOp op = 2; - bool has_op() const; - private: - bool _internal_has_op() const; - public: - void clear_op(); - ::solidity::test::solroundtrip::IdentityOp op() const; - void set_op(::solidity::test::solroundtrip::IdentityOp value); - private: - ::solidity::test::solroundtrip::IdentityOp _internal_op() const; - void _internal_set_op(::solidity::test::solroundtrip::IdentityOp value); - public: - - // optional uint64 seed = 3; - bool has_seed() const; - private: - bool _internal_has_seed() const; - public: - void clear_seed(); - uint64_t seed() const; - void set_seed(uint64_t value); - private: - uint64_t _internal_seed() const; - void _internal_set_seed(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.solroundtrip.Probe) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int type_; - int op_; - uint64_t seed_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solRoundtripProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Program final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solroundtrip.Program) */ { - public: - inline Program() : Program(nullptr) {} - ~Program() override; - explicit PROTOBUF_CONSTEXPR Program(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Program(const Program& from); - Program(Program&& from) noexcept - : Program() { - *this = ::std::move(from); - } - - inline Program& operator=(const Program& from) { - CopyFrom(from); - return *this; - } - inline Program& operator=(Program&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Program& default_instance() { - return *internal_default_instance(); - } - static inline const Program* internal_default_instance() { - return reinterpret_cast( - &_Program_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(Program& a, Program& b) { - a.Swap(&b); - } - inline void Swap(Program* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Program* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Program* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Program& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Program& from) { - Program::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Program* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.test.solroundtrip.Program"; - } - protected: - explicit Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kProbesFieldNumber = 1, - kViaIrFieldNumber = 2, - kOptimizeFieldNumber = 3, - }; - // repeated .solidity.test.solroundtrip.Probe probes = 1; - int probes_size() const; - private: - int _internal_probes_size() const; - public: - void clear_probes(); - ::solidity::test::solroundtrip::Probe* mutable_probes(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solroundtrip::Probe >* - mutable_probes(); - private: - const ::solidity::test::solroundtrip::Probe& _internal_probes(int index) const; - ::solidity::test::solroundtrip::Probe* _internal_add_probes(); - public: - const ::solidity::test::solroundtrip::Probe& probes(int index) const; - ::solidity::test::solroundtrip::Probe* add_probes(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solroundtrip::Probe >& - probes() const; - - // optional bool via_ir = 2; - bool has_via_ir() const; - private: - bool _internal_has_via_ir() const; - public: - void clear_via_ir(); - bool via_ir() const; - void set_via_ir(bool value); - private: - bool _internal_via_ir() const; - void _internal_set_via_ir(bool value); - public: - - // optional bool optimize = 3; - bool has_optimize() const; - private: - bool _internal_has_optimize() const; - public: - void clear_optimize(); - bool optimize() const; - void set_optimize(bool value); - private: - bool _internal_optimize() const; - void _internal_set_optimize(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.test.solroundtrip.Program) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solroundtrip::Probe > probes_; - bool via_ir_; - bool optimize_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_solRoundtripProto_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Probe - -// required .solidity.test.solroundtrip.PrimType type = 1; -inline bool Probe::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool Probe::has_type() const { - return _internal_has_type(); -} -inline void Probe::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::test::solroundtrip::PrimType Probe::_internal_type() const { - return static_cast< ::solidity::test::solroundtrip::PrimType >(_impl_.type_); -} -inline ::solidity::test::solroundtrip::PrimType Probe::type() const { - // @@protoc_insertion_point(field_get:solidity.test.solroundtrip.Probe.type) - return _internal_type(); -} -inline void Probe::_internal_set_type(::solidity::test::solroundtrip::PrimType value) { - assert(::solidity::test::solroundtrip::PrimType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_ = value; -} -inline void Probe::set_type(::solidity::test::solroundtrip::PrimType value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:solidity.test.solroundtrip.Probe.type) -} - -// required .solidity.test.solroundtrip.IdentityOp op = 2; -inline bool Probe::_internal_has_op() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool Probe::has_op() const { - return _internal_has_op(); -} -inline void Probe::clear_op() { - _impl_.op_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::test::solroundtrip::IdentityOp Probe::_internal_op() const { - return static_cast< ::solidity::test::solroundtrip::IdentityOp >(_impl_.op_); -} -inline ::solidity::test::solroundtrip::IdentityOp Probe::op() const { - // @@protoc_insertion_point(field_get:solidity.test.solroundtrip.Probe.op) - return _internal_op(); -} -inline void Probe::_internal_set_op(::solidity::test::solroundtrip::IdentityOp value) { - assert(::solidity::test::solroundtrip::IdentityOp_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.op_ = value; -} -inline void Probe::set_op(::solidity::test::solroundtrip::IdentityOp value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:solidity.test.solroundtrip.Probe.op) -} - -// optional uint64 seed = 3; -inline bool Probe::_internal_has_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool Probe::has_seed() const { - return _internal_has_seed(); -} -inline void Probe::clear_seed() { - _impl_.seed_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t Probe::_internal_seed() const { - return _impl_.seed_; -} -inline uint64_t Probe::seed() const { - // @@protoc_insertion_point(field_get:solidity.test.solroundtrip.Probe.seed) - return _internal_seed(); -} -inline void Probe::_internal_set_seed(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.seed_ = value; -} -inline void Probe::set_seed(uint64_t value) { - _internal_set_seed(value); - // @@protoc_insertion_point(field_set:solidity.test.solroundtrip.Probe.seed) -} - -// ------------------------------------------------------------------- - -// Program - -// repeated .solidity.test.solroundtrip.Probe probes = 1; -inline int Program::_internal_probes_size() const { - return _impl_.probes_.size(); -} -inline int Program::probes_size() const { - return _internal_probes_size(); -} -inline void Program::clear_probes() { - _impl_.probes_.Clear(); -} -inline ::solidity::test::solroundtrip::Probe* Program::mutable_probes(int index) { - // @@protoc_insertion_point(field_mutable:solidity.test.solroundtrip.Program.probes) - return _impl_.probes_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solroundtrip::Probe >* -Program::mutable_probes() { - // @@protoc_insertion_point(field_mutable_list:solidity.test.solroundtrip.Program.probes) - return &_impl_.probes_; -} -inline const ::solidity::test::solroundtrip::Probe& Program::_internal_probes(int index) const { - return _impl_.probes_.Get(index); -} -inline const ::solidity::test::solroundtrip::Probe& Program::probes(int index) const { - // @@protoc_insertion_point(field_get:solidity.test.solroundtrip.Program.probes) - return _internal_probes(index); -} -inline ::solidity::test::solroundtrip::Probe* Program::_internal_add_probes() { - return _impl_.probes_.Add(); -} -inline ::solidity::test::solroundtrip::Probe* Program::add_probes() { - ::solidity::test::solroundtrip::Probe* _add = _internal_add_probes(); - // @@protoc_insertion_point(field_add:solidity.test.solroundtrip.Program.probes) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solroundtrip::Probe >& -Program::probes() const { - // @@protoc_insertion_point(field_list:solidity.test.solroundtrip.Program.probes) - return _impl_.probes_; -} - -// optional bool via_ir = 2; -inline bool Program::_internal_has_via_ir() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool Program::has_via_ir() const { - return _internal_has_via_ir(); -} -inline void Program::clear_via_ir() { - _impl_.via_ir_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool Program::_internal_via_ir() const { - return _impl_.via_ir_; -} -inline bool Program::via_ir() const { - // @@protoc_insertion_point(field_get:solidity.test.solroundtrip.Program.via_ir) - return _internal_via_ir(); -} -inline void Program::_internal_set_via_ir(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.via_ir_ = value; -} -inline void Program::set_via_ir(bool value) { - _internal_set_via_ir(value); - // @@protoc_insertion_point(field_set:solidity.test.solroundtrip.Program.via_ir) -} - -// optional bool optimize = 3; -inline bool Program::_internal_has_optimize() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool Program::has_optimize() const { - return _internal_has_optimize(); -} -inline void Program::clear_optimize() { - _impl_.optimize_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool Program::_internal_optimize() const { - return _impl_.optimize_; -} -inline bool Program::optimize() const { - // @@protoc_insertion_point(field_get:solidity.test.solroundtrip.Program.optimize) - return _internal_optimize(); -} -inline void Program::_internal_set_optimize(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.optimize_ = value; -} -inline void Program::set_optimize(bool value) { - _internal_set_optimize(value); - // @@protoc_insertion_point(field_set:solidity.test.solroundtrip.Program.optimize) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace solroundtrip -} // namespace test -} // namespace solidity - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::solidity::test::solroundtrip::PrimType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solroundtrip::PrimType>() { - return ::solidity::test::solroundtrip::PrimType_descriptor(); -} -template <> struct is_proto_enum< ::solidity::test::solroundtrip::IdentityOp> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solroundtrip::IdentityOp>() { - return ::solidity::test::solroundtrip::IdentityOp_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_solRoundtripProto_2eproto diff --git a/tools/ossfuzz/yulProto.pb.cc b/tools/ossfuzz/yulProto.pb.cc deleted file mode 100644 index 192e87b..0000000 --- a/tools/ossfuzz/yulProto.pb.cc +++ /dev/null @@ -1,15703 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: yulProto.proto - -#include "yulProto.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -namespace solidity { -namespace yul { -namespace test { -namespace yul_fuzzer { -PROTOBUF_CONSTEXPR VarDecl::VarDecl( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.expr_)*/nullptr} {} -struct VarDeclDefaultTypeInternal { - PROTOBUF_CONSTEXPR VarDeclDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~VarDeclDefaultTypeInternal() {} - union { - VarDecl _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VarDeclDefaultTypeInternal _VarDecl_default_instance_; -PROTOBUF_CONSTEXPR MultiVarDecl::MultiVarDecl( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.num_vars_)*/0u} {} -struct MultiVarDeclDefaultTypeInternal { - PROTOBUF_CONSTEXPR MultiVarDeclDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MultiVarDeclDefaultTypeInternal() {} - union { - MultiVarDecl _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MultiVarDeclDefaultTypeInternal _MultiVarDecl_default_instance_; -PROTOBUF_CONSTEXPR LowLevelCall::LowLevelCall( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.gas_)*/nullptr - , /*decltype(_impl_.addr_)*/nullptr - , /*decltype(_impl_.wei_)*/nullptr - , /*decltype(_impl_.in_)*/nullptr - , /*decltype(_impl_.insize_)*/nullptr - , /*decltype(_impl_.out_)*/nullptr - , /*decltype(_impl_.outsize_)*/nullptr - , /*decltype(_impl_.callty_)*/0} {} -struct LowLevelCallDefaultTypeInternal { - PROTOBUF_CONSTEXPR LowLevelCallDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~LowLevelCallDefaultTypeInternal() {} - union { - LowLevelCall _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LowLevelCallDefaultTypeInternal _LowLevelCall_default_instance_; -PROTOBUF_CONSTEXPR Create::Create( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.wei_)*/nullptr - , /*decltype(_impl_.position_)*/nullptr - , /*decltype(_impl_.size_)*/nullptr - , /*decltype(_impl_.value_)*/nullptr - , /*decltype(_impl_.createty_)*/0} {} -struct CreateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CreateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CreateDefaultTypeInternal() {} - union { - Create _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateDefaultTypeInternal _Create_default_instance_; -PROTOBUF_CONSTEXPR FunctionCall::FunctionCall( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.in_param1_)*/nullptr - , /*decltype(_impl_.in_param2_)*/nullptr - , /*decltype(_impl_.in_param3_)*/nullptr - , /*decltype(_impl_.in_param4_)*/nullptr} {} -struct FunctionCallDefaultTypeInternal { - PROTOBUF_CONSTEXPR FunctionCallDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~FunctionCallDefaultTypeInternal() {} - union { - FunctionCall _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FunctionCallDefaultTypeInternal _FunctionCall_default_instance_; -PROTOBUF_CONSTEXPR TypedVarDecl::TypedVarDecl( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.expr_)*/nullptr - , /*decltype(_impl_.id_)*/0 - , /*decltype(_impl_.type_)*/1} {} -struct TypedVarDeclDefaultTypeInternal { - PROTOBUF_CONSTEXPR TypedVarDeclDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TypedVarDeclDefaultTypeInternal() {} - union { - TypedVarDecl _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TypedVarDeclDefaultTypeInternal _TypedVarDecl_default_instance_; -PROTOBUF_CONSTEXPR VarRef::VarRef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.varnum_)*/0} {} -struct VarRefDefaultTypeInternal { - PROTOBUF_CONSTEXPR VarRefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~VarRefDefaultTypeInternal() {} - union { - VarRef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VarRefDefaultTypeInternal _VarRef_default_instance_; -PROTOBUF_CONSTEXPR Literal::Literal( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.literal_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct LiteralDefaultTypeInternal { - PROTOBUF_CONSTEXPR LiteralDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~LiteralDefaultTypeInternal() {} - union { - Literal _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LiteralDefaultTypeInternal _Literal_default_instance_; -PROTOBUF_CONSTEXPR TypedLiteral::TypedLiteral( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.val_)*/0 - , /*decltype(_impl_.type_)*/1} {} -struct TypedLiteralDefaultTypeInternal { - PROTOBUF_CONSTEXPR TypedLiteralDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TypedLiteralDefaultTypeInternal() {} - union { - TypedLiteral _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TypedLiteralDefaultTypeInternal _TypedLiteral_default_instance_; -PROTOBUF_CONSTEXPR BinaryOp::BinaryOp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.left_)*/nullptr - , /*decltype(_impl_.right_)*/nullptr - , /*decltype(_impl_.op_)*/0} {} -struct BinaryOpDefaultTypeInternal { - PROTOBUF_CONSTEXPR BinaryOpDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BinaryOpDefaultTypeInternal() {} - union { - BinaryOp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinaryOpDefaultTypeInternal _BinaryOp_default_instance_; -PROTOBUF_CONSTEXPR UnaryOp::UnaryOp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.operand_)*/nullptr - , /*decltype(_impl_.op_)*/0} {} -struct UnaryOpDefaultTypeInternal { - PROTOBUF_CONSTEXPR UnaryOpDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~UnaryOpDefaultTypeInternal() {} - union { - UnaryOp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnaryOpDefaultTypeInternal _UnaryOp_default_instance_; -PROTOBUF_CONSTEXPR UnaryOpData::UnaryOpData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.identifier_)*/uint64_t{0u} - , /*decltype(_impl_.op_)*/1} {} -struct UnaryOpDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR UnaryOpDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~UnaryOpDataDefaultTypeInternal() {} - union { - UnaryOpData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnaryOpDataDefaultTypeInternal _UnaryOpData_default_instance_; -PROTOBUF_CONSTEXPR TernaryOp::TernaryOp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.arg1_)*/nullptr - , /*decltype(_impl_.arg2_)*/nullptr - , /*decltype(_impl_.arg3_)*/nullptr - , /*decltype(_impl_.op_)*/0} {} -struct TernaryOpDefaultTypeInternal { - PROTOBUF_CONSTEXPR TernaryOpDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TernaryOpDefaultTypeInternal() {} - union { - TernaryOp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TernaryOpDefaultTypeInternal _TernaryOp_default_instance_; -PROTOBUF_CONSTEXPR CopyFunc::CopyFunc( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.target_)*/nullptr - , /*decltype(_impl_.source_)*/nullptr - , /*decltype(_impl_.size_)*/nullptr - , /*decltype(_impl_.ct_)*/0} {} -struct CopyFuncDefaultTypeInternal { - PROTOBUF_CONSTEXPR CopyFuncDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CopyFuncDefaultTypeInternal() {} - union { - CopyFunc _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CopyFuncDefaultTypeInternal _CopyFunc_default_instance_; -PROTOBUF_CONSTEXPR ExtCodeCopy::ExtCodeCopy( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.addr_)*/nullptr - , /*decltype(_impl_.target_)*/nullptr - , /*decltype(_impl_.source_)*/nullptr - , /*decltype(_impl_.size_)*/nullptr} {} -struct ExtCodeCopyDefaultTypeInternal { - PROTOBUF_CONSTEXPR ExtCodeCopyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ExtCodeCopyDefaultTypeInternal() {} - union { - ExtCodeCopy _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtCodeCopyDefaultTypeInternal _ExtCodeCopy_default_instance_; -PROTOBUF_CONSTEXPR NullaryOp::NullaryOp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.op_)*/1} {} -struct NullaryOpDefaultTypeInternal { - PROTOBUF_CONSTEXPR NullaryOpDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~NullaryOpDefaultTypeInternal() {} - union { - NullaryOp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NullaryOpDefaultTypeInternal _NullaryOp_default_instance_; -PROTOBUF_CONSTEXPR StoreFunc::StoreFunc( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.loc_)*/nullptr - , /*decltype(_impl_.val_)*/nullptr - , /*decltype(_impl_.st_)*/0} {} -struct StoreFuncDefaultTypeInternal { - PROTOBUF_CONSTEXPR StoreFuncDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StoreFuncDefaultTypeInternal() {} - union { - StoreFunc _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StoreFuncDefaultTypeInternal _StoreFunc_default_instance_; -PROTOBUF_CONSTEXPR LogFunc::LogFunc( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.pos_)*/nullptr - , /*decltype(_impl_.size_)*/nullptr - , /*decltype(_impl_.t1_)*/nullptr - , /*decltype(_impl_.t2_)*/nullptr - , /*decltype(_impl_.t3_)*/nullptr - , /*decltype(_impl_.t4_)*/nullptr - , /*decltype(_impl_.num_topics_)*/0} {} -struct LogFuncDefaultTypeInternal { - PROTOBUF_CONSTEXPR LogFuncDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~LogFuncDefaultTypeInternal() {} - union { - LogFunc _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LogFuncDefaultTypeInternal _LogFunc_default_instance_; -PROTOBUF_CONSTEXPR Expression::Expression( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.expr_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct ExpressionDefaultTypeInternal { - PROTOBUF_CONSTEXPR ExpressionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ExpressionDefaultTypeInternal() {} - union { - Expression _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpressionDefaultTypeInternal _Expression_default_instance_; -PROTOBUF_CONSTEXPR AssignmentStatement::AssignmentStatement( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ref_id_)*/nullptr - , /*decltype(_impl_.expr_)*/nullptr} {} -struct AssignmentStatementDefaultTypeInternal { - PROTOBUF_CONSTEXPR AssignmentStatementDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~AssignmentStatementDefaultTypeInternal() {} - union { - AssignmentStatement _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignmentStatementDefaultTypeInternal _AssignmentStatement_default_instance_; -PROTOBUF_CONSTEXPR IfStmt::IfStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cond_)*/nullptr - , /*decltype(_impl_.if_body_)*/nullptr} {} -struct IfStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR IfStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IfStmtDefaultTypeInternal() {} - union { - IfStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IfStmtDefaultTypeInternal _IfStmt_default_instance_; -PROTOBUF_CONSTEXPR BoundedForStmt::BoundedForStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.for_body_)*/nullptr} {} -struct BoundedForStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR BoundedForStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BoundedForStmtDefaultTypeInternal() {} - union { - BoundedForStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoundedForStmtDefaultTypeInternal _BoundedForStmt_default_instance_; -PROTOBUF_CONSTEXPR ForStmt::ForStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.for_body_)*/nullptr - , /*decltype(_impl_.for_init_)*/nullptr - , /*decltype(_impl_.for_post_)*/nullptr - , /*decltype(_impl_.for_cond_)*/nullptr} {} -struct ForStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR ForStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ForStmtDefaultTypeInternal() {} - union { - ForStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ForStmtDefaultTypeInternal _ForStmt_default_instance_; -PROTOBUF_CONSTEXPR CaseStmt::CaseStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.case_lit_)*/nullptr - , /*decltype(_impl_.case_block_)*/nullptr} {} -struct CaseStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR CaseStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CaseStmtDefaultTypeInternal() {} - union { - CaseStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CaseStmtDefaultTypeInternal _CaseStmt_default_instance_; -PROTOBUF_CONSTEXPR SwitchStmt::SwitchStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.case_stmt_)*/{} - , /*decltype(_impl_.switch_expr_)*/nullptr - , /*decltype(_impl_.default_block_)*/nullptr} {} -struct SwitchStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR SwitchStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~SwitchStmtDefaultTypeInternal() {} - union { - SwitchStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SwitchStmtDefaultTypeInternal _SwitchStmt_default_instance_; -PROTOBUF_CONSTEXPR BreakStmt::BreakStmt( - ::_pbi::ConstantInitialized) {} -struct BreakStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR BreakStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BreakStmtDefaultTypeInternal() {} - union { - BreakStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BreakStmtDefaultTypeInternal _BreakStmt_default_instance_; -PROTOBUF_CONSTEXPR ContinueStmt::ContinueStmt( - ::_pbi::ConstantInitialized) {} -struct ContinueStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR ContinueStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ContinueStmtDefaultTypeInternal() {} - union { - ContinueStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContinueStmtDefaultTypeInternal _ContinueStmt_default_instance_; -PROTOBUF_CONSTEXPR StopInvalidStmt::StopInvalidStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.stmt_)*/0} {} -struct StopInvalidStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR StopInvalidStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StopInvalidStmtDefaultTypeInternal() {} - union { - StopInvalidStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StopInvalidStmtDefaultTypeInternal _StopInvalidStmt_default_instance_; -PROTOBUF_CONSTEXPR RetRevStmt::RetRevStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.pos_)*/nullptr - , /*decltype(_impl_.size_)*/nullptr - , /*decltype(_impl_.stmt_)*/0} {} -struct RetRevStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR RetRevStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~RetRevStmtDefaultTypeInternal() {} - union { - RetRevStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RetRevStmtDefaultTypeInternal _RetRevStmt_default_instance_; -PROTOBUF_CONSTEXPR SelfDestructStmt::SelfDestructStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.addr_)*/nullptr} {} -struct SelfDestructStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR SelfDestructStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~SelfDestructStmtDefaultTypeInternal() {} - union { - SelfDestructStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelfDestructStmtDefaultTypeInternal _SelfDestructStmt_default_instance_; -PROTOBUF_CONSTEXPR TerminatingStmt::TerminatingStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.term_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct TerminatingStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR TerminatingStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TerminatingStmtDefaultTypeInternal() {} - union { - TerminatingStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TerminatingStmtDefaultTypeInternal _TerminatingStmt_default_instance_; -PROTOBUF_CONSTEXPR FunctionDef::FunctionDef( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.block_)*/nullptr - , /*decltype(_impl_.num_input_params_)*/0u - , /*decltype(_impl_.num_output_params_)*/0u - , /*decltype(_impl_.force_call_)*/false} {} -struct FunctionDefDefaultTypeInternal { - PROTOBUF_CONSTEXPR FunctionDefDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~FunctionDefDefaultTypeInternal() {} - union { - FunctionDef _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FunctionDefDefaultTypeInternal _FunctionDef_default_instance_; -PROTOBUF_CONSTEXPR PopStmt::PopStmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.expr_)*/nullptr} {} -struct PopStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR PopStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PopStmtDefaultTypeInternal() {} - union { - PopStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PopStmtDefaultTypeInternal _PopStmt_default_instance_; -PROTOBUF_CONSTEXPR LeaveStmt::LeaveStmt( - ::_pbi::ConstantInitialized) {} -struct LeaveStmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR LeaveStmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~LeaveStmtDefaultTypeInternal() {} - union { - LeaveStmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LeaveStmtDefaultTypeInternal _LeaveStmt_default_instance_; -PROTOBUF_CONSTEXPR Statement::Statement( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.stmt_oneof_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct StatementDefaultTypeInternal { - PROTOBUF_CONSTEXPR StatementDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~StatementDefaultTypeInternal() {} - union { - Statement _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatementDefaultTypeInternal _Statement_default_instance_; -PROTOBUF_CONSTEXPR Block::Block( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.statements_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct BlockDefaultTypeInternal { - PROTOBUF_CONSTEXPR BlockDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~BlockDefaultTypeInternal() {} - union { - Block _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlockDefaultTypeInternal _Block_default_instance_; -PROTOBUF_CONSTEXPR CallData::CallData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.raw_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CallDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CallDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CallDataDefaultTypeInternal() {} - union { - CallData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallDataDefaultTypeInternal _CallData_default_instance_; -PROTOBUF_CONSTEXPR Object::Object( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sub_obj_)*/{} - , /*decltype(_impl_.code_)*/nullptr - , /*decltype(_impl_.data_)*/nullptr} {} -struct ObjectDefaultTypeInternal { - PROTOBUF_CONSTEXPR ObjectDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ObjectDefaultTypeInternal() {} - union { - Object _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectDefaultTypeInternal _Object_default_instance_; -PROTOBUF_CONSTEXPR Code::Code( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.block_)*/nullptr} {} -struct CodeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CodeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CodeDefaultTypeInternal() {} - union { - Code _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CodeDefaultTypeInternal _Code_default_instance_; -PROTOBUF_CONSTEXPR Data::Data( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.hex_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct DataDefaultTypeInternal { - PROTOBUF_CONSTEXPR DataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~DataDefaultTypeInternal() {} - union { - Data _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DataDefaultTypeInternal _Data_default_instance_; -PROTOBUF_CONSTEXPR Program::Program( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.optimiser_seq_)*/{} - , /*decltype(_impl_.optimiser_cleanup_seq_)*/{} - , /*decltype(_impl_.calldata_)*/nullptr - , /*decltype(_impl_.ver_)*/0 - , /*decltype(_impl_.step_)*/0u - , /*decltype(_impl_.expected_executions_)*/0u - , /*decltype(_impl_.optimize_stack_allocation_)*/false - , /*decltype(_impl_.is_creation_)*/false - , /*decltype(_impl_.program_oneof_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct ProgramDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProgramDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ProgramDefaultTypeInternal() {} - union { - Program _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProgramDefaultTypeInternal _Program_default_instance_; -} // namespace yul_fuzzer -} // namespace test -} // namespace yul -} // namespace solidity -static ::_pb::Metadata file_level_metadata_yulProto_2eproto[41]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_yulProto_2eproto[15]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_yulProto_2eproto = nullptr; - -const uint32_t TableStruct_yulProto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarDecl, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarDecl, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarDecl, _impl_.expr_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::MultiVarDecl, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::MultiVarDecl, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::MultiVarDecl, _impl_.num_vars_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.callty_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.gas_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.addr_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.wei_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.in_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.insize_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.out_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.outsize_), - 7, - 0, - 1, - 2, - 3, - 4, - 5, - 6, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_.createty_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_.wei_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_.position_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_.size_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_.value_), - 4, - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _impl_.in_param1_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _impl_.in_param2_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _impl_.in_param3_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _impl_.in_param4_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedVarDecl, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedVarDecl, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedVarDecl, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedVarDecl, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedVarDecl, _impl_.expr_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarRef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarRef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarRef, _impl_.varnum_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Literal, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Literal, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Literal, _impl_.literal_oneof_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedLiteral, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedLiteral, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedLiteral, _impl_.val_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedLiteral, _impl_.type_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BinaryOp, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BinaryOp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BinaryOp, _impl_.op_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BinaryOp, _impl_.left_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BinaryOp, _impl_.right_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOp, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOp, _impl_.op_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOp, _impl_.operand_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOpData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOpData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOpData, _impl_.op_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOpData, _impl_.identifier_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _impl_.op_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _impl_.arg1_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _impl_.arg2_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _impl_.arg3_), - 3, - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _impl_.ct_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _impl_.target_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _impl_.source_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _impl_.size_), - 3, - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _impl_.addr_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _impl_.target_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _impl_.source_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _impl_.size_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::NullaryOp, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::NullaryOp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::NullaryOp, _impl_.op_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StoreFunc, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StoreFunc, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StoreFunc, _impl_.loc_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StoreFunc, _impl_.val_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StoreFunc, _impl_.st_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.pos_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.size_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.num_topics_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.t1_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.t2_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.t3_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.t4_), - 0, - 1, - 6, - 2, - 3, - 4, - 5, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Expression, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Expression, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Expression, _impl_.expr_oneof_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::AssignmentStatement, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::AssignmentStatement, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::AssignmentStatement, _impl_.ref_id_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::AssignmentStatement, _impl_.expr_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::IfStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::IfStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::IfStmt, _impl_.cond_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::IfStmt, _impl_.if_body_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BoundedForStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BoundedForStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BoundedForStmt, _impl_.for_body_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _impl_.for_body_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _impl_.for_init_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _impl_.for_post_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _impl_.for_cond_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CaseStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CaseStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CaseStmt, _impl_.case_lit_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CaseStmt, _impl_.case_block_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SwitchStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SwitchStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SwitchStmt, _impl_.switch_expr_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SwitchStmt, _impl_.case_stmt_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SwitchStmt, _impl_.default_block_), - 0, - ~0u, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BreakStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ContinueStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StopInvalidStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StopInvalidStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StopInvalidStmt, _impl_.stmt_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::RetRevStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::RetRevStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::RetRevStmt, _impl_.stmt_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::RetRevStmt, _impl_.pos_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::RetRevStmt, _impl_.size_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SelfDestructStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SelfDestructStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SelfDestructStmt, _impl_.addr_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TerminatingStmt, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TerminatingStmt, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TerminatingStmt, _impl_.term_oneof_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _impl_.num_input_params_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _impl_.num_output_params_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _impl_.block_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _impl_.force_call_), - 1, - 2, - 0, - 3, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::PopStmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::PopStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::PopStmt, _impl_.expr_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LeaveStmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Statement, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Statement, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Statement, _impl_.stmt_oneof_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Block, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Block, _impl_.statements_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CallData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CallData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CallData, _impl_.raw_data_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Object, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Object, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Object, _impl_.code_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Object, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Object, _impl_.sub_obj_), - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Code, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Code, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Code, _impl_.block_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Data, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Data, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Data, _impl_.hex_), - 0, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.ver_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.step_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.calldata_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.optimiser_seq_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.optimize_stack_allocation_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.expected_executions_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.is_creation_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.optimiser_cleanup_seq_), - PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.program_oneof_), - ~0u, - ~0u, - 1, - 2, - 0, - ~0u, - 4, - 3, - 5, - ~0u, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 7, -1, sizeof(::solidity::yul::test::yul_fuzzer::VarDecl)}, - { 8, 15, -1, sizeof(::solidity::yul::test::yul_fuzzer::MultiVarDecl)}, - { 16, 30, -1, sizeof(::solidity::yul::test::yul_fuzzer::LowLevelCall)}, - { 38, 49, -1, sizeof(::solidity::yul::test::yul_fuzzer::Create)}, - { 54, 64, -1, sizeof(::solidity::yul::test::yul_fuzzer::FunctionCall)}, - { 68, 77, -1, sizeof(::solidity::yul::test::yul_fuzzer::TypedVarDecl)}, - { 80, 87, -1, sizeof(::solidity::yul::test::yul_fuzzer::VarRef)}, - { 88, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::Literal)}, - { 99, 107, -1, sizeof(::solidity::yul::test::yul_fuzzer::TypedLiteral)}, - { 109, 118, -1, sizeof(::solidity::yul::test::yul_fuzzer::BinaryOp)}, - { 121, 129, -1, sizeof(::solidity::yul::test::yul_fuzzer::UnaryOp)}, - { 131, 139, -1, sizeof(::solidity::yul::test::yul_fuzzer::UnaryOpData)}, - { 141, 151, -1, sizeof(::solidity::yul::test::yul_fuzzer::TernaryOp)}, - { 155, 165, -1, sizeof(::solidity::yul::test::yul_fuzzer::CopyFunc)}, - { 169, 179, -1, sizeof(::solidity::yul::test::yul_fuzzer::ExtCodeCopy)}, - { 183, 190, -1, sizeof(::solidity::yul::test::yul_fuzzer::NullaryOp)}, - { 191, 200, -1, sizeof(::solidity::yul::test::yul_fuzzer::StoreFunc)}, - { 203, 216, -1, sizeof(::solidity::yul::test::yul_fuzzer::LogFunc)}, - { 223, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::Expression)}, - { 240, 248, -1, sizeof(::solidity::yul::test::yul_fuzzer::AssignmentStatement)}, - { 250, 258, -1, sizeof(::solidity::yul::test::yul_fuzzer::IfStmt)}, - { 260, 267, -1, sizeof(::solidity::yul::test::yul_fuzzer::BoundedForStmt)}, - { 268, 278, -1, sizeof(::solidity::yul::test::yul_fuzzer::ForStmt)}, - { 282, 290, -1, sizeof(::solidity::yul::test::yul_fuzzer::CaseStmt)}, - { 292, 301, -1, sizeof(::solidity::yul::test::yul_fuzzer::SwitchStmt)}, - { 304, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::BreakStmt)}, - { 310, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::ContinueStmt)}, - { 316, 323, -1, sizeof(::solidity::yul::test::yul_fuzzer::StopInvalidStmt)}, - { 324, 333, -1, sizeof(::solidity::yul::test::yul_fuzzer::RetRevStmt)}, - { 336, 343, -1, sizeof(::solidity::yul::test::yul_fuzzer::SelfDestructStmt)}, - { 344, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::TerminatingStmt)}, - { 354, 364, -1, sizeof(::solidity::yul::test::yul_fuzzer::FunctionDef)}, - { 368, 375, -1, sizeof(::solidity::yul::test::yul_fuzzer::PopStmt)}, - { 376, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::LeaveStmt)}, - { 382, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::Statement)}, - { 408, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::Block)}, - { 415, 422, -1, sizeof(::solidity::yul::test::yul_fuzzer::CallData)}, - { 423, 432, -1, sizeof(::solidity::yul::test::yul_fuzzer::Object)}, - { 435, 442, -1, sizeof(::solidity::yul::test::yul_fuzzer::Code)}, - { 443, 450, -1, sizeof(::solidity::yul::test::yul_fuzzer::Data)}, - { 451, 468, -1, sizeof(::solidity::yul::test::yul_fuzzer::Program)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::solidity::yul::test::yul_fuzzer::_VarDecl_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_MultiVarDecl_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_LowLevelCall_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_Create_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_FunctionCall_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_TypedVarDecl_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_VarRef_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_Literal_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_TypedLiteral_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_BinaryOp_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_UnaryOp_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_UnaryOpData_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_TernaryOp_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_CopyFunc_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_ExtCodeCopy_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_NullaryOp_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_StoreFunc_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_LogFunc_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_Expression_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_AssignmentStatement_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_IfStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_BoundedForStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_ForStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_CaseStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_SwitchStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_BreakStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_ContinueStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_StopInvalidStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_RetRevStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_SelfDestructStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_TerminatingStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_FunctionDef_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_PopStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_LeaveStmt_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_Statement_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_Block_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_CallData_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_Object_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_Code_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_Data_default_instance_._instance, - &::solidity::yul::test::yul_fuzzer::_Program_default_instance_._instance, -}; - -const char descriptor_table_protodef_yulProto_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\016yulProto.proto\022\034solidity.yul.test.yul_" - "fuzzer\"A\n\007VarDecl\0226\n\004expr\030\001 \002(\0132(.solidi" - "ty.yul.test.yul_fuzzer.Expression\" \n\014Mul" - "tiVarDecl\022\020\n\010num_vars\030\001 \002(\r\"\231\004\n\014LowLevel" - "Call\022\?\n\006callty\030\001 \002(\0162/.solidity.yul.test" - ".yul_fuzzer.LowLevelCall.Type\0225\n\003gas\030\002 \002" - "(\0132(.solidity.yul.test.yul_fuzzer.Expres" - "sion\0226\n\004addr\030\003 \002(\0132(.solidity.yul.test.y" - "ul_fuzzer.Expression\0225\n\003wei\030\004 \002(\0132(.soli" - "dity.yul.test.yul_fuzzer.Expression\0224\n\002i" - "n\030\005 \002(\0132(.solidity.yul.test.yul_fuzzer.E" - "xpression\0228\n\006insize\030\006 \002(\0132(.solidity.yul" - ".test.yul_fuzzer.Expression\0225\n\003out\030\007 \002(\013" - "2(.solidity.yul.test.yul_fuzzer.Expressi" - "on\0229\n\007outsize\030\010 \002(\0132(.solidity.yul.test." - "yul_fuzzer.Expression\"@\n\004Type\022\010\n\004CALL\020\000\022" - "\014\n\010CALLCODE\020\001\022\020\n\014DELEGATECALL\020\002\022\016\n\nSTATI" - "CCALL\020\003\"\312\002\n\006Create\022;\n\010createty\030\001 \002(\0162).s" - "olidity.yul.test.yul_fuzzer.Create.Type\022" - "5\n\003wei\030\002 \002(\0132(.solidity.yul.test.yul_fuz" - "zer.Expression\022:\n\010position\030\003 \002(\0132(.solid" - "ity.yul.test.yul_fuzzer.Expression\0226\n\004si" - "ze\030\004 \002(\0132(.solidity.yul.test.yul_fuzzer." - "Expression\0227\n\005value\030\005 \002(\0132(.solidity.yul" - ".test.yul_fuzzer.Expression\"\037\n\004Type\022\n\n\006C" - "REATE\020\000\022\013\n\007CREATE2\020\001\"\202\002\n\014FunctionCall\022;\n" - "\tin_param1\030\001 \002(\0132(.solidity.yul.test.yul" - "_fuzzer.Expression\022;\n\tin_param2\030\002 \002(\0132(." - "solidity.yul.test.yul_fuzzer.Expression\022" - ";\n\tin_param3\030\003 \002(\0132(.solidity.yul.test.y" - "ul_fuzzer.Expression\022;\n\tin_param4\030\004 \002(\0132" - "(.solidity.yul.test.yul_fuzzer.Expressio" - "n\"\207\002\n\014TypedVarDecl\022\n\n\002id\030\001 \002(\005\022A\n\004type\030\002" - " \002(\01623.solidity.yul.test.yul_fuzzer.Type" - "dVarDecl.TypeName\0226\n\004expr\030\003 \002(\0132(.solidi" - "ty.yul.test.yul_fuzzer.Expression\"p\n\010Typ" - "eName\022\010\n\004BOOL\020\001\022\006\n\002U8\020\002\022\007\n\003U32\020\003\022\007\n\003U64\020" - "\004\022\010\n\004U128\020\005\022\010\n\004U256\020\006\022\006\n\002S8\020\007\022\007\n\003S32\020\010\022\007" - "\n\003S64\020\t\022\010\n\004S128\020\n\022\010\n\004S256\020\013\"\030\n\006VarRef\022\016\n" - "\006varnum\030\001 \002(\005\"c\n\007Literal\022\020\n\006intval\030\001 \001(\004" - "H\000\022\020\n\006hexval\030\002 \001(\tH\000\022\020\n\006strval\030\003 \001(\tH\000\022\021" - "\n\007boolval\030\004 \001(\010H\000B\017\n\rliteral_oneof\"\320\001\n\014T" - "ypedLiteral\022\013\n\003val\030\001 \002(\005\022A\n\004type\030\002 \002(\01623" - ".solidity.yul.test.yul_fuzzer.TypedLiter" - "al.TypeName\"p\n\010TypeName\022\010\n\004BOOL\020\001\022\006\n\002U8\020" - "\002\022\007\n\003U32\020\003\022\007\n\003U64\020\004\022\010\n\004U128\020\005\022\010\n\004U256\020\006\022" - "\006\n\002S8\020\007\022\007\n\003S32\020\010\022\007\n\003S64\020\t\022\010\n\004S128\020\n\022\010\n\004S" - "256\020\013\"\202\003\n\010BinaryOp\0226\n\002op\030\001 \002(\0162*.solidit" - "y.yul.test.yul_fuzzer.BinaryOp.BOp\0226\n\004le" - "ft\030\002 \002(\0132(.solidity.yul.test.yul_fuzzer." - "Expression\0227\n\005right\030\003 \002(\0132(.solidity.yul" - ".test.yul_fuzzer.Expression\"\314\001\n\003BOp\022\007\n\003A" - "DD\020\000\022\007\n\003SUB\020\001\022\007\n\003MUL\020\002\022\007\n\003DIV\020\003\022\007\n\003MOD\020\004" - "\022\007\n\003XOR\020\005\022\007\n\003AND\020\006\022\006\n\002OR\020\007\022\006\n\002EQ\020\010\022\006\n\002LT" - "\020\t\022\006\n\002GT\020\n\022\007\n\003SHR\020\013\022\007\n\003SHL\020\014\022\007\n\003SAR\020\r\022\010\n" - "\004SDIV\020\016\022\010\n\004SMOD\020\017\022\007\n\003EXP\020\020\022\007\n\003SLT\020\021\022\007\n\003S" - "GT\020\022\022\010\n\004BYTE\020\023\022\006\n\002SI\020\024\022\n\n\006KECCAK\020\025\"\227\002\n\007U" - "naryOp\0225\n\002op\030\001 \002(\0162).solidity.yul.test.y" - "ul_fuzzer.UnaryOp.UOp\0229\n\007operand\030\002 \002(\0132(" - ".solidity.yul.test.yul_fuzzer.Expression" - "\"\231\001\n\003UOp\022\007\n\003NOT\020\000\022\t\n\005MLOAD\020\001\022\t\n\005SLOAD\020\002\022" - "\t\n\005TLOAD\020\003\022\n\n\006ISZERO\020\004\022\020\n\014CALLDATALOAD\020\005" - "\022\017\n\013EXTCODESIZE\020\006\022\017\n\013EXTCODEHASH\020\007\022\013\n\007BA" - "LANCE\020\010\022\r\n\tBLOCKHASH\020\t\022\014\n\010BLOBHASH\020\n\"\201\001\n" - "\013UnaryOpData\022=\n\002op\030\001 \002(\01621.solidity.yul." - "test.yul_fuzzer.UnaryOpData.UOpData\022\022\n\ni" - "dentifier\030\002 \002(\004\"\037\n\007UOpData\022\010\n\004SIZE\020\001\022\n\n\006" - "OFFSET\020\002\"\207\002\n\tTernaryOp\0227\n\002op\030\001 \002(\0162+.sol" - "idity.yul.test.yul_fuzzer.TernaryOp.TOp\022" - "6\n\004arg1\030\002 \002(\0132(.solidity.yul.test.yul_fu" - "zzer.Expression\0226\n\004arg2\030\003 \002(\0132(.solidity" - ".yul.test.yul_fuzzer.Expression\0226\n\004arg3\030" - "\004 \002(\0132(.solidity.yul.test.yul_fuzzer.Exp" - "ression\"\031\n\003TOp\022\010\n\004ADDM\020\000\022\010\n\004MULM\020\001\"\275\002\n\010C" - "opyFunc\022;\n\002ct\030\001 \002(\0162/.solidity.yul.test." - "yul_fuzzer.CopyFunc.CopyType\0228\n\006target\030\002" - " \002(\0132(.solidity.yul.test.yul_fuzzer.Expr" - "ession\0228\n\006source\030\003 \002(\0132(.solidity.yul.te" - "st.yul_fuzzer.Expression\0226\n\004size\030\004 \002(\0132(" - ".solidity.yul.test.yul_fuzzer.Expression" - "\"H\n\010CopyType\022\014\n\010CALLDATA\020\000\022\010\n\004CODE\020\001\022\016\n\n" - "RETURNDATA\020\002\022\010\n\004DATA\020\003\022\n\n\006MEMORY\020\004\"\361\001\n\013E" - "xtCodeCopy\0226\n\004addr\030\001 \002(\0132(.solidity.yul." - "test.yul_fuzzer.Expression\0228\n\006target\030\002 \002" - "(\0132(.solidity.yul.test.yul_fuzzer.Expres" - "sion\0228\n\006source\030\003 \002(\0132(.solidity.yul.test" - ".yul_fuzzer.Expression\0226\n\004size\030\004 \002(\0132(.s" - "olidity.yul.test.yul_fuzzer.Expression\"\331" - "\002\n\tNullaryOp\0227\n\002op\030\001 \002(\0162+.solidity.yul." - "test.yul_fuzzer.NullaryOp.NOp\"\222\002\n\003NOp\022\t\n" - "\005MSIZE\020\001\022\007\n\003GAS\020\002\022\020\n\014CALLDATASIZE\020\003\022\014\n\010C" - "ODESIZE\020\004\022\022\n\016RETURNDATASIZE\020\005\022\013\n\007ADDRESS" - "\020\006\022\n\n\006ORIGIN\020\007\022\n\n\006CALLER\020\010\022\r\n\tCALLVALUE\020" - "\t\022\014\n\010GASPRICE\020\n\022\014\n\010COINBASE\020\013\022\r\n\tTIMESTA" - "MP\020\014\022\n\n\006NUMBER\020\r\022\016\n\nDIFFICULTY\020\016\022\014\n\010GASL" - "IMIT\020\017\022\017\n\013SELFBALANCE\020\020\022\013\n\007CHAINID\020\021\022\013\n\007" - "BASEFEE\020\022\022\017\n\013BLOBBASEFEE\020\023\"\362\001\n\tStoreFunc" - "\0225\n\003loc\030\001 \002(\0132(.solidity.yul.test.yul_fu" - "zzer.Expression\0225\n\003val\030\002 \002(\0132(.solidity." - "yul.test.yul_fuzzer.Expression\022;\n\002st\030\003 \002" - "(\0162/.solidity.yul.test.yul_fuzzer.StoreF" - "unc.Storage\":\n\007Storage\022\n\n\006MSTORE\020\000\022\n\n\006SS" - "TORE\020\001\022\013\n\007MSTORE8\020\002\022\n\n\006TSTORE\020\003\"\323\003\n\007LogF" - "unc\0225\n\003pos\030\001 \002(\0132(.solidity.yul.test.yul" - "_fuzzer.Expression\0226\n\004size\030\002 \002(\0132(.solid" - "ity.yul.test.yul_fuzzer.Expression\022C\n\nnu" - "m_topics\030\003 \002(\0162/.solidity.yul.test.yul_f" - "uzzer.LogFunc.NumTopics\0224\n\002t1\030\004 \002(\0132(.so" - "lidity.yul.test.yul_fuzzer.Expression\0224\n" - "\002t2\030\005 \002(\0132(.solidity.yul.test.yul_fuzzer" - ".Expression\0224\n\002t3\030\006 \002(\0132(.solidity.yul.t" - "est.yul_fuzzer.Expression\0224\n\002t4\030\007 \002(\0132(." - "solidity.yul.test.yul_fuzzer.Expression\"" - "<\n\tNumTopics\022\010\n\004ZERO\020\000\022\007\n\003ONE\020\001\022\007\n\003TWO\020\002" - "\022\t\n\005THREE\020\003\022\010\n\004FOUR\020\004\"\340\004\n\nExpression\0226\n\006" - "varref\030\001 \001(\0132$.solidity.yul.test.yul_fuz" - "zer.VarRefH\000\0225\n\004cons\030\002 \001(\0132%.solidity.yu" - "l.test.yul_fuzzer.LiteralH\000\0227\n\005binop\030\003 \001" - "(\0132&.solidity.yul.test.yul_fuzzer.Binary" - "OpH\000\0225\n\004unop\030\004 \001(\0132%.solidity.yul.test.y" - "ul_fuzzer.UnaryOpH\000\0226\n\003top\030\005 \001(\0132\'.solid" - "ity.yul.test.yul_fuzzer.TernaryOpH\000\0226\n\003n" - "op\030\006 \001(\0132\'.solidity.yul.test.yul_fuzzer." - "NullaryOpH\000\022\?\n\tfunc_expr\030\007 \001(\0132*.solidit" - "y.yul.test.yul_fuzzer.FunctionCallH\000\022=\n\007" - "lowcall\030\010 \001(\0132*.solidity.yul.test.yul_fu" - "zzer.LowLevelCallH\000\0226\n\006create\030\t \001(\0132$.so" - "lidity.yul.test.yul_fuzzer.CreateH\000\022=\n\010u" - "nopdata\030\n \001(\0132).solidity.yul.test.yul_fu" - "zzer.UnaryOpDataH\000B\014\n\nexpr_oneof\"\203\001\n\023Ass" - "ignmentStatement\0224\n\006ref_id\030\001 \002(\0132$.solid" - "ity.yul.test.yul_fuzzer.VarRef\0226\n\004expr\030\002" - " \002(\0132(.solidity.yul.test.yul_fuzzer.Expr" - "ession\"v\n\006IfStmt\0226\n\004cond\030\001 \002(\0132(.solidit" - "y.yul.test.yul_fuzzer.Expression\0224\n\007if_b" - "ody\030\002 \002(\0132#.solidity.yul.test.yul_fuzzer" - ".Block\"G\n\016BoundedForStmt\0225\n\010for_body\030\001 \002" - "(\0132#.solidity.yul.test.yul_fuzzer.Block\"" - "\352\001\n\007ForStmt\0225\n\010for_body\030\001 \002(\0132#.solidity" - ".yul.test.yul_fuzzer.Block\0225\n\010for_init\030\002" - " \002(\0132#.solidity.yul.test.yul_fuzzer.Bloc" - "k\0225\n\010for_post\030\003 \002(\0132#.solidity.yul.test." - "yul_fuzzer.Block\022:\n\010for_cond\030\004 \002(\0132(.sol" - "idity.yul.test.yul_fuzzer.Expression\"|\n\010" - "CaseStmt\0227\n\010case_lit\030\001 \002(\0132%.solidity.yu" - "l.test.yul_fuzzer.Literal\0227\n\ncase_block\030" - "\002 \002(\0132#.solidity.yul.test.yul_fuzzer.Blo" - "ck\"\302\001\n\nSwitchStmt\022=\n\013switch_expr\030\001 \002(\0132(" - ".solidity.yul.test.yul_fuzzer.Expression" - "\0229\n\tcase_stmt\030\002 \003(\0132&.solidity.yul.test." - "yul_fuzzer.CaseStmt\022:\n\rdefault_block\030\003 \001" - "(\0132#.solidity.yul.test.yul_fuzzer.Block\"" - "\013\n\tBreakStmt\"\016\n\014ContinueStmt\"r\n\017StopInva" - "lidStmt\022@\n\004stmt\030\001 \002(\01622.solidity.yul.tes" - "t.yul_fuzzer.StopInvalidStmt.Type\"\035\n\004Typ" - "e\022\010\n\004STOP\020\000\022\013\n\007INVALID\020\001\"\330\001\n\nRetRevStmt\022" - ";\n\004stmt\030\001 \002(\0162-.solidity.yul.test.yul_fu" - "zzer.RetRevStmt.Type\0225\n\003pos\030\002 \002(\0132(.soli" - "dity.yul.test.yul_fuzzer.Expression\0226\n\004s" - "ize\030\003 \002(\0132(.solidity.yul.test.yul_fuzzer" - ".Expression\"\036\n\004Type\022\n\n\006RETURN\020\000\022\n\n\006REVER" - "T\020\001\"J\n\020SelfDestructStmt\0226\n\004addr\030\001 \002(\0132(." - "solidity.yul.test.yul_fuzzer.Expression\"" - "\347\001\n\017TerminatingStmt\022E\n\014stop_invalid\030\001 \001(" - "\0132-.solidity.yul.test.yul_fuzzer.StopInv" - "alidStmtH\000\022;\n\007ret_rev\030\002 \001(\0132(.solidity.y" - "ul.test.yul_fuzzer.RetRevStmtH\000\022B\n\010self_" - "des\030\003 \001(\0132..solidity.yul.test.yul_fuzzer" - ".SelfDestructStmtH\000B\014\n\nterm_oneof\"\212\001\n\013Fu" - "nctionDef\022\030\n\020num_input_params\030\001 \002(\r\022\031\n\021n" - "um_output_params\030\002 \002(\r\0222\n\005block\030\003 \002(\0132#." - "solidity.yul.test.yul_fuzzer.Block\022\022\n\nfo" - "rce_call\030\004 \002(\010\"A\n\007PopStmt\0226\n\004expr\030\001 \002(\0132" - "(.solidity.yul.test.yul_fuzzer.Expressio" - "n\"\013\n\tLeaveStmt\"\302\t\n\tStatement\0225\n\004decl\030\001 \001" - "(\0132%.solidity.yul.test.yul_fuzzer.VarDec" - "lH\000\022G\n\nassignment\030\002 \001(\01321.solidity.yul.t" - "est.yul_fuzzer.AssignmentStatementH\000\0226\n\006" - "ifstmt\030\003 \001(\0132$.solidity.yul.test.yul_fuz" - "zer.IfStmtH\000\022\?\n\014storage_func\030\004 \001(\0132\'.sol" - "idity.yul.test.yul_fuzzer.StoreFuncH\000\0228\n" - "\tblockstmt\030\005 \001(\0132#.solidity.yul.test.yul" - "_fuzzer.BlockH\000\0228\n\007forstmt\030\006 \001(\0132%.solid" - "ity.yul.test.yul_fuzzer.ForStmtH\000\022>\n\nswi" - "tchstmt\030\007 \001(\0132(.solidity.yul.test.yul_fu" - "zzer.SwitchStmtH\000\022<\n\tbreakstmt\030\010 \001(\0132\'.s" - "olidity.yul.test.yul_fuzzer.BreakStmtH\000\022" - ">\n\010contstmt\030\t \001(\0132*.solidity.yul.test.yu" - "l_fuzzer.ContinueStmtH\000\0229\n\010log_func\030\n \001(" - "\0132%.solidity.yul.test.yul_fuzzer.LogFunc" - "H\000\022;\n\tcopy_func\030\013 \001(\0132&.solidity.yul.tes" - "t.yul_fuzzer.CopyFuncH\000\022A\n\014extcode_copy\030" - "\014 \001(\0132).solidity.yul.test.yul_fuzzer.Ext" - "CodeCopyH\000\022F\n\rterminatestmt\030\r \001(\0132-.soli" - "dity.yul.test.yul_fuzzer.TerminatingStmt" - "H\000\022B\n\014functioncall\030\016 \001(\0132*.solidity.yul." - "test.yul_fuzzer.FunctionCallH\000\022F\n\016bounde" - "dforstmt\030\017 \001(\0132,.solidity.yul.test.yul_f" - "uzzer.BoundedForStmtH\000\022<\n\007funcdef\030\020 \001(\0132" - ").solidity.yul.test.yul_fuzzer.FunctionD" - "efH\000\0224\n\003pop\030\021 \001(\0132%.solidity.yul.test.yu" - "l_fuzzer.PopStmtH\000\0228\n\005leave\030\022 \001(\0132\'.soli" - "dity.yul.test.yul_fuzzer.LeaveStmtH\000\022\?\n\t" - "multidecl\030\023 \001(\0132*.solidity.yul.test.yul_" - "fuzzer.MultiVarDeclH\000B\014\n\nstmt_oneof\"D\n\005B" - "lock\022;\n\nstatements\030\001 \003(\0132\'.solidity.yul." - "test.yul_fuzzer.Statement\"\034\n\010CallData\022\020\n" - "\010raw_data\030\001 \002(\014\"\243\001\n\006Object\0220\n\004code\030\001 \002(\013" - "2\".solidity.yul.test.yul_fuzzer.Code\0220\n\004" - "data\030\002 \001(\0132\".solidity.yul.test.yul_fuzze" - "r.Data\0225\n\007sub_obj\030\003 \003(\0132$.solidity.yul.t" - "est.yul_fuzzer.Object\":\n\004Code\0222\n\005block\030\001" - " \002(\0132#.solidity.yul.test.yul_fuzzer.Bloc" - "k\"\023\n\004Data\022\013\n\003hex\030\001 \002(\t\"\341\004\n\007Program\0224\n\005bl" - "ock\030\001 \001(\0132#.solidity.yul.test.yul_fuzzer" - ".BlockH\000\0223\n\003obj\030\002 \001(\0132$.solidity.yul.tes" - "t.yul_fuzzer.ObjectH\000\022:\n\003ver\030\003 \002(\0162-.sol" - "idity.yul.test.yul_fuzzer.Program.Versio" - "n\022\014\n\004step\030\004 \002(\r\0228\n\010calldata\030\005 \002(\0132&.soli" - "dity.yul.test.yul_fuzzer.CallData\022\025\n\ropt" - "imiser_seq\030\006 \003(\r\022!\n\031optimize_stack_alloc" - "ation\030\007 \001(\010\022\033\n\023expected_executions\030\010 \001(\r" - "\022\023\n\013is_creation\030\t \001(\010\022\035\n\025optimiser_clean" - "up_seq\030\n \003(\r\"\312\001\n\007Version\022\r\n\tHOMESTEAD\020\000\022" - "\r\n\tTANGERINE\020\001\022\014\n\010SPURIOUS\020\002\022\r\n\tBYZANTIU" - "M\020\003\022\022\n\016CONSTANTINOPLE\020\004\022\016\n\nPETERSBURG\020\005\022" - "\014\n\010ISTANBUL\020\006\022\n\n\006BERLIN\020\007\022\n\n\006LONDON\020\010\022\t\n" - "\005PARIS\020\t\022\014\n\010SHANGHAI\020\n\022\n\n\006CANCUN\020\013\022\n\n\006PR" - "AGUE\020\014\022\t\n\005OSAKA\020\rB\017\n\rprogram_oneof" - ; -static ::_pbi::once_flag descriptor_table_yulProto_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_yulProto_2eproto = { - false, false, 9154, descriptor_table_protodef_yulProto_2eproto, - "yulProto.proto", - &descriptor_table_yulProto_2eproto_once, nullptr, 0, 41, - schemas, file_default_instances, TableStruct_yulProto_2eproto::offsets, - file_level_metadata_yulProto_2eproto, file_level_enum_descriptors_yulProto_2eproto, - file_level_service_descriptors_yulProto_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_yulProto_2eproto_getter() { - return &descriptor_table_yulProto_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_yulProto_2eproto(&descriptor_table_yulProto_2eproto); -namespace solidity { -namespace yul { -namespace test { -namespace yul_fuzzer { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LowLevelCall_Type_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[0]; -} -bool LowLevelCall_Type_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr LowLevelCall_Type LowLevelCall::CALL; -constexpr LowLevelCall_Type LowLevelCall::CALLCODE; -constexpr LowLevelCall_Type LowLevelCall::DELEGATECALL; -constexpr LowLevelCall_Type LowLevelCall::STATICCALL; -constexpr LowLevelCall_Type LowLevelCall::Type_MIN; -constexpr LowLevelCall_Type LowLevelCall::Type_MAX; -constexpr int LowLevelCall::Type_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Create_Type_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[1]; -} -bool Create_Type_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr Create_Type Create::CREATE; -constexpr Create_Type Create::CREATE2; -constexpr Create_Type Create::Type_MIN; -constexpr Create_Type Create::Type_MAX; -constexpr int Create::Type_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TypedVarDecl_TypeName_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[2]; -} -bool TypedVarDecl_TypeName_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr TypedVarDecl_TypeName TypedVarDecl::BOOL; -constexpr TypedVarDecl_TypeName TypedVarDecl::U8; -constexpr TypedVarDecl_TypeName TypedVarDecl::U32; -constexpr TypedVarDecl_TypeName TypedVarDecl::U64; -constexpr TypedVarDecl_TypeName TypedVarDecl::U128; -constexpr TypedVarDecl_TypeName TypedVarDecl::U256; -constexpr TypedVarDecl_TypeName TypedVarDecl::S8; -constexpr TypedVarDecl_TypeName TypedVarDecl::S32; -constexpr TypedVarDecl_TypeName TypedVarDecl::S64; -constexpr TypedVarDecl_TypeName TypedVarDecl::S128; -constexpr TypedVarDecl_TypeName TypedVarDecl::S256; -constexpr TypedVarDecl_TypeName TypedVarDecl::TypeName_MIN; -constexpr TypedVarDecl_TypeName TypedVarDecl::TypeName_MAX; -constexpr int TypedVarDecl::TypeName_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TypedLiteral_TypeName_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[3]; -} -bool TypedLiteral_TypeName_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr TypedLiteral_TypeName TypedLiteral::BOOL; -constexpr TypedLiteral_TypeName TypedLiteral::U8; -constexpr TypedLiteral_TypeName TypedLiteral::U32; -constexpr TypedLiteral_TypeName TypedLiteral::U64; -constexpr TypedLiteral_TypeName TypedLiteral::U128; -constexpr TypedLiteral_TypeName TypedLiteral::U256; -constexpr TypedLiteral_TypeName TypedLiteral::S8; -constexpr TypedLiteral_TypeName TypedLiteral::S32; -constexpr TypedLiteral_TypeName TypedLiteral::S64; -constexpr TypedLiteral_TypeName TypedLiteral::S128; -constexpr TypedLiteral_TypeName TypedLiteral::S256; -constexpr TypedLiteral_TypeName TypedLiteral::TypeName_MIN; -constexpr TypedLiteral_TypeName TypedLiteral::TypeName_MAX; -constexpr int TypedLiteral::TypeName_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BinaryOp_BOp_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[4]; -} -bool BinaryOp_BOp_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr BinaryOp_BOp BinaryOp::ADD; -constexpr BinaryOp_BOp BinaryOp::SUB; -constexpr BinaryOp_BOp BinaryOp::MUL; -constexpr BinaryOp_BOp BinaryOp::DIV; -constexpr BinaryOp_BOp BinaryOp::MOD; -constexpr BinaryOp_BOp BinaryOp::XOR; -constexpr BinaryOp_BOp BinaryOp::AND; -constexpr BinaryOp_BOp BinaryOp::OR; -constexpr BinaryOp_BOp BinaryOp::EQ; -constexpr BinaryOp_BOp BinaryOp::LT; -constexpr BinaryOp_BOp BinaryOp::GT; -constexpr BinaryOp_BOp BinaryOp::SHR; -constexpr BinaryOp_BOp BinaryOp::SHL; -constexpr BinaryOp_BOp BinaryOp::SAR; -constexpr BinaryOp_BOp BinaryOp::SDIV; -constexpr BinaryOp_BOp BinaryOp::SMOD; -constexpr BinaryOp_BOp BinaryOp::EXP; -constexpr BinaryOp_BOp BinaryOp::SLT; -constexpr BinaryOp_BOp BinaryOp::SGT; -constexpr BinaryOp_BOp BinaryOp::BYTE; -constexpr BinaryOp_BOp BinaryOp::SI; -constexpr BinaryOp_BOp BinaryOp::KECCAK; -constexpr BinaryOp_BOp BinaryOp::BOp_MIN; -constexpr BinaryOp_BOp BinaryOp::BOp_MAX; -constexpr int BinaryOp::BOp_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UnaryOp_UOp_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[5]; -} -bool UnaryOp_UOp_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr UnaryOp_UOp UnaryOp::NOT; -constexpr UnaryOp_UOp UnaryOp::MLOAD; -constexpr UnaryOp_UOp UnaryOp::SLOAD; -constexpr UnaryOp_UOp UnaryOp::TLOAD; -constexpr UnaryOp_UOp UnaryOp::ISZERO; -constexpr UnaryOp_UOp UnaryOp::CALLDATALOAD; -constexpr UnaryOp_UOp UnaryOp::EXTCODESIZE; -constexpr UnaryOp_UOp UnaryOp::EXTCODEHASH; -constexpr UnaryOp_UOp UnaryOp::BALANCE; -constexpr UnaryOp_UOp UnaryOp::BLOCKHASH; -constexpr UnaryOp_UOp UnaryOp::BLOBHASH; -constexpr UnaryOp_UOp UnaryOp::UOp_MIN; -constexpr UnaryOp_UOp UnaryOp::UOp_MAX; -constexpr int UnaryOp::UOp_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UnaryOpData_UOpData_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[6]; -} -bool UnaryOpData_UOpData_IsValid(int value) { - switch (value) { - case 1: - case 2: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr UnaryOpData_UOpData UnaryOpData::SIZE; -constexpr UnaryOpData_UOpData UnaryOpData::OFFSET; -constexpr UnaryOpData_UOpData UnaryOpData::UOpData_MIN; -constexpr UnaryOpData_UOpData UnaryOpData::UOpData_MAX; -constexpr int UnaryOpData::UOpData_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TernaryOp_TOp_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[7]; -} -bool TernaryOp_TOp_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr TernaryOp_TOp TernaryOp::ADDM; -constexpr TernaryOp_TOp TernaryOp::MULM; -constexpr TernaryOp_TOp TernaryOp::TOp_MIN; -constexpr TernaryOp_TOp TernaryOp::TOp_MAX; -constexpr int TernaryOp::TOp_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CopyFunc_CopyType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[8]; -} -bool CopyFunc_CopyType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CopyFunc_CopyType CopyFunc::CALLDATA; -constexpr CopyFunc_CopyType CopyFunc::CODE; -constexpr CopyFunc_CopyType CopyFunc::RETURNDATA; -constexpr CopyFunc_CopyType CopyFunc::DATA; -constexpr CopyFunc_CopyType CopyFunc::MEMORY; -constexpr CopyFunc_CopyType CopyFunc::CopyType_MIN; -constexpr CopyFunc_CopyType CopyFunc::CopyType_MAX; -constexpr int CopyFunc::CopyType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* NullaryOp_NOp_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[9]; -} -bool NullaryOp_NOp_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr NullaryOp_NOp NullaryOp::MSIZE; -constexpr NullaryOp_NOp NullaryOp::GAS; -constexpr NullaryOp_NOp NullaryOp::CALLDATASIZE; -constexpr NullaryOp_NOp NullaryOp::CODESIZE; -constexpr NullaryOp_NOp NullaryOp::RETURNDATASIZE; -constexpr NullaryOp_NOp NullaryOp::ADDRESS; -constexpr NullaryOp_NOp NullaryOp::ORIGIN; -constexpr NullaryOp_NOp NullaryOp::CALLER; -constexpr NullaryOp_NOp NullaryOp::CALLVALUE; -constexpr NullaryOp_NOp NullaryOp::GASPRICE; -constexpr NullaryOp_NOp NullaryOp::COINBASE; -constexpr NullaryOp_NOp NullaryOp::TIMESTAMP; -constexpr NullaryOp_NOp NullaryOp::NUMBER; -constexpr NullaryOp_NOp NullaryOp::DIFFICULTY; -constexpr NullaryOp_NOp NullaryOp::GASLIMIT; -constexpr NullaryOp_NOp NullaryOp::SELFBALANCE; -constexpr NullaryOp_NOp NullaryOp::CHAINID; -constexpr NullaryOp_NOp NullaryOp::BASEFEE; -constexpr NullaryOp_NOp NullaryOp::BLOBBASEFEE; -constexpr NullaryOp_NOp NullaryOp::NOp_MIN; -constexpr NullaryOp_NOp NullaryOp::NOp_MAX; -constexpr int NullaryOp::NOp_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StoreFunc_Storage_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[10]; -} -bool StoreFunc_Storage_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr StoreFunc_Storage StoreFunc::MSTORE; -constexpr StoreFunc_Storage StoreFunc::SSTORE; -constexpr StoreFunc_Storage StoreFunc::MSTORE8; -constexpr StoreFunc_Storage StoreFunc::TSTORE; -constexpr StoreFunc_Storage StoreFunc::Storage_MIN; -constexpr StoreFunc_Storage StoreFunc::Storage_MAX; -constexpr int StoreFunc::Storage_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LogFunc_NumTopics_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[11]; -} -bool LogFunc_NumTopics_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr LogFunc_NumTopics LogFunc::ZERO; -constexpr LogFunc_NumTopics LogFunc::ONE; -constexpr LogFunc_NumTopics LogFunc::TWO; -constexpr LogFunc_NumTopics LogFunc::THREE; -constexpr LogFunc_NumTopics LogFunc::FOUR; -constexpr LogFunc_NumTopics LogFunc::NumTopics_MIN; -constexpr LogFunc_NumTopics LogFunc::NumTopics_MAX; -constexpr int LogFunc::NumTopics_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StopInvalidStmt_Type_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[12]; -} -bool StopInvalidStmt_Type_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr StopInvalidStmt_Type StopInvalidStmt::STOP; -constexpr StopInvalidStmt_Type StopInvalidStmt::INVALID; -constexpr StopInvalidStmt_Type StopInvalidStmt::Type_MIN; -constexpr StopInvalidStmt_Type StopInvalidStmt::Type_MAX; -constexpr int StopInvalidStmt::Type_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RetRevStmt_Type_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[13]; -} -bool RetRevStmt_Type_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr RetRevStmt_Type RetRevStmt::RETURN; -constexpr RetRevStmt_Type RetRevStmt::REVERT; -constexpr RetRevStmt_Type RetRevStmt::Type_MIN; -constexpr RetRevStmt_Type RetRevStmt::Type_MAX; -constexpr int RetRevStmt::Type_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Program_Version_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); - return file_level_enum_descriptors_yulProto_2eproto[14]; -} -bool Program_Version_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr Program_Version Program::HOMESTEAD; -constexpr Program_Version Program::TANGERINE; -constexpr Program_Version Program::SPURIOUS; -constexpr Program_Version Program::BYZANTIUM; -constexpr Program_Version Program::CONSTANTINOPLE; -constexpr Program_Version Program::PETERSBURG; -constexpr Program_Version Program::ISTANBUL; -constexpr Program_Version Program::BERLIN; -constexpr Program_Version Program::LONDON; -constexpr Program_Version Program::PARIS; -constexpr Program_Version Program::SHANGHAI; -constexpr Program_Version Program::CANCUN; -constexpr Program_Version Program::PRAGUE; -constexpr Program_Version Program::OSAKA; -constexpr Program_Version Program::Version_MIN; -constexpr Program_Version Program::Version_MAX; -constexpr int Program::Version_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -// =================================================================== - -class VarDecl::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const VarDecl* msg); - static void set_has_expr(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -VarDecl::_Internal::expr(const VarDecl* msg) { - return *msg->_impl_.expr_; -} -VarDecl::VarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.VarDecl) -} -VarDecl::VarDecl(const VarDecl& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - VarDecl* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.expr_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_expr()) { - _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.VarDecl) -} - -inline void VarDecl::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.expr_){nullptr} - }; -} - -VarDecl::~VarDecl() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.VarDecl) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void VarDecl::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.expr_; -} - -void VarDecl::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void VarDecl::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.VarDecl) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.expr_ != nullptr); - _impl_.expr_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* VarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* VarDecl::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.VarDecl) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::expr(this), - _Internal::expr(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.VarDecl) - return target; -} - -size_t VarDecl::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.VarDecl) - size_t total_size = 0; - - // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; - if (_internal_has_expr()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VarDecl::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - VarDecl::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VarDecl::GetClassData() const { return &_class_data_; } - - -void VarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.VarDecl) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_expr()) { - _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_expr()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void VarDecl::CopyFrom(const VarDecl& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.VarDecl) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool VarDecl::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_expr()) { - if (!_impl_.expr_->IsInitialized()) return false; - } - return true; -} - -void VarDecl::InternalSwap(VarDecl* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.expr_, other->_impl_.expr_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata VarDecl::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[0]); -} - -// =================================================================== - -class MultiVarDecl::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_num_vars(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -MultiVarDecl::MultiVarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.MultiVarDecl) -} -MultiVarDecl::MultiVarDecl(const MultiVarDecl& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MultiVarDecl* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.num_vars_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.num_vars_ = from._impl_.num_vars_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.MultiVarDecl) -} - -inline void MultiVarDecl::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.num_vars_){0u} - }; -} - -MultiVarDecl::~MultiVarDecl() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.MultiVarDecl) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MultiVarDecl::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void MultiVarDecl::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MultiVarDecl::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.num_vars_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MultiVarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 num_vars = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_num_vars(&has_bits); - _impl_.num_vars_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MultiVarDecl::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 num_vars = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_vars(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.MultiVarDecl) - return target; -} - -size_t MultiVarDecl::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) - size_t total_size = 0; - - // required uint32 num_vars = 1; - if (_internal_has_num_vars()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_vars()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MultiVarDecl::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MultiVarDecl::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MultiVarDecl::GetClassData() const { return &_class_data_; } - - -void MultiVarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_num_vars()) { - _this->_internal_set_num_vars(from._internal_num_vars()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MultiVarDecl::CopyFrom(const MultiVarDecl& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MultiVarDecl::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void MultiVarDecl::InternalSwap(MultiVarDecl* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.num_vars_, other->_impl_.num_vars_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MultiVarDecl::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[1]); -} - -// =================================================================== - -class LowLevelCall::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_callty(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& gas(const LowLevelCall* msg); - static void set_has_gas(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& addr(const LowLevelCall* msg); - static void set_has_addr(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& wei(const LowLevelCall* msg); - static void set_has_wei(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& in(const LowLevelCall* msg); - static void set_has_in(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& insize(const LowLevelCall* msg); - static void set_has_insize(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& out(const LowLevelCall* msg); - static void set_has_out(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& outsize(const LowLevelCall* msg); - static void set_has_outsize(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x000000ff) ^ 0x000000ff) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -LowLevelCall::_Internal::gas(const LowLevelCall* msg) { - return *msg->_impl_.gas_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LowLevelCall::_Internal::addr(const LowLevelCall* msg) { - return *msg->_impl_.addr_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LowLevelCall::_Internal::wei(const LowLevelCall* msg) { - return *msg->_impl_.wei_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LowLevelCall::_Internal::in(const LowLevelCall* msg) { - return *msg->_impl_.in_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LowLevelCall::_Internal::insize(const LowLevelCall* msg) { - return *msg->_impl_.insize_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LowLevelCall::_Internal::out(const LowLevelCall* msg) { - return *msg->_impl_.out_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LowLevelCall::_Internal::outsize(const LowLevelCall* msg) { - return *msg->_impl_.outsize_; -} -LowLevelCall::LowLevelCall(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.LowLevelCall) -} -LowLevelCall::LowLevelCall(const LowLevelCall& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - LowLevelCall* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gas_){nullptr} - , decltype(_impl_.addr_){nullptr} - , decltype(_impl_.wei_){nullptr} - , decltype(_impl_.in_){nullptr} - , decltype(_impl_.insize_){nullptr} - , decltype(_impl_.out_){nullptr} - , decltype(_impl_.outsize_){nullptr} - , decltype(_impl_.callty_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_gas()) { - _this->_impl_.gas_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.gas_); - } - if (from._internal_has_addr()) { - _this->_impl_.addr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.addr_); - } - if (from._internal_has_wei()) { - _this->_impl_.wei_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.wei_); - } - if (from._internal_has_in()) { - _this->_impl_.in_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_); - } - if (from._internal_has_insize()) { - _this->_impl_.insize_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.insize_); - } - if (from._internal_has_out()) { - _this->_impl_.out_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.out_); - } - if (from._internal_has_outsize()) { - _this->_impl_.outsize_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.outsize_); - } - _this->_impl_.callty_ = from._impl_.callty_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.LowLevelCall) -} - -inline void LowLevelCall::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gas_){nullptr} - , decltype(_impl_.addr_){nullptr} - , decltype(_impl_.wei_){nullptr} - , decltype(_impl_.in_){nullptr} - , decltype(_impl_.insize_){nullptr} - , decltype(_impl_.out_){nullptr} - , decltype(_impl_.outsize_){nullptr} - , decltype(_impl_.callty_){0} - }; -} - -LowLevelCall::~LowLevelCall() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.LowLevelCall) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void LowLevelCall::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.gas_; - if (this != internal_default_instance()) delete _impl_.addr_; - if (this != internal_default_instance()) delete _impl_.wei_; - if (this != internal_default_instance()) delete _impl_.in_; - if (this != internal_default_instance()) delete _impl_.insize_; - if (this != internal_default_instance()) delete _impl_.out_; - if (this != internal_default_instance()) delete _impl_.outsize_; -} - -void LowLevelCall::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void LowLevelCall::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.LowLevelCall) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.gas_ != nullptr); - _impl_.gas_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.addr_ != nullptr); - _impl_.addr_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.wei_ != nullptr); - _impl_.wei_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.in_ != nullptr); - _impl_.in_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.insize_ != nullptr); - _impl_.insize_->Clear(); - } - if (cached_has_bits & 0x00000020u) { - GOOGLE_DCHECK(_impl_.out_ != nullptr); - _impl_.out_->Clear(); - } - if (cached_has_bits & 0x00000040u) { - GOOGLE_DCHECK(_impl_.outsize_ != nullptr); - _impl_.outsize_->Clear(); - } - } - _impl_.callty_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* LowLevelCall::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::LowLevelCall_Type_IsValid(val))) { - _internal_set_callty(static_cast<::solidity::yul::test::yul_fuzzer::LowLevelCall_Type>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_gas(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_addr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_wei(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression in = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_in(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_insize(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression out = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_out(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_outsize(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* LowLevelCall::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.LowLevelCall) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_callty(), target); - } - - // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::gas(this), - _Internal::gas(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::addr(this), - _Internal::addr(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::wei(this), - _Internal::wei(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression in = 5; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::in(this), - _Internal::in(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::insize(this), - _Internal::insize(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression out = 7; - if (cached_has_bits & 0x00000020u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::out(this), - _Internal::out(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; - if (cached_has_bits & 0x00000040u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::outsize(this), - _Internal::outsize(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.LowLevelCall) - return target; -} - -size_t LowLevelCall::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.LowLevelCall) - size_t total_size = 0; - - if (_internal_has_gas()) { - // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.gas_); - } - - if (_internal_has_addr()) { - // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.addr_); - } - - if (_internal_has_wei()) { - // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.wei_); - } - - if (_internal_has_in()) { - // required .solidity.yul.test.yul_fuzzer.Expression in = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.in_); - } - - if (_internal_has_insize()) { - // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.insize_); - } - - if (_internal_has_out()) { - // required .solidity.yul.test.yul_fuzzer.Expression out = 7; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.out_); - } - - if (_internal_has_outsize()) { - // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.outsize_); - } - - if (_internal_has_callty()) { - // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_callty()); - } - - return total_size; -} -size_t LowLevelCall::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.LowLevelCall) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x000000ff) ^ 0x000000ff) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.gas_); - - // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.addr_); - - // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.wei_); - - // required .solidity.yul.test.yul_fuzzer.Expression in = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.in_); - - // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.insize_); - - // required .solidity.yul.test.yul_fuzzer.Expression out = 7; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.out_); - - // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.outsize_); - - // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_callty()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LowLevelCall::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - LowLevelCall::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LowLevelCall::GetClassData() const { return &_class_data_; } - - -void LowLevelCall::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.LowLevelCall) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_gas()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_gas()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_addr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_addr()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_wei()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_wei()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_in()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_in()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_insize()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_insize()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_mutable_out()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_out()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_mutable_outsize()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_outsize()); - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.callty_ = from._impl_.callty_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void LowLevelCall::CopyFrom(const LowLevelCall& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.LowLevelCall) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LowLevelCall::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_gas()) { - if (!_impl_.gas_->IsInitialized()) return false; - } - if (_internal_has_addr()) { - if (!_impl_.addr_->IsInitialized()) return false; - } - if (_internal_has_wei()) { - if (!_impl_.wei_->IsInitialized()) return false; - } - if (_internal_has_in()) { - if (!_impl_.in_->IsInitialized()) return false; - } - if (_internal_has_insize()) { - if (!_impl_.insize_->IsInitialized()) return false; - } - if (_internal_has_out()) { - if (!_impl_.out_->IsInitialized()) return false; - } - if (_internal_has_outsize()) { - if (!_impl_.outsize_->IsInitialized()) return false; - } - return true; -} - -void LowLevelCall::InternalSwap(LowLevelCall* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(LowLevelCall, _impl_.callty_) - + sizeof(LowLevelCall::_impl_.callty_) - - PROTOBUF_FIELD_OFFSET(LowLevelCall, _impl_.gas_)>( - reinterpret_cast(&_impl_.gas_), - reinterpret_cast(&other->_impl_.gas_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata LowLevelCall::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[2]); -} - -// =================================================================== - -class Create::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_createty(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& wei(const Create* msg); - static void set_has_wei(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& position(const Create* msg); - static void set_has_position(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& size(const Create* msg); - static void set_has_size(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& value(const Create* msg); - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000001f) ^ 0x0000001f) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -Create::_Internal::wei(const Create* msg) { - return *msg->_impl_.wei_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -Create::_Internal::position(const Create* msg) { - return *msg->_impl_.position_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -Create::_Internal::size(const Create* msg) { - return *msg->_impl_.size_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -Create::_Internal::value(const Create* msg) { - return *msg->_impl_.value_; -} -Create::Create(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Create) -} -Create::Create(const Create& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Create* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.wei_){nullptr} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.size_){nullptr} - , decltype(_impl_.value_){nullptr} - , decltype(_impl_.createty_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_wei()) { - _this->_impl_.wei_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.wei_); - } - if (from._internal_has_position()) { - _this->_impl_.position_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.position_); - } - if (from._internal_has_size()) { - _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); - } - if (from._internal_has_value()) { - _this->_impl_.value_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.value_); - } - _this->_impl_.createty_ = from._impl_.createty_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Create) -} - -inline void Create::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.wei_){nullptr} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.size_){nullptr} - , decltype(_impl_.value_){nullptr} - , decltype(_impl_.createty_){0} - }; -} - -Create::~Create() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Create) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Create::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.wei_; - if (this != internal_default_instance()) delete _impl_.position_; - if (this != internal_default_instance()) delete _impl_.size_; - if (this != internal_default_instance()) delete _impl_.value_; -} - -void Create::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Create::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Create) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.wei_ != nullptr); - _impl_.wei_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.position_ != nullptr); - _impl_.position_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.size_ != nullptr); - _impl_.size_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.value_ != nullptr); - _impl_.value_->Clear(); - } - } - _impl_.createty_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Create::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::Create_Type_IsValid(val))) { - _internal_set_createty(static_cast<::solidity::yul::test::yul_fuzzer::Create_Type>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_wei(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression position = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression value = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_value(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Create::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Create) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_createty(), target); - } - - // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::wei(this), - _Internal::wei(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression position = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::position(this), - _Internal::position(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::size(this), - _Internal::size(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression value = 5; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::value(this), - _Internal::value(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Create) - return target; -} - -size_t Create::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.Create) - size_t total_size = 0; - - if (_internal_has_wei()) { - // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.wei_); - } - - if (_internal_has_position()) { - // required .solidity.yul.test.yul_fuzzer.Expression position = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.position_); - } - - if (_internal_has_size()) { - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_); - } - - if (_internal_has_value()) { - // required .solidity.yul.test.yul_fuzzer.Expression value = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_); - } - - if (_internal_has_createty()) { - // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_createty()); - } - - return total_size; -} -size_t Create::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Create) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000001f) ^ 0x0000001f) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.wei_); - - // required .solidity.yul.test.yul_fuzzer.Expression position = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.position_); - - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_); - - // required .solidity.yul.test.yul_fuzzer.Expression value = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_); - - // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_createty()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Create::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Create::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Create::GetClassData() const { return &_class_data_; } - - -void Create::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Create) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_wei()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_wei()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_position()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_position()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_size()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_value()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_value()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.createty_ = from._impl_.createty_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Create::CopyFrom(const Create& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Create) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Create::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_wei()) { - if (!_impl_.wei_->IsInitialized()) return false; - } - if (_internal_has_position()) { - if (!_impl_.position_->IsInitialized()) return false; - } - if (_internal_has_size()) { - if (!_impl_.size_->IsInitialized()) return false; - } - if (_internal_has_value()) { - if (!_impl_.value_->IsInitialized()) return false; - } - return true; -} - -void Create::InternalSwap(Create* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Create, _impl_.createty_) - + sizeof(Create::_impl_.createty_) - - PROTOBUF_FIELD_OFFSET(Create, _impl_.wei_)>( - reinterpret_cast(&_impl_.wei_), - reinterpret_cast(&other->_impl_.wei_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Create::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[3]); -} - -// =================================================================== - -class FunctionCall::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Expression& in_param1(const FunctionCall* msg); - static void set_has_in_param1(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& in_param2(const FunctionCall* msg); - static void set_has_in_param2(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& in_param3(const FunctionCall* msg); - static void set_has_in_param3(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& in_param4(const FunctionCall* msg); - static void set_has_in_param4(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -FunctionCall::_Internal::in_param1(const FunctionCall* msg) { - return *msg->_impl_.in_param1_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -FunctionCall::_Internal::in_param2(const FunctionCall* msg) { - return *msg->_impl_.in_param2_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -FunctionCall::_Internal::in_param3(const FunctionCall* msg) { - return *msg->_impl_.in_param3_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -FunctionCall::_Internal::in_param4(const FunctionCall* msg) { - return *msg->_impl_.in_param4_; -} -FunctionCall::FunctionCall(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.FunctionCall) -} -FunctionCall::FunctionCall(const FunctionCall& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - FunctionCall* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.in_param1_){nullptr} - , decltype(_impl_.in_param2_){nullptr} - , decltype(_impl_.in_param3_){nullptr} - , decltype(_impl_.in_param4_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_in_param1()) { - _this->_impl_.in_param1_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param1_); - } - if (from._internal_has_in_param2()) { - _this->_impl_.in_param2_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param2_); - } - if (from._internal_has_in_param3()) { - _this->_impl_.in_param3_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param3_); - } - if (from._internal_has_in_param4()) { - _this->_impl_.in_param4_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param4_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.FunctionCall) -} - -inline void FunctionCall::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.in_param1_){nullptr} - , decltype(_impl_.in_param2_){nullptr} - , decltype(_impl_.in_param3_){nullptr} - , decltype(_impl_.in_param4_){nullptr} - }; -} - -FunctionCall::~FunctionCall() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.FunctionCall) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void FunctionCall::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.in_param1_; - if (this != internal_default_instance()) delete _impl_.in_param2_; - if (this != internal_default_instance()) delete _impl_.in_param3_; - if (this != internal_default_instance()) delete _impl_.in_param4_; -} - -void FunctionCall::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void FunctionCall::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.FunctionCall) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.in_param1_ != nullptr); - _impl_.in_param1_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.in_param2_ != nullptr); - _impl_.in_param2_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.in_param3_ != nullptr); - _impl_.in_param3_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.in_param4_ != nullptr); - _impl_.in_param4_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* FunctionCall::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_in_param1(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_in_param2(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_in_param3(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_in_param4(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* FunctionCall::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.FunctionCall) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::in_param1(this), - _Internal::in_param1(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::in_param2(this), - _Internal::in_param2(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::in_param3(this), - _Internal::in_param3(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::in_param4(this), - _Internal::in_param4(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.FunctionCall) - return target; -} - -size_t FunctionCall::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.FunctionCall) - size_t total_size = 0; - - if (_internal_has_in_param1()) { - // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.in_param1_); - } - - if (_internal_has_in_param2()) { - // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.in_param2_); - } - - if (_internal_has_in_param3()) { - // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.in_param3_); - } - - if (_internal_has_in_param4()) { - // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.in_param4_); - } - - return total_size; -} -size_t FunctionCall::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.FunctionCall) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.in_param1_); - - // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.in_param2_); - - // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.in_param3_); - - // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.in_param4_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FunctionCall::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - FunctionCall::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FunctionCall::GetClassData() const { return &_class_data_; } - - -void FunctionCall::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.FunctionCall) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_in_param1()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_in_param1()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_in_param2()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_in_param2()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_in_param3()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_in_param3()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_in_param4()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_in_param4()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void FunctionCall::CopyFrom(const FunctionCall& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.FunctionCall) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FunctionCall::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_in_param1()) { - if (!_impl_.in_param1_->IsInitialized()) return false; - } - if (_internal_has_in_param2()) { - if (!_impl_.in_param2_->IsInitialized()) return false; - } - if (_internal_has_in_param3()) { - if (!_impl_.in_param3_->IsInitialized()) return false; - } - if (_internal_has_in_param4()) { - if (!_impl_.in_param4_->IsInitialized()) return false; - } - return true; -} - -void FunctionCall::InternalSwap(FunctionCall* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(FunctionCall, _impl_.in_param4_) - + sizeof(FunctionCall::_impl_.in_param4_) - - PROTOBUF_FIELD_OFFSET(FunctionCall, _impl_.in_param1_)>( - reinterpret_cast(&_impl_.in_param1_), - reinterpret_cast(&other->_impl_.in_param1_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata FunctionCall::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[4]); -} - -// =================================================================== - -class TypedVarDecl::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const TypedVarDecl* msg); - static void set_has_expr(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -TypedVarDecl::_Internal::expr(const TypedVarDecl* msg) { - return *msg->_impl_.expr_; -} -TypedVarDecl::TypedVarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TypedVarDecl) -} -TypedVarDecl::TypedVarDecl(const TypedVarDecl& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TypedVarDecl* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.expr_){nullptr} - , decltype(_impl_.id_){} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_expr()) { - _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); - } - ::memcpy(&_impl_.id_, &from._impl_.id_, - static_cast(reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TypedVarDecl) -} - -inline void TypedVarDecl::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.expr_){nullptr} - , decltype(_impl_.id_){0} - , decltype(_impl_.type_){1} - }; -} - -TypedVarDecl::~TypedVarDecl() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TypedVarDecl) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TypedVarDecl::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.expr_; -} - -void TypedVarDecl::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TypedVarDecl::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.expr_ != nullptr); - _impl_.expr_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - _impl_.id_ = 0; - _impl_.type_ = 1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TypedVarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required int32 id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName_IsValid(val))) { - _internal_set_type(static_cast<::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TypedVarDecl::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required int32 id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_id(), target); - } - - // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_type(), target); - } - - // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::expr(this), - _Internal::expr(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TypedVarDecl) - return target; -} - -size_t TypedVarDecl::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) - size_t total_size = 0; - - if (_internal_has_expr()) { - // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_); - } - - if (_internal_has_id()) { - // required int32 id = 1; - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_id()); - } - - if (_internal_has_type()) { - // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - } - - return total_size; -} -size_t TypedVarDecl::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_); - - // required int32 id = 1; - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_id()); - - // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TypedVarDecl::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TypedVarDecl::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TypedVarDecl::GetClassData() const { return &_class_data_; } - - -void TypedVarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_expr()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.id_ = from._impl_.id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TypedVarDecl::CopyFrom(const TypedVarDecl& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TypedVarDecl::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_expr()) { - if (!_impl_.expr_->IsInitialized()) return false; - } - return true; -} - -void TypedVarDecl::InternalSwap(TypedVarDecl* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TypedVarDecl, _impl_.id_) - + sizeof(TypedVarDecl::_impl_.id_) - - PROTOBUF_FIELD_OFFSET(TypedVarDecl, _impl_.expr_)>( - reinterpret_cast(&_impl_.expr_), - reinterpret_cast(&other->_impl_.expr_)); - swap(_impl_.type_, other->_impl_.type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TypedVarDecl::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[5]); -} - -// =================================================================== - -class VarRef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_varnum(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -VarRef::VarRef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.VarRef) -} -VarRef::VarRef(const VarRef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - VarRef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.varnum_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.varnum_ = from._impl_.varnum_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.VarRef) -} - -inline void VarRef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.varnum_){0} - }; -} - -VarRef::~VarRef() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.VarRef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void VarRef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void VarRef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void VarRef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.VarRef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.varnum_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* VarRef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required int32 varnum = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_varnum(&has_bits); - _impl_.varnum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* VarRef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.VarRef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required int32 varnum = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_varnum(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.VarRef) - return target; -} - -size_t VarRef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.VarRef) - size_t total_size = 0; - - // required int32 varnum = 1; - if (_internal_has_varnum()) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_varnum()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VarRef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - VarRef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VarRef::GetClassData() const { return &_class_data_; } - - -void VarRef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.VarRef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_varnum()) { - _this->_internal_set_varnum(from._internal_varnum()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void VarRef::CopyFrom(const VarRef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.VarRef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool VarRef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void VarRef::InternalSwap(VarRef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.varnum_, other->_impl_.varnum_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata VarRef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[6]); -} - -// =================================================================== - -class Literal::_Internal { - public: -}; - -Literal::Literal(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Literal) -} -Literal::Literal(const Literal& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Literal* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.literal_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_literal_oneof(); - switch (from.literal_oneof_case()) { - case kIntval: { - _this->_internal_set_intval(from._internal_intval()); - break; - } - case kHexval: { - _this->_internal_set_hexval(from._internal_hexval()); - break; - } - case kStrval: { - _this->_internal_set_strval(from._internal_strval()); - break; - } - case kBoolval: { - _this->_internal_set_boolval(from._internal_boolval()); - break; - } - case LITERAL_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Literal) -} - -inline void Literal::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.literal_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_literal_oneof(); -} - -Literal::~Literal() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Literal) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Literal::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_literal_oneof()) { - clear_literal_oneof(); - } -} - -void Literal::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Literal::clear_literal_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Literal) - switch (literal_oneof_case()) { - case kIntval: { - // No need to clear - break; - } - case kHexval: { - _impl_.literal_oneof_.hexval_.Destroy(); - break; - } - case kStrval: { - _impl_.literal_oneof_.strval_.Destroy(); - break; - } - case kBoolval: { - // No need to clear - break; - } - case LITERAL_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = LITERAL_ONEOF_NOT_SET; -} - - -void Literal::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Literal) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_literal_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Literal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // uint64 intval = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _internal_set_intval(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string hexval = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_hexval(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "solidity.yul.test.yul_fuzzer.Literal.hexval"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // string strval = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_strval(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "solidity.yul.test.yul_fuzzer.Literal.strval"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // bool boolval = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _internal_set_boolval(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Literal::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Literal) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (literal_oneof_case()) { - case kIntval: { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_intval(), target); - break; - } - case kHexval: { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_hexval().data(), static_cast(this->_internal_hexval().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "solidity.yul.test.yul_fuzzer.Literal.hexval"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_hexval(), target); - break; - } - case kStrval: { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_strval().data(), static_cast(this->_internal_strval().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "solidity.yul.test.yul_fuzzer.Literal.strval"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_strval(), target); - break; - } - case kBoolval: { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_boolval(), target); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Literal) - return target; -} - -size_t Literal::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Literal) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (literal_oneof_case()) { - // uint64 intval = 1; - case kIntval: { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_intval()); - break; - } - // string hexval = 2; - case kHexval: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_hexval()); - break; - } - // string strval = 3; - case kStrval: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_strval()); - break; - } - // bool boolval = 4; - case kBoolval: { - total_size += 1 + 1; - break; - } - case LITERAL_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Literal::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Literal::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Literal::GetClassData() const { return &_class_data_; } - - -void Literal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Literal) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.literal_oneof_case()) { - case kIntval: { - _this->_internal_set_intval(from._internal_intval()); - break; - } - case kHexval: { - _this->_internal_set_hexval(from._internal_hexval()); - break; - } - case kStrval: { - _this->_internal_set_strval(from._internal_strval()); - break; - } - case kBoolval: { - _this->_internal_set_boolval(from._internal_boolval()); - break; - } - case LITERAL_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Literal::CopyFrom(const Literal& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Literal) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Literal::IsInitialized() const { - return true; -} - -void Literal::InternalSwap(Literal* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.literal_oneof_, other->_impl_.literal_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Literal::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[7]); -} - -// =================================================================== - -class TypedLiteral::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_val(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -TypedLiteral::TypedLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TypedLiteral) -} -TypedLiteral::TypedLiteral(const TypedLiteral& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TypedLiteral* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_){} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.val_, &from._impl_.val_, - static_cast(reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.val_)) + sizeof(_impl_.type_)); - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TypedLiteral) -} - -inline void TypedLiteral::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_){0} - , decltype(_impl_.type_){1} - }; -} - -TypedLiteral::~TypedLiteral() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TypedLiteral) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TypedLiteral::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void TypedLiteral::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TypedLiteral::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TypedLiteral) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - _impl_.val_ = 0; - _impl_.type_ = 1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TypedLiteral::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required int32 val = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_val(&has_bits); - _impl_.val_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName_IsValid(val))) { - _internal_set_type(static_cast<::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TypedLiteral::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TypedLiteral) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required int32 val = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_val(), target); - } - - // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TypedLiteral) - return target; -} - -size_t TypedLiteral::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.TypedLiteral) - size_t total_size = 0; - - if (_internal_has_val()) { - // required int32 val = 1; - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val()); - } - - if (_internal_has_type()) { - // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - } - - return total_size; -} -size_t TypedLiteral::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TypedLiteral) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required int32 val = 1; - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val()); - - // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TypedLiteral::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TypedLiteral::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TypedLiteral::GetClassData() const { return &_class_data_; } - - -void TypedLiteral::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TypedLiteral) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.val_ = from._impl_.val_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TypedLiteral::CopyFrom(const TypedLiteral& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TypedLiteral) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TypedLiteral::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void TypedLiteral::InternalSwap(TypedLiteral* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.val_, other->_impl_.val_); - swap(_impl_.type_, other->_impl_.type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TypedLiteral::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[8]); -} - -// =================================================================== - -class BinaryOp::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_op(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& left(const BinaryOp* msg); - static void set_has_left(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& right(const BinaryOp* msg); - static void set_has_right(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -BinaryOp::_Internal::left(const BinaryOp* msg) { - return *msg->_impl_.left_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -BinaryOp::_Internal::right(const BinaryOp* msg) { - return *msg->_impl_.right_; -} -BinaryOp::BinaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.BinaryOp) -} -BinaryOp::BinaryOp(const BinaryOp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - BinaryOp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.left_){nullptr} - , decltype(_impl_.right_){nullptr} - , decltype(_impl_.op_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_left()) { - _this->_impl_.left_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.left_); - } - if (from._internal_has_right()) { - _this->_impl_.right_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.right_); - } - _this->_impl_.op_ = from._impl_.op_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.BinaryOp) -} - -inline void BinaryOp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.left_){nullptr} - , decltype(_impl_.right_){nullptr} - , decltype(_impl_.op_){0} - }; -} - -BinaryOp::~BinaryOp() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.BinaryOp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void BinaryOp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.left_; - if (this != internal_default_instance()) delete _impl_.right_; -} - -void BinaryOp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void BinaryOp::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.BinaryOp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.left_ != nullptr); - _impl_.left_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.right_ != nullptr); - _impl_.right_->Clear(); - } - } - _impl_.op_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* BinaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::BinaryOp_BOp_IsValid(val))) { - _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::BinaryOp_BOp>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression left = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression right = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* BinaryOp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.BinaryOp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_op(), target); - } - - // required .solidity.yul.test.yul_fuzzer.Expression left = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::left(this), - _Internal::left(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression right = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::right(this), - _Internal::right(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.BinaryOp) - return target; -} - -size_t BinaryOp::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.BinaryOp) - size_t total_size = 0; - - if (_internal_has_left()) { - // required .solidity.yul.test.yul_fuzzer.Expression left = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.left_); - } - - if (_internal_has_right()) { - // required .solidity.yul.test.yul_fuzzer.Expression right = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.right_); - } - - if (_internal_has_op()) { - // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - } - - return total_size; -} -size_t BinaryOp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.BinaryOp) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression left = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.left_); - - // required .solidity.yul.test.yul_fuzzer.Expression right = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.right_); - - // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BinaryOp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - BinaryOp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BinaryOp::GetClassData() const { return &_class_data_; } - - -void BinaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.BinaryOp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_left()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_left()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_right()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_right()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.op_ = from._impl_.op_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void BinaryOp::CopyFrom(const BinaryOp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.BinaryOp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BinaryOp::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_left()) { - if (!_impl_.left_->IsInitialized()) return false; - } - if (_internal_has_right()) { - if (!_impl_.right_->IsInitialized()) return false; - } - return true; -} - -void BinaryOp::InternalSwap(BinaryOp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.op_) - + sizeof(BinaryOp::_impl_.op_) - - PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.left_)>( - reinterpret_cast(&_impl_.left_), - reinterpret_cast(&other->_impl_.left_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata BinaryOp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[9]); -} - -// =================================================================== - -class UnaryOp::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_op(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& operand(const UnaryOp* msg); - static void set_has_operand(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -UnaryOp::_Internal::operand(const UnaryOp* msg) { - return *msg->_impl_.operand_; -} -UnaryOp::UnaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.UnaryOp) -} -UnaryOp::UnaryOp(const UnaryOp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - UnaryOp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.operand_){nullptr} - , decltype(_impl_.op_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_operand()) { - _this->_impl_.operand_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.operand_); - } - _this->_impl_.op_ = from._impl_.op_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.UnaryOp) -} - -inline void UnaryOp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.operand_){nullptr} - , decltype(_impl_.op_){0} - }; -} - -UnaryOp::~UnaryOp() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.UnaryOp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void UnaryOp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.operand_; -} - -void UnaryOp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void UnaryOp::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.UnaryOp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.operand_ != nullptr); - _impl_.operand_->Clear(); - } - _impl_.op_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* UnaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::UnaryOp_UOp_IsValid(val))) { - _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::UnaryOp_UOp>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_operand(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* UnaryOp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.UnaryOp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_op(), target); - } - - // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::operand(this), - _Internal::operand(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.UnaryOp) - return target; -} - -size_t UnaryOp::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.UnaryOp) - size_t total_size = 0; - - if (_internal_has_operand()) { - // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.operand_); - } - - if (_internal_has_op()) { - // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - } - - return total_size; -} -size_t UnaryOp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.UnaryOp) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.operand_); - - // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnaryOp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - UnaryOp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnaryOp::GetClassData() const { return &_class_data_; } - - -void UnaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.UnaryOp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_operand()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_operand()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.op_ = from._impl_.op_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void UnaryOp::CopyFrom(const UnaryOp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.UnaryOp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UnaryOp::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_operand()) { - if (!_impl_.operand_->IsInitialized()) return false; - } - return true; -} - -void UnaryOp::InternalSwap(UnaryOp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(UnaryOp, _impl_.op_) - + sizeof(UnaryOp::_impl_.op_) - - PROTOBUF_FIELD_OFFSET(UnaryOp, _impl_.operand_)>( - reinterpret_cast(&_impl_.operand_), - reinterpret_cast(&other->_impl_.operand_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata UnaryOp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[10]); -} - -// =================================================================== - -class UnaryOpData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_op(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_identifier(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -UnaryOpData::UnaryOpData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.UnaryOpData) -} -UnaryOpData::UnaryOpData(const UnaryOpData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - UnaryOpData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.identifier_){} - , decltype(_impl_.op_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.identifier_, &from._impl_.identifier_, - static_cast(reinterpret_cast(&_impl_.op_) - - reinterpret_cast(&_impl_.identifier_)) + sizeof(_impl_.op_)); - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.UnaryOpData) -} - -inline void UnaryOpData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.identifier_){uint64_t{0u}} - , decltype(_impl_.op_){1} - }; -} - -UnaryOpData::~UnaryOpData() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.UnaryOpData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void UnaryOpData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void UnaryOpData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void UnaryOpData::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.UnaryOpData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - _impl_.identifier_ = uint64_t{0u}; - _impl_.op_ = 1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* UnaryOpData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData_IsValid(val))) { - _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required uint64 identifier = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_identifier(&has_bits); - _impl_.identifier_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* UnaryOpData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.UnaryOpData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_op(), target); - } - - // required uint64 identifier = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_identifier(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.UnaryOpData) - return target; -} - -size_t UnaryOpData::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.UnaryOpData) - size_t total_size = 0; - - if (_internal_has_identifier()) { - // required uint64 identifier = 2; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_identifier()); - } - - if (_internal_has_op()) { - // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - } - - return total_size; -} -size_t UnaryOpData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.UnaryOpData) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required uint64 identifier = 2; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_identifier()); - - // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnaryOpData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - UnaryOpData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnaryOpData::GetClassData() const { return &_class_data_; } - - -void UnaryOpData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.UnaryOpData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.identifier_ = from._impl_.identifier_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.op_ = from._impl_.op_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void UnaryOpData::CopyFrom(const UnaryOpData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.UnaryOpData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UnaryOpData::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void UnaryOpData::InternalSwap(UnaryOpData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.identifier_, other->_impl_.identifier_); - swap(_impl_.op_, other->_impl_.op_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata UnaryOpData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[11]); -} - -// =================================================================== - -class TernaryOp::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_op(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& arg1(const TernaryOp* msg); - static void set_has_arg1(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& arg2(const TernaryOp* msg); - static void set_has_arg2(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& arg3(const TernaryOp* msg); - static void set_has_arg3(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -TernaryOp::_Internal::arg1(const TernaryOp* msg) { - return *msg->_impl_.arg1_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -TernaryOp::_Internal::arg2(const TernaryOp* msg) { - return *msg->_impl_.arg2_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -TernaryOp::_Internal::arg3(const TernaryOp* msg) { - return *msg->_impl_.arg3_; -} -TernaryOp::TernaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TernaryOp) -} -TernaryOp::TernaryOp(const TernaryOp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TernaryOp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.arg1_){nullptr} - , decltype(_impl_.arg2_){nullptr} - , decltype(_impl_.arg3_){nullptr} - , decltype(_impl_.op_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_arg1()) { - _this->_impl_.arg1_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.arg1_); - } - if (from._internal_has_arg2()) { - _this->_impl_.arg2_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.arg2_); - } - if (from._internal_has_arg3()) { - _this->_impl_.arg3_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.arg3_); - } - _this->_impl_.op_ = from._impl_.op_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TernaryOp) -} - -inline void TernaryOp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.arg1_){nullptr} - , decltype(_impl_.arg2_){nullptr} - , decltype(_impl_.arg3_){nullptr} - , decltype(_impl_.op_){0} - }; -} - -TernaryOp::~TernaryOp() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TernaryOp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TernaryOp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.arg1_; - if (this != internal_default_instance()) delete _impl_.arg2_; - if (this != internal_default_instance()) delete _impl_.arg3_; -} - -void TernaryOp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TernaryOp::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TernaryOp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.arg1_ != nullptr); - _impl_.arg1_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.arg2_ != nullptr); - _impl_.arg2_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.arg3_ != nullptr); - _impl_.arg3_->Clear(); - } - } - _impl_.op_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TernaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::TernaryOp_TOp_IsValid(val))) { - _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::TernaryOp_TOp>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_arg1(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_arg2(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_arg3(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TernaryOp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TernaryOp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_op(), target); - } - - // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::arg1(this), - _Internal::arg1(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::arg2(this), - _Internal::arg2(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::arg3(this), - _Internal::arg3(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TernaryOp) - return target; -} - -size_t TernaryOp::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.TernaryOp) - size_t total_size = 0; - - if (_internal_has_arg1()) { - // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg1_); - } - - if (_internal_has_arg2()) { - // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg2_); - } - - if (_internal_has_arg3()) { - // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg3_); - } - - if (_internal_has_op()) { - // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - } - - return total_size; -} -size_t TernaryOp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TernaryOp) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg1_); - - // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg2_); - - // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.arg3_); - - // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TernaryOp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TernaryOp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TernaryOp::GetClassData() const { return &_class_data_; } - - -void TernaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TernaryOp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_arg1()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_arg1()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_arg2()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_arg2()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_arg3()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_arg3()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.op_ = from._impl_.op_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TernaryOp::CopyFrom(const TernaryOp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TernaryOp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TernaryOp::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_arg1()) { - if (!_impl_.arg1_->IsInitialized()) return false; - } - if (_internal_has_arg2()) { - if (!_impl_.arg2_->IsInitialized()) return false; - } - if (_internal_has_arg3()) { - if (!_impl_.arg3_->IsInitialized()) return false; - } - return true; -} - -void TernaryOp::InternalSwap(TernaryOp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TernaryOp, _impl_.op_) - + sizeof(TernaryOp::_impl_.op_) - - PROTOBUF_FIELD_OFFSET(TernaryOp, _impl_.arg1_)>( - reinterpret_cast(&_impl_.arg1_), - reinterpret_cast(&other->_impl_.arg1_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TernaryOp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[12]); -} - -// =================================================================== - -class CopyFunc::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ct(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& target(const CopyFunc* msg); - static void set_has_target(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& source(const CopyFunc* msg); - static void set_has_source(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& size(const CopyFunc* msg); - static void set_has_size(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -CopyFunc::_Internal::target(const CopyFunc* msg) { - return *msg->_impl_.target_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -CopyFunc::_Internal::source(const CopyFunc* msg) { - return *msg->_impl_.source_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -CopyFunc::_Internal::size(const CopyFunc* msg) { - return *msg->_impl_.size_; -} -CopyFunc::CopyFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.CopyFunc) -} -CopyFunc::CopyFunc(const CopyFunc& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CopyFunc* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.target_){nullptr} - , decltype(_impl_.source_){nullptr} - , decltype(_impl_.size_){nullptr} - , decltype(_impl_.ct_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_target()) { - _this->_impl_.target_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.target_); - } - if (from._internal_has_source()) { - _this->_impl_.source_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.source_); - } - if (from._internal_has_size()) { - _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); - } - _this->_impl_.ct_ = from._impl_.ct_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.CopyFunc) -} - -inline void CopyFunc::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.target_){nullptr} - , decltype(_impl_.source_){nullptr} - , decltype(_impl_.size_){nullptr} - , decltype(_impl_.ct_){0} - }; -} - -CopyFunc::~CopyFunc() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.CopyFunc) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CopyFunc::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.target_; - if (this != internal_default_instance()) delete _impl_.source_; - if (this != internal_default_instance()) delete _impl_.size_; -} - -void CopyFunc::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CopyFunc::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.CopyFunc) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.target_ != nullptr); - _impl_.target_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.source_ != nullptr); - _impl_.source_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.size_ != nullptr); - _impl_.size_->Clear(); - } - } - _impl_.ct_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CopyFunc::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType_IsValid(val))) { - _internal_set_ct(static_cast<::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression target = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_target(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression source = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_source(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CopyFunc::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.CopyFunc) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_ct(), target); - } - - // required .solidity.yul.test.yul_fuzzer.Expression target = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::target(this), - _Internal::target(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression source = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::source(this), - _Internal::source(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::size(this), - _Internal::size(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.CopyFunc) - return target; -} - -size_t CopyFunc::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.CopyFunc) - size_t total_size = 0; - - if (_internal_has_target()) { - // required .solidity.yul.test.yul_fuzzer.Expression target = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.target_); - } - - if (_internal_has_source()) { - // required .solidity.yul.test.yul_fuzzer.Expression source = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.source_); - } - - if (_internal_has_size()) { - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_); - } - - if (_internal_has_ct()) { - // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_ct()); - } - - return total_size; -} -size_t CopyFunc::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.CopyFunc) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression target = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.target_); - - // required .solidity.yul.test.yul_fuzzer.Expression source = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.source_); - - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_); - - // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_ct()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CopyFunc::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CopyFunc::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CopyFunc::GetClassData() const { return &_class_data_; } - - -void CopyFunc::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.CopyFunc) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_target()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_target()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_source()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_source()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_size()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ct_ = from._impl_.ct_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CopyFunc::CopyFrom(const CopyFunc& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.CopyFunc) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CopyFunc::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_target()) { - if (!_impl_.target_->IsInitialized()) return false; - } - if (_internal_has_source()) { - if (!_impl_.source_->IsInitialized()) return false; - } - if (_internal_has_size()) { - if (!_impl_.size_->IsInitialized()) return false; - } - return true; -} - -void CopyFunc::InternalSwap(CopyFunc* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CopyFunc, _impl_.ct_) - + sizeof(CopyFunc::_impl_.ct_) - - PROTOBUF_FIELD_OFFSET(CopyFunc, _impl_.target_)>( - reinterpret_cast(&_impl_.target_), - reinterpret_cast(&other->_impl_.target_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CopyFunc::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[13]); -} - -// =================================================================== - -class ExtCodeCopy::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Expression& addr(const ExtCodeCopy* msg); - static void set_has_addr(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& target(const ExtCodeCopy* msg); - static void set_has_target(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& source(const ExtCodeCopy* msg); - static void set_has_source(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& size(const ExtCodeCopy* msg); - static void set_has_size(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -ExtCodeCopy::_Internal::addr(const ExtCodeCopy* msg) { - return *msg->_impl_.addr_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -ExtCodeCopy::_Internal::target(const ExtCodeCopy* msg) { - return *msg->_impl_.target_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -ExtCodeCopy::_Internal::source(const ExtCodeCopy* msg) { - return *msg->_impl_.source_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -ExtCodeCopy::_Internal::size(const ExtCodeCopy* msg) { - return *msg->_impl_.size_; -} -ExtCodeCopy::ExtCodeCopy(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.ExtCodeCopy) -} -ExtCodeCopy::ExtCodeCopy(const ExtCodeCopy& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ExtCodeCopy* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.addr_){nullptr} - , decltype(_impl_.target_){nullptr} - , decltype(_impl_.source_){nullptr} - , decltype(_impl_.size_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_addr()) { - _this->_impl_.addr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.addr_); - } - if (from._internal_has_target()) { - _this->_impl_.target_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.target_); - } - if (from._internal_has_source()) { - _this->_impl_.source_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.source_); - } - if (from._internal_has_size()) { - _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.ExtCodeCopy) -} - -inline void ExtCodeCopy::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.addr_){nullptr} - , decltype(_impl_.target_){nullptr} - , decltype(_impl_.source_){nullptr} - , decltype(_impl_.size_){nullptr} - }; -} - -ExtCodeCopy::~ExtCodeCopy() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.ExtCodeCopy) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ExtCodeCopy::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.addr_; - if (this != internal_default_instance()) delete _impl_.target_; - if (this != internal_default_instance()) delete _impl_.source_; - if (this != internal_default_instance()) delete _impl_.size_; -} - -void ExtCodeCopy::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ExtCodeCopy::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.addr_ != nullptr); - _impl_.addr_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.target_ != nullptr); - _impl_.target_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.source_ != nullptr); - _impl_.source_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.size_ != nullptr); - _impl_.size_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ExtCodeCopy::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_addr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression target = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_target(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression source = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_source(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ExtCodeCopy::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::addr(this), - _Internal::addr(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression target = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::target(this), - _Internal::target(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression source = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::source(this), - _Internal::source(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::size(this), - _Internal::size(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.ExtCodeCopy) - return target; -} - -size_t ExtCodeCopy::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) - size_t total_size = 0; - - if (_internal_has_addr()) { - // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.addr_); - } - - if (_internal_has_target()) { - // required .solidity.yul.test.yul_fuzzer.Expression target = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.target_); - } - - if (_internal_has_source()) { - // required .solidity.yul.test.yul_fuzzer.Expression source = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.source_); - } - - if (_internal_has_size()) { - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_); - } - - return total_size; -} -size_t ExtCodeCopy::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.addr_); - - // required .solidity.yul.test.yul_fuzzer.Expression target = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.target_); - - // required .solidity.yul.test.yul_fuzzer.Expression source = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.source_); - - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExtCodeCopy::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ExtCodeCopy::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExtCodeCopy::GetClassData() const { return &_class_data_; } - - -void ExtCodeCopy::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_addr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_addr()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_target()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_target()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_source()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_source()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_size()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ExtCodeCopy::CopyFrom(const ExtCodeCopy& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExtCodeCopy::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_addr()) { - if (!_impl_.addr_->IsInitialized()) return false; - } - if (_internal_has_target()) { - if (!_impl_.target_->IsInitialized()) return false; - } - if (_internal_has_source()) { - if (!_impl_.source_->IsInitialized()) return false; - } - if (_internal_has_size()) { - if (!_impl_.size_->IsInitialized()) return false; - } - return true; -} - -void ExtCodeCopy::InternalSwap(ExtCodeCopy* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ExtCodeCopy, _impl_.size_) - + sizeof(ExtCodeCopy::_impl_.size_) - - PROTOBUF_FIELD_OFFSET(ExtCodeCopy, _impl_.addr_)>( - reinterpret_cast(&_impl_.addr_), - reinterpret_cast(&other->_impl_.addr_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ExtCodeCopy::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[14]); -} - -// =================================================================== - -class NullaryOp::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_op(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -NullaryOp::NullaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.NullaryOp) -} -NullaryOp::NullaryOp(const NullaryOp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - NullaryOp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.op_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.op_ = from._impl_.op_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.NullaryOp) -} - -inline void NullaryOp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.op_){1} - }; -} - -NullaryOp::~NullaryOp() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.NullaryOp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void NullaryOp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void NullaryOp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void NullaryOp::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.NullaryOp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.op_ = 1; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* NullaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::NullaryOp_NOp_IsValid(val))) { - _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::NullaryOp_NOp>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* NullaryOp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.NullaryOp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_op(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.NullaryOp) - return target; -} - -size_t NullaryOp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.NullaryOp) - size_t total_size = 0; - - // required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; - if (_internal_has_op()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullaryOp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - NullaryOp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullaryOp::GetClassData() const { return &_class_data_; } - - -void NullaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.NullaryOp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_op()) { - _this->_internal_set_op(from._internal_op()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void NullaryOp::CopyFrom(const NullaryOp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.NullaryOp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NullaryOp::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void NullaryOp::InternalSwap(NullaryOp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.op_, other->_impl_.op_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata NullaryOp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[15]); -} - -// =================================================================== - -class StoreFunc::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Expression& loc(const StoreFunc* msg); - static void set_has_loc(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& val(const StoreFunc* msg); - static void set_has_val(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_st(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -StoreFunc::_Internal::loc(const StoreFunc* msg) { - return *msg->_impl_.loc_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -StoreFunc::_Internal::val(const StoreFunc* msg) { - return *msg->_impl_.val_; -} -StoreFunc::StoreFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.StoreFunc) -} -StoreFunc::StoreFunc(const StoreFunc& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StoreFunc* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.loc_){nullptr} - , decltype(_impl_.val_){nullptr} - , decltype(_impl_.st_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_loc()) { - _this->_impl_.loc_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.loc_); - } - if (from._internal_has_val()) { - _this->_impl_.val_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.val_); - } - _this->_impl_.st_ = from._impl_.st_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.StoreFunc) -} - -inline void StoreFunc::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.loc_){nullptr} - , decltype(_impl_.val_){nullptr} - , decltype(_impl_.st_){0} - }; -} - -StoreFunc::~StoreFunc() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.StoreFunc) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StoreFunc::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.loc_; - if (this != internal_default_instance()) delete _impl_.val_; -} - -void StoreFunc::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StoreFunc::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.StoreFunc) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.loc_ != nullptr); - _impl_.loc_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.val_ != nullptr); - _impl_.val_->Clear(); - } - } - _impl_.st_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StoreFunc::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_loc(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression val = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_val(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::StoreFunc_Storage_IsValid(val))) { - _internal_set_st(static_cast<::solidity::yul::test::yul_fuzzer::StoreFunc_Storage>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StoreFunc::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.StoreFunc) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::loc(this), - _Internal::loc(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression val = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::val(this), - _Internal::val(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this->_internal_st(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.StoreFunc) - return target; -} - -size_t StoreFunc::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.StoreFunc) - size_t total_size = 0; - - if (_internal_has_loc()) { - // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.loc_); - } - - if (_internal_has_val()) { - // required .solidity.yul.test.yul_fuzzer.Expression val = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.val_); - } - - if (_internal_has_st()) { - // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_st()); - } - - return total_size; -} -size_t StoreFunc::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.StoreFunc) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.loc_); - - // required .solidity.yul.test.yul_fuzzer.Expression val = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.val_); - - // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_st()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StoreFunc::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StoreFunc::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StoreFunc::GetClassData() const { return &_class_data_; } - - -void StoreFunc::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.StoreFunc) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_loc()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_loc()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_val()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_val()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.st_ = from._impl_.st_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StoreFunc::CopyFrom(const StoreFunc& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.StoreFunc) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StoreFunc::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_loc()) { - if (!_impl_.loc_->IsInitialized()) return false; - } - if (_internal_has_val()) { - if (!_impl_.val_->IsInitialized()) return false; - } - return true; -} - -void StoreFunc::InternalSwap(StoreFunc* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(StoreFunc, _impl_.st_) - + sizeof(StoreFunc::_impl_.st_) - - PROTOBUF_FIELD_OFFSET(StoreFunc, _impl_.loc_)>( - reinterpret_cast(&_impl_.loc_), - reinterpret_cast(&other->_impl_.loc_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StoreFunc::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[16]); -} - -// =================================================================== - -class LogFunc::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Expression& pos(const LogFunc* msg); - static void set_has_pos(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& size(const LogFunc* msg); - static void set_has_size(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_num_topics(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& t1(const LogFunc* msg); - static void set_has_t1(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& t2(const LogFunc* msg); - static void set_has_t2(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& t3(const LogFunc* msg); - static void set_has_t3(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& t4(const LogFunc* msg); - static void set_has_t4(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000007f) ^ 0x0000007f) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -LogFunc::_Internal::pos(const LogFunc* msg) { - return *msg->_impl_.pos_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LogFunc::_Internal::size(const LogFunc* msg) { - return *msg->_impl_.size_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LogFunc::_Internal::t1(const LogFunc* msg) { - return *msg->_impl_.t1_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LogFunc::_Internal::t2(const LogFunc* msg) { - return *msg->_impl_.t2_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LogFunc::_Internal::t3(const LogFunc* msg) { - return *msg->_impl_.t3_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -LogFunc::_Internal::t4(const LogFunc* msg) { - return *msg->_impl_.t4_; -} -LogFunc::LogFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.LogFunc) -} -LogFunc::LogFunc(const LogFunc& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - LogFunc* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.size_){nullptr} - , decltype(_impl_.t1_){nullptr} - , decltype(_impl_.t2_){nullptr} - , decltype(_impl_.t3_){nullptr} - , decltype(_impl_.t4_){nullptr} - , decltype(_impl_.num_topics_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_pos()) { - _this->_impl_.pos_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.pos_); - } - if (from._internal_has_size()) { - _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); - } - if (from._internal_has_t1()) { - _this->_impl_.t1_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t1_); - } - if (from._internal_has_t2()) { - _this->_impl_.t2_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t2_); - } - if (from._internal_has_t3()) { - _this->_impl_.t3_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t3_); - } - if (from._internal_has_t4()) { - _this->_impl_.t4_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t4_); - } - _this->_impl_.num_topics_ = from._impl_.num_topics_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.LogFunc) -} - -inline void LogFunc::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.size_){nullptr} - , decltype(_impl_.t1_){nullptr} - , decltype(_impl_.t2_){nullptr} - , decltype(_impl_.t3_){nullptr} - , decltype(_impl_.t4_){nullptr} - , decltype(_impl_.num_topics_){0} - }; -} - -LogFunc::~LogFunc() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.LogFunc) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void LogFunc::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.pos_; - if (this != internal_default_instance()) delete _impl_.size_; - if (this != internal_default_instance()) delete _impl_.t1_; - if (this != internal_default_instance()) delete _impl_.t2_; - if (this != internal_default_instance()) delete _impl_.t3_; - if (this != internal_default_instance()) delete _impl_.t4_; -} - -void LogFunc::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void LogFunc::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.LogFunc) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.pos_ != nullptr); - _impl_.pos_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.size_ != nullptr); - _impl_.size_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.t1_ != nullptr); - _impl_.t1_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.t2_ != nullptr); - _impl_.t2_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.t3_ != nullptr); - _impl_.t3_->Clear(); - } - if (cached_has_bits & 0x00000020u) { - GOOGLE_DCHECK(_impl_.t4_ != nullptr); - _impl_.t4_->Clear(); - } - } - _impl_.num_topics_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* LogFunc::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression size = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics_IsValid(val))) { - _internal_set_num_topics(static_cast<::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_t1(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_t2(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_t3(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_t4(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* LogFunc::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.LogFunc) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::pos(this), - _Internal::pos(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression size = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::size(this), - _Internal::size(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this->_internal_num_topics(), target); - } - - // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::t1(this), - _Internal::t1(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::t2(this), - _Internal::t2(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::t3(this), - _Internal::t3(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; - if (cached_has_bits & 0x00000020u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::t4(this), - _Internal::t4(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.LogFunc) - return target; -} - -size_t LogFunc::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.LogFunc) - size_t total_size = 0; - - if (_internal_has_pos()) { - // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pos_); - } - - if (_internal_has_size()) { - // required .solidity.yul.test.yul_fuzzer.Expression size = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_); - } - - if (_internal_has_t1()) { - // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.t1_); - } - - if (_internal_has_t2()) { - // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.t2_); - } - - if (_internal_has_t3()) { - // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.t3_); - } - - if (_internal_has_t4()) { - // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.t4_); - } - - if (_internal_has_num_topics()) { - // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_num_topics()); - } - - return total_size; -} -size_t LogFunc::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.LogFunc) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000007f) ^ 0x0000007f) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pos_); - - // required .solidity.yul.test.yul_fuzzer.Expression size = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_); - - // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.t1_); - - // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.t2_); - - // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.t3_); - - // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.t4_); - - // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_num_topics()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LogFunc::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - LogFunc::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LogFunc::GetClassData() const { return &_class_data_; } - - -void LogFunc::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.LogFunc) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_pos()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_pos()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_size()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_t1()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_t1()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_t2()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_t2()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_t3()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_t3()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_mutable_t4()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_t4()); - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.num_topics_ = from._impl_.num_topics_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void LogFunc::CopyFrom(const LogFunc& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.LogFunc) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LogFunc::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_pos()) { - if (!_impl_.pos_->IsInitialized()) return false; - } - if (_internal_has_size()) { - if (!_impl_.size_->IsInitialized()) return false; - } - if (_internal_has_t1()) { - if (!_impl_.t1_->IsInitialized()) return false; - } - if (_internal_has_t2()) { - if (!_impl_.t2_->IsInitialized()) return false; - } - if (_internal_has_t3()) { - if (!_impl_.t3_->IsInitialized()) return false; - } - if (_internal_has_t4()) { - if (!_impl_.t4_->IsInitialized()) return false; - } - return true; -} - -void LogFunc::InternalSwap(LogFunc* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(LogFunc, _impl_.num_topics_) - + sizeof(LogFunc::_impl_.num_topics_) - - PROTOBUF_FIELD_OFFSET(LogFunc, _impl_.pos_)>( - reinterpret_cast(&_impl_.pos_), - reinterpret_cast(&other->_impl_.pos_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata LogFunc::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[17]); -} - -// =================================================================== - -class Expression::_Internal { - public: - static const ::solidity::yul::test::yul_fuzzer::VarRef& varref(const Expression* msg); - static const ::solidity::yul::test::yul_fuzzer::Literal& cons(const Expression* msg); - static const ::solidity::yul::test::yul_fuzzer::BinaryOp& binop(const Expression* msg); - static const ::solidity::yul::test::yul_fuzzer::UnaryOp& unop(const Expression* msg); - static const ::solidity::yul::test::yul_fuzzer::TernaryOp& top(const Expression* msg); - static const ::solidity::yul::test::yul_fuzzer::NullaryOp& nop(const Expression* msg); - static const ::solidity::yul::test::yul_fuzzer::FunctionCall& func_expr(const Expression* msg); - static const ::solidity::yul::test::yul_fuzzer::LowLevelCall& lowcall(const Expression* msg); - static const ::solidity::yul::test::yul_fuzzer::Create& create(const Expression* msg); - static const ::solidity::yul::test::yul_fuzzer::UnaryOpData& unopdata(const Expression* msg); -}; - -const ::solidity::yul::test::yul_fuzzer::VarRef& -Expression::_Internal::varref(const Expression* msg) { - return *msg->_impl_.expr_oneof_.varref_; -} -const ::solidity::yul::test::yul_fuzzer::Literal& -Expression::_Internal::cons(const Expression* msg) { - return *msg->_impl_.expr_oneof_.cons_; -} -const ::solidity::yul::test::yul_fuzzer::BinaryOp& -Expression::_Internal::binop(const Expression* msg) { - return *msg->_impl_.expr_oneof_.binop_; -} -const ::solidity::yul::test::yul_fuzzer::UnaryOp& -Expression::_Internal::unop(const Expression* msg) { - return *msg->_impl_.expr_oneof_.unop_; -} -const ::solidity::yul::test::yul_fuzzer::TernaryOp& -Expression::_Internal::top(const Expression* msg) { - return *msg->_impl_.expr_oneof_.top_; -} -const ::solidity::yul::test::yul_fuzzer::NullaryOp& -Expression::_Internal::nop(const Expression* msg) { - return *msg->_impl_.expr_oneof_.nop_; -} -const ::solidity::yul::test::yul_fuzzer::FunctionCall& -Expression::_Internal::func_expr(const Expression* msg) { - return *msg->_impl_.expr_oneof_.func_expr_; -} -const ::solidity::yul::test::yul_fuzzer::LowLevelCall& -Expression::_Internal::lowcall(const Expression* msg) { - return *msg->_impl_.expr_oneof_.lowcall_; -} -const ::solidity::yul::test::yul_fuzzer::Create& -Expression::_Internal::create(const Expression* msg) { - return *msg->_impl_.expr_oneof_.create_; -} -const ::solidity::yul::test::yul_fuzzer::UnaryOpData& -Expression::_Internal::unopdata(const Expression* msg) { - return *msg->_impl_.expr_oneof_.unopdata_; -} -void Expression::set_allocated_varref(::solidity::yul::test::yul_fuzzer::VarRef* varref) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (varref) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(varref); - if (message_arena != submessage_arena) { - varref = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, varref, submessage_arena); - } - set_has_varref(); - _impl_.expr_oneof_.varref_ = varref; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.varref) -} -void Expression::set_allocated_cons(::solidity::yul::test::yul_fuzzer::Literal* cons) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (cons) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cons); - if (message_arena != submessage_arena) { - cons = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cons, submessage_arena); - } - set_has_cons(); - _impl_.expr_oneof_.cons_ = cons; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.cons) -} -void Expression::set_allocated_binop(::solidity::yul::test::yul_fuzzer::BinaryOp* binop) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (binop) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(binop); - if (message_arena != submessage_arena) { - binop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, binop, submessage_arena); - } - set_has_binop(); - _impl_.expr_oneof_.binop_ = binop; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.binop) -} -void Expression::set_allocated_unop(::solidity::yul::test::yul_fuzzer::UnaryOp* unop) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (unop) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unop); - if (message_arena != submessage_arena) { - unop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, unop, submessage_arena); - } - set_has_unop(); - _impl_.expr_oneof_.unop_ = unop; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.unop) -} -void Expression::set_allocated_top(::solidity::yul::test::yul_fuzzer::TernaryOp* top) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (top) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(top); - if (message_arena != submessage_arena) { - top = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, top, submessage_arena); - } - set_has_top(); - _impl_.expr_oneof_.top_ = top; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.top) -} -void Expression::set_allocated_nop(::solidity::yul::test::yul_fuzzer::NullaryOp* nop) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (nop) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(nop); - if (message_arena != submessage_arena) { - nop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, nop, submessage_arena); - } - set_has_nop(); - _impl_.expr_oneof_.nop_ = nop; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.nop) -} -void Expression::set_allocated_func_expr(::solidity::yul::test::yul_fuzzer::FunctionCall* func_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (func_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(func_expr); - if (message_arena != submessage_arena) { - func_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, func_expr, submessage_arena); - } - set_has_func_expr(); - _impl_.expr_oneof_.func_expr_ = func_expr; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.func_expr) -} -void Expression::set_allocated_lowcall(::solidity::yul::test::yul_fuzzer::LowLevelCall* lowcall) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (lowcall) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(lowcall); - if (message_arena != submessage_arena) { - lowcall = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, lowcall, submessage_arena); - } - set_has_lowcall(); - _impl_.expr_oneof_.lowcall_ = lowcall; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.lowcall) -} -void Expression::set_allocated_create(::solidity::yul::test::yul_fuzzer::Create* create) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (create) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(create); - if (message_arena != submessage_arena) { - create = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, create, submessage_arena); - } - set_has_create(); - _impl_.expr_oneof_.create_ = create; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.create) -} -void Expression::set_allocated_unopdata(::solidity::yul::test::yul_fuzzer::UnaryOpData* unopdata) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_expr_oneof(); - if (unopdata) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unopdata); - if (message_arena != submessage_arena) { - unopdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, unopdata, submessage_arena); - } - set_has_unopdata(); - _impl_.expr_oneof_.unopdata_ = unopdata; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.unopdata) -} -Expression::Expression(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Expression) -} -Expression::Expression(const Expression& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Expression* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.expr_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_expr_oneof(); - switch (from.expr_oneof_case()) { - case kVarref: { - _this->_internal_mutable_varref()->::solidity::yul::test::yul_fuzzer::VarRef::MergeFrom( - from._internal_varref()); - break; - } - case kCons: { - _this->_internal_mutable_cons()->::solidity::yul::test::yul_fuzzer::Literal::MergeFrom( - from._internal_cons()); - break; - } - case kBinop: { - _this->_internal_mutable_binop()->::solidity::yul::test::yul_fuzzer::BinaryOp::MergeFrom( - from._internal_binop()); - break; - } - case kUnop: { - _this->_internal_mutable_unop()->::solidity::yul::test::yul_fuzzer::UnaryOp::MergeFrom( - from._internal_unop()); - break; - } - case kTop: { - _this->_internal_mutable_top()->::solidity::yul::test::yul_fuzzer::TernaryOp::MergeFrom( - from._internal_top()); - break; - } - case kNop: { - _this->_internal_mutable_nop()->::solidity::yul::test::yul_fuzzer::NullaryOp::MergeFrom( - from._internal_nop()); - break; - } - case kFuncExpr: { - _this->_internal_mutable_func_expr()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( - from._internal_func_expr()); - break; - } - case kLowcall: { - _this->_internal_mutable_lowcall()->::solidity::yul::test::yul_fuzzer::LowLevelCall::MergeFrom( - from._internal_lowcall()); - break; - } - case kCreate: { - _this->_internal_mutable_create()->::solidity::yul::test::yul_fuzzer::Create::MergeFrom( - from._internal_create()); - break; - } - case kUnopdata: { - _this->_internal_mutable_unopdata()->::solidity::yul::test::yul_fuzzer::UnaryOpData::MergeFrom( - from._internal_unopdata()); - break; - } - case EXPR_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Expression) -} - -inline void Expression::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.expr_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_expr_oneof(); -} - -Expression::~Expression() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Expression) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Expression::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_expr_oneof()) { - clear_expr_oneof(); - } -} - -void Expression::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Expression::clear_expr_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Expression) - switch (expr_oneof_case()) { - case kVarref: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.varref_; - } - break; - } - case kCons: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.cons_; - } - break; - } - case kBinop: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.binop_; - } - break; - } - case kUnop: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.unop_; - } - break; - } - case kTop: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.top_; - } - break; - } - case kNop: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.nop_; - } - break; - } - case kFuncExpr: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.func_expr_; - } - break; - } - case kLowcall: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.lowcall_; - } - break; - } - case kCreate: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.create_; - } - break; - } - case kUnopdata: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.unopdata_; - } - break; - } - case EXPR_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = EXPR_ONEOF_NOT_SET; -} - - -void Expression::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Expression) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_expr_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Expression::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.yul.test.yul_fuzzer.VarRef varref = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_varref(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.Literal cons = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_cons(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.BinaryOp binop = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_binop(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.UnaryOp unop = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_unop(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.TernaryOp top = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_top(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.NullaryOp nop = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_nop(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.FunctionCall func_expr = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_func_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.LowLevelCall lowcall = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_lowcall(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.Create create = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_create(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.UnaryOpData unopdata = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_unopdata(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Expression::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Expression) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (expr_oneof_case()) { - case kVarref: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::varref(this), - _Internal::varref(this).GetCachedSize(), target, stream); - break; - } - case kCons: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::cons(this), - _Internal::cons(this).GetCachedSize(), target, stream); - break; - } - case kBinop: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::binop(this), - _Internal::binop(this).GetCachedSize(), target, stream); - break; - } - case kUnop: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::unop(this), - _Internal::unop(this).GetCachedSize(), target, stream); - break; - } - case kTop: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::top(this), - _Internal::top(this).GetCachedSize(), target, stream); - break; - } - case kNop: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::nop(this), - _Internal::nop(this).GetCachedSize(), target, stream); - break; - } - case kFuncExpr: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::func_expr(this), - _Internal::func_expr(this).GetCachedSize(), target, stream); - break; - } - case kLowcall: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::lowcall(this), - _Internal::lowcall(this).GetCachedSize(), target, stream); - break; - } - case kCreate: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::create(this), - _Internal::create(this).GetCachedSize(), target, stream); - break; - } - case kUnopdata: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::unopdata(this), - _Internal::unopdata(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Expression) - return target; -} - -size_t Expression::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Expression) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (expr_oneof_case()) { - // .solidity.yul.test.yul_fuzzer.VarRef varref = 1; - case kVarref: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.varref_); - break; - } - // .solidity.yul.test.yul_fuzzer.Literal cons = 2; - case kCons: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.cons_); - break; - } - // .solidity.yul.test.yul_fuzzer.BinaryOp binop = 3; - case kBinop: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.binop_); - break; - } - // .solidity.yul.test.yul_fuzzer.UnaryOp unop = 4; - case kUnop: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.unop_); - break; - } - // .solidity.yul.test.yul_fuzzer.TernaryOp top = 5; - case kTop: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.top_); - break; - } - // .solidity.yul.test.yul_fuzzer.NullaryOp nop = 6; - case kNop: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.nop_); - break; - } - // .solidity.yul.test.yul_fuzzer.FunctionCall func_expr = 7; - case kFuncExpr: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.func_expr_); - break; - } - // .solidity.yul.test.yul_fuzzer.LowLevelCall lowcall = 8; - case kLowcall: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.lowcall_); - break; - } - // .solidity.yul.test.yul_fuzzer.Create create = 9; - case kCreate: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.create_); - break; - } - // .solidity.yul.test.yul_fuzzer.UnaryOpData unopdata = 10; - case kUnopdata: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_oneof_.unopdata_); - break; - } - case EXPR_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Expression::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Expression::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Expression::GetClassData() const { return &_class_data_; } - - -void Expression::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Expression) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.expr_oneof_case()) { - case kVarref: { - _this->_internal_mutable_varref()->::solidity::yul::test::yul_fuzzer::VarRef::MergeFrom( - from._internal_varref()); - break; - } - case kCons: { - _this->_internal_mutable_cons()->::solidity::yul::test::yul_fuzzer::Literal::MergeFrom( - from._internal_cons()); - break; - } - case kBinop: { - _this->_internal_mutable_binop()->::solidity::yul::test::yul_fuzzer::BinaryOp::MergeFrom( - from._internal_binop()); - break; - } - case kUnop: { - _this->_internal_mutable_unop()->::solidity::yul::test::yul_fuzzer::UnaryOp::MergeFrom( - from._internal_unop()); - break; - } - case kTop: { - _this->_internal_mutable_top()->::solidity::yul::test::yul_fuzzer::TernaryOp::MergeFrom( - from._internal_top()); - break; - } - case kNop: { - _this->_internal_mutable_nop()->::solidity::yul::test::yul_fuzzer::NullaryOp::MergeFrom( - from._internal_nop()); - break; - } - case kFuncExpr: { - _this->_internal_mutable_func_expr()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( - from._internal_func_expr()); - break; - } - case kLowcall: { - _this->_internal_mutable_lowcall()->::solidity::yul::test::yul_fuzzer::LowLevelCall::MergeFrom( - from._internal_lowcall()); - break; - } - case kCreate: { - _this->_internal_mutable_create()->::solidity::yul::test::yul_fuzzer::Create::MergeFrom( - from._internal_create()); - break; - } - case kUnopdata: { - _this->_internal_mutable_unopdata()->::solidity::yul::test::yul_fuzzer::UnaryOpData::MergeFrom( - from._internal_unopdata()); - break; - } - case EXPR_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Expression::CopyFrom(const Expression& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Expression) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Expression::IsInitialized() const { - switch (expr_oneof_case()) { - case kVarref: { - if (_internal_has_varref()) { - if (!_impl_.expr_oneof_.varref_->IsInitialized()) return false; - } - break; - } - case kCons: { - break; - } - case kBinop: { - if (_internal_has_binop()) { - if (!_impl_.expr_oneof_.binop_->IsInitialized()) return false; - } - break; - } - case kUnop: { - if (_internal_has_unop()) { - if (!_impl_.expr_oneof_.unop_->IsInitialized()) return false; - } - break; - } - case kTop: { - if (_internal_has_top()) { - if (!_impl_.expr_oneof_.top_->IsInitialized()) return false; - } - break; - } - case kNop: { - if (_internal_has_nop()) { - if (!_impl_.expr_oneof_.nop_->IsInitialized()) return false; - } - break; - } - case kFuncExpr: { - if (_internal_has_func_expr()) { - if (!_impl_.expr_oneof_.func_expr_->IsInitialized()) return false; - } - break; - } - case kLowcall: { - if (_internal_has_lowcall()) { - if (!_impl_.expr_oneof_.lowcall_->IsInitialized()) return false; - } - break; - } - case kCreate: { - if (_internal_has_create()) { - if (!_impl_.expr_oneof_.create_->IsInitialized()) return false; - } - break; - } - case kUnopdata: { - if (_internal_has_unopdata()) { - if (!_impl_.expr_oneof_.unopdata_->IsInitialized()) return false; - } - break; - } - case EXPR_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void Expression::InternalSwap(Expression* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.expr_oneof_, other->_impl_.expr_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Expression::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[18]); -} - -// =================================================================== - -class AssignmentStatement::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::VarRef& ref_id(const AssignmentStatement* msg); - static void set_has_ref_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const AssignmentStatement* msg); - static void set_has_expr(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::VarRef& -AssignmentStatement::_Internal::ref_id(const AssignmentStatement* msg) { - return *msg->_impl_.ref_id_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -AssignmentStatement::_Internal::expr(const AssignmentStatement* msg) { - return *msg->_impl_.expr_; -} -AssignmentStatement::AssignmentStatement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.AssignmentStatement) -} -AssignmentStatement::AssignmentStatement(const AssignmentStatement& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - AssignmentStatement* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ref_id_){nullptr} - , decltype(_impl_.expr_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_ref_id()) { - _this->_impl_.ref_id_ = new ::solidity::yul::test::yul_fuzzer::VarRef(*from._impl_.ref_id_); - } - if (from._internal_has_expr()) { - _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.AssignmentStatement) -} - -inline void AssignmentStatement::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ref_id_){nullptr} - , decltype(_impl_.expr_){nullptr} - }; -} - -AssignmentStatement::~AssignmentStatement() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.AssignmentStatement) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void AssignmentStatement::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.ref_id_; - if (this != internal_default_instance()) delete _impl_.expr_; -} - -void AssignmentStatement::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void AssignmentStatement::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.ref_id_ != nullptr); - _impl_.ref_id_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.expr_ != nullptr); - _impl_.expr_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* AssignmentStatement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_ref_id(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* AssignmentStatement::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::ref_id(this), - _Internal::ref_id(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::expr(this), - _Internal::expr(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.AssignmentStatement) - return target; -} - -size_t AssignmentStatement::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) - size_t total_size = 0; - - if (_internal_has_ref_id()) { - // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ref_id_); - } - - if (_internal_has_expr()) { - // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_); - } - - return total_size; -} -size_t AssignmentStatement::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ref_id_); - - // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AssignmentStatement::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - AssignmentStatement::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AssignmentStatement::GetClassData() const { return &_class_data_; } - - -void AssignmentStatement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_ref_id()->::solidity::yul::test::yul_fuzzer::VarRef::MergeFrom( - from._internal_ref_id()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_expr()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void AssignmentStatement::CopyFrom(const AssignmentStatement& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AssignmentStatement::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_ref_id()) { - if (!_impl_.ref_id_->IsInitialized()) return false; - } - if (_internal_has_expr()) { - if (!_impl_.expr_->IsInitialized()) return false; - } - return true; -} - -void AssignmentStatement::InternalSwap(AssignmentStatement* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_.expr_) - + sizeof(AssignmentStatement::_impl_.expr_) - - PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_.ref_id_)>( - reinterpret_cast(&_impl_.ref_id_), - reinterpret_cast(&other->_impl_.ref_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata AssignmentStatement::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[19]); -} - -// =================================================================== - -class IfStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Expression& cond(const IfStmt* msg); - static void set_has_cond(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Block& if_body(const IfStmt* msg); - static void set_has_if_body(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -IfStmt::_Internal::cond(const IfStmt* msg) { - return *msg->_impl_.cond_; -} -const ::solidity::yul::test::yul_fuzzer::Block& -IfStmt::_Internal::if_body(const IfStmt* msg) { - return *msg->_impl_.if_body_; -} -IfStmt::IfStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.IfStmt) -} -IfStmt::IfStmt(const IfStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IfStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.if_body_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_cond()) { - _this->_impl_.cond_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.cond_); - } - if (from._internal_has_if_body()) { - _this->_impl_.if_body_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.if_body_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.IfStmt) -} - -inline void IfStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cond_){nullptr} - , decltype(_impl_.if_body_){nullptr} - }; -} - -IfStmt::~IfStmt() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.IfStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IfStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.cond_; - if (this != internal_default_instance()) delete _impl_.if_body_; -} - -void IfStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IfStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.IfStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.cond_ != nullptr); - _impl_.cond_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.if_body_ != nullptr); - _impl_.if_body_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IfStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_cond(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_if_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IfStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.IfStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::cond(this), - _Internal::cond(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::if_body(this), - _Internal::if_body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.IfStmt) - return target; -} - -size_t IfStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.IfStmt) - size_t total_size = 0; - - if (_internal_has_cond()) { - // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - } - - if (_internal_has_if_body()) { - // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.if_body_); - } - - return total_size; -} -size_t IfStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.IfStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cond_); - - // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.if_body_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IfStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IfStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IfStmt::GetClassData() const { return &_class_data_; } - - -void IfStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.IfStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_cond()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_cond()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_if_body()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_if_body()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IfStmt::CopyFrom(const IfStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.IfStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IfStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_cond()) { - if (!_impl_.cond_->IsInitialized()) return false; - } - if (_internal_has_if_body()) { - if (!_impl_.if_body_->IsInitialized()) return false; - } - return true; -} - -void IfStmt::InternalSwap(IfStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IfStmt, _impl_.if_body_) - + sizeof(IfStmt::_impl_.if_body_) - - PROTOBUF_FIELD_OFFSET(IfStmt, _impl_.cond_)>( - reinterpret_cast(&_impl_.cond_), - reinterpret_cast(&other->_impl_.cond_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IfStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[20]); -} - -// =================================================================== - -class BoundedForStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Block& for_body(const BoundedForStmt* msg); - static void set_has_for_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Block& -BoundedForStmt::_Internal::for_body(const BoundedForStmt* msg) { - return *msg->_impl_.for_body_; -} -BoundedForStmt::BoundedForStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.BoundedForStmt) -} -BoundedForStmt::BoundedForStmt(const BoundedForStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - BoundedForStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.for_body_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_for_body()) { - _this->_impl_.for_body_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_body_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.BoundedForStmt) -} - -inline void BoundedForStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.for_body_){nullptr} - }; -} - -BoundedForStmt::~BoundedForStmt() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.BoundedForStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void BoundedForStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.for_body_; -} - -void BoundedForStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void BoundedForStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.for_body_ != nullptr); - _impl_.for_body_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* BoundedForStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_for_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* BoundedForStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::for_body(this), - _Internal::for_body(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.BoundedForStmt) - return target; -} - -size_t BoundedForStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) - size_t total_size = 0; - - // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; - if (_internal_has_for_body()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.for_body_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BoundedForStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - BoundedForStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BoundedForStmt::GetClassData() const { return &_class_data_; } - - -void BoundedForStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_for_body()) { - _this->_internal_mutable_for_body()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_for_body()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void BoundedForStmt::CopyFrom(const BoundedForStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BoundedForStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_for_body()) { - if (!_impl_.for_body_->IsInitialized()) return false; - } - return true; -} - -void BoundedForStmt::InternalSwap(BoundedForStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.for_body_, other->_impl_.for_body_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata BoundedForStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[21]); -} - -// =================================================================== - -class ForStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Block& for_body(const ForStmt* msg); - static void set_has_for_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Block& for_init(const ForStmt* msg); - static void set_has_for_init(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::solidity::yul::test::yul_fuzzer::Block& for_post(const ForStmt* msg); - static void set_has_for_post(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& for_cond(const ForStmt* msg); - static void set_has_for_cond(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Block& -ForStmt::_Internal::for_body(const ForStmt* msg) { - return *msg->_impl_.for_body_; -} -const ::solidity::yul::test::yul_fuzzer::Block& -ForStmt::_Internal::for_init(const ForStmt* msg) { - return *msg->_impl_.for_init_; -} -const ::solidity::yul::test::yul_fuzzer::Block& -ForStmt::_Internal::for_post(const ForStmt* msg) { - return *msg->_impl_.for_post_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -ForStmt::_Internal::for_cond(const ForStmt* msg) { - return *msg->_impl_.for_cond_; -} -ForStmt::ForStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.ForStmt) -} -ForStmt::ForStmt(const ForStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ForStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.for_body_){nullptr} - , decltype(_impl_.for_init_){nullptr} - , decltype(_impl_.for_post_){nullptr} - , decltype(_impl_.for_cond_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_for_body()) { - _this->_impl_.for_body_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_body_); - } - if (from._internal_has_for_init()) { - _this->_impl_.for_init_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_init_); - } - if (from._internal_has_for_post()) { - _this->_impl_.for_post_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_post_); - } - if (from._internal_has_for_cond()) { - _this->_impl_.for_cond_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.for_cond_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.ForStmt) -} - -inline void ForStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.for_body_){nullptr} - , decltype(_impl_.for_init_){nullptr} - , decltype(_impl_.for_post_){nullptr} - , decltype(_impl_.for_cond_){nullptr} - }; -} - -ForStmt::~ForStmt() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.ForStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ForStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.for_body_; - if (this != internal_default_instance()) delete _impl_.for_init_; - if (this != internal_default_instance()) delete _impl_.for_post_; - if (this != internal_default_instance()) delete _impl_.for_cond_; -} - -void ForStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ForStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.ForStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.for_body_ != nullptr); - _impl_.for_body_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.for_init_ != nullptr); - _impl_.for_init_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.for_post_ != nullptr); - _impl_.for_post_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.for_cond_ != nullptr); - _impl_.for_cond_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ForStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_for_body(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_for_init(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_for_post(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_for_cond(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ForStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.ForStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::for_body(this), - _Internal::for_body(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::for_init(this), - _Internal::for_init(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::for_post(this), - _Internal::for_post(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::for_cond(this), - _Internal::for_cond(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.ForStmt) - return target; -} - -size_t ForStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.ForStmt) - size_t total_size = 0; - - if (_internal_has_for_body()) { - // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.for_body_); - } - - if (_internal_has_for_init()) { - // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.for_init_); - } - - if (_internal_has_for_post()) { - // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.for_post_); - } - - if (_internal_has_for_cond()) { - // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.for_cond_); - } - - return total_size; -} -size_t ForStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.ForStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.for_body_); - - // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.for_init_); - - // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.for_post_); - - // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.for_cond_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ForStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ForStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ForStmt::GetClassData() const { return &_class_data_; } - - -void ForStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.ForStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_for_body()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_for_body()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_for_init()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_for_init()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_for_post()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_for_post()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_for_cond()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_for_cond()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ForStmt::CopyFrom(const ForStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.ForStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ForStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_for_body()) { - if (!_impl_.for_body_->IsInitialized()) return false; - } - if (_internal_has_for_init()) { - if (!_impl_.for_init_->IsInitialized()) return false; - } - if (_internal_has_for_post()) { - if (!_impl_.for_post_->IsInitialized()) return false; - } - if (_internal_has_for_cond()) { - if (!_impl_.for_cond_->IsInitialized()) return false; - } - return true; -} - -void ForStmt::InternalSwap(ForStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ForStmt, _impl_.for_cond_) - + sizeof(ForStmt::_impl_.for_cond_) - - PROTOBUF_FIELD_OFFSET(ForStmt, _impl_.for_body_)>( - reinterpret_cast(&_impl_.for_body_), - reinterpret_cast(&other->_impl_.for_body_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ForStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[22]); -} - -// =================================================================== - -class CaseStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Literal& case_lit(const CaseStmt* msg); - static void set_has_case_lit(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Block& case_block(const CaseStmt* msg); - static void set_has_case_block(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Literal& -CaseStmt::_Internal::case_lit(const CaseStmt* msg) { - return *msg->_impl_.case_lit_; -} -const ::solidity::yul::test::yul_fuzzer::Block& -CaseStmt::_Internal::case_block(const CaseStmt* msg) { - return *msg->_impl_.case_block_; -} -CaseStmt::CaseStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.CaseStmt) -} -CaseStmt::CaseStmt(const CaseStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CaseStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.case_lit_){nullptr} - , decltype(_impl_.case_block_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_case_lit()) { - _this->_impl_.case_lit_ = new ::solidity::yul::test::yul_fuzzer::Literal(*from._impl_.case_lit_); - } - if (from._internal_has_case_block()) { - _this->_impl_.case_block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.case_block_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.CaseStmt) -} - -inline void CaseStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.case_lit_){nullptr} - , decltype(_impl_.case_block_){nullptr} - }; -} - -CaseStmt::~CaseStmt() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.CaseStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CaseStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.case_lit_; - if (this != internal_default_instance()) delete _impl_.case_block_; -} - -void CaseStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CaseStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.CaseStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.case_lit_ != nullptr); - _impl_.case_lit_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.case_block_ != nullptr); - _impl_.case_block_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CaseStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_case_lit(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_case_block(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CaseStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.CaseStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::case_lit(this), - _Internal::case_lit(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::case_block(this), - _Internal::case_block(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.CaseStmt) - return target; -} - -size_t CaseStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.CaseStmt) - size_t total_size = 0; - - if (_internal_has_case_lit()) { - // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.case_lit_); - } - - if (_internal_has_case_block()) { - // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.case_block_); - } - - return total_size; -} -size_t CaseStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.CaseStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.case_lit_); - - // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.case_block_); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CaseStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CaseStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CaseStmt::GetClassData() const { return &_class_data_; } - - -void CaseStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.CaseStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_case_lit()->::solidity::yul::test::yul_fuzzer::Literal::MergeFrom( - from._internal_case_lit()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_case_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_case_block()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CaseStmt::CopyFrom(const CaseStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.CaseStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CaseStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_case_block()) { - if (!_impl_.case_block_->IsInitialized()) return false; - } - return true; -} - -void CaseStmt::InternalSwap(CaseStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CaseStmt, _impl_.case_block_) - + sizeof(CaseStmt::_impl_.case_block_) - - PROTOBUF_FIELD_OFFSET(CaseStmt, _impl_.case_lit_)>( - reinterpret_cast(&_impl_.case_lit_), - reinterpret_cast(&other->_impl_.case_lit_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CaseStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[23]); -} - -// =================================================================== - -class SwitchStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Expression& switch_expr(const SwitchStmt* msg); - static void set_has_switch_expr(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Block& default_block(const SwitchStmt* msg); - static void set_has_default_block(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -SwitchStmt::_Internal::switch_expr(const SwitchStmt* msg) { - return *msg->_impl_.switch_expr_; -} -const ::solidity::yul::test::yul_fuzzer::Block& -SwitchStmt::_Internal::default_block(const SwitchStmt* msg) { - return *msg->_impl_.default_block_; -} -SwitchStmt::SwitchStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.SwitchStmt) -} -SwitchStmt::SwitchStmt(const SwitchStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - SwitchStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.case_stmt_){from._impl_.case_stmt_} - , decltype(_impl_.switch_expr_){nullptr} - , decltype(_impl_.default_block_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_switch_expr()) { - _this->_impl_.switch_expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.switch_expr_); - } - if (from._internal_has_default_block()) { - _this->_impl_.default_block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.default_block_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.SwitchStmt) -} - -inline void SwitchStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.case_stmt_){arena} - , decltype(_impl_.switch_expr_){nullptr} - , decltype(_impl_.default_block_){nullptr} - }; -} - -SwitchStmt::~SwitchStmt() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.SwitchStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void SwitchStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.case_stmt_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.switch_expr_; - if (this != internal_default_instance()) delete _impl_.default_block_; -} - -void SwitchStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void SwitchStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.SwitchStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.case_stmt_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.switch_expr_ != nullptr); - _impl_.switch_expr_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.default_block_ != nullptr); - _impl_.default_block_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* SwitchStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_switch_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_case_stmt(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_default_block(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* SwitchStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.SwitchStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::switch_expr(this), - _Internal::switch_expr(this).GetCachedSize(), target, stream); - } - - // repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_case_stmt_size()); i < n; i++) { - const auto& repfield = this->_internal_case_stmt(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::default_block(this), - _Internal::default_block(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.SwitchStmt) - return target; -} - -size_t SwitchStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.SwitchStmt) - size_t total_size = 0; - - // required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; - if (_internal_has_switch_expr()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.switch_expr_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; - total_size += 1UL * this->_internal_case_stmt_size(); - for (const auto& msg : this->_impl_.case_stmt_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.default_block_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SwitchStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - SwitchStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SwitchStmt::GetClassData() const { return &_class_data_; } - - -void SwitchStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.SwitchStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.case_stmt_.MergeFrom(from._impl_.case_stmt_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_switch_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_switch_expr()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_default_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_default_block()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void SwitchStmt::CopyFrom(const SwitchStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.SwitchStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SwitchStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.case_stmt_)) - return false; - if (_internal_has_switch_expr()) { - if (!_impl_.switch_expr_->IsInitialized()) return false; - } - if (_internal_has_default_block()) { - if (!_impl_.default_block_->IsInitialized()) return false; - } - return true; -} - -void SwitchStmt::InternalSwap(SwitchStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.case_stmt_.InternalSwap(&other->_impl_.case_stmt_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(SwitchStmt, _impl_.default_block_) - + sizeof(SwitchStmt::_impl_.default_block_) - - PROTOBUF_FIELD_OFFSET(SwitchStmt, _impl_.switch_expr_)>( - reinterpret_cast(&_impl_.switch_expr_), - reinterpret_cast(&other->_impl_.switch_expr_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata SwitchStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[24]); -} - -// =================================================================== - -class BreakStmt::_Internal { - public: -}; - -BreakStmt::BreakStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.BreakStmt) -} -BreakStmt::BreakStmt(const BreakStmt& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - BreakStmt* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.BreakStmt) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BreakStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BreakStmt::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata BreakStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[25]); -} - -// =================================================================== - -class ContinueStmt::_Internal { - public: -}; - -ContinueStmt::ContinueStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.ContinueStmt) -} -ContinueStmt::ContinueStmt(const ContinueStmt& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - ContinueStmt* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.ContinueStmt) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContinueStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContinueStmt::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata ContinueStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[26]); -} - -// =================================================================== - -class StopInvalidStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_stmt(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -StopInvalidStmt::StopInvalidStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.StopInvalidStmt) -} -StopInvalidStmt::StopInvalidStmt(const StopInvalidStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - StopInvalidStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stmt_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.stmt_ = from._impl_.stmt_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.StopInvalidStmt) -} - -inline void StopInvalidStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stmt_){0} - }; -} - -StopInvalidStmt::~StopInvalidStmt() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.StopInvalidStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void StopInvalidStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void StopInvalidStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void StopInvalidStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.stmt_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* StopInvalidStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type_IsValid(val))) { - _internal_set_stmt(static_cast<::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* StopInvalidStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_stmt(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.StopInvalidStmt) - return target; -} - -size_t StopInvalidStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) - size_t total_size = 0; - - // required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; - if (_internal_has_stmt()) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_stmt()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StopInvalidStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - StopInvalidStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StopInvalidStmt::GetClassData() const { return &_class_data_; } - - -void StopInvalidStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_stmt()) { - _this->_internal_set_stmt(from._internal_stmt()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void StopInvalidStmt::CopyFrom(const StopInvalidStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StopInvalidStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void StopInvalidStmt::InternalSwap(StopInvalidStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.stmt_, other->_impl_.stmt_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata StopInvalidStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[27]); -} - -// =================================================================== - -class RetRevStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_stmt(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& pos(const RetRevStmt* msg); - static void set_has_pos(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Expression& size(const RetRevStmt* msg); - static void set_has_size(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -RetRevStmt::_Internal::pos(const RetRevStmt* msg) { - return *msg->_impl_.pos_; -} -const ::solidity::yul::test::yul_fuzzer::Expression& -RetRevStmt::_Internal::size(const RetRevStmt* msg) { - return *msg->_impl_.size_; -} -RetRevStmt::RetRevStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.RetRevStmt) -} -RetRevStmt::RetRevStmt(const RetRevStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - RetRevStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.size_){nullptr} - , decltype(_impl_.stmt_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_pos()) { - _this->_impl_.pos_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.pos_); - } - if (from._internal_has_size()) { - _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); - } - _this->_impl_.stmt_ = from._impl_.stmt_; - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.RetRevStmt) -} - -inline void RetRevStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.size_){nullptr} - , decltype(_impl_.stmt_){0} - }; -} - -RetRevStmt::~RetRevStmt() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.RetRevStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void RetRevStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.pos_; - if (this != internal_default_instance()) delete _impl_.size_; -} - -void RetRevStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void RetRevStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.RetRevStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.pos_ != nullptr); - _impl_.pos_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.size_ != nullptr); - _impl_.size_->Clear(); - } - } - _impl_.stmt_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* RetRevStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::RetRevStmt_Type_IsValid(val))) { - _internal_set_stmt(static_cast<::solidity::yul::test::yul_fuzzer::RetRevStmt_Type>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Expression size = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* RetRevStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.RetRevStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_stmt(), target); - } - - // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::pos(this), - _Internal::pos(this).GetCachedSize(), target, stream); - } - - // required .solidity.yul.test.yul_fuzzer.Expression size = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::size(this), - _Internal::size(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.RetRevStmt) - return target; -} - -size_t RetRevStmt::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.RetRevStmt) - size_t total_size = 0; - - if (_internal_has_pos()) { - // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pos_); - } - - if (_internal_has_size()) { - // required .solidity.yul.test.yul_fuzzer.Expression size = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_); - } - - if (_internal_has_stmt()) { - // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_stmt()); - } - - return total_size; -} -size_t RetRevStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.RetRevStmt) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pos_); - - // required .solidity.yul.test.yul_fuzzer.Expression size = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.size_); - - // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_stmt()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RetRevStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - RetRevStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RetRevStmt::GetClassData() const { return &_class_data_; } - - -void RetRevStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.RetRevStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_pos()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_pos()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_size()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.stmt_ = from._impl_.stmt_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void RetRevStmt::CopyFrom(const RetRevStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.RetRevStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RetRevStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_pos()) { - if (!_impl_.pos_->IsInitialized()) return false; - } - if (_internal_has_size()) { - if (!_impl_.size_->IsInitialized()) return false; - } - return true; -} - -void RetRevStmt::InternalSwap(RetRevStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(RetRevStmt, _impl_.stmt_) - + sizeof(RetRevStmt::_impl_.stmt_) - - PROTOBUF_FIELD_OFFSET(RetRevStmt, _impl_.pos_)>( - reinterpret_cast(&_impl_.pos_), - reinterpret_cast(&other->_impl_.pos_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata RetRevStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[28]); -} - -// =================================================================== - -class SelfDestructStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Expression& addr(const SelfDestructStmt* msg); - static void set_has_addr(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -SelfDestructStmt::_Internal::addr(const SelfDestructStmt* msg) { - return *msg->_impl_.addr_; -} -SelfDestructStmt::SelfDestructStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.SelfDestructStmt) -} -SelfDestructStmt::SelfDestructStmt(const SelfDestructStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - SelfDestructStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.addr_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_addr()) { - _this->_impl_.addr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.addr_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.SelfDestructStmt) -} - -inline void SelfDestructStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.addr_){nullptr} - }; -} - -SelfDestructStmt::~SelfDestructStmt() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.SelfDestructStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void SelfDestructStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.addr_; -} - -void SelfDestructStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void SelfDestructStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.addr_ != nullptr); - _impl_.addr_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* SelfDestructStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_addr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* SelfDestructStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::addr(this), - _Internal::addr(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.SelfDestructStmt) - return target; -} - -size_t SelfDestructStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) - size_t total_size = 0; - - // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; - if (_internal_has_addr()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.addr_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SelfDestructStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - SelfDestructStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SelfDestructStmt::GetClassData() const { return &_class_data_; } - - -void SelfDestructStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_addr()) { - _this->_internal_mutable_addr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_addr()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void SelfDestructStmt::CopyFrom(const SelfDestructStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SelfDestructStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_addr()) { - if (!_impl_.addr_->IsInitialized()) return false; - } - return true; -} - -void SelfDestructStmt::InternalSwap(SelfDestructStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.addr_, other->_impl_.addr_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata SelfDestructStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[29]); -} - -// =================================================================== - -class TerminatingStmt::_Internal { - public: - static const ::solidity::yul::test::yul_fuzzer::StopInvalidStmt& stop_invalid(const TerminatingStmt* msg); - static const ::solidity::yul::test::yul_fuzzer::RetRevStmt& ret_rev(const TerminatingStmt* msg); - static const ::solidity::yul::test::yul_fuzzer::SelfDestructStmt& self_des(const TerminatingStmt* msg); -}; - -const ::solidity::yul::test::yul_fuzzer::StopInvalidStmt& -TerminatingStmt::_Internal::stop_invalid(const TerminatingStmt* msg) { - return *msg->_impl_.term_oneof_.stop_invalid_; -} -const ::solidity::yul::test::yul_fuzzer::RetRevStmt& -TerminatingStmt::_Internal::ret_rev(const TerminatingStmt* msg) { - return *msg->_impl_.term_oneof_.ret_rev_; -} -const ::solidity::yul::test::yul_fuzzer::SelfDestructStmt& -TerminatingStmt::_Internal::self_des(const TerminatingStmt* msg) { - return *msg->_impl_.term_oneof_.self_des_; -} -void TerminatingStmt::set_allocated_stop_invalid(::solidity::yul::test::yul_fuzzer::StopInvalidStmt* stop_invalid) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_term_oneof(); - if (stop_invalid) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(stop_invalid); - if (message_arena != submessage_arena) { - stop_invalid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, stop_invalid, submessage_arena); - } - set_has_stop_invalid(); - _impl_.term_oneof_.stop_invalid_ = stop_invalid; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.stop_invalid) -} -void TerminatingStmt::set_allocated_ret_rev(::solidity::yul::test::yul_fuzzer::RetRevStmt* ret_rev) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_term_oneof(); - if (ret_rev) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ret_rev); - if (message_arena != submessage_arena) { - ret_rev = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ret_rev, submessage_arena); - } - set_has_ret_rev(); - _impl_.term_oneof_.ret_rev_ = ret_rev; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.ret_rev) -} -void TerminatingStmt::set_allocated_self_des(::solidity::yul::test::yul_fuzzer::SelfDestructStmt* self_des) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_term_oneof(); - if (self_des) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(self_des); - if (message_arena != submessage_arena) { - self_des = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, self_des, submessage_arena); - } - set_has_self_des(); - _impl_.term_oneof_.self_des_ = self_des; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.self_des) -} -TerminatingStmt::TerminatingStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TerminatingStmt) -} -TerminatingStmt::TerminatingStmt(const TerminatingStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TerminatingStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.term_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_term_oneof(); - switch (from.term_oneof_case()) { - case kStopInvalid: { - _this->_internal_mutable_stop_invalid()->::solidity::yul::test::yul_fuzzer::StopInvalidStmt::MergeFrom( - from._internal_stop_invalid()); - break; - } - case kRetRev: { - _this->_internal_mutable_ret_rev()->::solidity::yul::test::yul_fuzzer::RetRevStmt::MergeFrom( - from._internal_ret_rev()); - break; - } - case kSelfDes: { - _this->_internal_mutable_self_des()->::solidity::yul::test::yul_fuzzer::SelfDestructStmt::MergeFrom( - from._internal_self_des()); - break; - } - case TERM_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TerminatingStmt) -} - -inline void TerminatingStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.term_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_term_oneof(); -} - -TerminatingStmt::~TerminatingStmt() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TerminatingStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TerminatingStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_term_oneof()) { - clear_term_oneof(); - } -} - -void TerminatingStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TerminatingStmt::clear_term_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) - switch (term_oneof_case()) { - case kStopInvalid: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.term_oneof_.stop_invalid_; - } - break; - } - case kRetRev: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.term_oneof_.ret_rev_; - } - break; - } - case kSelfDes: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.term_oneof_.self_des_; - } - break; - } - case TERM_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = TERM_ONEOF_NOT_SET; -} - - -void TerminatingStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_term_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TerminatingStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.yul.test.yul_fuzzer.StopInvalidStmt stop_invalid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_stop_invalid(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.RetRevStmt ret_rev = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_ret_rev(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.SelfDestructStmt self_des = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_self_des(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TerminatingStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (term_oneof_case()) { - case kStopInvalid: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::stop_invalid(this), - _Internal::stop_invalid(this).GetCachedSize(), target, stream); - break; - } - case kRetRev: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::ret_rev(this), - _Internal::ret_rev(this).GetCachedSize(), target, stream); - break; - } - case kSelfDes: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::self_des(this), - _Internal::self_des(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TerminatingStmt) - return target; -} - -size_t TerminatingStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (term_oneof_case()) { - // .solidity.yul.test.yul_fuzzer.StopInvalidStmt stop_invalid = 1; - case kStopInvalid: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.term_oneof_.stop_invalid_); - break; - } - // .solidity.yul.test.yul_fuzzer.RetRevStmt ret_rev = 2; - case kRetRev: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.term_oneof_.ret_rev_); - break; - } - // .solidity.yul.test.yul_fuzzer.SelfDestructStmt self_des = 3; - case kSelfDes: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.term_oneof_.self_des_); - break; - } - case TERM_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TerminatingStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TerminatingStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TerminatingStmt::GetClassData() const { return &_class_data_; } - - -void TerminatingStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.term_oneof_case()) { - case kStopInvalid: { - _this->_internal_mutable_stop_invalid()->::solidity::yul::test::yul_fuzzer::StopInvalidStmt::MergeFrom( - from._internal_stop_invalid()); - break; - } - case kRetRev: { - _this->_internal_mutable_ret_rev()->::solidity::yul::test::yul_fuzzer::RetRevStmt::MergeFrom( - from._internal_ret_rev()); - break; - } - case kSelfDes: { - _this->_internal_mutable_self_des()->::solidity::yul::test::yul_fuzzer::SelfDestructStmt::MergeFrom( - from._internal_self_des()); - break; - } - case TERM_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TerminatingStmt::CopyFrom(const TerminatingStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TerminatingStmt::IsInitialized() const { - switch (term_oneof_case()) { - case kStopInvalid: { - if (_internal_has_stop_invalid()) { - if (!_impl_.term_oneof_.stop_invalid_->IsInitialized()) return false; - } - break; - } - case kRetRev: { - if (_internal_has_ret_rev()) { - if (!_impl_.term_oneof_.ret_rev_->IsInitialized()) return false; - } - break; - } - case kSelfDes: { - if (_internal_has_self_des()) { - if (!_impl_.term_oneof_.self_des_->IsInitialized()) return false; - } - break; - } - case TERM_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void TerminatingStmt::InternalSwap(TerminatingStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.term_oneof_, other->_impl_.term_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TerminatingStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[30]); -} - -// =================================================================== - -class FunctionDef::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_num_input_params(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_num_output_params(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::Block& block(const FunctionDef* msg); - static void set_has_block(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_force_call(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Block& -FunctionDef::_Internal::block(const FunctionDef* msg) { - return *msg->_impl_.block_; -} -FunctionDef::FunctionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.FunctionDef) -} -FunctionDef::FunctionDef(const FunctionDef& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - FunctionDef* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.block_){nullptr} - , decltype(_impl_.num_input_params_){} - , decltype(_impl_.num_output_params_){} - , decltype(_impl_.force_call_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_block()) { - _this->_impl_.block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.block_); - } - ::memcpy(&_impl_.num_input_params_, &from._impl_.num_input_params_, - static_cast(reinterpret_cast(&_impl_.force_call_) - - reinterpret_cast(&_impl_.num_input_params_)) + sizeof(_impl_.force_call_)); - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.FunctionDef) -} - -inline void FunctionDef::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.block_){nullptr} - , decltype(_impl_.num_input_params_){0u} - , decltype(_impl_.num_output_params_){0u} - , decltype(_impl_.force_call_){false} - }; -} - -FunctionDef::~FunctionDef() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.FunctionDef) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void FunctionDef::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.block_; -} - -void FunctionDef::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void FunctionDef::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.FunctionDef) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.block_ != nullptr); - _impl_.block_->Clear(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.num_input_params_, 0, static_cast( - reinterpret_cast(&_impl_.force_call_) - - reinterpret_cast(&_impl_.num_input_params_)) + sizeof(_impl_.force_call_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* FunctionDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 num_input_params = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_num_input_params(&has_bits); - _impl_.num_input_params_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required uint32 num_output_params = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_num_output_params(&has_bits); - _impl_.num_output_params_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Block block = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_block(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bool force_call = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_force_call(&has_bits); - _impl_.force_call_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* FunctionDef::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.FunctionDef) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 num_input_params = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_input_params(), target); - } - - // required uint32 num_output_params = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_num_output_params(), target); - } - - // required .solidity.yul.test.yul_fuzzer.Block block = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::block(this), - _Internal::block(this).GetCachedSize(), target, stream); - } - - // required bool force_call = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_force_call(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.FunctionDef) - return target; -} - -size_t FunctionDef::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.FunctionDef) - size_t total_size = 0; - - if (_internal_has_block()) { - // required .solidity.yul.test.yul_fuzzer.Block block = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.block_); - } - - if (_internal_has_num_input_params()) { - // required uint32 num_input_params = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_input_params()); - } - - if (_internal_has_num_output_params()) { - // required uint32 num_output_params = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_output_params()); - } - - if (_internal_has_force_call()) { - // required bool force_call = 4; - total_size += 1 + 1; - } - - return total_size; -} -size_t FunctionDef::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.FunctionDef) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.Block block = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.block_); - - // required uint32 num_input_params = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_input_params()); - - // required uint32 num_output_params = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_output_params()); - - // required bool force_call = 4; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FunctionDef::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - FunctionDef::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FunctionDef::GetClassData() const { return &_class_data_; } - - -void FunctionDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.FunctionDef) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_block()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.num_input_params_ = from._impl_.num_input_params_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.num_output_params_ = from._impl_.num_output_params_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.force_call_ = from._impl_.force_call_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void FunctionDef::CopyFrom(const FunctionDef& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.FunctionDef) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FunctionDef::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_block()) { - if (!_impl_.block_->IsInitialized()) return false; - } - return true; -} - -void FunctionDef::InternalSwap(FunctionDef* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(FunctionDef, _impl_.force_call_) - + sizeof(FunctionDef::_impl_.force_call_) - - PROTOBUF_FIELD_OFFSET(FunctionDef, _impl_.block_)>( - reinterpret_cast(&_impl_.block_), - reinterpret_cast(&other->_impl_.block_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata FunctionDef::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[31]); -} - -// =================================================================== - -class PopStmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const PopStmt* msg); - static void set_has_expr(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Expression& -PopStmt::_Internal::expr(const PopStmt* msg) { - return *msg->_impl_.expr_; -} -PopStmt::PopStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.PopStmt) -} -PopStmt::PopStmt(const PopStmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PopStmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.expr_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_expr()) { - _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.PopStmt) -} - -inline void PopStmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.expr_){nullptr} - }; -} - -PopStmt::~PopStmt() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.PopStmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PopStmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.expr_; -} - -void PopStmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PopStmt::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.PopStmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.expr_ != nullptr); - _impl_.expr_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PopStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PopStmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.PopStmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::expr(this), - _Internal::expr(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.PopStmt) - return target; -} - -size_t PopStmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.PopStmt) - size_t total_size = 0; - - // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; - if (_internal_has_expr()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.expr_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PopStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PopStmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PopStmt::GetClassData() const { return &_class_data_; } - - -void PopStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.PopStmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_expr()) { - _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( - from._internal_expr()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PopStmt::CopyFrom(const PopStmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.PopStmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PopStmt::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_expr()) { - if (!_impl_.expr_->IsInitialized()) return false; - } - return true; -} - -void PopStmt::InternalSwap(PopStmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.expr_, other->_impl_.expr_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PopStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[32]); -} - -// =================================================================== - -class LeaveStmt::_Internal { - public: -}; - -LeaveStmt::LeaveStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.LeaveStmt) -} -LeaveStmt::LeaveStmt(const LeaveStmt& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - LeaveStmt* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.LeaveStmt) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LeaveStmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LeaveStmt::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata LeaveStmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[33]); -} - -// =================================================================== - -class Statement::_Internal { - public: - static const ::solidity::yul::test::yul_fuzzer::VarDecl& decl(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::AssignmentStatement& assignment(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::IfStmt& ifstmt(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::StoreFunc& storage_func(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::Block& blockstmt(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::ForStmt& forstmt(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::SwitchStmt& switchstmt(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::BreakStmt& breakstmt(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::ContinueStmt& contstmt(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::LogFunc& log_func(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::CopyFunc& copy_func(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::ExtCodeCopy& extcode_copy(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::TerminatingStmt& terminatestmt(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::FunctionCall& functioncall(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::BoundedForStmt& boundedforstmt(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::FunctionDef& funcdef(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::PopStmt& pop(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::LeaveStmt& leave(const Statement* msg); - static const ::solidity::yul::test::yul_fuzzer::MultiVarDecl& multidecl(const Statement* msg); -}; - -const ::solidity::yul::test::yul_fuzzer::VarDecl& -Statement::_Internal::decl(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.decl_; -} -const ::solidity::yul::test::yul_fuzzer::AssignmentStatement& -Statement::_Internal::assignment(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.assignment_; -} -const ::solidity::yul::test::yul_fuzzer::IfStmt& -Statement::_Internal::ifstmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.ifstmt_; -} -const ::solidity::yul::test::yul_fuzzer::StoreFunc& -Statement::_Internal::storage_func(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.storage_func_; -} -const ::solidity::yul::test::yul_fuzzer::Block& -Statement::_Internal::blockstmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.blockstmt_; -} -const ::solidity::yul::test::yul_fuzzer::ForStmt& -Statement::_Internal::forstmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.forstmt_; -} -const ::solidity::yul::test::yul_fuzzer::SwitchStmt& -Statement::_Internal::switchstmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.switchstmt_; -} -const ::solidity::yul::test::yul_fuzzer::BreakStmt& -Statement::_Internal::breakstmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.breakstmt_; -} -const ::solidity::yul::test::yul_fuzzer::ContinueStmt& -Statement::_Internal::contstmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.contstmt_; -} -const ::solidity::yul::test::yul_fuzzer::LogFunc& -Statement::_Internal::log_func(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.log_func_; -} -const ::solidity::yul::test::yul_fuzzer::CopyFunc& -Statement::_Internal::copy_func(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.copy_func_; -} -const ::solidity::yul::test::yul_fuzzer::ExtCodeCopy& -Statement::_Internal::extcode_copy(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.extcode_copy_; -} -const ::solidity::yul::test::yul_fuzzer::TerminatingStmt& -Statement::_Internal::terminatestmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.terminatestmt_; -} -const ::solidity::yul::test::yul_fuzzer::FunctionCall& -Statement::_Internal::functioncall(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.functioncall_; -} -const ::solidity::yul::test::yul_fuzzer::BoundedForStmt& -Statement::_Internal::boundedforstmt(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.boundedforstmt_; -} -const ::solidity::yul::test::yul_fuzzer::FunctionDef& -Statement::_Internal::funcdef(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.funcdef_; -} -const ::solidity::yul::test::yul_fuzzer::PopStmt& -Statement::_Internal::pop(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.pop_; -} -const ::solidity::yul::test::yul_fuzzer::LeaveStmt& -Statement::_Internal::leave(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.leave_; -} -const ::solidity::yul::test::yul_fuzzer::MultiVarDecl& -Statement::_Internal::multidecl(const Statement* msg) { - return *msg->_impl_.stmt_oneof_.multidecl_; -} -void Statement::set_allocated_decl(::solidity::yul::test::yul_fuzzer::VarDecl* decl) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (decl) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(decl); - if (message_arena != submessage_arena) { - decl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, decl, submessage_arena); - } - set_has_decl(); - _impl_.stmt_oneof_.decl_ = decl; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.decl) -} -void Statement::set_allocated_assignment(::solidity::yul::test::yul_fuzzer::AssignmentStatement* assignment) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (assignment) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(assignment); - if (message_arena != submessage_arena) { - assignment = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, assignment, submessage_arena); - } - set_has_assignment(); - _impl_.stmt_oneof_.assignment_ = assignment; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.assignment) -} -void Statement::set_allocated_ifstmt(::solidity::yul::test::yul_fuzzer::IfStmt* ifstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (ifstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ifstmt); - if (message_arena != submessage_arena) { - ifstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ifstmt, submessage_arena); - } - set_has_ifstmt(); - _impl_.stmt_oneof_.ifstmt_ = ifstmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.ifstmt) -} -void Statement::set_allocated_storage_func(::solidity::yul::test::yul_fuzzer::StoreFunc* storage_func) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (storage_func) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(storage_func); - if (message_arena != submessage_arena) { - storage_func = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, storage_func, submessage_arena); - } - set_has_storage_func(); - _impl_.stmt_oneof_.storage_func_ = storage_func; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.storage_func) -} -void Statement::set_allocated_blockstmt(::solidity::yul::test::yul_fuzzer::Block* blockstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (blockstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(blockstmt); - if (message_arena != submessage_arena) { - blockstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, blockstmt, submessage_arena); - } - set_has_blockstmt(); - _impl_.stmt_oneof_.blockstmt_ = blockstmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.blockstmt) -} -void Statement::set_allocated_forstmt(::solidity::yul::test::yul_fuzzer::ForStmt* forstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (forstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(forstmt); - if (message_arena != submessage_arena) { - forstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, forstmt, submessage_arena); - } - set_has_forstmt(); - _impl_.stmt_oneof_.forstmt_ = forstmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.forstmt) -} -void Statement::set_allocated_switchstmt(::solidity::yul::test::yul_fuzzer::SwitchStmt* switchstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (switchstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(switchstmt); - if (message_arena != submessage_arena) { - switchstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, switchstmt, submessage_arena); - } - set_has_switchstmt(); - _impl_.stmt_oneof_.switchstmt_ = switchstmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.switchstmt) -} -void Statement::set_allocated_breakstmt(::solidity::yul::test::yul_fuzzer::BreakStmt* breakstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (breakstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(breakstmt); - if (message_arena != submessage_arena) { - breakstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, breakstmt, submessage_arena); - } - set_has_breakstmt(); - _impl_.stmt_oneof_.breakstmt_ = breakstmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.breakstmt) -} -void Statement::set_allocated_contstmt(::solidity::yul::test::yul_fuzzer::ContinueStmt* contstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (contstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contstmt); - if (message_arena != submessage_arena) { - contstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, contstmt, submessage_arena); - } - set_has_contstmt(); - _impl_.stmt_oneof_.contstmt_ = contstmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.contstmt) -} -void Statement::set_allocated_log_func(::solidity::yul::test::yul_fuzzer::LogFunc* log_func) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (log_func) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(log_func); - if (message_arena != submessage_arena) { - log_func = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, log_func, submessage_arena); - } - set_has_log_func(); - _impl_.stmt_oneof_.log_func_ = log_func; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.log_func) -} -void Statement::set_allocated_copy_func(::solidity::yul::test::yul_fuzzer::CopyFunc* copy_func) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (copy_func) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(copy_func); - if (message_arena != submessage_arena) { - copy_func = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, copy_func, submessage_arena); - } - set_has_copy_func(); - _impl_.stmt_oneof_.copy_func_ = copy_func; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.copy_func) -} -void Statement::set_allocated_extcode_copy(::solidity::yul::test::yul_fuzzer::ExtCodeCopy* extcode_copy) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (extcode_copy) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(extcode_copy); - if (message_arena != submessage_arena) { - extcode_copy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, extcode_copy, submessage_arena); - } - set_has_extcode_copy(); - _impl_.stmt_oneof_.extcode_copy_ = extcode_copy; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.extcode_copy) -} -void Statement::set_allocated_terminatestmt(::solidity::yul::test::yul_fuzzer::TerminatingStmt* terminatestmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (terminatestmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(terminatestmt); - if (message_arena != submessage_arena) { - terminatestmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, terminatestmt, submessage_arena); - } - set_has_terminatestmt(); - _impl_.stmt_oneof_.terminatestmt_ = terminatestmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.terminatestmt) -} -void Statement::set_allocated_functioncall(::solidity::yul::test::yul_fuzzer::FunctionCall* functioncall) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (functioncall) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(functioncall); - if (message_arena != submessage_arena) { - functioncall = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, functioncall, submessage_arena); - } - set_has_functioncall(); - _impl_.stmt_oneof_.functioncall_ = functioncall; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.functioncall) -} -void Statement::set_allocated_boundedforstmt(::solidity::yul::test::yul_fuzzer::BoundedForStmt* boundedforstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (boundedforstmt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(boundedforstmt); - if (message_arena != submessage_arena) { - boundedforstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, boundedforstmt, submessage_arena); - } - set_has_boundedforstmt(); - _impl_.stmt_oneof_.boundedforstmt_ = boundedforstmt; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.boundedforstmt) -} -void Statement::set_allocated_funcdef(::solidity::yul::test::yul_fuzzer::FunctionDef* funcdef) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (funcdef) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(funcdef); - if (message_arena != submessage_arena) { - funcdef = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, funcdef, submessage_arena); - } - set_has_funcdef(); - _impl_.stmt_oneof_.funcdef_ = funcdef; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.funcdef) -} -void Statement::set_allocated_pop(::solidity::yul::test::yul_fuzzer::PopStmt* pop) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (pop) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pop); - if (message_arena != submessage_arena) { - pop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pop, submessage_arena); - } - set_has_pop(); - _impl_.stmt_oneof_.pop_ = pop; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.pop) -} -void Statement::set_allocated_leave(::solidity::yul::test::yul_fuzzer::LeaveStmt* leave) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (leave) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(leave); - if (message_arena != submessage_arena) { - leave = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, leave, submessage_arena); - } - set_has_leave(); - _impl_.stmt_oneof_.leave_ = leave; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.leave) -} -void Statement::set_allocated_multidecl(::solidity::yul::test::yul_fuzzer::MultiVarDecl* multidecl) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_stmt_oneof(); - if (multidecl) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(multidecl); - if (message_arena != submessage_arena) { - multidecl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, multidecl, submessage_arena); - } - set_has_multidecl(); - _impl_.stmt_oneof_.multidecl_ = multidecl; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.multidecl) -} -Statement::Statement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Statement) -} -Statement::Statement(const Statement& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Statement* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.stmt_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - clear_has_stmt_oneof(); - switch (from.stmt_oneof_case()) { - case kDecl: { - _this->_internal_mutable_decl()->::solidity::yul::test::yul_fuzzer::VarDecl::MergeFrom( - from._internal_decl()); - break; - } - case kAssignment: { - _this->_internal_mutable_assignment()->::solidity::yul::test::yul_fuzzer::AssignmentStatement::MergeFrom( - from._internal_assignment()); - break; - } - case kIfstmt: { - _this->_internal_mutable_ifstmt()->::solidity::yul::test::yul_fuzzer::IfStmt::MergeFrom( - from._internal_ifstmt()); - break; - } - case kStorageFunc: { - _this->_internal_mutable_storage_func()->::solidity::yul::test::yul_fuzzer::StoreFunc::MergeFrom( - from._internal_storage_func()); - break; - } - case kBlockstmt: { - _this->_internal_mutable_blockstmt()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_blockstmt()); - break; - } - case kForstmt: { - _this->_internal_mutable_forstmt()->::solidity::yul::test::yul_fuzzer::ForStmt::MergeFrom( - from._internal_forstmt()); - break; - } - case kSwitchstmt: { - _this->_internal_mutable_switchstmt()->::solidity::yul::test::yul_fuzzer::SwitchStmt::MergeFrom( - from._internal_switchstmt()); - break; - } - case kBreakstmt: { - _this->_internal_mutable_breakstmt()->::solidity::yul::test::yul_fuzzer::BreakStmt::MergeFrom( - from._internal_breakstmt()); - break; - } - case kContstmt: { - _this->_internal_mutable_contstmt()->::solidity::yul::test::yul_fuzzer::ContinueStmt::MergeFrom( - from._internal_contstmt()); - break; - } - case kLogFunc: { - _this->_internal_mutable_log_func()->::solidity::yul::test::yul_fuzzer::LogFunc::MergeFrom( - from._internal_log_func()); - break; - } - case kCopyFunc: { - _this->_internal_mutable_copy_func()->::solidity::yul::test::yul_fuzzer::CopyFunc::MergeFrom( - from._internal_copy_func()); - break; - } - case kExtcodeCopy: { - _this->_internal_mutable_extcode_copy()->::solidity::yul::test::yul_fuzzer::ExtCodeCopy::MergeFrom( - from._internal_extcode_copy()); - break; - } - case kTerminatestmt: { - _this->_internal_mutable_terminatestmt()->::solidity::yul::test::yul_fuzzer::TerminatingStmt::MergeFrom( - from._internal_terminatestmt()); - break; - } - case kFunctioncall: { - _this->_internal_mutable_functioncall()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( - from._internal_functioncall()); - break; - } - case kBoundedforstmt: { - _this->_internal_mutable_boundedforstmt()->::solidity::yul::test::yul_fuzzer::BoundedForStmt::MergeFrom( - from._internal_boundedforstmt()); - break; - } - case kFuncdef: { - _this->_internal_mutable_funcdef()->::solidity::yul::test::yul_fuzzer::FunctionDef::MergeFrom( - from._internal_funcdef()); - break; - } - case kPop: { - _this->_internal_mutable_pop()->::solidity::yul::test::yul_fuzzer::PopStmt::MergeFrom( - from._internal_pop()); - break; - } - case kLeave: { - _this->_internal_mutable_leave()->::solidity::yul::test::yul_fuzzer::LeaveStmt::MergeFrom( - from._internal_leave()); - break; - } - case kMultidecl: { - _this->_internal_mutable_multidecl()->::solidity::yul::test::yul_fuzzer::MultiVarDecl::MergeFrom( - from._internal_multidecl()); - break; - } - case STMT_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Statement) -} - -inline void Statement::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.stmt_oneof_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_stmt_oneof(); -} - -Statement::~Statement() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Statement) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Statement::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (has_stmt_oneof()) { - clear_stmt_oneof(); - } -} - -void Statement::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Statement::clear_stmt_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Statement) - switch (stmt_oneof_case()) { - case kDecl: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.decl_; - } - break; - } - case kAssignment: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.assignment_; - } - break; - } - case kIfstmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.ifstmt_; - } - break; - } - case kStorageFunc: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.storage_func_; - } - break; - } - case kBlockstmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.blockstmt_; - } - break; - } - case kForstmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.forstmt_; - } - break; - } - case kSwitchstmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.switchstmt_; - } - break; - } - case kBreakstmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.breakstmt_; - } - break; - } - case kContstmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.contstmt_; - } - break; - } - case kLogFunc: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.log_func_; - } - break; - } - case kCopyFunc: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.copy_func_; - } - break; - } - case kExtcodeCopy: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.extcode_copy_; - } - break; - } - case kTerminatestmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.terminatestmt_; - } - break; - } - case kFunctioncall: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.functioncall_; - } - break; - } - case kBoundedforstmt: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.boundedforstmt_; - } - break; - } - case kFuncdef: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.funcdef_; - } - break; - } - case kPop: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.pop_; - } - break; - } - case kLeave: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.leave_; - } - break; - } - case kMultidecl: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.multidecl_; - } - break; - } - case STMT_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = STMT_ONEOF_NOT_SET; -} - - -void Statement::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Statement) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_stmt_oneof(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Statement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.yul.test.yul_fuzzer.VarDecl decl = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_decl(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.AssignmentStatement assignment = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_assignment(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.IfStmt ifstmt = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_ifstmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.StoreFunc storage_func = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_storage_func(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.Block blockstmt = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_blockstmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.ForStmt forstmt = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_forstmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.SwitchStmt switchstmt = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_switchstmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.BreakStmt breakstmt = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_breakstmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.ContinueStmt contstmt = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_contstmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.LogFunc log_func = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_log_func(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.CopyFunc copy_func = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ctx->ParseMessage(_internal_mutable_copy_func(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.ExtCodeCopy extcode_copy = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_extcode_copy(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.TerminatingStmt terminatestmt = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_terminatestmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.FunctionCall functioncall = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr = ctx->ParseMessage(_internal_mutable_functioncall(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.BoundedForStmt boundedforstmt = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - ptr = ctx->ParseMessage(_internal_mutable_boundedforstmt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.FunctionDef funcdef = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - ptr = ctx->ParseMessage(_internal_mutable_funcdef(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.PopStmt pop = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - ptr = ctx->ParseMessage(_internal_mutable_pop(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.LeaveStmt leave = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - ptr = ctx->ParseMessage(_internal_mutable_leave(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.MultiVarDecl multidecl = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - ptr = ctx->ParseMessage(_internal_mutable_multidecl(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Statement::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Statement) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (stmt_oneof_case()) { - case kDecl: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::decl(this), - _Internal::decl(this).GetCachedSize(), target, stream); - break; - } - case kAssignment: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::assignment(this), - _Internal::assignment(this).GetCachedSize(), target, stream); - break; - } - case kIfstmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::ifstmt(this), - _Internal::ifstmt(this).GetCachedSize(), target, stream); - break; - } - case kStorageFunc: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::storage_func(this), - _Internal::storage_func(this).GetCachedSize(), target, stream); - break; - } - case kBlockstmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::blockstmt(this), - _Internal::blockstmt(this).GetCachedSize(), target, stream); - break; - } - case kForstmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::forstmt(this), - _Internal::forstmt(this).GetCachedSize(), target, stream); - break; - } - case kSwitchstmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::switchstmt(this), - _Internal::switchstmt(this).GetCachedSize(), target, stream); - break; - } - case kBreakstmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::breakstmt(this), - _Internal::breakstmt(this).GetCachedSize(), target, stream); - break; - } - case kContstmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::contstmt(this), - _Internal::contstmt(this).GetCachedSize(), target, stream); - break; - } - case kLogFunc: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::log_func(this), - _Internal::log_func(this).GetCachedSize(), target, stream); - break; - } - case kCopyFunc: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, _Internal::copy_func(this), - _Internal::copy_func(this).GetCachedSize(), target, stream); - break; - } - case kExtcodeCopy: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::extcode_copy(this), - _Internal::extcode_copy(this).GetCachedSize(), target, stream); - break; - } - case kTerminatestmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::terminatestmt(this), - _Internal::terminatestmt(this).GetCachedSize(), target, stream); - break; - } - case kFunctioncall: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(14, _Internal::functioncall(this), - _Internal::functioncall(this).GetCachedSize(), target, stream); - break; - } - case kBoundedforstmt: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(15, _Internal::boundedforstmt(this), - _Internal::boundedforstmt(this).GetCachedSize(), target, stream); - break; - } - case kFuncdef: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(16, _Internal::funcdef(this), - _Internal::funcdef(this).GetCachedSize(), target, stream); - break; - } - case kPop: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(17, _Internal::pop(this), - _Internal::pop(this).GetCachedSize(), target, stream); - break; - } - case kLeave: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(18, _Internal::leave(this), - _Internal::leave(this).GetCachedSize(), target, stream); - break; - } - case kMultidecl: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(19, _Internal::multidecl(this), - _Internal::multidecl(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Statement) - return target; -} - -size_t Statement::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Statement) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (stmt_oneof_case()) { - // .solidity.yul.test.yul_fuzzer.VarDecl decl = 1; - case kDecl: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.decl_); - break; - } - // .solidity.yul.test.yul_fuzzer.AssignmentStatement assignment = 2; - case kAssignment: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.assignment_); - break; - } - // .solidity.yul.test.yul_fuzzer.IfStmt ifstmt = 3; - case kIfstmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.ifstmt_); - break; - } - // .solidity.yul.test.yul_fuzzer.StoreFunc storage_func = 4; - case kStorageFunc: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.storage_func_); - break; - } - // .solidity.yul.test.yul_fuzzer.Block blockstmt = 5; - case kBlockstmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.blockstmt_); - break; - } - // .solidity.yul.test.yul_fuzzer.ForStmt forstmt = 6; - case kForstmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.forstmt_); - break; - } - // .solidity.yul.test.yul_fuzzer.SwitchStmt switchstmt = 7; - case kSwitchstmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.switchstmt_); - break; - } - // .solidity.yul.test.yul_fuzzer.BreakStmt breakstmt = 8; - case kBreakstmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.breakstmt_); - break; - } - // .solidity.yul.test.yul_fuzzer.ContinueStmt contstmt = 9; - case kContstmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.contstmt_); - break; - } - // .solidity.yul.test.yul_fuzzer.LogFunc log_func = 10; - case kLogFunc: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.log_func_); - break; - } - // .solidity.yul.test.yul_fuzzer.CopyFunc copy_func = 11; - case kCopyFunc: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.copy_func_); - break; - } - // .solidity.yul.test.yul_fuzzer.ExtCodeCopy extcode_copy = 12; - case kExtcodeCopy: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.extcode_copy_); - break; - } - // .solidity.yul.test.yul_fuzzer.TerminatingStmt terminatestmt = 13; - case kTerminatestmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.terminatestmt_); - break; - } - // .solidity.yul.test.yul_fuzzer.FunctionCall functioncall = 14; - case kFunctioncall: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.functioncall_); - break; - } - // .solidity.yul.test.yul_fuzzer.BoundedForStmt boundedforstmt = 15; - case kBoundedforstmt: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.boundedforstmt_); - break; - } - // .solidity.yul.test.yul_fuzzer.FunctionDef funcdef = 16; - case kFuncdef: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.funcdef_); - break; - } - // .solidity.yul.test.yul_fuzzer.PopStmt pop = 17; - case kPop: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.pop_); - break; - } - // .solidity.yul.test.yul_fuzzer.LeaveStmt leave = 18; - case kLeave: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.leave_); - break; - } - // .solidity.yul.test.yul_fuzzer.MultiVarDecl multidecl = 19; - case kMultidecl: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stmt_oneof_.multidecl_); - break; - } - case STMT_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Statement::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Statement::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Statement::GetClassData() const { return &_class_data_; } - - -void Statement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Statement) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.stmt_oneof_case()) { - case kDecl: { - _this->_internal_mutable_decl()->::solidity::yul::test::yul_fuzzer::VarDecl::MergeFrom( - from._internal_decl()); - break; - } - case kAssignment: { - _this->_internal_mutable_assignment()->::solidity::yul::test::yul_fuzzer::AssignmentStatement::MergeFrom( - from._internal_assignment()); - break; - } - case kIfstmt: { - _this->_internal_mutable_ifstmt()->::solidity::yul::test::yul_fuzzer::IfStmt::MergeFrom( - from._internal_ifstmt()); - break; - } - case kStorageFunc: { - _this->_internal_mutable_storage_func()->::solidity::yul::test::yul_fuzzer::StoreFunc::MergeFrom( - from._internal_storage_func()); - break; - } - case kBlockstmt: { - _this->_internal_mutable_blockstmt()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_blockstmt()); - break; - } - case kForstmt: { - _this->_internal_mutable_forstmt()->::solidity::yul::test::yul_fuzzer::ForStmt::MergeFrom( - from._internal_forstmt()); - break; - } - case kSwitchstmt: { - _this->_internal_mutable_switchstmt()->::solidity::yul::test::yul_fuzzer::SwitchStmt::MergeFrom( - from._internal_switchstmt()); - break; - } - case kBreakstmt: { - _this->_internal_mutable_breakstmt()->::solidity::yul::test::yul_fuzzer::BreakStmt::MergeFrom( - from._internal_breakstmt()); - break; - } - case kContstmt: { - _this->_internal_mutable_contstmt()->::solidity::yul::test::yul_fuzzer::ContinueStmt::MergeFrom( - from._internal_contstmt()); - break; - } - case kLogFunc: { - _this->_internal_mutable_log_func()->::solidity::yul::test::yul_fuzzer::LogFunc::MergeFrom( - from._internal_log_func()); - break; - } - case kCopyFunc: { - _this->_internal_mutable_copy_func()->::solidity::yul::test::yul_fuzzer::CopyFunc::MergeFrom( - from._internal_copy_func()); - break; - } - case kExtcodeCopy: { - _this->_internal_mutable_extcode_copy()->::solidity::yul::test::yul_fuzzer::ExtCodeCopy::MergeFrom( - from._internal_extcode_copy()); - break; - } - case kTerminatestmt: { - _this->_internal_mutable_terminatestmt()->::solidity::yul::test::yul_fuzzer::TerminatingStmt::MergeFrom( - from._internal_terminatestmt()); - break; - } - case kFunctioncall: { - _this->_internal_mutable_functioncall()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( - from._internal_functioncall()); - break; - } - case kBoundedforstmt: { - _this->_internal_mutable_boundedforstmt()->::solidity::yul::test::yul_fuzzer::BoundedForStmt::MergeFrom( - from._internal_boundedforstmt()); - break; - } - case kFuncdef: { - _this->_internal_mutable_funcdef()->::solidity::yul::test::yul_fuzzer::FunctionDef::MergeFrom( - from._internal_funcdef()); - break; - } - case kPop: { - _this->_internal_mutable_pop()->::solidity::yul::test::yul_fuzzer::PopStmt::MergeFrom( - from._internal_pop()); - break; - } - case kLeave: { - _this->_internal_mutable_leave()->::solidity::yul::test::yul_fuzzer::LeaveStmt::MergeFrom( - from._internal_leave()); - break; - } - case kMultidecl: { - _this->_internal_mutable_multidecl()->::solidity::yul::test::yul_fuzzer::MultiVarDecl::MergeFrom( - from._internal_multidecl()); - break; - } - case STMT_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Statement::CopyFrom(const Statement& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Statement) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Statement::IsInitialized() const { - switch (stmt_oneof_case()) { - case kDecl: { - if (_internal_has_decl()) { - if (!_impl_.stmt_oneof_.decl_->IsInitialized()) return false; - } - break; - } - case kAssignment: { - if (_internal_has_assignment()) { - if (!_impl_.stmt_oneof_.assignment_->IsInitialized()) return false; - } - break; - } - case kIfstmt: { - if (_internal_has_ifstmt()) { - if (!_impl_.stmt_oneof_.ifstmt_->IsInitialized()) return false; - } - break; - } - case kStorageFunc: { - if (_internal_has_storage_func()) { - if (!_impl_.stmt_oneof_.storage_func_->IsInitialized()) return false; - } - break; - } - case kBlockstmt: { - if (_internal_has_blockstmt()) { - if (!_impl_.stmt_oneof_.blockstmt_->IsInitialized()) return false; - } - break; - } - case kForstmt: { - if (_internal_has_forstmt()) { - if (!_impl_.stmt_oneof_.forstmt_->IsInitialized()) return false; - } - break; - } - case kSwitchstmt: { - if (_internal_has_switchstmt()) { - if (!_impl_.stmt_oneof_.switchstmt_->IsInitialized()) return false; - } - break; - } - case kBreakstmt: { - break; - } - case kContstmt: { - break; - } - case kLogFunc: { - if (_internal_has_log_func()) { - if (!_impl_.stmt_oneof_.log_func_->IsInitialized()) return false; - } - break; - } - case kCopyFunc: { - if (_internal_has_copy_func()) { - if (!_impl_.stmt_oneof_.copy_func_->IsInitialized()) return false; - } - break; - } - case kExtcodeCopy: { - if (_internal_has_extcode_copy()) { - if (!_impl_.stmt_oneof_.extcode_copy_->IsInitialized()) return false; - } - break; - } - case kTerminatestmt: { - if (_internal_has_terminatestmt()) { - if (!_impl_.stmt_oneof_.terminatestmt_->IsInitialized()) return false; - } - break; - } - case kFunctioncall: { - if (_internal_has_functioncall()) { - if (!_impl_.stmt_oneof_.functioncall_->IsInitialized()) return false; - } - break; - } - case kBoundedforstmt: { - if (_internal_has_boundedforstmt()) { - if (!_impl_.stmt_oneof_.boundedforstmt_->IsInitialized()) return false; - } - break; - } - case kFuncdef: { - if (_internal_has_funcdef()) { - if (!_impl_.stmt_oneof_.funcdef_->IsInitialized()) return false; - } - break; - } - case kPop: { - if (_internal_has_pop()) { - if (!_impl_.stmt_oneof_.pop_->IsInitialized()) return false; - } - break; - } - case kLeave: { - break; - } - case kMultidecl: { - if (_internal_has_multidecl()) { - if (!_impl_.stmt_oneof_.multidecl_->IsInitialized()) return false; - } - break; - } - case STMT_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void Statement::InternalSwap(Statement* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.stmt_oneof_, other->_impl_.stmt_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Statement::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[34]); -} - -// =================================================================== - -class Block::_Internal { - public: -}; - -Block::Block(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Block) -} -Block::Block(const Block& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Block* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.statements_){from._impl_.statements_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Block) -} - -inline void Block::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.statements_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -Block::~Block() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Block) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Block::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.statements_.~RepeatedPtrField(); -} - -void Block::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Block::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Block) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.statements_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Block::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_statements(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Block::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Block) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_statements_size()); i < n; i++) { - const auto& repfield = this->_internal_statements(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Block) - return target; -} - -size_t Block::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Block) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; - total_size += 1UL * this->_internal_statements_size(); - for (const auto& msg : this->_impl_.statements_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Block::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Block::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Block::GetClassData() const { return &_class_data_; } - - -void Block::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Block) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.statements_.MergeFrom(from._impl_.statements_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Block::CopyFrom(const Block& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Block) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Block::IsInitialized() const { - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.statements_)) - return false; - return true; -} - -void Block::InternalSwap(Block* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.statements_.InternalSwap(&other->_impl_.statements_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Block::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[35]); -} - -// =================================================================== - -class CallData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_raw_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -CallData::CallData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.CallData) -} -CallData::CallData(const CallData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CallData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.raw_data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.raw_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.raw_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_raw_data()) { - _this->_impl_.raw_data_.Set(from._internal_raw_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.CallData) -} - -inline void CallData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.raw_data_){} - }; - _impl_.raw_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.raw_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CallData::~CallData() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.CallData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CallData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.raw_data_.Destroy(); -} - -void CallData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CallData::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.CallData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.raw_data_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CallData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required bytes raw_data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_raw_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CallData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.CallData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required bytes raw_data = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_raw_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.CallData) - return target; -} - -size_t CallData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.CallData) - size_t total_size = 0; - - // required bytes raw_data = 1; - if (_internal_has_raw_data()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_raw_data()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CallData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CallData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CallData::GetClassData() const { return &_class_data_; } - - -void CallData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.CallData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_raw_data()) { - _this->_internal_set_raw_data(from._internal_raw_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CallData::CopyFrom(const CallData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.CallData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CallData::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void CallData::InternalSwap(CallData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.raw_data_, lhs_arena, - &other->_impl_.raw_data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CallData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[36]); -} - -// =================================================================== - -class Object::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Code& code(const Object* msg); - static void set_has_code(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::solidity::yul::test::yul_fuzzer::Data& data(const Object* msg); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Code& -Object::_Internal::code(const Object* msg) { - return *msg->_impl_.code_; -} -const ::solidity::yul::test::yul_fuzzer::Data& -Object::_Internal::data(const Object* msg) { - return *msg->_impl_.data_; -} -Object::Object(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Object) -} -Object::Object(const Object& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Object* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sub_obj_){from._impl_.sub_obj_} - , decltype(_impl_.code_){nullptr} - , decltype(_impl_.data_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_code()) { - _this->_impl_.code_ = new ::solidity::yul::test::yul_fuzzer::Code(*from._impl_.code_); - } - if (from._internal_has_data()) { - _this->_impl_.data_ = new ::solidity::yul::test::yul_fuzzer::Data(*from._impl_.data_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Object) -} - -inline void Object::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sub_obj_){arena} - , decltype(_impl_.code_){nullptr} - , decltype(_impl_.data_){nullptr} - }; -} - -Object::~Object() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Object) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Object::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.sub_obj_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.code_; - if (this != internal_default_instance()) delete _impl_.data_; -} - -void Object::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Object::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Object) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.sub_obj_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.code_ != nullptr); - _impl_.code_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.data_ != nullptr); - _impl_.data_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Object::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Code code = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_code(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .solidity.yul.test.yul_fuzzer.Data data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_sub_obj(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Object::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Object) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Code code = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::code(this), - _Internal::code(this).GetCachedSize(), target, stream); - } - - // optional .solidity.yul.test.yul_fuzzer.Data data = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::data(this), - _Internal::data(this).GetCachedSize(), target, stream); - } - - // repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_sub_obj_size()); i < n; i++) { - const auto& repfield = this->_internal_sub_obj(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Object) - return target; -} - -size_t Object::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Object) - size_t total_size = 0; - - // required .solidity.yul.test.yul_fuzzer.Code code = 1; - if (_internal_has_code()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.code_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; - total_size += 1UL * this->_internal_sub_obj_size(); - for (const auto& msg : this->_impl_.sub_obj_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional .solidity.yul.test.yul_fuzzer.Data data = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.data_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Object::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Object::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Object::GetClassData() const { return &_class_data_; } - - -void Object::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Object) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.sub_obj_.MergeFrom(from._impl_.sub_obj_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_code()->::solidity::yul::test::yul_fuzzer::Code::MergeFrom( - from._internal_code()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_data()->::solidity::yul::test::yul_fuzzer::Data::MergeFrom( - from._internal_data()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Object::CopyFrom(const Object& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Object) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Object::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.sub_obj_)) - return false; - if (_internal_has_code()) { - if (!_impl_.code_->IsInitialized()) return false; - } - if (_internal_has_data()) { - if (!_impl_.data_->IsInitialized()) return false; - } - return true; -} - -void Object::InternalSwap(Object* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.sub_obj_.InternalSwap(&other->_impl_.sub_obj_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Object, _impl_.data_) - + sizeof(Object::_impl_.data_) - - PROTOBUF_FIELD_OFFSET(Object, _impl_.code_)>( - reinterpret_cast(&_impl_.code_), - reinterpret_cast(&other->_impl_.code_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Object::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[37]); -} - -// =================================================================== - -class Code::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Block& block(const Code* msg); - static void set_has_block(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Block& -Code::_Internal::block(const Code* msg) { - return *msg->_impl_.block_; -} -Code::Code(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Code) -} -Code::Code(const Code& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Code* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.block_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_block()) { - _this->_impl_.block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.block_); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Code) -} - -inline void Code::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.block_){nullptr} - }; -} - -Code::~Code() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Code) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Code::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.block_; -} - -void Code::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Code::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Code) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.block_ != nullptr); - _impl_.block_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Code::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .solidity.yul.test.yul_fuzzer.Block block = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_block(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Code::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Code) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Block block = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::block(this), - _Internal::block(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Code) - return target; -} - -size_t Code::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Code) - size_t total_size = 0; - - // required .solidity.yul.test.yul_fuzzer.Block block = 1; - if (_internal_has_block()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.block_); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Code::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Code::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Code::GetClassData() const { return &_class_data_; } - - -void Code::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Code) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_block()) { - _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_block()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Code::CopyFrom(const Code& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Code) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Code::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_block()) { - if (!_impl_.block_->IsInitialized()) return false; - } - return true; -} - -void Code::InternalSwap(Code* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.block_, other->_impl_.block_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Code::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[38]); -} - -// =================================================================== - -class Data::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_hex(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -Data::Data(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Data) -} -Data::Data(const Data& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Data* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hex_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.hex_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hex_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_hex()) { - _this->_impl_.hex_.Set(from._internal_hex(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Data) -} - -inline void Data::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hex_){} - }; - _impl_.hex_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hex_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -Data::~Data() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Data) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Data::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.hex_.Destroy(); -} - -void Data::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Data::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Data) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.hex_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Data::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required string hex = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_hex(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "solidity.yul.test.yul_fuzzer.Data.hex"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Data::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Data) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required string hex = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_hex().data(), static_cast(this->_internal_hex().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "solidity.yul.test.yul_fuzzer.Data.hex"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_hex(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Data) - return target; -} - -size_t Data::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Data) - size_t total_size = 0; - - // required string hex = 1; - if (_internal_has_hex()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_hex()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Data::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Data::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Data::GetClassData() const { return &_class_data_; } - - -void Data::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Data) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_hex()) { - _this->_internal_set_hex(from._internal_hex()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Data::CopyFrom(const Data& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Data) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Data::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void Data::InternalSwap(Data* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.hex_, lhs_arena, - &other->_impl_.hex_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Data::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[39]); -} - -// =================================================================== - -class Program::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::solidity::yul::test::yul_fuzzer::Block& block(const Program* msg); - static const ::solidity::yul::test::yul_fuzzer::Object& obj(const Program* msg); - static void set_has_ver(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_step(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::solidity::yul::test::yul_fuzzer::CallData& calldata(const Program* msg); - static void set_has_calldata(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_optimize_stack_allocation(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_expected_executions(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_is_creation(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; - -const ::solidity::yul::test::yul_fuzzer::Block& -Program::_Internal::block(const Program* msg) { - return *msg->_impl_.program_oneof_.block_; -} -const ::solidity::yul::test::yul_fuzzer::Object& -Program::_Internal::obj(const Program* msg) { - return *msg->_impl_.program_oneof_.obj_; -} -const ::solidity::yul::test::yul_fuzzer::CallData& -Program::_Internal::calldata(const Program* msg) { - return *msg->_impl_.calldata_; -} -void Program::set_allocated_block(::solidity::yul::test::yul_fuzzer::Block* block) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_program_oneof(); - if (block) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(block); - if (message_arena != submessage_arena) { - block = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, block, submessage_arena); - } - set_has_block(); - _impl_.program_oneof_.block_ = block; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Program.block) -} -void Program::set_allocated_obj(::solidity::yul::test::yul_fuzzer::Object* obj) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_program_oneof(); - if (obj) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(obj); - if (message_arena != submessage_arena) { - obj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, obj, submessage_arena); - } - set_has_obj(); - _impl_.program_oneof_.obj_ = obj; - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Program.obj) -} -Program::Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Program) -} -Program::Program(const Program& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Program* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.optimiser_seq_){from._impl_.optimiser_seq_} - , decltype(_impl_.optimiser_cleanup_seq_){from._impl_.optimiser_cleanup_seq_} - , decltype(_impl_.calldata_){nullptr} - , decltype(_impl_.ver_){} - , decltype(_impl_.step_){} - , decltype(_impl_.expected_executions_){} - , decltype(_impl_.optimize_stack_allocation_){} - , decltype(_impl_.is_creation_){} - , decltype(_impl_.program_oneof_){} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_calldata()) { - _this->_impl_.calldata_ = new ::solidity::yul::test::yul_fuzzer::CallData(*from._impl_.calldata_); - } - ::memcpy(&_impl_.ver_, &from._impl_.ver_, - static_cast(reinterpret_cast(&_impl_.is_creation_) - - reinterpret_cast(&_impl_.ver_)) + sizeof(_impl_.is_creation_)); - clear_has_program_oneof(); - switch (from.program_oneof_case()) { - case kBlock: { - _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_block()); - break; - } - case kObj: { - _this->_internal_mutable_obj()->::solidity::yul::test::yul_fuzzer::Object::MergeFrom( - from._internal_obj()); - break; - } - case PROGRAM_ONEOF_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Program) -} - -inline void Program::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.optimiser_seq_){arena} - , decltype(_impl_.optimiser_cleanup_seq_){arena} - , decltype(_impl_.calldata_){nullptr} - , decltype(_impl_.ver_){0} - , decltype(_impl_.step_){0u} - , decltype(_impl_.expected_executions_){0u} - , decltype(_impl_.optimize_stack_allocation_){false} - , decltype(_impl_.is_creation_){false} - , decltype(_impl_.program_oneof_){} - , /*decltype(_impl_._oneof_case_)*/{} - }; - clear_has_program_oneof(); -} - -Program::~Program() { - // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Program) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Program::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.optimiser_seq_.~RepeatedField(); - _impl_.optimiser_cleanup_seq_.~RepeatedField(); - if (this != internal_default_instance()) delete _impl_.calldata_; - if (has_program_oneof()) { - clear_program_oneof(); - } -} - -void Program::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Program::clear_program_oneof() { -// @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Program) - switch (program_oneof_case()) { - case kBlock: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.program_oneof_.block_; - } - break; - } - case kObj: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.program_oneof_.obj_; - } - break; - } - case PROGRAM_ONEOF_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = PROGRAM_ONEOF_NOT_SET; -} - - -void Program::Clear() { -// @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Program) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.optimiser_seq_.Clear(); - _impl_.optimiser_cleanup_seq_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.calldata_ != nullptr); - _impl_.calldata_->Clear(); - } - if (cached_has_bits & 0x0000003eu) { - ::memset(&_impl_.ver_, 0, static_cast( - reinterpret_cast(&_impl_.is_creation_) - - reinterpret_cast(&_impl_.ver_)) + sizeof(_impl_.is_creation_)); - } - clear_program_oneof(); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Program::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .solidity.yul.test.yul_fuzzer.Block block = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_block(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .solidity.yul.test.yul_fuzzer.Object obj = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_obj(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::Program_Version_IsValid(val))) { - _internal_set_ver(static_cast<::solidity::yul::test::yul_fuzzer::Program_Version>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required uint32 step = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_step(&has_bits); - _impl_.step_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required .solidity.yul.test.yul_fuzzer.CallData calldata = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_calldata(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 optimiser_seq = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_optimiser_seq(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); - } else if (static_cast(tag) == 50) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_optimiser_seq(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool optimize_stack_allocation = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_optimize_stack_allocation(&has_bits); - _impl_.optimize_stack_allocation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 expected_executions = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_expected_executions(&has_bits); - _impl_.expected_executions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_creation = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_is_creation(&has_bits); - _impl_.is_creation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 optimiser_cleanup_seq = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_optimiser_cleanup_seq(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<80>(ptr)); - } else if (static_cast(tag) == 82) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_optimiser_cleanup_seq(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Program::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Program) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - switch (program_oneof_case()) { - case kBlock: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::block(this), - _Internal::block(this).GetCachedSize(), target, stream); - break; - } - case kObj: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::obj(this), - _Internal::obj(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - cached_has_bits = _impl_._has_bits_[0]; - // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this->_internal_ver(), target); - } - - // required uint32 step = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_step(), target); - } - - // required .solidity.yul.test.yul_fuzzer.CallData calldata = 5; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::calldata(this), - _Internal::calldata(this).GetCachedSize(), target, stream); - } - - // repeated uint32 optimiser_seq = 6; - for (int i = 0, n = this->_internal_optimiser_seq_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_optimiser_seq(i), target); - } - - // optional bool optimize_stack_allocation = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_optimize_stack_allocation(), target); - } - - // optional uint32 expected_executions = 8; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_expected_executions(), target); - } - - // optional bool is_creation = 9; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_is_creation(), target); - } - - // repeated uint32 optimiser_cleanup_seq = 10; - for (int i = 0, n = this->_internal_optimiser_cleanup_seq_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_optimiser_cleanup_seq(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Program) - return target; -} - -size_t Program::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.Program) - size_t total_size = 0; - - if (_internal_has_calldata()) { - // required .solidity.yul.test.yul_fuzzer.CallData calldata = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.calldata_); - } - - if (_internal_has_ver()) { - // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_ver()); - } - - if (_internal_has_step()) { - // required uint32 step = 4; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_step()); - } - - return total_size; -} -size_t Program::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Program) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. - // required .solidity.yul.test.yul_fuzzer.CallData calldata = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.calldata_); - - // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_ver()); - - // required uint32 step = 4; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_step()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 optimiser_seq = 6; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.optimiser_seq_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_optimiser_seq_size()); - total_size += data_size; - } - - // repeated uint32 optimiser_cleanup_seq = 10; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.optimiser_cleanup_seq_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_optimiser_cleanup_seq_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000038u) { - // optional uint32 expected_executions = 8; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_expected_executions()); - } - - // optional bool optimize_stack_allocation = 7; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional bool is_creation = 9; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - } - switch (program_oneof_case()) { - // .solidity.yul.test.yul_fuzzer.Block block = 1; - case kBlock: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.program_oneof_.block_); - break; - } - // .solidity.yul.test.yul_fuzzer.Object obj = 2; - case kObj: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.program_oneof_.obj_); - break; - } - case PROGRAM_ONEOF_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Program::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Program::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Program::GetClassData() const { return &_class_data_; } - - -void Program::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Program) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.optimiser_seq_.MergeFrom(from._impl_.optimiser_seq_); - _this->_impl_.optimiser_cleanup_seq_.MergeFrom(from._impl_.optimiser_cleanup_seq_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_calldata()->::solidity::yul::test::yul_fuzzer::CallData::MergeFrom( - from._internal_calldata()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ver_ = from._impl_.ver_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.step_ = from._impl_.step_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.expected_executions_ = from._impl_.expected_executions_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.optimize_stack_allocation_ = from._impl_.optimize_stack_allocation_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.is_creation_ = from._impl_.is_creation_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - switch (from.program_oneof_case()) { - case kBlock: { - _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( - from._internal_block()); - break; - } - case kObj: { - _this->_internal_mutable_obj()->::solidity::yul::test::yul_fuzzer::Object::MergeFrom( - from._internal_obj()); - break; - } - case PROGRAM_ONEOF_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Program::CopyFrom(const Program& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Program) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Program::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - if (_internal_has_calldata()) { - if (!_impl_.calldata_->IsInitialized()) return false; - } - switch (program_oneof_case()) { - case kBlock: { - if (_internal_has_block()) { - if (!_impl_.program_oneof_.block_->IsInitialized()) return false; - } - break; - } - case kObj: { - if (_internal_has_obj()) { - if (!_impl_.program_oneof_.obj_->IsInitialized()) return false; - } - break; - } - case PROGRAM_ONEOF_NOT_SET: { - break; - } - } - return true; -} - -void Program::InternalSwap(Program* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.optimiser_seq_.InternalSwap(&other->_impl_.optimiser_seq_); - _impl_.optimiser_cleanup_seq_.InternalSwap(&other->_impl_.optimiser_cleanup_seq_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Program, _impl_.is_creation_) - + sizeof(Program::_impl_.is_creation_) - - PROTOBUF_FIELD_OFFSET(Program, _impl_.calldata_)>( - reinterpret_cast(&_impl_.calldata_), - reinterpret_cast(&other->_impl_.calldata_)); - swap(_impl_.program_oneof_, other->_impl_.program_oneof_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Program::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, - file_level_metadata_yulProto_2eproto[40]); -} - -// @@protoc_insertion_point(namespace_scope) -} // namespace yul_fuzzer -} // namespace test -} // namespace yul -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::VarDecl* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::VarDecl >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::VarDecl >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::MultiVarDecl* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::MultiVarDecl >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::MultiVarDecl >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::LowLevelCall* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LowLevelCall >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::LowLevelCall >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Create* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Create >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Create >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::FunctionCall* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::FunctionCall >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::FunctionCall >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TypedVarDecl* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TypedVarDecl >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TypedVarDecl >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::VarRef* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::VarRef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::VarRef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Literal* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Literal >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Literal >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TypedLiteral* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TypedLiteral >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TypedLiteral >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::BinaryOp* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BinaryOp >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::BinaryOp >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::UnaryOp* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::UnaryOp >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::UnaryOp >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::UnaryOpData* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::UnaryOpData >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::UnaryOpData >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TernaryOp* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TernaryOp >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TernaryOp >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::CopyFunc* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::CopyFunc >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::CopyFunc >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ExtCodeCopy >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::ExtCodeCopy >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::NullaryOp* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::NullaryOp >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::NullaryOp >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::StoreFunc* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::StoreFunc >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::StoreFunc >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::LogFunc* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LogFunc >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::LogFunc >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Expression* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Expression >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Expression >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::AssignmentStatement* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::AssignmentStatement >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::AssignmentStatement >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::IfStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::IfStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::IfStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::BoundedForStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BoundedForStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::BoundedForStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::ForStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ForStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::ForStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::CaseStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::CaseStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::CaseStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::SwitchStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::SwitchStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::SwitchStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::BreakStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BreakStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::BreakStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::ContinueStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ContinueStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::ContinueStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::RetRevStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::RetRevStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::RetRevStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::SelfDestructStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::SelfDestructStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TerminatingStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TerminatingStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TerminatingStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::FunctionDef* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::FunctionDef >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::FunctionDef >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::PopStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::PopStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::PopStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::LeaveStmt* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LeaveStmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::LeaveStmt >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Statement* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Statement >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Statement >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Block* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Block >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Block >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::CallData* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::CallData >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::CallData >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Object* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Object >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Object >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Code* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Code >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Code >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Data* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Data >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Data >(arena); -} -template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Program* -Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Program >(Arena* arena) { - return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Program >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/tools/ossfuzz/yulProto.pb.h b/tools/ossfuzz/yulProto.pb.h deleted file mode 100644 index 7fd6f06..0000000 --- a/tools/ossfuzz/yulProto.pb.h +++ /dev/null @@ -1,19532 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: yulProto.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_yulProto_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_yulProto_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021007 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_yulProto_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_yulProto_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_yulProto_2eproto; -namespace solidity { -namespace yul { -namespace test { -namespace yul_fuzzer { -class AssignmentStatement; -struct AssignmentStatementDefaultTypeInternal; -extern AssignmentStatementDefaultTypeInternal _AssignmentStatement_default_instance_; -class BinaryOp; -struct BinaryOpDefaultTypeInternal; -extern BinaryOpDefaultTypeInternal _BinaryOp_default_instance_; -class Block; -struct BlockDefaultTypeInternal; -extern BlockDefaultTypeInternal _Block_default_instance_; -class BoundedForStmt; -struct BoundedForStmtDefaultTypeInternal; -extern BoundedForStmtDefaultTypeInternal _BoundedForStmt_default_instance_; -class BreakStmt; -struct BreakStmtDefaultTypeInternal; -extern BreakStmtDefaultTypeInternal _BreakStmt_default_instance_; -class CallData; -struct CallDataDefaultTypeInternal; -extern CallDataDefaultTypeInternal _CallData_default_instance_; -class CaseStmt; -struct CaseStmtDefaultTypeInternal; -extern CaseStmtDefaultTypeInternal _CaseStmt_default_instance_; -class Code; -struct CodeDefaultTypeInternal; -extern CodeDefaultTypeInternal _Code_default_instance_; -class ContinueStmt; -struct ContinueStmtDefaultTypeInternal; -extern ContinueStmtDefaultTypeInternal _ContinueStmt_default_instance_; -class CopyFunc; -struct CopyFuncDefaultTypeInternal; -extern CopyFuncDefaultTypeInternal _CopyFunc_default_instance_; -class Create; -struct CreateDefaultTypeInternal; -extern CreateDefaultTypeInternal _Create_default_instance_; -class Data; -struct DataDefaultTypeInternal; -extern DataDefaultTypeInternal _Data_default_instance_; -class Expression; -struct ExpressionDefaultTypeInternal; -extern ExpressionDefaultTypeInternal _Expression_default_instance_; -class ExtCodeCopy; -struct ExtCodeCopyDefaultTypeInternal; -extern ExtCodeCopyDefaultTypeInternal _ExtCodeCopy_default_instance_; -class ForStmt; -struct ForStmtDefaultTypeInternal; -extern ForStmtDefaultTypeInternal _ForStmt_default_instance_; -class FunctionCall; -struct FunctionCallDefaultTypeInternal; -extern FunctionCallDefaultTypeInternal _FunctionCall_default_instance_; -class FunctionDef; -struct FunctionDefDefaultTypeInternal; -extern FunctionDefDefaultTypeInternal _FunctionDef_default_instance_; -class IfStmt; -struct IfStmtDefaultTypeInternal; -extern IfStmtDefaultTypeInternal _IfStmt_default_instance_; -class LeaveStmt; -struct LeaveStmtDefaultTypeInternal; -extern LeaveStmtDefaultTypeInternal _LeaveStmt_default_instance_; -class Literal; -struct LiteralDefaultTypeInternal; -extern LiteralDefaultTypeInternal _Literal_default_instance_; -class LogFunc; -struct LogFuncDefaultTypeInternal; -extern LogFuncDefaultTypeInternal _LogFunc_default_instance_; -class LowLevelCall; -struct LowLevelCallDefaultTypeInternal; -extern LowLevelCallDefaultTypeInternal _LowLevelCall_default_instance_; -class MultiVarDecl; -struct MultiVarDeclDefaultTypeInternal; -extern MultiVarDeclDefaultTypeInternal _MultiVarDecl_default_instance_; -class NullaryOp; -struct NullaryOpDefaultTypeInternal; -extern NullaryOpDefaultTypeInternal _NullaryOp_default_instance_; -class Object; -struct ObjectDefaultTypeInternal; -extern ObjectDefaultTypeInternal _Object_default_instance_; -class PopStmt; -struct PopStmtDefaultTypeInternal; -extern PopStmtDefaultTypeInternal _PopStmt_default_instance_; -class Program; -struct ProgramDefaultTypeInternal; -extern ProgramDefaultTypeInternal _Program_default_instance_; -class RetRevStmt; -struct RetRevStmtDefaultTypeInternal; -extern RetRevStmtDefaultTypeInternal _RetRevStmt_default_instance_; -class SelfDestructStmt; -struct SelfDestructStmtDefaultTypeInternal; -extern SelfDestructStmtDefaultTypeInternal _SelfDestructStmt_default_instance_; -class Statement; -struct StatementDefaultTypeInternal; -extern StatementDefaultTypeInternal _Statement_default_instance_; -class StopInvalidStmt; -struct StopInvalidStmtDefaultTypeInternal; -extern StopInvalidStmtDefaultTypeInternal _StopInvalidStmt_default_instance_; -class StoreFunc; -struct StoreFuncDefaultTypeInternal; -extern StoreFuncDefaultTypeInternal _StoreFunc_default_instance_; -class SwitchStmt; -struct SwitchStmtDefaultTypeInternal; -extern SwitchStmtDefaultTypeInternal _SwitchStmt_default_instance_; -class TerminatingStmt; -struct TerminatingStmtDefaultTypeInternal; -extern TerminatingStmtDefaultTypeInternal _TerminatingStmt_default_instance_; -class TernaryOp; -struct TernaryOpDefaultTypeInternal; -extern TernaryOpDefaultTypeInternal _TernaryOp_default_instance_; -class TypedLiteral; -struct TypedLiteralDefaultTypeInternal; -extern TypedLiteralDefaultTypeInternal _TypedLiteral_default_instance_; -class TypedVarDecl; -struct TypedVarDeclDefaultTypeInternal; -extern TypedVarDeclDefaultTypeInternal _TypedVarDecl_default_instance_; -class UnaryOp; -struct UnaryOpDefaultTypeInternal; -extern UnaryOpDefaultTypeInternal _UnaryOp_default_instance_; -class UnaryOpData; -struct UnaryOpDataDefaultTypeInternal; -extern UnaryOpDataDefaultTypeInternal _UnaryOpData_default_instance_; -class VarDecl; -struct VarDeclDefaultTypeInternal; -extern VarDeclDefaultTypeInternal _VarDecl_default_instance_; -class VarRef; -struct VarRefDefaultTypeInternal; -extern VarRefDefaultTypeInternal _VarRef_default_instance_; -} // namespace yul_fuzzer -} // namespace test -} // namespace yul -} // namespace solidity -PROTOBUF_NAMESPACE_OPEN -template<> ::solidity::yul::test::yul_fuzzer::AssignmentStatement* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::AssignmentStatement>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::BinaryOp* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::BinaryOp>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::Block* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Block>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::BoundedForStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::BoundedForStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::BreakStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::BreakStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::CallData* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::CallData>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::CaseStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::CaseStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::Code* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Code>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::ContinueStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::ContinueStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::CopyFunc* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::CopyFunc>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::Create* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Create>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::Data* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Data>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::Expression* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::ExtCodeCopy>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::ForStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::ForStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::FunctionCall* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::FunctionCall>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::FunctionDef* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::FunctionDef>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::IfStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::IfStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::LeaveStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::LeaveStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::Literal* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Literal>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::LogFunc* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::LogFunc>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::LowLevelCall* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::LowLevelCall>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::MultiVarDecl* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::MultiVarDecl>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::NullaryOp* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::NullaryOp>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::Object* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Object>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::PopStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::PopStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::Program* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Program>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::RetRevStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::RetRevStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::SelfDestructStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::Statement* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Statement>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::StopInvalidStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::StoreFunc* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::StoreFunc>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::SwitchStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::SwitchStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::TerminatingStmt* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::TerminatingStmt>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::TernaryOp* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::TernaryOp>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::TypedLiteral* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::TypedLiteral>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::TypedVarDecl* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::TypedVarDecl>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::UnaryOp* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::UnaryOp>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::UnaryOpData* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::UnaryOpData>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::VarDecl* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::VarDecl>(Arena*); -template<> ::solidity::yul::test::yul_fuzzer::VarRef* Arena::CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::VarRef>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace solidity { -namespace yul { -namespace test { -namespace yul_fuzzer { - -enum LowLevelCall_Type : int { - LowLevelCall_Type_CALL = 0, - LowLevelCall_Type_CALLCODE = 1, - LowLevelCall_Type_DELEGATECALL = 2, - LowLevelCall_Type_STATICCALL = 3 -}; -bool LowLevelCall_Type_IsValid(int value); -constexpr LowLevelCall_Type LowLevelCall_Type_Type_MIN = LowLevelCall_Type_CALL; -constexpr LowLevelCall_Type LowLevelCall_Type_Type_MAX = LowLevelCall_Type_STATICCALL; -constexpr int LowLevelCall_Type_Type_ARRAYSIZE = LowLevelCall_Type_Type_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LowLevelCall_Type_descriptor(); -template -inline const std::string& LowLevelCall_Type_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function LowLevelCall_Type_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - LowLevelCall_Type_descriptor(), enum_t_value); -} -inline bool LowLevelCall_Type_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LowLevelCall_Type* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - LowLevelCall_Type_descriptor(), name, value); -} -enum Create_Type : int { - Create_Type_CREATE = 0, - Create_Type_CREATE2 = 1 -}; -bool Create_Type_IsValid(int value); -constexpr Create_Type Create_Type_Type_MIN = Create_Type_CREATE; -constexpr Create_Type Create_Type_Type_MAX = Create_Type_CREATE2; -constexpr int Create_Type_Type_ARRAYSIZE = Create_Type_Type_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Create_Type_descriptor(); -template -inline const std::string& Create_Type_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Create_Type_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Create_Type_descriptor(), enum_t_value); -} -inline bool Create_Type_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Create_Type* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - Create_Type_descriptor(), name, value); -} -enum TypedVarDecl_TypeName : int { - TypedVarDecl_TypeName_BOOL = 1, - TypedVarDecl_TypeName_U8 = 2, - TypedVarDecl_TypeName_U32 = 3, - TypedVarDecl_TypeName_U64 = 4, - TypedVarDecl_TypeName_U128 = 5, - TypedVarDecl_TypeName_U256 = 6, - TypedVarDecl_TypeName_S8 = 7, - TypedVarDecl_TypeName_S32 = 8, - TypedVarDecl_TypeName_S64 = 9, - TypedVarDecl_TypeName_S128 = 10, - TypedVarDecl_TypeName_S256 = 11 -}; -bool TypedVarDecl_TypeName_IsValid(int value); -constexpr TypedVarDecl_TypeName TypedVarDecl_TypeName_TypeName_MIN = TypedVarDecl_TypeName_BOOL; -constexpr TypedVarDecl_TypeName TypedVarDecl_TypeName_TypeName_MAX = TypedVarDecl_TypeName_S256; -constexpr int TypedVarDecl_TypeName_TypeName_ARRAYSIZE = TypedVarDecl_TypeName_TypeName_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TypedVarDecl_TypeName_descriptor(); -template -inline const std::string& TypedVarDecl_TypeName_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function TypedVarDecl_TypeName_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - TypedVarDecl_TypeName_descriptor(), enum_t_value); -} -inline bool TypedVarDecl_TypeName_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TypedVarDecl_TypeName* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - TypedVarDecl_TypeName_descriptor(), name, value); -} -enum TypedLiteral_TypeName : int { - TypedLiteral_TypeName_BOOL = 1, - TypedLiteral_TypeName_U8 = 2, - TypedLiteral_TypeName_U32 = 3, - TypedLiteral_TypeName_U64 = 4, - TypedLiteral_TypeName_U128 = 5, - TypedLiteral_TypeName_U256 = 6, - TypedLiteral_TypeName_S8 = 7, - TypedLiteral_TypeName_S32 = 8, - TypedLiteral_TypeName_S64 = 9, - TypedLiteral_TypeName_S128 = 10, - TypedLiteral_TypeName_S256 = 11 -}; -bool TypedLiteral_TypeName_IsValid(int value); -constexpr TypedLiteral_TypeName TypedLiteral_TypeName_TypeName_MIN = TypedLiteral_TypeName_BOOL; -constexpr TypedLiteral_TypeName TypedLiteral_TypeName_TypeName_MAX = TypedLiteral_TypeName_S256; -constexpr int TypedLiteral_TypeName_TypeName_ARRAYSIZE = TypedLiteral_TypeName_TypeName_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TypedLiteral_TypeName_descriptor(); -template -inline const std::string& TypedLiteral_TypeName_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function TypedLiteral_TypeName_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - TypedLiteral_TypeName_descriptor(), enum_t_value); -} -inline bool TypedLiteral_TypeName_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TypedLiteral_TypeName* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - TypedLiteral_TypeName_descriptor(), name, value); -} -enum BinaryOp_BOp : int { - BinaryOp_BOp_ADD = 0, - BinaryOp_BOp_SUB = 1, - BinaryOp_BOp_MUL = 2, - BinaryOp_BOp_DIV = 3, - BinaryOp_BOp_MOD = 4, - BinaryOp_BOp_XOR = 5, - BinaryOp_BOp_AND = 6, - BinaryOp_BOp_OR = 7, - BinaryOp_BOp_EQ = 8, - BinaryOp_BOp_LT = 9, - BinaryOp_BOp_GT = 10, - BinaryOp_BOp_SHR = 11, - BinaryOp_BOp_SHL = 12, - BinaryOp_BOp_SAR = 13, - BinaryOp_BOp_SDIV = 14, - BinaryOp_BOp_SMOD = 15, - BinaryOp_BOp_EXP = 16, - BinaryOp_BOp_SLT = 17, - BinaryOp_BOp_SGT = 18, - BinaryOp_BOp_BYTE = 19, - BinaryOp_BOp_SI = 20, - BinaryOp_BOp_KECCAK = 21 -}; -bool BinaryOp_BOp_IsValid(int value); -constexpr BinaryOp_BOp BinaryOp_BOp_BOp_MIN = BinaryOp_BOp_ADD; -constexpr BinaryOp_BOp BinaryOp_BOp_BOp_MAX = BinaryOp_BOp_KECCAK; -constexpr int BinaryOp_BOp_BOp_ARRAYSIZE = BinaryOp_BOp_BOp_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BinaryOp_BOp_descriptor(); -template -inline const std::string& BinaryOp_BOp_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function BinaryOp_BOp_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - BinaryOp_BOp_descriptor(), enum_t_value); -} -inline bool BinaryOp_BOp_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BinaryOp_BOp* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - BinaryOp_BOp_descriptor(), name, value); -} -enum UnaryOp_UOp : int { - UnaryOp_UOp_NOT = 0, - UnaryOp_UOp_MLOAD = 1, - UnaryOp_UOp_SLOAD = 2, - UnaryOp_UOp_TLOAD = 3, - UnaryOp_UOp_ISZERO = 4, - UnaryOp_UOp_CALLDATALOAD = 5, - UnaryOp_UOp_EXTCODESIZE = 6, - UnaryOp_UOp_EXTCODEHASH = 7, - UnaryOp_UOp_BALANCE = 8, - UnaryOp_UOp_BLOCKHASH = 9, - UnaryOp_UOp_BLOBHASH = 10 -}; -bool UnaryOp_UOp_IsValid(int value); -constexpr UnaryOp_UOp UnaryOp_UOp_UOp_MIN = UnaryOp_UOp_NOT; -constexpr UnaryOp_UOp UnaryOp_UOp_UOp_MAX = UnaryOp_UOp_BLOBHASH; -constexpr int UnaryOp_UOp_UOp_ARRAYSIZE = UnaryOp_UOp_UOp_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UnaryOp_UOp_descriptor(); -template -inline const std::string& UnaryOp_UOp_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function UnaryOp_UOp_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - UnaryOp_UOp_descriptor(), enum_t_value); -} -inline bool UnaryOp_UOp_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UnaryOp_UOp* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - UnaryOp_UOp_descriptor(), name, value); -} -enum UnaryOpData_UOpData : int { - UnaryOpData_UOpData_SIZE = 1, - UnaryOpData_UOpData_OFFSET = 2 -}; -bool UnaryOpData_UOpData_IsValid(int value); -constexpr UnaryOpData_UOpData UnaryOpData_UOpData_UOpData_MIN = UnaryOpData_UOpData_SIZE; -constexpr UnaryOpData_UOpData UnaryOpData_UOpData_UOpData_MAX = UnaryOpData_UOpData_OFFSET; -constexpr int UnaryOpData_UOpData_UOpData_ARRAYSIZE = UnaryOpData_UOpData_UOpData_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UnaryOpData_UOpData_descriptor(); -template -inline const std::string& UnaryOpData_UOpData_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function UnaryOpData_UOpData_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - UnaryOpData_UOpData_descriptor(), enum_t_value); -} -inline bool UnaryOpData_UOpData_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UnaryOpData_UOpData* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - UnaryOpData_UOpData_descriptor(), name, value); -} -enum TernaryOp_TOp : int { - TernaryOp_TOp_ADDM = 0, - TernaryOp_TOp_MULM = 1 -}; -bool TernaryOp_TOp_IsValid(int value); -constexpr TernaryOp_TOp TernaryOp_TOp_TOp_MIN = TernaryOp_TOp_ADDM; -constexpr TernaryOp_TOp TernaryOp_TOp_TOp_MAX = TernaryOp_TOp_MULM; -constexpr int TernaryOp_TOp_TOp_ARRAYSIZE = TernaryOp_TOp_TOp_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TernaryOp_TOp_descriptor(); -template -inline const std::string& TernaryOp_TOp_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function TernaryOp_TOp_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - TernaryOp_TOp_descriptor(), enum_t_value); -} -inline bool TernaryOp_TOp_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TernaryOp_TOp* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - TernaryOp_TOp_descriptor(), name, value); -} -enum CopyFunc_CopyType : int { - CopyFunc_CopyType_CALLDATA = 0, - CopyFunc_CopyType_CODE = 1, - CopyFunc_CopyType_RETURNDATA = 2, - CopyFunc_CopyType_DATA = 3, - CopyFunc_CopyType_MEMORY = 4 -}; -bool CopyFunc_CopyType_IsValid(int value); -constexpr CopyFunc_CopyType CopyFunc_CopyType_CopyType_MIN = CopyFunc_CopyType_CALLDATA; -constexpr CopyFunc_CopyType CopyFunc_CopyType_CopyType_MAX = CopyFunc_CopyType_MEMORY; -constexpr int CopyFunc_CopyType_CopyType_ARRAYSIZE = CopyFunc_CopyType_CopyType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CopyFunc_CopyType_descriptor(); -template -inline const std::string& CopyFunc_CopyType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CopyFunc_CopyType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CopyFunc_CopyType_descriptor(), enum_t_value); -} -inline bool CopyFunc_CopyType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CopyFunc_CopyType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CopyFunc_CopyType_descriptor(), name, value); -} -enum NullaryOp_NOp : int { - NullaryOp_NOp_MSIZE = 1, - NullaryOp_NOp_GAS = 2, - NullaryOp_NOp_CALLDATASIZE = 3, - NullaryOp_NOp_CODESIZE = 4, - NullaryOp_NOp_RETURNDATASIZE = 5, - NullaryOp_NOp_ADDRESS = 6, - NullaryOp_NOp_ORIGIN = 7, - NullaryOp_NOp_CALLER = 8, - NullaryOp_NOp_CALLVALUE = 9, - NullaryOp_NOp_GASPRICE = 10, - NullaryOp_NOp_COINBASE = 11, - NullaryOp_NOp_TIMESTAMP = 12, - NullaryOp_NOp_NUMBER = 13, - NullaryOp_NOp_DIFFICULTY = 14, - NullaryOp_NOp_GASLIMIT = 15, - NullaryOp_NOp_SELFBALANCE = 16, - NullaryOp_NOp_CHAINID = 17, - NullaryOp_NOp_BASEFEE = 18, - NullaryOp_NOp_BLOBBASEFEE = 19 -}; -bool NullaryOp_NOp_IsValid(int value); -constexpr NullaryOp_NOp NullaryOp_NOp_NOp_MIN = NullaryOp_NOp_MSIZE; -constexpr NullaryOp_NOp NullaryOp_NOp_NOp_MAX = NullaryOp_NOp_BLOBBASEFEE; -constexpr int NullaryOp_NOp_NOp_ARRAYSIZE = NullaryOp_NOp_NOp_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* NullaryOp_NOp_descriptor(); -template -inline const std::string& NullaryOp_NOp_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function NullaryOp_NOp_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - NullaryOp_NOp_descriptor(), enum_t_value); -} -inline bool NullaryOp_NOp_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NullaryOp_NOp* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - NullaryOp_NOp_descriptor(), name, value); -} -enum StoreFunc_Storage : int { - StoreFunc_Storage_MSTORE = 0, - StoreFunc_Storage_SSTORE = 1, - StoreFunc_Storage_MSTORE8 = 2, - StoreFunc_Storage_TSTORE = 3 -}; -bool StoreFunc_Storage_IsValid(int value); -constexpr StoreFunc_Storage StoreFunc_Storage_Storage_MIN = StoreFunc_Storage_MSTORE; -constexpr StoreFunc_Storage StoreFunc_Storage_Storage_MAX = StoreFunc_Storage_TSTORE; -constexpr int StoreFunc_Storage_Storage_ARRAYSIZE = StoreFunc_Storage_Storage_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StoreFunc_Storage_descriptor(); -template -inline const std::string& StoreFunc_Storage_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function StoreFunc_Storage_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - StoreFunc_Storage_descriptor(), enum_t_value); -} -inline bool StoreFunc_Storage_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StoreFunc_Storage* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - StoreFunc_Storage_descriptor(), name, value); -} -enum LogFunc_NumTopics : int { - LogFunc_NumTopics_ZERO = 0, - LogFunc_NumTopics_ONE = 1, - LogFunc_NumTopics_TWO = 2, - LogFunc_NumTopics_THREE = 3, - LogFunc_NumTopics_FOUR = 4 -}; -bool LogFunc_NumTopics_IsValid(int value); -constexpr LogFunc_NumTopics LogFunc_NumTopics_NumTopics_MIN = LogFunc_NumTopics_ZERO; -constexpr LogFunc_NumTopics LogFunc_NumTopics_NumTopics_MAX = LogFunc_NumTopics_FOUR; -constexpr int LogFunc_NumTopics_NumTopics_ARRAYSIZE = LogFunc_NumTopics_NumTopics_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LogFunc_NumTopics_descriptor(); -template -inline const std::string& LogFunc_NumTopics_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function LogFunc_NumTopics_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - LogFunc_NumTopics_descriptor(), enum_t_value); -} -inline bool LogFunc_NumTopics_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LogFunc_NumTopics* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - LogFunc_NumTopics_descriptor(), name, value); -} -enum StopInvalidStmt_Type : int { - StopInvalidStmt_Type_STOP = 0, - StopInvalidStmt_Type_INVALID = 1 -}; -bool StopInvalidStmt_Type_IsValid(int value); -constexpr StopInvalidStmt_Type StopInvalidStmt_Type_Type_MIN = StopInvalidStmt_Type_STOP; -constexpr StopInvalidStmt_Type StopInvalidStmt_Type_Type_MAX = StopInvalidStmt_Type_INVALID; -constexpr int StopInvalidStmt_Type_Type_ARRAYSIZE = StopInvalidStmt_Type_Type_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StopInvalidStmt_Type_descriptor(); -template -inline const std::string& StopInvalidStmt_Type_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function StopInvalidStmt_Type_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - StopInvalidStmt_Type_descriptor(), enum_t_value); -} -inline bool StopInvalidStmt_Type_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StopInvalidStmt_Type* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - StopInvalidStmt_Type_descriptor(), name, value); -} -enum RetRevStmt_Type : int { - RetRevStmt_Type_RETURN = 0, - RetRevStmt_Type_REVERT = 1 -}; -bool RetRevStmt_Type_IsValid(int value); -constexpr RetRevStmt_Type RetRevStmt_Type_Type_MIN = RetRevStmt_Type_RETURN; -constexpr RetRevStmt_Type RetRevStmt_Type_Type_MAX = RetRevStmt_Type_REVERT; -constexpr int RetRevStmt_Type_Type_ARRAYSIZE = RetRevStmt_Type_Type_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RetRevStmt_Type_descriptor(); -template -inline const std::string& RetRevStmt_Type_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function RetRevStmt_Type_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - RetRevStmt_Type_descriptor(), enum_t_value); -} -inline bool RetRevStmt_Type_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RetRevStmt_Type* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - RetRevStmt_Type_descriptor(), name, value); -} -enum Program_Version : int { - Program_Version_HOMESTEAD = 0, - Program_Version_TANGERINE = 1, - Program_Version_SPURIOUS = 2, - Program_Version_BYZANTIUM = 3, - Program_Version_CONSTANTINOPLE = 4, - Program_Version_PETERSBURG = 5, - Program_Version_ISTANBUL = 6, - Program_Version_BERLIN = 7, - Program_Version_LONDON = 8, - Program_Version_PARIS = 9, - Program_Version_SHANGHAI = 10, - Program_Version_CANCUN = 11, - Program_Version_PRAGUE = 12, - Program_Version_OSAKA = 13 -}; -bool Program_Version_IsValid(int value); -constexpr Program_Version Program_Version_Version_MIN = Program_Version_HOMESTEAD; -constexpr Program_Version Program_Version_Version_MAX = Program_Version_OSAKA; -constexpr int Program_Version_Version_ARRAYSIZE = Program_Version_Version_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Program_Version_descriptor(); -template -inline const std::string& Program_Version_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Program_Version_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Program_Version_descriptor(), enum_t_value); -} -inline bool Program_Version_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Program_Version* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - Program_Version_descriptor(), name, value); -} -// =================================================================== - -class VarDecl final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.VarDecl) */ { - public: - inline VarDecl() : VarDecl(nullptr) {} - ~VarDecl() override; - explicit PROTOBUF_CONSTEXPR VarDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - VarDecl(const VarDecl& from); - VarDecl(VarDecl&& from) noexcept - : VarDecl() { - *this = ::std::move(from); - } - - inline VarDecl& operator=(const VarDecl& from) { - CopyFrom(from); - return *this; - } - inline VarDecl& operator=(VarDecl&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const VarDecl& default_instance() { - return *internal_default_instance(); - } - static inline const VarDecl* internal_default_instance() { - return reinterpret_cast( - &_VarDecl_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(VarDecl& a, VarDecl& b) { - a.Swap(&b); - } - inline void Swap(VarDecl* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(VarDecl* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - VarDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VarDecl& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const VarDecl& from) { - VarDecl::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(VarDecl* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.VarDecl"; - } - protected: - explicit VarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kExprFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; - bool has_expr() const; - private: - bool _internal_has_expr() const; - public: - void clear_expr(); - const ::solidity::yul::test::yul_fuzzer::Expression& expr() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_expr(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_expr(); - void set_allocated_expr(::solidity::yul::test::yul_fuzzer::Expression* expr); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_expr() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_expr(); - public: - void unsafe_arena_set_allocated_expr( - ::solidity::yul::test::yul_fuzzer::Expression* expr); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_expr(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.VarDecl) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* expr_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class MultiVarDecl final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.MultiVarDecl) */ { - public: - inline MultiVarDecl() : MultiVarDecl(nullptr) {} - ~MultiVarDecl() override; - explicit PROTOBUF_CONSTEXPR MultiVarDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MultiVarDecl(const MultiVarDecl& from); - MultiVarDecl(MultiVarDecl&& from) noexcept - : MultiVarDecl() { - *this = ::std::move(from); - } - - inline MultiVarDecl& operator=(const MultiVarDecl& from) { - CopyFrom(from); - return *this; - } - inline MultiVarDecl& operator=(MultiVarDecl&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MultiVarDecl& default_instance() { - return *internal_default_instance(); - } - static inline const MultiVarDecl* internal_default_instance() { - return reinterpret_cast( - &_MultiVarDecl_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(MultiVarDecl& a, MultiVarDecl& b) { - a.Swap(&b); - } - inline void Swap(MultiVarDecl* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MultiVarDecl* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MultiVarDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MultiVarDecl& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MultiVarDecl& from) { - MultiVarDecl::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MultiVarDecl* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.MultiVarDecl"; - } - protected: - explicit MultiVarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNumVarsFieldNumber = 1, - }; - // required uint32 num_vars = 1; - bool has_num_vars() const; - private: - bool _internal_has_num_vars() const; - public: - void clear_num_vars(); - uint32_t num_vars() const; - void set_num_vars(uint32_t value); - private: - uint32_t _internal_num_vars() const; - void _internal_set_num_vars(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.MultiVarDecl) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t num_vars_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class LowLevelCall final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.LowLevelCall) */ { - public: - inline LowLevelCall() : LowLevelCall(nullptr) {} - ~LowLevelCall() override; - explicit PROTOBUF_CONSTEXPR LowLevelCall(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - LowLevelCall(const LowLevelCall& from); - LowLevelCall(LowLevelCall&& from) noexcept - : LowLevelCall() { - *this = ::std::move(from); - } - - inline LowLevelCall& operator=(const LowLevelCall& from) { - CopyFrom(from); - return *this; - } - inline LowLevelCall& operator=(LowLevelCall&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const LowLevelCall& default_instance() { - return *internal_default_instance(); - } - static inline const LowLevelCall* internal_default_instance() { - return reinterpret_cast( - &_LowLevelCall_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(LowLevelCall& a, LowLevelCall& b) { - a.Swap(&b); - } - inline void Swap(LowLevelCall* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(LowLevelCall* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - LowLevelCall* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const LowLevelCall& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const LowLevelCall& from) { - LowLevelCall::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(LowLevelCall* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.LowLevelCall"; - } - protected: - explicit LowLevelCall(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef LowLevelCall_Type Type; - static constexpr Type CALL = - LowLevelCall_Type_CALL; - static constexpr Type CALLCODE = - LowLevelCall_Type_CALLCODE; - static constexpr Type DELEGATECALL = - LowLevelCall_Type_DELEGATECALL; - static constexpr Type STATICCALL = - LowLevelCall_Type_STATICCALL; - static inline bool Type_IsValid(int value) { - return LowLevelCall_Type_IsValid(value); - } - static constexpr Type Type_MIN = - LowLevelCall_Type_Type_MIN; - static constexpr Type Type_MAX = - LowLevelCall_Type_Type_MAX; - static constexpr int Type_ARRAYSIZE = - LowLevelCall_Type_Type_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Type_descriptor() { - return LowLevelCall_Type_descriptor(); - } - template - static inline const std::string& Type_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Type_Name."); - return LowLevelCall_Type_Name(enum_t_value); - } - static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Type* value) { - return LowLevelCall_Type_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kGasFieldNumber = 2, - kAddrFieldNumber = 3, - kWeiFieldNumber = 4, - kInFieldNumber = 5, - kInsizeFieldNumber = 6, - kOutFieldNumber = 7, - kOutsizeFieldNumber = 8, - kCalltyFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; - bool has_gas() const; - private: - bool _internal_has_gas() const; - public: - void clear_gas(); - const ::solidity::yul::test::yul_fuzzer::Expression& gas() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_gas(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_gas(); - void set_allocated_gas(::solidity::yul::test::yul_fuzzer::Expression* gas); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_gas() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_gas(); - public: - void unsafe_arena_set_allocated_gas( - ::solidity::yul::test::yul_fuzzer::Expression* gas); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_gas(); - - // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; - bool has_addr() const; - private: - bool _internal_has_addr() const; - public: - void clear_addr(); - const ::solidity::yul::test::yul_fuzzer::Expression& addr() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_addr(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_addr(); - void set_allocated_addr(::solidity::yul::test::yul_fuzzer::Expression* addr); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_addr() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_addr(); - public: - void unsafe_arena_set_allocated_addr( - ::solidity::yul::test::yul_fuzzer::Expression* addr); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_addr(); - - // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; - bool has_wei() const; - private: - bool _internal_has_wei() const; - public: - void clear_wei(); - const ::solidity::yul::test::yul_fuzzer::Expression& wei() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_wei(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_wei(); - void set_allocated_wei(::solidity::yul::test::yul_fuzzer::Expression* wei); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_wei() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_wei(); - public: - void unsafe_arena_set_allocated_wei( - ::solidity::yul::test::yul_fuzzer::Expression* wei); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_wei(); - - // required .solidity.yul.test.yul_fuzzer.Expression in = 5; - bool has_in() const; - private: - bool _internal_has_in() const; - public: - void clear_in(); - const ::solidity::yul::test::yul_fuzzer::Expression& in() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_in(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_in(); - void set_allocated_in(::solidity::yul::test::yul_fuzzer::Expression* in); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_in() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_in(); - public: - void unsafe_arena_set_allocated_in( - ::solidity::yul::test::yul_fuzzer::Expression* in); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_in(); - - // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; - bool has_insize() const; - private: - bool _internal_has_insize() const; - public: - void clear_insize(); - const ::solidity::yul::test::yul_fuzzer::Expression& insize() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_insize(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_insize(); - void set_allocated_insize(::solidity::yul::test::yul_fuzzer::Expression* insize); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_insize() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_insize(); - public: - void unsafe_arena_set_allocated_insize( - ::solidity::yul::test::yul_fuzzer::Expression* insize); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_insize(); - - // required .solidity.yul.test.yul_fuzzer.Expression out = 7; - bool has_out() const; - private: - bool _internal_has_out() const; - public: - void clear_out(); - const ::solidity::yul::test::yul_fuzzer::Expression& out() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_out(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_out(); - void set_allocated_out(::solidity::yul::test::yul_fuzzer::Expression* out); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_out() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_out(); - public: - void unsafe_arena_set_allocated_out( - ::solidity::yul::test::yul_fuzzer::Expression* out); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_out(); - - // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; - bool has_outsize() const; - private: - bool _internal_has_outsize() const; - public: - void clear_outsize(); - const ::solidity::yul::test::yul_fuzzer::Expression& outsize() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_outsize(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_outsize(); - void set_allocated_outsize(::solidity::yul::test::yul_fuzzer::Expression* outsize); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_outsize() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_outsize(); - public: - void unsafe_arena_set_allocated_outsize( - ::solidity::yul::test::yul_fuzzer::Expression* outsize); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_outsize(); - - // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; - bool has_callty() const; - private: - bool _internal_has_callty() const; - public: - void clear_callty(); - ::solidity::yul::test::yul_fuzzer::LowLevelCall_Type callty() const; - void set_callty(::solidity::yul::test::yul_fuzzer::LowLevelCall_Type value); - private: - ::solidity::yul::test::yul_fuzzer::LowLevelCall_Type _internal_callty() const; - void _internal_set_callty(::solidity::yul::test::yul_fuzzer::LowLevelCall_Type value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.LowLevelCall) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* gas_; - ::solidity::yul::test::yul_fuzzer::Expression* addr_; - ::solidity::yul::test::yul_fuzzer::Expression* wei_; - ::solidity::yul::test::yul_fuzzer::Expression* in_; - ::solidity::yul::test::yul_fuzzer::Expression* insize_; - ::solidity::yul::test::yul_fuzzer::Expression* out_; - ::solidity::yul::test::yul_fuzzer::Expression* outsize_; - int callty_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Create final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.Create) */ { - public: - inline Create() : Create(nullptr) {} - ~Create() override; - explicit PROTOBUF_CONSTEXPR Create(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Create(const Create& from); - Create(Create&& from) noexcept - : Create() { - *this = ::std::move(from); - } - - inline Create& operator=(const Create& from) { - CopyFrom(from); - return *this; - } - inline Create& operator=(Create&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Create& default_instance() { - return *internal_default_instance(); - } - static inline const Create* internal_default_instance() { - return reinterpret_cast( - &_Create_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(Create& a, Create& b) { - a.Swap(&b); - } - inline void Swap(Create* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Create* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Create* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Create& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Create& from) { - Create::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Create* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.Create"; - } - protected: - explicit Create(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef Create_Type Type; - static constexpr Type CREATE = - Create_Type_CREATE; - static constexpr Type CREATE2 = - Create_Type_CREATE2; - static inline bool Type_IsValid(int value) { - return Create_Type_IsValid(value); - } - static constexpr Type Type_MIN = - Create_Type_Type_MIN; - static constexpr Type Type_MAX = - Create_Type_Type_MAX; - static constexpr int Type_ARRAYSIZE = - Create_Type_Type_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Type_descriptor() { - return Create_Type_descriptor(); - } - template - static inline const std::string& Type_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Type_Name."); - return Create_Type_Name(enum_t_value); - } - static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Type* value) { - return Create_Type_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kWeiFieldNumber = 2, - kPositionFieldNumber = 3, - kSizeFieldNumber = 4, - kValueFieldNumber = 5, - kCreatetyFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; - bool has_wei() const; - private: - bool _internal_has_wei() const; - public: - void clear_wei(); - const ::solidity::yul::test::yul_fuzzer::Expression& wei() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_wei(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_wei(); - void set_allocated_wei(::solidity::yul::test::yul_fuzzer::Expression* wei); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_wei() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_wei(); - public: - void unsafe_arena_set_allocated_wei( - ::solidity::yul::test::yul_fuzzer::Expression* wei); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_wei(); - - // required .solidity.yul.test.yul_fuzzer.Expression position = 3; - bool has_position() const; - private: - bool _internal_has_position() const; - public: - void clear_position(); - const ::solidity::yul::test::yul_fuzzer::Expression& position() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_position(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_position(); - void set_allocated_position(::solidity::yul::test::yul_fuzzer::Expression* position); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_position() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_position(); - public: - void unsafe_arena_set_allocated_position( - ::solidity::yul::test::yul_fuzzer::Expression* position); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_position(); - - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - bool has_size() const; - private: - bool _internal_has_size() const; - public: - void clear_size(); - const ::solidity::yul::test::yul_fuzzer::Expression& size() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_size(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_size(); - void set_allocated_size(::solidity::yul::test::yul_fuzzer::Expression* size); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_size() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_size(); - public: - void unsafe_arena_set_allocated_size( - ::solidity::yul::test::yul_fuzzer::Expression* size); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_size(); - - // required .solidity.yul.test.yul_fuzzer.Expression value = 5; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const ::solidity::yul::test::yul_fuzzer::Expression& value() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_value(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_value(); - void set_allocated_value(::solidity::yul::test::yul_fuzzer::Expression* value); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_value() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_value(); - public: - void unsafe_arena_set_allocated_value( - ::solidity::yul::test::yul_fuzzer::Expression* value); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_value(); - - // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; - bool has_createty() const; - private: - bool _internal_has_createty() const; - public: - void clear_createty(); - ::solidity::yul::test::yul_fuzzer::Create_Type createty() const; - void set_createty(::solidity::yul::test::yul_fuzzer::Create_Type value); - private: - ::solidity::yul::test::yul_fuzzer::Create_Type _internal_createty() const; - void _internal_set_createty(::solidity::yul::test::yul_fuzzer::Create_Type value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.Create) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* wei_; - ::solidity::yul::test::yul_fuzzer::Expression* position_; - ::solidity::yul::test::yul_fuzzer::Expression* size_; - ::solidity::yul::test::yul_fuzzer::Expression* value_; - int createty_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class FunctionCall final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.FunctionCall) */ { - public: - inline FunctionCall() : FunctionCall(nullptr) {} - ~FunctionCall() override; - explicit PROTOBUF_CONSTEXPR FunctionCall(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - FunctionCall(const FunctionCall& from); - FunctionCall(FunctionCall&& from) noexcept - : FunctionCall() { - *this = ::std::move(from); - } - - inline FunctionCall& operator=(const FunctionCall& from) { - CopyFrom(from); - return *this; - } - inline FunctionCall& operator=(FunctionCall&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const FunctionCall& default_instance() { - return *internal_default_instance(); - } - static inline const FunctionCall* internal_default_instance() { - return reinterpret_cast( - &_FunctionCall_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(FunctionCall& a, FunctionCall& b) { - a.Swap(&b); - } - inline void Swap(FunctionCall* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FunctionCall* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - FunctionCall* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FunctionCall& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const FunctionCall& from) { - FunctionCall::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(FunctionCall* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.FunctionCall"; - } - protected: - explicit FunctionCall(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInParam1FieldNumber = 1, - kInParam2FieldNumber = 2, - kInParam3FieldNumber = 3, - kInParam4FieldNumber = 4, - }; - // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; - bool has_in_param1() const; - private: - bool _internal_has_in_param1() const; - public: - void clear_in_param1(); - const ::solidity::yul::test::yul_fuzzer::Expression& in_param1() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_in_param1(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_in_param1(); - void set_allocated_in_param1(::solidity::yul::test::yul_fuzzer::Expression* in_param1); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_in_param1() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_in_param1(); - public: - void unsafe_arena_set_allocated_in_param1( - ::solidity::yul::test::yul_fuzzer::Expression* in_param1); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_in_param1(); - - // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; - bool has_in_param2() const; - private: - bool _internal_has_in_param2() const; - public: - void clear_in_param2(); - const ::solidity::yul::test::yul_fuzzer::Expression& in_param2() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_in_param2(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_in_param2(); - void set_allocated_in_param2(::solidity::yul::test::yul_fuzzer::Expression* in_param2); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_in_param2() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_in_param2(); - public: - void unsafe_arena_set_allocated_in_param2( - ::solidity::yul::test::yul_fuzzer::Expression* in_param2); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_in_param2(); - - // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; - bool has_in_param3() const; - private: - bool _internal_has_in_param3() const; - public: - void clear_in_param3(); - const ::solidity::yul::test::yul_fuzzer::Expression& in_param3() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_in_param3(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_in_param3(); - void set_allocated_in_param3(::solidity::yul::test::yul_fuzzer::Expression* in_param3); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_in_param3() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_in_param3(); - public: - void unsafe_arena_set_allocated_in_param3( - ::solidity::yul::test::yul_fuzzer::Expression* in_param3); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_in_param3(); - - // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; - bool has_in_param4() const; - private: - bool _internal_has_in_param4() const; - public: - void clear_in_param4(); - const ::solidity::yul::test::yul_fuzzer::Expression& in_param4() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_in_param4(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_in_param4(); - void set_allocated_in_param4(::solidity::yul::test::yul_fuzzer::Expression* in_param4); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_in_param4() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_in_param4(); - public: - void unsafe_arena_set_allocated_in_param4( - ::solidity::yul::test::yul_fuzzer::Expression* in_param4); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_in_param4(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.FunctionCall) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* in_param1_; - ::solidity::yul::test::yul_fuzzer::Expression* in_param2_; - ::solidity::yul::test::yul_fuzzer::Expression* in_param3_; - ::solidity::yul::test::yul_fuzzer::Expression* in_param4_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class TypedVarDecl final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.TypedVarDecl) */ { - public: - inline TypedVarDecl() : TypedVarDecl(nullptr) {} - ~TypedVarDecl() override; - explicit PROTOBUF_CONSTEXPR TypedVarDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TypedVarDecl(const TypedVarDecl& from); - TypedVarDecl(TypedVarDecl&& from) noexcept - : TypedVarDecl() { - *this = ::std::move(from); - } - - inline TypedVarDecl& operator=(const TypedVarDecl& from) { - CopyFrom(from); - return *this; - } - inline TypedVarDecl& operator=(TypedVarDecl&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TypedVarDecl& default_instance() { - return *internal_default_instance(); - } - static inline const TypedVarDecl* internal_default_instance() { - return reinterpret_cast( - &_TypedVarDecl_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(TypedVarDecl& a, TypedVarDecl& b) { - a.Swap(&b); - } - inline void Swap(TypedVarDecl* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TypedVarDecl* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TypedVarDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TypedVarDecl& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TypedVarDecl& from) { - TypedVarDecl::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TypedVarDecl* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.TypedVarDecl"; - } - protected: - explicit TypedVarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef TypedVarDecl_TypeName TypeName; - static constexpr TypeName BOOL = - TypedVarDecl_TypeName_BOOL; - static constexpr TypeName U8 = - TypedVarDecl_TypeName_U8; - static constexpr TypeName U32 = - TypedVarDecl_TypeName_U32; - static constexpr TypeName U64 = - TypedVarDecl_TypeName_U64; - static constexpr TypeName U128 = - TypedVarDecl_TypeName_U128; - static constexpr TypeName U256 = - TypedVarDecl_TypeName_U256; - static constexpr TypeName S8 = - TypedVarDecl_TypeName_S8; - static constexpr TypeName S32 = - TypedVarDecl_TypeName_S32; - static constexpr TypeName S64 = - TypedVarDecl_TypeName_S64; - static constexpr TypeName S128 = - TypedVarDecl_TypeName_S128; - static constexpr TypeName S256 = - TypedVarDecl_TypeName_S256; - static inline bool TypeName_IsValid(int value) { - return TypedVarDecl_TypeName_IsValid(value); - } - static constexpr TypeName TypeName_MIN = - TypedVarDecl_TypeName_TypeName_MIN; - static constexpr TypeName TypeName_MAX = - TypedVarDecl_TypeName_TypeName_MAX; - static constexpr int TypeName_ARRAYSIZE = - TypedVarDecl_TypeName_TypeName_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - TypeName_descriptor() { - return TypedVarDecl_TypeName_descriptor(); - } - template - static inline const std::string& TypeName_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function TypeName_Name."); - return TypedVarDecl_TypeName_Name(enum_t_value); - } - static inline bool TypeName_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - TypeName* value) { - return TypedVarDecl_TypeName_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kExprFieldNumber = 3, - kIdFieldNumber = 1, - kTypeFieldNumber = 2, - }; - // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; - bool has_expr() const; - private: - bool _internal_has_expr() const; - public: - void clear_expr(); - const ::solidity::yul::test::yul_fuzzer::Expression& expr() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_expr(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_expr(); - void set_allocated_expr(::solidity::yul::test::yul_fuzzer::Expression* expr); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_expr() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_expr(); - public: - void unsafe_arena_set_allocated_expr( - ::solidity::yul::test::yul_fuzzer::Expression* expr); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_expr(); - - // required int32 id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - int32_t id() const; - void set_id(int32_t value); - private: - int32_t _internal_id() const; - void _internal_set_id(int32_t value); - public: - - // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - ::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName type() const; - void set_type(::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName value); - private: - ::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName _internal_type() const; - void _internal_set_type(::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.TypedVarDecl) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* expr_; - int32_t id_; - int type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class VarRef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.VarRef) */ { - public: - inline VarRef() : VarRef(nullptr) {} - ~VarRef() override; - explicit PROTOBUF_CONSTEXPR VarRef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - VarRef(const VarRef& from); - VarRef(VarRef&& from) noexcept - : VarRef() { - *this = ::std::move(from); - } - - inline VarRef& operator=(const VarRef& from) { - CopyFrom(from); - return *this; - } - inline VarRef& operator=(VarRef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const VarRef& default_instance() { - return *internal_default_instance(); - } - static inline const VarRef* internal_default_instance() { - return reinterpret_cast( - &_VarRef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(VarRef& a, VarRef& b) { - a.Swap(&b); - } - inline void Swap(VarRef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(VarRef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - VarRef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VarRef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const VarRef& from) { - VarRef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(VarRef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.VarRef"; - } - protected: - explicit VarRef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVarnumFieldNumber = 1, - }; - // required int32 varnum = 1; - bool has_varnum() const; - private: - bool _internal_has_varnum() const; - public: - void clear_varnum(); - int32_t varnum() const; - void set_varnum(int32_t value); - private: - int32_t _internal_varnum() const; - void _internal_set_varnum(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.VarRef) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t varnum_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Literal final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.Literal) */ { - public: - inline Literal() : Literal(nullptr) {} - ~Literal() override; - explicit PROTOBUF_CONSTEXPR Literal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Literal(const Literal& from); - Literal(Literal&& from) noexcept - : Literal() { - *this = ::std::move(from); - } - - inline Literal& operator=(const Literal& from) { - CopyFrom(from); - return *this; - } - inline Literal& operator=(Literal&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Literal& default_instance() { - return *internal_default_instance(); - } - enum LiteralOneofCase { - kIntval = 1, - kHexval = 2, - kStrval = 3, - kBoolval = 4, - LITERAL_ONEOF_NOT_SET = 0, - }; - - static inline const Literal* internal_default_instance() { - return reinterpret_cast( - &_Literal_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(Literal& a, Literal& b) { - a.Swap(&b); - } - inline void Swap(Literal* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Literal* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Literal* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Literal& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Literal& from) { - Literal::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Literal* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.Literal"; - } - protected: - explicit Literal(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIntvalFieldNumber = 1, - kHexvalFieldNumber = 2, - kStrvalFieldNumber = 3, - kBoolvalFieldNumber = 4, - }; - // uint64 intval = 1; - bool has_intval() const; - private: - bool _internal_has_intval() const; - public: - void clear_intval(); - uint64_t intval() const; - void set_intval(uint64_t value); - private: - uint64_t _internal_intval() const; - void _internal_set_intval(uint64_t value); - public: - - // string hexval = 2; - bool has_hexval() const; - private: - bool _internal_has_hexval() const; - public: - void clear_hexval(); - const std::string& hexval() const; - template - void set_hexval(ArgT0&& arg0, ArgT... args); - std::string* mutable_hexval(); - PROTOBUF_NODISCARD std::string* release_hexval(); - void set_allocated_hexval(std::string* hexval); - private: - const std::string& _internal_hexval() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_hexval(const std::string& value); - std::string* _internal_mutable_hexval(); - public: - - // string strval = 3; - bool has_strval() const; - private: - bool _internal_has_strval() const; - public: - void clear_strval(); - const std::string& strval() const; - template - void set_strval(ArgT0&& arg0, ArgT... args); - std::string* mutable_strval(); - PROTOBUF_NODISCARD std::string* release_strval(); - void set_allocated_strval(std::string* strval); - private: - const std::string& _internal_strval() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_strval(const std::string& value); - std::string* _internal_mutable_strval(); - public: - - // bool boolval = 4; - bool has_boolval() const; - private: - bool _internal_has_boolval() const; - public: - void clear_boolval(); - bool boolval() const; - void set_boolval(bool value); - private: - bool _internal_boolval() const; - void _internal_set_boolval(bool value); - public: - - void clear_literal_oneof(); - LiteralOneofCase literal_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.Literal) - private: - class _Internal; - void set_has_intval(); - void set_has_hexval(); - void set_has_strval(); - void set_has_boolval(); - - inline bool has_literal_oneof() const; - inline void clear_has_literal_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union LiteralOneofUnion { - constexpr LiteralOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - uint64_t intval_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hexval_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr strval_; - bool boolval_; - } literal_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class TypedLiteral final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.TypedLiteral) */ { - public: - inline TypedLiteral() : TypedLiteral(nullptr) {} - ~TypedLiteral() override; - explicit PROTOBUF_CONSTEXPR TypedLiteral(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TypedLiteral(const TypedLiteral& from); - TypedLiteral(TypedLiteral&& from) noexcept - : TypedLiteral() { - *this = ::std::move(from); - } - - inline TypedLiteral& operator=(const TypedLiteral& from) { - CopyFrom(from); - return *this; - } - inline TypedLiteral& operator=(TypedLiteral&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TypedLiteral& default_instance() { - return *internal_default_instance(); - } - static inline const TypedLiteral* internal_default_instance() { - return reinterpret_cast( - &_TypedLiteral_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(TypedLiteral& a, TypedLiteral& b) { - a.Swap(&b); - } - inline void Swap(TypedLiteral* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TypedLiteral* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TypedLiteral* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TypedLiteral& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TypedLiteral& from) { - TypedLiteral::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TypedLiteral* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.TypedLiteral"; - } - protected: - explicit TypedLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef TypedLiteral_TypeName TypeName; - static constexpr TypeName BOOL = - TypedLiteral_TypeName_BOOL; - static constexpr TypeName U8 = - TypedLiteral_TypeName_U8; - static constexpr TypeName U32 = - TypedLiteral_TypeName_U32; - static constexpr TypeName U64 = - TypedLiteral_TypeName_U64; - static constexpr TypeName U128 = - TypedLiteral_TypeName_U128; - static constexpr TypeName U256 = - TypedLiteral_TypeName_U256; - static constexpr TypeName S8 = - TypedLiteral_TypeName_S8; - static constexpr TypeName S32 = - TypedLiteral_TypeName_S32; - static constexpr TypeName S64 = - TypedLiteral_TypeName_S64; - static constexpr TypeName S128 = - TypedLiteral_TypeName_S128; - static constexpr TypeName S256 = - TypedLiteral_TypeName_S256; - static inline bool TypeName_IsValid(int value) { - return TypedLiteral_TypeName_IsValid(value); - } - static constexpr TypeName TypeName_MIN = - TypedLiteral_TypeName_TypeName_MIN; - static constexpr TypeName TypeName_MAX = - TypedLiteral_TypeName_TypeName_MAX; - static constexpr int TypeName_ARRAYSIZE = - TypedLiteral_TypeName_TypeName_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - TypeName_descriptor() { - return TypedLiteral_TypeName_descriptor(); - } - template - static inline const std::string& TypeName_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function TypeName_Name."); - return TypedLiteral_TypeName_Name(enum_t_value); - } - static inline bool TypeName_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - TypeName* value) { - return TypedLiteral_TypeName_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kValFieldNumber = 1, - kTypeFieldNumber = 2, - }; - // required int32 val = 1; - bool has_val() const; - private: - bool _internal_has_val() const; - public: - void clear_val(); - int32_t val() const; - void set_val(int32_t value); - private: - int32_t _internal_val() const; - void _internal_set_val(int32_t value); - public: - - // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - ::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName type() const; - void set_type(::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName value); - private: - ::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName _internal_type() const; - void _internal_set_type(::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.TypedLiteral) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t val_; - int type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class BinaryOp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.BinaryOp) */ { - public: - inline BinaryOp() : BinaryOp(nullptr) {} - ~BinaryOp() override; - explicit PROTOBUF_CONSTEXPR BinaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BinaryOp(const BinaryOp& from); - BinaryOp(BinaryOp&& from) noexcept - : BinaryOp() { - *this = ::std::move(from); - } - - inline BinaryOp& operator=(const BinaryOp& from) { - CopyFrom(from); - return *this; - } - inline BinaryOp& operator=(BinaryOp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BinaryOp& default_instance() { - return *internal_default_instance(); - } - static inline const BinaryOp* internal_default_instance() { - return reinterpret_cast( - &_BinaryOp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(BinaryOp& a, BinaryOp& b) { - a.Swap(&b); - } - inline void Swap(BinaryOp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BinaryOp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BinaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const BinaryOp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const BinaryOp& from) { - BinaryOp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(BinaryOp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.BinaryOp"; - } - protected: - explicit BinaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef BinaryOp_BOp BOp; - static constexpr BOp ADD = - BinaryOp_BOp_ADD; - static constexpr BOp SUB = - BinaryOp_BOp_SUB; - static constexpr BOp MUL = - BinaryOp_BOp_MUL; - static constexpr BOp DIV = - BinaryOp_BOp_DIV; - static constexpr BOp MOD = - BinaryOp_BOp_MOD; - static constexpr BOp XOR = - BinaryOp_BOp_XOR; - static constexpr BOp AND = - BinaryOp_BOp_AND; - static constexpr BOp OR = - BinaryOp_BOp_OR; - static constexpr BOp EQ = - BinaryOp_BOp_EQ; - static constexpr BOp LT = - BinaryOp_BOp_LT; - static constexpr BOp GT = - BinaryOp_BOp_GT; - static constexpr BOp SHR = - BinaryOp_BOp_SHR; - static constexpr BOp SHL = - BinaryOp_BOp_SHL; - static constexpr BOp SAR = - BinaryOp_BOp_SAR; - static constexpr BOp SDIV = - BinaryOp_BOp_SDIV; - static constexpr BOp SMOD = - BinaryOp_BOp_SMOD; - static constexpr BOp EXP = - BinaryOp_BOp_EXP; - static constexpr BOp SLT = - BinaryOp_BOp_SLT; - static constexpr BOp SGT = - BinaryOp_BOp_SGT; - static constexpr BOp BYTE = - BinaryOp_BOp_BYTE; - static constexpr BOp SI = - BinaryOp_BOp_SI; - static constexpr BOp KECCAK = - BinaryOp_BOp_KECCAK; - static inline bool BOp_IsValid(int value) { - return BinaryOp_BOp_IsValid(value); - } - static constexpr BOp BOp_MIN = - BinaryOp_BOp_BOp_MIN; - static constexpr BOp BOp_MAX = - BinaryOp_BOp_BOp_MAX; - static constexpr int BOp_ARRAYSIZE = - BinaryOp_BOp_BOp_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - BOp_descriptor() { - return BinaryOp_BOp_descriptor(); - } - template - static inline const std::string& BOp_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function BOp_Name."); - return BinaryOp_BOp_Name(enum_t_value); - } - static inline bool BOp_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - BOp* value) { - return BinaryOp_BOp_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kLeftFieldNumber = 2, - kRightFieldNumber = 3, - kOpFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Expression left = 2; - bool has_left() const; - private: - bool _internal_has_left() const; - public: - void clear_left(); - const ::solidity::yul::test::yul_fuzzer::Expression& left() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_left(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_left(); - void set_allocated_left(::solidity::yul::test::yul_fuzzer::Expression* left); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_left() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_left(); - public: - void unsafe_arena_set_allocated_left( - ::solidity::yul::test::yul_fuzzer::Expression* left); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_left(); - - // required .solidity.yul.test.yul_fuzzer.Expression right = 3; - bool has_right() const; - private: - bool _internal_has_right() const; - public: - void clear_right(); - const ::solidity::yul::test::yul_fuzzer::Expression& right() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_right(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_right(); - void set_allocated_right(::solidity::yul::test::yul_fuzzer::Expression* right); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_right() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_right(); - public: - void unsafe_arena_set_allocated_right( - ::solidity::yul::test::yul_fuzzer::Expression* right); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_right(); - - // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; - bool has_op() const; - private: - bool _internal_has_op() const; - public: - void clear_op(); - ::solidity::yul::test::yul_fuzzer::BinaryOp_BOp op() const; - void set_op(::solidity::yul::test::yul_fuzzer::BinaryOp_BOp value); - private: - ::solidity::yul::test::yul_fuzzer::BinaryOp_BOp _internal_op() const; - void _internal_set_op(::solidity::yul::test::yul_fuzzer::BinaryOp_BOp value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.BinaryOp) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* left_; - ::solidity::yul::test::yul_fuzzer::Expression* right_; - int op_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class UnaryOp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.UnaryOp) */ { - public: - inline UnaryOp() : UnaryOp(nullptr) {} - ~UnaryOp() override; - explicit PROTOBUF_CONSTEXPR UnaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - UnaryOp(const UnaryOp& from); - UnaryOp(UnaryOp&& from) noexcept - : UnaryOp() { - *this = ::std::move(from); - } - - inline UnaryOp& operator=(const UnaryOp& from) { - CopyFrom(from); - return *this; - } - inline UnaryOp& operator=(UnaryOp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const UnaryOp& default_instance() { - return *internal_default_instance(); - } - static inline const UnaryOp* internal_default_instance() { - return reinterpret_cast( - &_UnaryOp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(UnaryOp& a, UnaryOp& b) { - a.Swap(&b); - } - inline void Swap(UnaryOp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UnaryOp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UnaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UnaryOp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const UnaryOp& from) { - UnaryOp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(UnaryOp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.UnaryOp"; - } - protected: - explicit UnaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef UnaryOp_UOp UOp; - static constexpr UOp NOT = - UnaryOp_UOp_NOT; - static constexpr UOp MLOAD = - UnaryOp_UOp_MLOAD; - static constexpr UOp SLOAD = - UnaryOp_UOp_SLOAD; - static constexpr UOp TLOAD = - UnaryOp_UOp_TLOAD; - static constexpr UOp ISZERO = - UnaryOp_UOp_ISZERO; - static constexpr UOp CALLDATALOAD = - UnaryOp_UOp_CALLDATALOAD; - static constexpr UOp EXTCODESIZE = - UnaryOp_UOp_EXTCODESIZE; - static constexpr UOp EXTCODEHASH = - UnaryOp_UOp_EXTCODEHASH; - static constexpr UOp BALANCE = - UnaryOp_UOp_BALANCE; - static constexpr UOp BLOCKHASH = - UnaryOp_UOp_BLOCKHASH; - static constexpr UOp BLOBHASH = - UnaryOp_UOp_BLOBHASH; - static inline bool UOp_IsValid(int value) { - return UnaryOp_UOp_IsValid(value); - } - static constexpr UOp UOp_MIN = - UnaryOp_UOp_UOp_MIN; - static constexpr UOp UOp_MAX = - UnaryOp_UOp_UOp_MAX; - static constexpr int UOp_ARRAYSIZE = - UnaryOp_UOp_UOp_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - UOp_descriptor() { - return UnaryOp_UOp_descriptor(); - } - template - static inline const std::string& UOp_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function UOp_Name."); - return UnaryOp_UOp_Name(enum_t_value); - } - static inline bool UOp_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - UOp* value) { - return UnaryOp_UOp_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kOperandFieldNumber = 2, - kOpFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; - bool has_operand() const; - private: - bool _internal_has_operand() const; - public: - void clear_operand(); - const ::solidity::yul::test::yul_fuzzer::Expression& operand() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_operand(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_operand(); - void set_allocated_operand(::solidity::yul::test::yul_fuzzer::Expression* operand); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_operand() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_operand(); - public: - void unsafe_arena_set_allocated_operand( - ::solidity::yul::test::yul_fuzzer::Expression* operand); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_operand(); - - // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; - bool has_op() const; - private: - bool _internal_has_op() const; - public: - void clear_op(); - ::solidity::yul::test::yul_fuzzer::UnaryOp_UOp op() const; - void set_op(::solidity::yul::test::yul_fuzzer::UnaryOp_UOp value); - private: - ::solidity::yul::test::yul_fuzzer::UnaryOp_UOp _internal_op() const; - void _internal_set_op(::solidity::yul::test::yul_fuzzer::UnaryOp_UOp value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.UnaryOp) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* operand_; - int op_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class UnaryOpData final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.UnaryOpData) */ { - public: - inline UnaryOpData() : UnaryOpData(nullptr) {} - ~UnaryOpData() override; - explicit PROTOBUF_CONSTEXPR UnaryOpData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - UnaryOpData(const UnaryOpData& from); - UnaryOpData(UnaryOpData&& from) noexcept - : UnaryOpData() { - *this = ::std::move(from); - } - - inline UnaryOpData& operator=(const UnaryOpData& from) { - CopyFrom(from); - return *this; - } - inline UnaryOpData& operator=(UnaryOpData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const UnaryOpData& default_instance() { - return *internal_default_instance(); - } - static inline const UnaryOpData* internal_default_instance() { - return reinterpret_cast( - &_UnaryOpData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(UnaryOpData& a, UnaryOpData& b) { - a.Swap(&b); - } - inline void Swap(UnaryOpData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UnaryOpData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UnaryOpData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UnaryOpData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const UnaryOpData& from) { - UnaryOpData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(UnaryOpData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.UnaryOpData"; - } - protected: - explicit UnaryOpData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef UnaryOpData_UOpData UOpData; - static constexpr UOpData SIZE = - UnaryOpData_UOpData_SIZE; - static constexpr UOpData OFFSET = - UnaryOpData_UOpData_OFFSET; - static inline bool UOpData_IsValid(int value) { - return UnaryOpData_UOpData_IsValid(value); - } - static constexpr UOpData UOpData_MIN = - UnaryOpData_UOpData_UOpData_MIN; - static constexpr UOpData UOpData_MAX = - UnaryOpData_UOpData_UOpData_MAX; - static constexpr int UOpData_ARRAYSIZE = - UnaryOpData_UOpData_UOpData_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - UOpData_descriptor() { - return UnaryOpData_UOpData_descriptor(); - } - template - static inline const std::string& UOpData_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function UOpData_Name."); - return UnaryOpData_UOpData_Name(enum_t_value); - } - static inline bool UOpData_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - UOpData* value) { - return UnaryOpData_UOpData_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kIdentifierFieldNumber = 2, - kOpFieldNumber = 1, - }; - // required uint64 identifier = 2; - bool has_identifier() const; - private: - bool _internal_has_identifier() const; - public: - void clear_identifier(); - uint64_t identifier() const; - void set_identifier(uint64_t value); - private: - uint64_t _internal_identifier() const; - void _internal_set_identifier(uint64_t value); - public: - - // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; - bool has_op() const; - private: - bool _internal_has_op() const; - public: - void clear_op(); - ::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData op() const; - void set_op(::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData value); - private: - ::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData _internal_op() const; - void _internal_set_op(::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.UnaryOpData) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t identifier_; - int op_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class TernaryOp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.TernaryOp) */ { - public: - inline TernaryOp() : TernaryOp(nullptr) {} - ~TernaryOp() override; - explicit PROTOBUF_CONSTEXPR TernaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TernaryOp(const TernaryOp& from); - TernaryOp(TernaryOp&& from) noexcept - : TernaryOp() { - *this = ::std::move(from); - } - - inline TernaryOp& operator=(const TernaryOp& from) { - CopyFrom(from); - return *this; - } - inline TernaryOp& operator=(TernaryOp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TernaryOp& default_instance() { - return *internal_default_instance(); - } - static inline const TernaryOp* internal_default_instance() { - return reinterpret_cast( - &_TernaryOp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(TernaryOp& a, TernaryOp& b) { - a.Swap(&b); - } - inline void Swap(TernaryOp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TernaryOp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TernaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TernaryOp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TernaryOp& from) { - TernaryOp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TernaryOp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.TernaryOp"; - } - protected: - explicit TernaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef TernaryOp_TOp TOp; - static constexpr TOp ADDM = - TernaryOp_TOp_ADDM; - static constexpr TOp MULM = - TernaryOp_TOp_MULM; - static inline bool TOp_IsValid(int value) { - return TernaryOp_TOp_IsValid(value); - } - static constexpr TOp TOp_MIN = - TernaryOp_TOp_TOp_MIN; - static constexpr TOp TOp_MAX = - TernaryOp_TOp_TOp_MAX; - static constexpr int TOp_ARRAYSIZE = - TernaryOp_TOp_TOp_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - TOp_descriptor() { - return TernaryOp_TOp_descriptor(); - } - template - static inline const std::string& TOp_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function TOp_Name."); - return TernaryOp_TOp_Name(enum_t_value); - } - static inline bool TOp_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - TOp* value) { - return TernaryOp_TOp_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kArg1FieldNumber = 2, - kArg2FieldNumber = 3, - kArg3FieldNumber = 4, - kOpFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; - bool has_arg1() const; - private: - bool _internal_has_arg1() const; - public: - void clear_arg1(); - const ::solidity::yul::test::yul_fuzzer::Expression& arg1() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_arg1(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_arg1(); - void set_allocated_arg1(::solidity::yul::test::yul_fuzzer::Expression* arg1); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_arg1() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_arg1(); - public: - void unsafe_arena_set_allocated_arg1( - ::solidity::yul::test::yul_fuzzer::Expression* arg1); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_arg1(); - - // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; - bool has_arg2() const; - private: - bool _internal_has_arg2() const; - public: - void clear_arg2(); - const ::solidity::yul::test::yul_fuzzer::Expression& arg2() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_arg2(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_arg2(); - void set_allocated_arg2(::solidity::yul::test::yul_fuzzer::Expression* arg2); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_arg2() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_arg2(); - public: - void unsafe_arena_set_allocated_arg2( - ::solidity::yul::test::yul_fuzzer::Expression* arg2); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_arg2(); - - // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; - bool has_arg3() const; - private: - bool _internal_has_arg3() const; - public: - void clear_arg3(); - const ::solidity::yul::test::yul_fuzzer::Expression& arg3() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_arg3(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_arg3(); - void set_allocated_arg3(::solidity::yul::test::yul_fuzzer::Expression* arg3); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_arg3() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_arg3(); - public: - void unsafe_arena_set_allocated_arg3( - ::solidity::yul::test::yul_fuzzer::Expression* arg3); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_arg3(); - - // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; - bool has_op() const; - private: - bool _internal_has_op() const; - public: - void clear_op(); - ::solidity::yul::test::yul_fuzzer::TernaryOp_TOp op() const; - void set_op(::solidity::yul::test::yul_fuzzer::TernaryOp_TOp value); - private: - ::solidity::yul::test::yul_fuzzer::TernaryOp_TOp _internal_op() const; - void _internal_set_op(::solidity::yul::test::yul_fuzzer::TernaryOp_TOp value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.TernaryOp) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* arg1_; - ::solidity::yul::test::yul_fuzzer::Expression* arg2_; - ::solidity::yul::test::yul_fuzzer::Expression* arg3_; - int op_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class CopyFunc final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.CopyFunc) */ { - public: - inline CopyFunc() : CopyFunc(nullptr) {} - ~CopyFunc() override; - explicit PROTOBUF_CONSTEXPR CopyFunc(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CopyFunc(const CopyFunc& from); - CopyFunc(CopyFunc&& from) noexcept - : CopyFunc() { - *this = ::std::move(from); - } - - inline CopyFunc& operator=(const CopyFunc& from) { - CopyFrom(from); - return *this; - } - inline CopyFunc& operator=(CopyFunc&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CopyFunc& default_instance() { - return *internal_default_instance(); - } - static inline const CopyFunc* internal_default_instance() { - return reinterpret_cast( - &_CopyFunc_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CopyFunc& a, CopyFunc& b) { - a.Swap(&b); - } - inline void Swap(CopyFunc* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CopyFunc* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CopyFunc* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CopyFunc& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CopyFunc& from) { - CopyFunc::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CopyFunc* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.CopyFunc"; - } - protected: - explicit CopyFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CopyFunc_CopyType CopyType; - static constexpr CopyType CALLDATA = - CopyFunc_CopyType_CALLDATA; - static constexpr CopyType CODE = - CopyFunc_CopyType_CODE; - static constexpr CopyType RETURNDATA = - CopyFunc_CopyType_RETURNDATA; - static constexpr CopyType DATA = - CopyFunc_CopyType_DATA; - static constexpr CopyType MEMORY = - CopyFunc_CopyType_MEMORY; - static inline bool CopyType_IsValid(int value) { - return CopyFunc_CopyType_IsValid(value); - } - static constexpr CopyType CopyType_MIN = - CopyFunc_CopyType_CopyType_MIN; - static constexpr CopyType CopyType_MAX = - CopyFunc_CopyType_CopyType_MAX; - static constexpr int CopyType_ARRAYSIZE = - CopyFunc_CopyType_CopyType_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - CopyType_descriptor() { - return CopyFunc_CopyType_descriptor(); - } - template - static inline const std::string& CopyType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CopyType_Name."); - return CopyFunc_CopyType_Name(enum_t_value); - } - static inline bool CopyType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - CopyType* value) { - return CopyFunc_CopyType_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kTargetFieldNumber = 2, - kSourceFieldNumber = 3, - kSizeFieldNumber = 4, - kCtFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Expression target = 2; - bool has_target() const; - private: - bool _internal_has_target() const; - public: - void clear_target(); - const ::solidity::yul::test::yul_fuzzer::Expression& target() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_target(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_target(); - void set_allocated_target(::solidity::yul::test::yul_fuzzer::Expression* target); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_target() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_target(); - public: - void unsafe_arena_set_allocated_target( - ::solidity::yul::test::yul_fuzzer::Expression* target); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_target(); - - // required .solidity.yul.test.yul_fuzzer.Expression source = 3; - bool has_source() const; - private: - bool _internal_has_source() const; - public: - void clear_source(); - const ::solidity::yul::test::yul_fuzzer::Expression& source() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_source(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_source(); - void set_allocated_source(::solidity::yul::test::yul_fuzzer::Expression* source); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_source() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_source(); - public: - void unsafe_arena_set_allocated_source( - ::solidity::yul::test::yul_fuzzer::Expression* source); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_source(); - - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - bool has_size() const; - private: - bool _internal_has_size() const; - public: - void clear_size(); - const ::solidity::yul::test::yul_fuzzer::Expression& size() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_size(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_size(); - void set_allocated_size(::solidity::yul::test::yul_fuzzer::Expression* size); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_size() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_size(); - public: - void unsafe_arena_set_allocated_size( - ::solidity::yul::test::yul_fuzzer::Expression* size); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_size(); - - // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; - bool has_ct() const; - private: - bool _internal_has_ct() const; - public: - void clear_ct(); - ::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType ct() const; - void set_ct(::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType value); - private: - ::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType _internal_ct() const; - void _internal_set_ct(::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.CopyFunc) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* target_; - ::solidity::yul::test::yul_fuzzer::Expression* source_; - ::solidity::yul::test::yul_fuzzer::Expression* size_; - int ct_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class ExtCodeCopy final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.ExtCodeCopy) */ { - public: - inline ExtCodeCopy() : ExtCodeCopy(nullptr) {} - ~ExtCodeCopy() override; - explicit PROTOBUF_CONSTEXPR ExtCodeCopy(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ExtCodeCopy(const ExtCodeCopy& from); - ExtCodeCopy(ExtCodeCopy&& from) noexcept - : ExtCodeCopy() { - *this = ::std::move(from); - } - - inline ExtCodeCopy& operator=(const ExtCodeCopy& from) { - CopyFrom(from); - return *this; - } - inline ExtCodeCopy& operator=(ExtCodeCopy&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ExtCodeCopy& default_instance() { - return *internal_default_instance(); - } - static inline const ExtCodeCopy* internal_default_instance() { - return reinterpret_cast( - &_ExtCodeCopy_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(ExtCodeCopy& a, ExtCodeCopy& b) { - a.Swap(&b); - } - inline void Swap(ExtCodeCopy* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ExtCodeCopy* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ExtCodeCopy* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ExtCodeCopy& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ExtCodeCopy& from) { - ExtCodeCopy::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ExtCodeCopy* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.ExtCodeCopy"; - } - protected: - explicit ExtCodeCopy(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAddrFieldNumber = 1, - kTargetFieldNumber = 2, - kSourceFieldNumber = 3, - kSizeFieldNumber = 4, - }; - // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; - bool has_addr() const; - private: - bool _internal_has_addr() const; - public: - void clear_addr(); - const ::solidity::yul::test::yul_fuzzer::Expression& addr() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_addr(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_addr(); - void set_allocated_addr(::solidity::yul::test::yul_fuzzer::Expression* addr); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_addr() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_addr(); - public: - void unsafe_arena_set_allocated_addr( - ::solidity::yul::test::yul_fuzzer::Expression* addr); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_addr(); - - // required .solidity.yul.test.yul_fuzzer.Expression target = 2; - bool has_target() const; - private: - bool _internal_has_target() const; - public: - void clear_target(); - const ::solidity::yul::test::yul_fuzzer::Expression& target() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_target(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_target(); - void set_allocated_target(::solidity::yul::test::yul_fuzzer::Expression* target); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_target() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_target(); - public: - void unsafe_arena_set_allocated_target( - ::solidity::yul::test::yul_fuzzer::Expression* target); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_target(); - - // required .solidity.yul.test.yul_fuzzer.Expression source = 3; - bool has_source() const; - private: - bool _internal_has_source() const; - public: - void clear_source(); - const ::solidity::yul::test::yul_fuzzer::Expression& source() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_source(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_source(); - void set_allocated_source(::solidity::yul::test::yul_fuzzer::Expression* source); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_source() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_source(); - public: - void unsafe_arena_set_allocated_source( - ::solidity::yul::test::yul_fuzzer::Expression* source); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_source(); - - // required .solidity.yul.test.yul_fuzzer.Expression size = 4; - bool has_size() const; - private: - bool _internal_has_size() const; - public: - void clear_size(); - const ::solidity::yul::test::yul_fuzzer::Expression& size() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_size(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_size(); - void set_allocated_size(::solidity::yul::test::yul_fuzzer::Expression* size); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_size() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_size(); - public: - void unsafe_arena_set_allocated_size( - ::solidity::yul::test::yul_fuzzer::Expression* size); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_size(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.ExtCodeCopy) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* addr_; - ::solidity::yul::test::yul_fuzzer::Expression* target_; - ::solidity::yul::test::yul_fuzzer::Expression* source_; - ::solidity::yul::test::yul_fuzzer::Expression* size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class NullaryOp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.NullaryOp) */ { - public: - inline NullaryOp() : NullaryOp(nullptr) {} - ~NullaryOp() override; - explicit PROTOBUF_CONSTEXPR NullaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - NullaryOp(const NullaryOp& from); - NullaryOp(NullaryOp&& from) noexcept - : NullaryOp() { - *this = ::std::move(from); - } - - inline NullaryOp& operator=(const NullaryOp& from) { - CopyFrom(from); - return *this; - } - inline NullaryOp& operator=(NullaryOp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const NullaryOp& default_instance() { - return *internal_default_instance(); - } - static inline const NullaryOp* internal_default_instance() { - return reinterpret_cast( - &_NullaryOp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(NullaryOp& a, NullaryOp& b) { - a.Swap(&b); - } - inline void Swap(NullaryOp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(NullaryOp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NullaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NullaryOp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const NullaryOp& from) { - NullaryOp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(NullaryOp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.NullaryOp"; - } - protected: - explicit NullaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef NullaryOp_NOp NOp; - static constexpr NOp MSIZE = - NullaryOp_NOp_MSIZE; - static constexpr NOp GAS = - NullaryOp_NOp_GAS; - static constexpr NOp CALLDATASIZE = - NullaryOp_NOp_CALLDATASIZE; - static constexpr NOp CODESIZE = - NullaryOp_NOp_CODESIZE; - static constexpr NOp RETURNDATASIZE = - NullaryOp_NOp_RETURNDATASIZE; - static constexpr NOp ADDRESS = - NullaryOp_NOp_ADDRESS; - static constexpr NOp ORIGIN = - NullaryOp_NOp_ORIGIN; - static constexpr NOp CALLER = - NullaryOp_NOp_CALLER; - static constexpr NOp CALLVALUE = - NullaryOp_NOp_CALLVALUE; - static constexpr NOp GASPRICE = - NullaryOp_NOp_GASPRICE; - static constexpr NOp COINBASE = - NullaryOp_NOp_COINBASE; - static constexpr NOp TIMESTAMP = - NullaryOp_NOp_TIMESTAMP; - static constexpr NOp NUMBER = - NullaryOp_NOp_NUMBER; - static constexpr NOp DIFFICULTY = - NullaryOp_NOp_DIFFICULTY; - static constexpr NOp GASLIMIT = - NullaryOp_NOp_GASLIMIT; - static constexpr NOp SELFBALANCE = - NullaryOp_NOp_SELFBALANCE; - static constexpr NOp CHAINID = - NullaryOp_NOp_CHAINID; - static constexpr NOp BASEFEE = - NullaryOp_NOp_BASEFEE; - static constexpr NOp BLOBBASEFEE = - NullaryOp_NOp_BLOBBASEFEE; - static inline bool NOp_IsValid(int value) { - return NullaryOp_NOp_IsValid(value); - } - static constexpr NOp NOp_MIN = - NullaryOp_NOp_NOp_MIN; - static constexpr NOp NOp_MAX = - NullaryOp_NOp_NOp_MAX; - static constexpr int NOp_ARRAYSIZE = - NullaryOp_NOp_NOp_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - NOp_descriptor() { - return NullaryOp_NOp_descriptor(); - } - template - static inline const std::string& NOp_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function NOp_Name."); - return NullaryOp_NOp_Name(enum_t_value); - } - static inline bool NOp_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - NOp* value) { - return NullaryOp_NOp_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kOpFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; - bool has_op() const; - private: - bool _internal_has_op() const; - public: - void clear_op(); - ::solidity::yul::test::yul_fuzzer::NullaryOp_NOp op() const; - void set_op(::solidity::yul::test::yul_fuzzer::NullaryOp_NOp value); - private: - ::solidity::yul::test::yul_fuzzer::NullaryOp_NOp _internal_op() const; - void _internal_set_op(::solidity::yul::test::yul_fuzzer::NullaryOp_NOp value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.NullaryOp) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int op_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class StoreFunc final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.StoreFunc) */ { - public: - inline StoreFunc() : StoreFunc(nullptr) {} - ~StoreFunc() override; - explicit PROTOBUF_CONSTEXPR StoreFunc(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StoreFunc(const StoreFunc& from); - StoreFunc(StoreFunc&& from) noexcept - : StoreFunc() { - *this = ::std::move(from); - } - - inline StoreFunc& operator=(const StoreFunc& from) { - CopyFrom(from); - return *this; - } - inline StoreFunc& operator=(StoreFunc&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StoreFunc& default_instance() { - return *internal_default_instance(); - } - static inline const StoreFunc* internal_default_instance() { - return reinterpret_cast( - &_StoreFunc_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(StoreFunc& a, StoreFunc& b) { - a.Swap(&b); - } - inline void Swap(StoreFunc* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StoreFunc* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StoreFunc* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StoreFunc& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StoreFunc& from) { - StoreFunc::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StoreFunc* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.StoreFunc"; - } - protected: - explicit StoreFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef StoreFunc_Storage Storage; - static constexpr Storage MSTORE = - StoreFunc_Storage_MSTORE; - static constexpr Storage SSTORE = - StoreFunc_Storage_SSTORE; - static constexpr Storage MSTORE8 = - StoreFunc_Storage_MSTORE8; - static constexpr Storage TSTORE = - StoreFunc_Storage_TSTORE; - static inline bool Storage_IsValid(int value) { - return StoreFunc_Storage_IsValid(value); - } - static constexpr Storage Storage_MIN = - StoreFunc_Storage_Storage_MIN; - static constexpr Storage Storage_MAX = - StoreFunc_Storage_Storage_MAX; - static constexpr int Storage_ARRAYSIZE = - StoreFunc_Storage_Storage_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Storage_descriptor() { - return StoreFunc_Storage_descriptor(); - } - template - static inline const std::string& Storage_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Storage_Name."); - return StoreFunc_Storage_Name(enum_t_value); - } - static inline bool Storage_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Storage* value) { - return StoreFunc_Storage_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kLocFieldNumber = 1, - kValFieldNumber = 2, - kStFieldNumber = 3, - }; - // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; - bool has_loc() const; - private: - bool _internal_has_loc() const; - public: - void clear_loc(); - const ::solidity::yul::test::yul_fuzzer::Expression& loc() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_loc(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_loc(); - void set_allocated_loc(::solidity::yul::test::yul_fuzzer::Expression* loc); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_loc() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_loc(); - public: - void unsafe_arena_set_allocated_loc( - ::solidity::yul::test::yul_fuzzer::Expression* loc); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_loc(); - - // required .solidity.yul.test.yul_fuzzer.Expression val = 2; - bool has_val() const; - private: - bool _internal_has_val() const; - public: - void clear_val(); - const ::solidity::yul::test::yul_fuzzer::Expression& val() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_val(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_val(); - void set_allocated_val(::solidity::yul::test::yul_fuzzer::Expression* val); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_val() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_val(); - public: - void unsafe_arena_set_allocated_val( - ::solidity::yul::test::yul_fuzzer::Expression* val); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_val(); - - // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; - bool has_st() const; - private: - bool _internal_has_st() const; - public: - void clear_st(); - ::solidity::yul::test::yul_fuzzer::StoreFunc_Storage st() const; - void set_st(::solidity::yul::test::yul_fuzzer::StoreFunc_Storage value); - private: - ::solidity::yul::test::yul_fuzzer::StoreFunc_Storage _internal_st() const; - void _internal_set_st(::solidity::yul::test::yul_fuzzer::StoreFunc_Storage value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.StoreFunc) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* loc_; - ::solidity::yul::test::yul_fuzzer::Expression* val_; - int st_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class LogFunc final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.LogFunc) */ { - public: - inline LogFunc() : LogFunc(nullptr) {} - ~LogFunc() override; - explicit PROTOBUF_CONSTEXPR LogFunc(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - LogFunc(const LogFunc& from); - LogFunc(LogFunc&& from) noexcept - : LogFunc() { - *this = ::std::move(from); - } - - inline LogFunc& operator=(const LogFunc& from) { - CopyFrom(from); - return *this; - } - inline LogFunc& operator=(LogFunc&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const LogFunc& default_instance() { - return *internal_default_instance(); - } - static inline const LogFunc* internal_default_instance() { - return reinterpret_cast( - &_LogFunc_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(LogFunc& a, LogFunc& b) { - a.Swap(&b); - } - inline void Swap(LogFunc* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(LogFunc* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - LogFunc* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const LogFunc& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const LogFunc& from) { - LogFunc::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(LogFunc* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.LogFunc"; - } - protected: - explicit LogFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef LogFunc_NumTopics NumTopics; - static constexpr NumTopics ZERO = - LogFunc_NumTopics_ZERO; - static constexpr NumTopics ONE = - LogFunc_NumTopics_ONE; - static constexpr NumTopics TWO = - LogFunc_NumTopics_TWO; - static constexpr NumTopics THREE = - LogFunc_NumTopics_THREE; - static constexpr NumTopics FOUR = - LogFunc_NumTopics_FOUR; - static inline bool NumTopics_IsValid(int value) { - return LogFunc_NumTopics_IsValid(value); - } - static constexpr NumTopics NumTopics_MIN = - LogFunc_NumTopics_NumTopics_MIN; - static constexpr NumTopics NumTopics_MAX = - LogFunc_NumTopics_NumTopics_MAX; - static constexpr int NumTopics_ARRAYSIZE = - LogFunc_NumTopics_NumTopics_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - NumTopics_descriptor() { - return LogFunc_NumTopics_descriptor(); - } - template - static inline const std::string& NumTopics_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function NumTopics_Name."); - return LogFunc_NumTopics_Name(enum_t_value); - } - static inline bool NumTopics_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - NumTopics* value) { - return LogFunc_NumTopics_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kPosFieldNumber = 1, - kSizeFieldNumber = 2, - kT1FieldNumber = 4, - kT2FieldNumber = 5, - kT3FieldNumber = 6, - kT4FieldNumber = 7, - kNumTopicsFieldNumber = 3, - }; - // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; - bool has_pos() const; - private: - bool _internal_has_pos() const; - public: - void clear_pos(); - const ::solidity::yul::test::yul_fuzzer::Expression& pos() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_pos(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_pos(); - void set_allocated_pos(::solidity::yul::test::yul_fuzzer::Expression* pos); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_pos() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_pos(); - public: - void unsafe_arena_set_allocated_pos( - ::solidity::yul::test::yul_fuzzer::Expression* pos); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_pos(); - - // required .solidity.yul.test.yul_fuzzer.Expression size = 2; - bool has_size() const; - private: - bool _internal_has_size() const; - public: - void clear_size(); - const ::solidity::yul::test::yul_fuzzer::Expression& size() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_size(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_size(); - void set_allocated_size(::solidity::yul::test::yul_fuzzer::Expression* size); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_size() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_size(); - public: - void unsafe_arena_set_allocated_size( - ::solidity::yul::test::yul_fuzzer::Expression* size); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_size(); - - // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; - bool has_t1() const; - private: - bool _internal_has_t1() const; - public: - void clear_t1(); - const ::solidity::yul::test::yul_fuzzer::Expression& t1() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_t1(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_t1(); - void set_allocated_t1(::solidity::yul::test::yul_fuzzer::Expression* t1); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_t1() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_t1(); - public: - void unsafe_arena_set_allocated_t1( - ::solidity::yul::test::yul_fuzzer::Expression* t1); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_t1(); - - // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; - bool has_t2() const; - private: - bool _internal_has_t2() const; - public: - void clear_t2(); - const ::solidity::yul::test::yul_fuzzer::Expression& t2() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_t2(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_t2(); - void set_allocated_t2(::solidity::yul::test::yul_fuzzer::Expression* t2); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_t2() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_t2(); - public: - void unsafe_arena_set_allocated_t2( - ::solidity::yul::test::yul_fuzzer::Expression* t2); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_t2(); - - // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; - bool has_t3() const; - private: - bool _internal_has_t3() const; - public: - void clear_t3(); - const ::solidity::yul::test::yul_fuzzer::Expression& t3() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_t3(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_t3(); - void set_allocated_t3(::solidity::yul::test::yul_fuzzer::Expression* t3); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_t3() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_t3(); - public: - void unsafe_arena_set_allocated_t3( - ::solidity::yul::test::yul_fuzzer::Expression* t3); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_t3(); - - // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; - bool has_t4() const; - private: - bool _internal_has_t4() const; - public: - void clear_t4(); - const ::solidity::yul::test::yul_fuzzer::Expression& t4() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_t4(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_t4(); - void set_allocated_t4(::solidity::yul::test::yul_fuzzer::Expression* t4); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_t4() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_t4(); - public: - void unsafe_arena_set_allocated_t4( - ::solidity::yul::test::yul_fuzzer::Expression* t4); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_t4(); - - // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; - bool has_num_topics() const; - private: - bool _internal_has_num_topics() const; - public: - void clear_num_topics(); - ::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics num_topics() const; - void set_num_topics(::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics value); - private: - ::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics _internal_num_topics() const; - void _internal_set_num_topics(::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.LogFunc) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* pos_; - ::solidity::yul::test::yul_fuzzer::Expression* size_; - ::solidity::yul::test::yul_fuzzer::Expression* t1_; - ::solidity::yul::test::yul_fuzzer::Expression* t2_; - ::solidity::yul::test::yul_fuzzer::Expression* t3_; - ::solidity::yul::test::yul_fuzzer::Expression* t4_; - int num_topics_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Expression final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.Expression) */ { - public: - inline Expression() : Expression(nullptr) {} - ~Expression() override; - explicit PROTOBUF_CONSTEXPR Expression(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Expression(const Expression& from); - Expression(Expression&& from) noexcept - : Expression() { - *this = ::std::move(from); - } - - inline Expression& operator=(const Expression& from) { - CopyFrom(from); - return *this; - } - inline Expression& operator=(Expression&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Expression& default_instance() { - return *internal_default_instance(); - } - enum ExprOneofCase { - kVarref = 1, - kCons = 2, - kBinop = 3, - kUnop = 4, - kTop = 5, - kNop = 6, - kFuncExpr = 7, - kLowcall = 8, - kCreate = 9, - kUnopdata = 10, - EXPR_ONEOF_NOT_SET = 0, - }; - - static inline const Expression* internal_default_instance() { - return reinterpret_cast( - &_Expression_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(Expression& a, Expression& b) { - a.Swap(&b); - } - inline void Swap(Expression* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Expression* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Expression* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Expression& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Expression& from) { - Expression::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Expression* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.Expression"; - } - protected: - explicit Expression(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVarrefFieldNumber = 1, - kConsFieldNumber = 2, - kBinopFieldNumber = 3, - kUnopFieldNumber = 4, - kTopFieldNumber = 5, - kNopFieldNumber = 6, - kFuncExprFieldNumber = 7, - kLowcallFieldNumber = 8, - kCreateFieldNumber = 9, - kUnopdataFieldNumber = 10, - }; - // .solidity.yul.test.yul_fuzzer.VarRef varref = 1; - bool has_varref() const; - private: - bool _internal_has_varref() const; - public: - void clear_varref(); - const ::solidity::yul::test::yul_fuzzer::VarRef& varref() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::VarRef* release_varref(); - ::solidity::yul::test::yul_fuzzer::VarRef* mutable_varref(); - void set_allocated_varref(::solidity::yul::test::yul_fuzzer::VarRef* varref); - private: - const ::solidity::yul::test::yul_fuzzer::VarRef& _internal_varref() const; - ::solidity::yul::test::yul_fuzzer::VarRef* _internal_mutable_varref(); - public: - void unsafe_arena_set_allocated_varref( - ::solidity::yul::test::yul_fuzzer::VarRef* varref); - ::solidity::yul::test::yul_fuzzer::VarRef* unsafe_arena_release_varref(); - - // .solidity.yul.test.yul_fuzzer.Literal cons = 2; - bool has_cons() const; - private: - bool _internal_has_cons() const; - public: - void clear_cons(); - const ::solidity::yul::test::yul_fuzzer::Literal& cons() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Literal* release_cons(); - ::solidity::yul::test::yul_fuzzer::Literal* mutable_cons(); - void set_allocated_cons(::solidity::yul::test::yul_fuzzer::Literal* cons); - private: - const ::solidity::yul::test::yul_fuzzer::Literal& _internal_cons() const; - ::solidity::yul::test::yul_fuzzer::Literal* _internal_mutable_cons(); - public: - void unsafe_arena_set_allocated_cons( - ::solidity::yul::test::yul_fuzzer::Literal* cons); - ::solidity::yul::test::yul_fuzzer::Literal* unsafe_arena_release_cons(); - - // .solidity.yul.test.yul_fuzzer.BinaryOp binop = 3; - bool has_binop() const; - private: - bool _internal_has_binop() const; - public: - void clear_binop(); - const ::solidity::yul::test::yul_fuzzer::BinaryOp& binop() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::BinaryOp* release_binop(); - ::solidity::yul::test::yul_fuzzer::BinaryOp* mutable_binop(); - void set_allocated_binop(::solidity::yul::test::yul_fuzzer::BinaryOp* binop); - private: - const ::solidity::yul::test::yul_fuzzer::BinaryOp& _internal_binop() const; - ::solidity::yul::test::yul_fuzzer::BinaryOp* _internal_mutable_binop(); - public: - void unsafe_arena_set_allocated_binop( - ::solidity::yul::test::yul_fuzzer::BinaryOp* binop); - ::solidity::yul::test::yul_fuzzer::BinaryOp* unsafe_arena_release_binop(); - - // .solidity.yul.test.yul_fuzzer.UnaryOp unop = 4; - bool has_unop() const; - private: - bool _internal_has_unop() const; - public: - void clear_unop(); - const ::solidity::yul::test::yul_fuzzer::UnaryOp& unop() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::UnaryOp* release_unop(); - ::solidity::yul::test::yul_fuzzer::UnaryOp* mutable_unop(); - void set_allocated_unop(::solidity::yul::test::yul_fuzzer::UnaryOp* unop); - private: - const ::solidity::yul::test::yul_fuzzer::UnaryOp& _internal_unop() const; - ::solidity::yul::test::yul_fuzzer::UnaryOp* _internal_mutable_unop(); - public: - void unsafe_arena_set_allocated_unop( - ::solidity::yul::test::yul_fuzzer::UnaryOp* unop); - ::solidity::yul::test::yul_fuzzer::UnaryOp* unsafe_arena_release_unop(); - - // .solidity.yul.test.yul_fuzzer.TernaryOp top = 5; - bool has_top() const; - private: - bool _internal_has_top() const; - public: - void clear_top(); - const ::solidity::yul::test::yul_fuzzer::TernaryOp& top() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::TernaryOp* release_top(); - ::solidity::yul::test::yul_fuzzer::TernaryOp* mutable_top(); - void set_allocated_top(::solidity::yul::test::yul_fuzzer::TernaryOp* top); - private: - const ::solidity::yul::test::yul_fuzzer::TernaryOp& _internal_top() const; - ::solidity::yul::test::yul_fuzzer::TernaryOp* _internal_mutable_top(); - public: - void unsafe_arena_set_allocated_top( - ::solidity::yul::test::yul_fuzzer::TernaryOp* top); - ::solidity::yul::test::yul_fuzzer::TernaryOp* unsafe_arena_release_top(); - - // .solidity.yul.test.yul_fuzzer.NullaryOp nop = 6; - bool has_nop() const; - private: - bool _internal_has_nop() const; - public: - void clear_nop(); - const ::solidity::yul::test::yul_fuzzer::NullaryOp& nop() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::NullaryOp* release_nop(); - ::solidity::yul::test::yul_fuzzer::NullaryOp* mutable_nop(); - void set_allocated_nop(::solidity::yul::test::yul_fuzzer::NullaryOp* nop); - private: - const ::solidity::yul::test::yul_fuzzer::NullaryOp& _internal_nop() const; - ::solidity::yul::test::yul_fuzzer::NullaryOp* _internal_mutable_nop(); - public: - void unsafe_arena_set_allocated_nop( - ::solidity::yul::test::yul_fuzzer::NullaryOp* nop); - ::solidity::yul::test::yul_fuzzer::NullaryOp* unsafe_arena_release_nop(); - - // .solidity.yul.test.yul_fuzzer.FunctionCall func_expr = 7; - bool has_func_expr() const; - private: - bool _internal_has_func_expr() const; - public: - void clear_func_expr(); - const ::solidity::yul::test::yul_fuzzer::FunctionCall& func_expr() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::FunctionCall* release_func_expr(); - ::solidity::yul::test::yul_fuzzer::FunctionCall* mutable_func_expr(); - void set_allocated_func_expr(::solidity::yul::test::yul_fuzzer::FunctionCall* func_expr); - private: - const ::solidity::yul::test::yul_fuzzer::FunctionCall& _internal_func_expr() const; - ::solidity::yul::test::yul_fuzzer::FunctionCall* _internal_mutable_func_expr(); - public: - void unsafe_arena_set_allocated_func_expr( - ::solidity::yul::test::yul_fuzzer::FunctionCall* func_expr); - ::solidity::yul::test::yul_fuzzer::FunctionCall* unsafe_arena_release_func_expr(); - - // .solidity.yul.test.yul_fuzzer.LowLevelCall lowcall = 8; - bool has_lowcall() const; - private: - bool _internal_has_lowcall() const; - public: - void clear_lowcall(); - const ::solidity::yul::test::yul_fuzzer::LowLevelCall& lowcall() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::LowLevelCall* release_lowcall(); - ::solidity::yul::test::yul_fuzzer::LowLevelCall* mutable_lowcall(); - void set_allocated_lowcall(::solidity::yul::test::yul_fuzzer::LowLevelCall* lowcall); - private: - const ::solidity::yul::test::yul_fuzzer::LowLevelCall& _internal_lowcall() const; - ::solidity::yul::test::yul_fuzzer::LowLevelCall* _internal_mutable_lowcall(); - public: - void unsafe_arena_set_allocated_lowcall( - ::solidity::yul::test::yul_fuzzer::LowLevelCall* lowcall); - ::solidity::yul::test::yul_fuzzer::LowLevelCall* unsafe_arena_release_lowcall(); - - // .solidity.yul.test.yul_fuzzer.Create create = 9; - bool has_create() const; - private: - bool _internal_has_create() const; - public: - void clear_create(); - const ::solidity::yul::test::yul_fuzzer::Create& create() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Create* release_create(); - ::solidity::yul::test::yul_fuzzer::Create* mutable_create(); - void set_allocated_create(::solidity::yul::test::yul_fuzzer::Create* create); - private: - const ::solidity::yul::test::yul_fuzzer::Create& _internal_create() const; - ::solidity::yul::test::yul_fuzzer::Create* _internal_mutable_create(); - public: - void unsafe_arena_set_allocated_create( - ::solidity::yul::test::yul_fuzzer::Create* create); - ::solidity::yul::test::yul_fuzzer::Create* unsafe_arena_release_create(); - - // .solidity.yul.test.yul_fuzzer.UnaryOpData unopdata = 10; - bool has_unopdata() const; - private: - bool _internal_has_unopdata() const; - public: - void clear_unopdata(); - const ::solidity::yul::test::yul_fuzzer::UnaryOpData& unopdata() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::UnaryOpData* release_unopdata(); - ::solidity::yul::test::yul_fuzzer::UnaryOpData* mutable_unopdata(); - void set_allocated_unopdata(::solidity::yul::test::yul_fuzzer::UnaryOpData* unopdata); - private: - const ::solidity::yul::test::yul_fuzzer::UnaryOpData& _internal_unopdata() const; - ::solidity::yul::test::yul_fuzzer::UnaryOpData* _internal_mutable_unopdata(); - public: - void unsafe_arena_set_allocated_unopdata( - ::solidity::yul::test::yul_fuzzer::UnaryOpData* unopdata); - ::solidity::yul::test::yul_fuzzer::UnaryOpData* unsafe_arena_release_unopdata(); - - void clear_expr_oneof(); - ExprOneofCase expr_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.Expression) - private: - class _Internal; - void set_has_varref(); - void set_has_cons(); - void set_has_binop(); - void set_has_unop(); - void set_has_top(); - void set_has_nop(); - void set_has_func_expr(); - void set_has_lowcall(); - void set_has_create(); - void set_has_unopdata(); - - inline bool has_expr_oneof() const; - inline void clear_has_expr_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union ExprOneofUnion { - constexpr ExprOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::yul::test::yul_fuzzer::VarRef* varref_; - ::solidity::yul::test::yul_fuzzer::Literal* cons_; - ::solidity::yul::test::yul_fuzzer::BinaryOp* binop_; - ::solidity::yul::test::yul_fuzzer::UnaryOp* unop_; - ::solidity::yul::test::yul_fuzzer::TernaryOp* top_; - ::solidity::yul::test::yul_fuzzer::NullaryOp* nop_; - ::solidity::yul::test::yul_fuzzer::FunctionCall* func_expr_; - ::solidity::yul::test::yul_fuzzer::LowLevelCall* lowcall_; - ::solidity::yul::test::yul_fuzzer::Create* create_; - ::solidity::yul::test::yul_fuzzer::UnaryOpData* unopdata_; - } expr_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class AssignmentStatement final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.AssignmentStatement) */ { - public: - inline AssignmentStatement() : AssignmentStatement(nullptr) {} - ~AssignmentStatement() override; - explicit PROTOBUF_CONSTEXPR AssignmentStatement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - AssignmentStatement(const AssignmentStatement& from); - AssignmentStatement(AssignmentStatement&& from) noexcept - : AssignmentStatement() { - *this = ::std::move(from); - } - - inline AssignmentStatement& operator=(const AssignmentStatement& from) { - CopyFrom(from); - return *this; - } - inline AssignmentStatement& operator=(AssignmentStatement&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AssignmentStatement& default_instance() { - return *internal_default_instance(); - } - static inline const AssignmentStatement* internal_default_instance() { - return reinterpret_cast( - &_AssignmentStatement_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(AssignmentStatement& a, AssignmentStatement& b) { - a.Swap(&b); - } - inline void Swap(AssignmentStatement* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AssignmentStatement* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AssignmentStatement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AssignmentStatement& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const AssignmentStatement& from) { - AssignmentStatement::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(AssignmentStatement* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.AssignmentStatement"; - } - protected: - explicit AssignmentStatement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRefIdFieldNumber = 1, - kExprFieldNumber = 2, - }; - // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; - bool has_ref_id() const; - private: - bool _internal_has_ref_id() const; - public: - void clear_ref_id(); - const ::solidity::yul::test::yul_fuzzer::VarRef& ref_id() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::VarRef* release_ref_id(); - ::solidity::yul::test::yul_fuzzer::VarRef* mutable_ref_id(); - void set_allocated_ref_id(::solidity::yul::test::yul_fuzzer::VarRef* ref_id); - private: - const ::solidity::yul::test::yul_fuzzer::VarRef& _internal_ref_id() const; - ::solidity::yul::test::yul_fuzzer::VarRef* _internal_mutable_ref_id(); - public: - void unsafe_arena_set_allocated_ref_id( - ::solidity::yul::test::yul_fuzzer::VarRef* ref_id); - ::solidity::yul::test::yul_fuzzer::VarRef* unsafe_arena_release_ref_id(); - - // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; - bool has_expr() const; - private: - bool _internal_has_expr() const; - public: - void clear_expr(); - const ::solidity::yul::test::yul_fuzzer::Expression& expr() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_expr(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_expr(); - void set_allocated_expr(::solidity::yul::test::yul_fuzzer::Expression* expr); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_expr() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_expr(); - public: - void unsafe_arena_set_allocated_expr( - ::solidity::yul::test::yul_fuzzer::Expression* expr); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_expr(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.AssignmentStatement) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::VarRef* ref_id_; - ::solidity::yul::test::yul_fuzzer::Expression* expr_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class IfStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.IfStmt) */ { - public: - inline IfStmt() : IfStmt(nullptr) {} - ~IfStmt() override; - explicit PROTOBUF_CONSTEXPR IfStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IfStmt(const IfStmt& from); - IfStmt(IfStmt&& from) noexcept - : IfStmt() { - *this = ::std::move(from); - } - - inline IfStmt& operator=(const IfStmt& from) { - CopyFrom(from); - return *this; - } - inline IfStmt& operator=(IfStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IfStmt& default_instance() { - return *internal_default_instance(); - } - static inline const IfStmt* internal_default_instance() { - return reinterpret_cast( - &_IfStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(IfStmt& a, IfStmt& b) { - a.Swap(&b); - } - inline void Swap(IfStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IfStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IfStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IfStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IfStmt& from) { - IfStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IfStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.IfStmt"; - } - protected: - explicit IfStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCondFieldNumber = 1, - kIfBodyFieldNumber = 2, - }; - // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; - bool has_cond() const; - private: - bool _internal_has_cond() const; - public: - void clear_cond(); - const ::solidity::yul::test::yul_fuzzer::Expression& cond() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_cond(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_cond(); - void set_allocated_cond(::solidity::yul::test::yul_fuzzer::Expression* cond); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_cond() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_cond(); - public: - void unsafe_arena_set_allocated_cond( - ::solidity::yul::test::yul_fuzzer::Expression* cond); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_cond(); - - // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; - bool has_if_body() const; - private: - bool _internal_has_if_body() const; - public: - void clear_if_body(); - const ::solidity::yul::test::yul_fuzzer::Block& if_body() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_if_body(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_if_body(); - void set_allocated_if_body(::solidity::yul::test::yul_fuzzer::Block* if_body); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_if_body() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_if_body(); - public: - void unsafe_arena_set_allocated_if_body( - ::solidity::yul::test::yul_fuzzer::Block* if_body); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_if_body(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.IfStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* cond_; - ::solidity::yul::test::yul_fuzzer::Block* if_body_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class BoundedForStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.BoundedForStmt) */ { - public: - inline BoundedForStmt() : BoundedForStmt(nullptr) {} - ~BoundedForStmt() override; - explicit PROTOBUF_CONSTEXPR BoundedForStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BoundedForStmt(const BoundedForStmt& from); - BoundedForStmt(BoundedForStmt&& from) noexcept - : BoundedForStmt() { - *this = ::std::move(from); - } - - inline BoundedForStmt& operator=(const BoundedForStmt& from) { - CopyFrom(from); - return *this; - } - inline BoundedForStmt& operator=(BoundedForStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BoundedForStmt& default_instance() { - return *internal_default_instance(); - } - static inline const BoundedForStmt* internal_default_instance() { - return reinterpret_cast( - &_BoundedForStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(BoundedForStmt& a, BoundedForStmt& b) { - a.Swap(&b); - } - inline void Swap(BoundedForStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BoundedForStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BoundedForStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const BoundedForStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const BoundedForStmt& from) { - BoundedForStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(BoundedForStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.BoundedForStmt"; - } - protected: - explicit BoundedForStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kForBodyFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; - bool has_for_body() const; - private: - bool _internal_has_for_body() const; - public: - void clear_for_body(); - const ::solidity::yul::test::yul_fuzzer::Block& for_body() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_for_body(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_for_body(); - void set_allocated_for_body(::solidity::yul::test::yul_fuzzer::Block* for_body); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_for_body() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_for_body(); - public: - void unsafe_arena_set_allocated_for_body( - ::solidity::yul::test::yul_fuzzer::Block* for_body); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_for_body(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.BoundedForStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Block* for_body_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class ForStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.ForStmt) */ { - public: - inline ForStmt() : ForStmt(nullptr) {} - ~ForStmt() override; - explicit PROTOBUF_CONSTEXPR ForStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ForStmt(const ForStmt& from); - ForStmt(ForStmt&& from) noexcept - : ForStmt() { - *this = ::std::move(from); - } - - inline ForStmt& operator=(const ForStmt& from) { - CopyFrom(from); - return *this; - } - inline ForStmt& operator=(ForStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ForStmt& default_instance() { - return *internal_default_instance(); - } - static inline const ForStmt* internal_default_instance() { - return reinterpret_cast( - &_ForStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(ForStmt& a, ForStmt& b) { - a.Swap(&b); - } - inline void Swap(ForStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ForStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ForStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ForStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ForStmt& from) { - ForStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ForStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.ForStmt"; - } - protected: - explicit ForStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kForBodyFieldNumber = 1, - kForInitFieldNumber = 2, - kForPostFieldNumber = 3, - kForCondFieldNumber = 4, - }; - // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; - bool has_for_body() const; - private: - bool _internal_has_for_body() const; - public: - void clear_for_body(); - const ::solidity::yul::test::yul_fuzzer::Block& for_body() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_for_body(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_for_body(); - void set_allocated_for_body(::solidity::yul::test::yul_fuzzer::Block* for_body); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_for_body() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_for_body(); - public: - void unsafe_arena_set_allocated_for_body( - ::solidity::yul::test::yul_fuzzer::Block* for_body); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_for_body(); - - // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; - bool has_for_init() const; - private: - bool _internal_has_for_init() const; - public: - void clear_for_init(); - const ::solidity::yul::test::yul_fuzzer::Block& for_init() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_for_init(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_for_init(); - void set_allocated_for_init(::solidity::yul::test::yul_fuzzer::Block* for_init); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_for_init() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_for_init(); - public: - void unsafe_arena_set_allocated_for_init( - ::solidity::yul::test::yul_fuzzer::Block* for_init); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_for_init(); - - // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; - bool has_for_post() const; - private: - bool _internal_has_for_post() const; - public: - void clear_for_post(); - const ::solidity::yul::test::yul_fuzzer::Block& for_post() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_for_post(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_for_post(); - void set_allocated_for_post(::solidity::yul::test::yul_fuzzer::Block* for_post); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_for_post() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_for_post(); - public: - void unsafe_arena_set_allocated_for_post( - ::solidity::yul::test::yul_fuzzer::Block* for_post); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_for_post(); - - // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; - bool has_for_cond() const; - private: - bool _internal_has_for_cond() const; - public: - void clear_for_cond(); - const ::solidity::yul::test::yul_fuzzer::Expression& for_cond() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_for_cond(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_for_cond(); - void set_allocated_for_cond(::solidity::yul::test::yul_fuzzer::Expression* for_cond); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_for_cond() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_for_cond(); - public: - void unsafe_arena_set_allocated_for_cond( - ::solidity::yul::test::yul_fuzzer::Expression* for_cond); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_for_cond(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.ForStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Block* for_body_; - ::solidity::yul::test::yul_fuzzer::Block* for_init_; - ::solidity::yul::test::yul_fuzzer::Block* for_post_; - ::solidity::yul::test::yul_fuzzer::Expression* for_cond_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class CaseStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.CaseStmt) */ { - public: - inline CaseStmt() : CaseStmt(nullptr) {} - ~CaseStmt() override; - explicit PROTOBUF_CONSTEXPR CaseStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CaseStmt(const CaseStmt& from); - CaseStmt(CaseStmt&& from) noexcept - : CaseStmt() { - *this = ::std::move(from); - } - - inline CaseStmt& operator=(const CaseStmt& from) { - CopyFrom(from); - return *this; - } - inline CaseStmt& operator=(CaseStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CaseStmt& default_instance() { - return *internal_default_instance(); - } - static inline const CaseStmt* internal_default_instance() { - return reinterpret_cast( - &_CaseStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CaseStmt& a, CaseStmt& b) { - a.Swap(&b); - } - inline void Swap(CaseStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CaseStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CaseStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CaseStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CaseStmt& from) { - CaseStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CaseStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.CaseStmt"; - } - protected: - explicit CaseStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCaseLitFieldNumber = 1, - kCaseBlockFieldNumber = 2, - }; - // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; - bool has_case_lit() const; - private: - bool _internal_has_case_lit() const; - public: - void clear_case_lit(); - const ::solidity::yul::test::yul_fuzzer::Literal& case_lit() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Literal* release_case_lit(); - ::solidity::yul::test::yul_fuzzer::Literal* mutable_case_lit(); - void set_allocated_case_lit(::solidity::yul::test::yul_fuzzer::Literal* case_lit); - private: - const ::solidity::yul::test::yul_fuzzer::Literal& _internal_case_lit() const; - ::solidity::yul::test::yul_fuzzer::Literal* _internal_mutable_case_lit(); - public: - void unsafe_arena_set_allocated_case_lit( - ::solidity::yul::test::yul_fuzzer::Literal* case_lit); - ::solidity::yul::test::yul_fuzzer::Literal* unsafe_arena_release_case_lit(); - - // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; - bool has_case_block() const; - private: - bool _internal_has_case_block() const; - public: - void clear_case_block(); - const ::solidity::yul::test::yul_fuzzer::Block& case_block() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_case_block(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_case_block(); - void set_allocated_case_block(::solidity::yul::test::yul_fuzzer::Block* case_block); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_case_block() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_case_block(); - public: - void unsafe_arena_set_allocated_case_block( - ::solidity::yul::test::yul_fuzzer::Block* case_block); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_case_block(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.CaseStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Literal* case_lit_; - ::solidity::yul::test::yul_fuzzer::Block* case_block_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class SwitchStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.SwitchStmt) */ { - public: - inline SwitchStmt() : SwitchStmt(nullptr) {} - ~SwitchStmt() override; - explicit PROTOBUF_CONSTEXPR SwitchStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - SwitchStmt(const SwitchStmt& from); - SwitchStmt(SwitchStmt&& from) noexcept - : SwitchStmt() { - *this = ::std::move(from); - } - - inline SwitchStmt& operator=(const SwitchStmt& from) { - CopyFrom(from); - return *this; - } - inline SwitchStmt& operator=(SwitchStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SwitchStmt& default_instance() { - return *internal_default_instance(); - } - static inline const SwitchStmt* internal_default_instance() { - return reinterpret_cast( - &_SwitchStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(SwitchStmt& a, SwitchStmt& b) { - a.Swap(&b); - } - inline void Swap(SwitchStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SwitchStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SwitchStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const SwitchStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const SwitchStmt& from) { - SwitchStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(SwitchStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.SwitchStmt"; - } - protected: - explicit SwitchStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCaseStmtFieldNumber = 2, - kSwitchExprFieldNumber = 1, - kDefaultBlockFieldNumber = 3, - }; - // repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; - int case_stmt_size() const; - private: - int _internal_case_stmt_size() const; - public: - void clear_case_stmt(); - ::solidity::yul::test::yul_fuzzer::CaseStmt* mutable_case_stmt(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::CaseStmt >* - mutable_case_stmt(); - private: - const ::solidity::yul::test::yul_fuzzer::CaseStmt& _internal_case_stmt(int index) const; - ::solidity::yul::test::yul_fuzzer::CaseStmt* _internal_add_case_stmt(); - public: - const ::solidity::yul::test::yul_fuzzer::CaseStmt& case_stmt(int index) const; - ::solidity::yul::test::yul_fuzzer::CaseStmt* add_case_stmt(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::CaseStmt >& - case_stmt() const; - - // required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; - bool has_switch_expr() const; - private: - bool _internal_has_switch_expr() const; - public: - void clear_switch_expr(); - const ::solidity::yul::test::yul_fuzzer::Expression& switch_expr() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_switch_expr(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_switch_expr(); - void set_allocated_switch_expr(::solidity::yul::test::yul_fuzzer::Expression* switch_expr); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_switch_expr() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_switch_expr(); - public: - void unsafe_arena_set_allocated_switch_expr( - ::solidity::yul::test::yul_fuzzer::Expression* switch_expr); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_switch_expr(); - - // optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; - bool has_default_block() const; - private: - bool _internal_has_default_block() const; - public: - void clear_default_block(); - const ::solidity::yul::test::yul_fuzzer::Block& default_block() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_default_block(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_default_block(); - void set_allocated_default_block(::solidity::yul::test::yul_fuzzer::Block* default_block); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_default_block() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_default_block(); - public: - void unsafe_arena_set_allocated_default_block( - ::solidity::yul::test::yul_fuzzer::Block* default_block); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_default_block(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.SwitchStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::CaseStmt > case_stmt_; - ::solidity::yul::test::yul_fuzzer::Expression* switch_expr_; - ::solidity::yul::test::yul_fuzzer::Block* default_block_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class BreakStmt final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.BreakStmt) */ { - public: - inline BreakStmt() : BreakStmt(nullptr) {} - explicit PROTOBUF_CONSTEXPR BreakStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - BreakStmt(const BreakStmt& from); - BreakStmt(BreakStmt&& from) noexcept - : BreakStmt() { - *this = ::std::move(from); - } - - inline BreakStmt& operator=(const BreakStmt& from) { - CopyFrom(from); - return *this; - } - inline BreakStmt& operator=(BreakStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const BreakStmt& default_instance() { - return *internal_default_instance(); - } - static inline const BreakStmt* internal_default_instance() { - return reinterpret_cast( - &_BreakStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(BreakStmt& a, BreakStmt& b) { - a.Swap(&b); - } - inline void Swap(BreakStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BreakStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BreakStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const BreakStmt& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const BreakStmt& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.BreakStmt"; - } - protected: - explicit BreakStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.BreakStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class ContinueStmt final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.ContinueStmt) */ { - public: - inline ContinueStmt() : ContinueStmt(nullptr) {} - explicit PROTOBUF_CONSTEXPR ContinueStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ContinueStmt(const ContinueStmt& from); - ContinueStmt(ContinueStmt&& from) noexcept - : ContinueStmt() { - *this = ::std::move(from); - } - - inline ContinueStmt& operator=(const ContinueStmt& from) { - CopyFrom(from); - return *this; - } - inline ContinueStmt& operator=(ContinueStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ContinueStmt& default_instance() { - return *internal_default_instance(); - } - static inline const ContinueStmt* internal_default_instance() { - return reinterpret_cast( - &_ContinueStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(ContinueStmt& a, ContinueStmt& b) { - a.Swap(&b); - } - inline void Swap(ContinueStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ContinueStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ContinueStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const ContinueStmt& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const ContinueStmt& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.ContinueStmt"; - } - protected: - explicit ContinueStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.ContinueStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class StopInvalidStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.StopInvalidStmt) */ { - public: - inline StopInvalidStmt() : StopInvalidStmt(nullptr) {} - ~StopInvalidStmt() override; - explicit PROTOBUF_CONSTEXPR StopInvalidStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - StopInvalidStmt(const StopInvalidStmt& from); - StopInvalidStmt(StopInvalidStmt&& from) noexcept - : StopInvalidStmt() { - *this = ::std::move(from); - } - - inline StopInvalidStmt& operator=(const StopInvalidStmt& from) { - CopyFrom(from); - return *this; - } - inline StopInvalidStmt& operator=(StopInvalidStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StopInvalidStmt& default_instance() { - return *internal_default_instance(); - } - static inline const StopInvalidStmt* internal_default_instance() { - return reinterpret_cast( - &_StopInvalidStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(StopInvalidStmt& a, StopInvalidStmt& b) { - a.Swap(&b); - } - inline void Swap(StopInvalidStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StopInvalidStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StopInvalidStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const StopInvalidStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const StopInvalidStmt& from) { - StopInvalidStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(StopInvalidStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.StopInvalidStmt"; - } - protected: - explicit StopInvalidStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef StopInvalidStmt_Type Type; - static constexpr Type STOP = - StopInvalidStmt_Type_STOP; - static constexpr Type INVALID = - StopInvalidStmt_Type_INVALID; - static inline bool Type_IsValid(int value) { - return StopInvalidStmt_Type_IsValid(value); - } - static constexpr Type Type_MIN = - StopInvalidStmt_Type_Type_MIN; - static constexpr Type Type_MAX = - StopInvalidStmt_Type_Type_MAX; - static constexpr int Type_ARRAYSIZE = - StopInvalidStmt_Type_Type_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Type_descriptor() { - return StopInvalidStmt_Type_descriptor(); - } - template - static inline const std::string& Type_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Type_Name."); - return StopInvalidStmt_Type_Name(enum_t_value); - } - static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Type* value) { - return StopInvalidStmt_Type_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kStmtFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; - bool has_stmt() const; - private: - bool _internal_has_stmt() const; - public: - void clear_stmt(); - ::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type stmt() const; - void set_stmt(::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type value); - private: - ::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type _internal_stmt() const; - void _internal_set_stmt(::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.StopInvalidStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int stmt_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class RetRevStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.RetRevStmt) */ { - public: - inline RetRevStmt() : RetRevStmt(nullptr) {} - ~RetRevStmt() override; - explicit PROTOBUF_CONSTEXPR RetRevStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - RetRevStmt(const RetRevStmt& from); - RetRevStmt(RetRevStmt&& from) noexcept - : RetRevStmt() { - *this = ::std::move(from); - } - - inline RetRevStmt& operator=(const RetRevStmt& from) { - CopyFrom(from); - return *this; - } - inline RetRevStmt& operator=(RetRevStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const RetRevStmt& default_instance() { - return *internal_default_instance(); - } - static inline const RetRevStmt* internal_default_instance() { - return reinterpret_cast( - &_RetRevStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(RetRevStmt& a, RetRevStmt& b) { - a.Swap(&b); - } - inline void Swap(RetRevStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RetRevStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RetRevStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const RetRevStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const RetRevStmt& from) { - RetRevStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(RetRevStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.RetRevStmt"; - } - protected: - explicit RetRevStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef RetRevStmt_Type Type; - static constexpr Type RETURN = - RetRevStmt_Type_RETURN; - static constexpr Type REVERT = - RetRevStmt_Type_REVERT; - static inline bool Type_IsValid(int value) { - return RetRevStmt_Type_IsValid(value); - } - static constexpr Type Type_MIN = - RetRevStmt_Type_Type_MIN; - static constexpr Type Type_MAX = - RetRevStmt_Type_Type_MAX; - static constexpr int Type_ARRAYSIZE = - RetRevStmt_Type_Type_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Type_descriptor() { - return RetRevStmt_Type_descriptor(); - } - template - static inline const std::string& Type_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Type_Name."); - return RetRevStmt_Type_Name(enum_t_value); - } - static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Type* value) { - return RetRevStmt_Type_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kPosFieldNumber = 2, - kSizeFieldNumber = 3, - kStmtFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; - bool has_pos() const; - private: - bool _internal_has_pos() const; - public: - void clear_pos(); - const ::solidity::yul::test::yul_fuzzer::Expression& pos() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_pos(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_pos(); - void set_allocated_pos(::solidity::yul::test::yul_fuzzer::Expression* pos); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_pos() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_pos(); - public: - void unsafe_arena_set_allocated_pos( - ::solidity::yul::test::yul_fuzzer::Expression* pos); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_pos(); - - // required .solidity.yul.test.yul_fuzzer.Expression size = 3; - bool has_size() const; - private: - bool _internal_has_size() const; - public: - void clear_size(); - const ::solidity::yul::test::yul_fuzzer::Expression& size() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_size(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_size(); - void set_allocated_size(::solidity::yul::test::yul_fuzzer::Expression* size); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_size() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_size(); - public: - void unsafe_arena_set_allocated_size( - ::solidity::yul::test::yul_fuzzer::Expression* size); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_size(); - - // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; - bool has_stmt() const; - private: - bool _internal_has_stmt() const; - public: - void clear_stmt(); - ::solidity::yul::test::yul_fuzzer::RetRevStmt_Type stmt() const; - void set_stmt(::solidity::yul::test::yul_fuzzer::RetRevStmt_Type value); - private: - ::solidity::yul::test::yul_fuzzer::RetRevStmt_Type _internal_stmt() const; - void _internal_set_stmt(::solidity::yul::test::yul_fuzzer::RetRevStmt_Type value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.RetRevStmt) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* pos_; - ::solidity::yul::test::yul_fuzzer::Expression* size_; - int stmt_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class SelfDestructStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.SelfDestructStmt) */ { - public: - inline SelfDestructStmt() : SelfDestructStmt(nullptr) {} - ~SelfDestructStmt() override; - explicit PROTOBUF_CONSTEXPR SelfDestructStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - SelfDestructStmt(const SelfDestructStmt& from); - SelfDestructStmt(SelfDestructStmt&& from) noexcept - : SelfDestructStmt() { - *this = ::std::move(from); - } - - inline SelfDestructStmt& operator=(const SelfDestructStmt& from) { - CopyFrom(from); - return *this; - } - inline SelfDestructStmt& operator=(SelfDestructStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SelfDestructStmt& default_instance() { - return *internal_default_instance(); - } - static inline const SelfDestructStmt* internal_default_instance() { - return reinterpret_cast( - &_SelfDestructStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(SelfDestructStmt& a, SelfDestructStmt& b) { - a.Swap(&b); - } - inline void Swap(SelfDestructStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SelfDestructStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SelfDestructStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const SelfDestructStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const SelfDestructStmt& from) { - SelfDestructStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(SelfDestructStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.SelfDestructStmt"; - } - protected: - explicit SelfDestructStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAddrFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; - bool has_addr() const; - private: - bool _internal_has_addr() const; - public: - void clear_addr(); - const ::solidity::yul::test::yul_fuzzer::Expression& addr() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_addr(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_addr(); - void set_allocated_addr(::solidity::yul::test::yul_fuzzer::Expression* addr); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_addr() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_addr(); - public: - void unsafe_arena_set_allocated_addr( - ::solidity::yul::test::yul_fuzzer::Expression* addr); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_addr(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.SelfDestructStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* addr_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class TerminatingStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.TerminatingStmt) */ { - public: - inline TerminatingStmt() : TerminatingStmt(nullptr) {} - ~TerminatingStmt() override; - explicit PROTOBUF_CONSTEXPR TerminatingStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TerminatingStmt(const TerminatingStmt& from); - TerminatingStmt(TerminatingStmt&& from) noexcept - : TerminatingStmt() { - *this = ::std::move(from); - } - - inline TerminatingStmt& operator=(const TerminatingStmt& from) { - CopyFrom(from); - return *this; - } - inline TerminatingStmt& operator=(TerminatingStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TerminatingStmt& default_instance() { - return *internal_default_instance(); - } - enum TermOneofCase { - kStopInvalid = 1, - kRetRev = 2, - kSelfDes = 3, - TERM_ONEOF_NOT_SET = 0, - }; - - static inline const TerminatingStmt* internal_default_instance() { - return reinterpret_cast( - &_TerminatingStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(TerminatingStmt& a, TerminatingStmt& b) { - a.Swap(&b); - } - inline void Swap(TerminatingStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TerminatingStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TerminatingStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TerminatingStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TerminatingStmt& from) { - TerminatingStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TerminatingStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.TerminatingStmt"; - } - protected: - explicit TerminatingStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStopInvalidFieldNumber = 1, - kRetRevFieldNumber = 2, - kSelfDesFieldNumber = 3, - }; - // .solidity.yul.test.yul_fuzzer.StopInvalidStmt stop_invalid = 1; - bool has_stop_invalid() const; - private: - bool _internal_has_stop_invalid() const; - public: - void clear_stop_invalid(); - const ::solidity::yul::test::yul_fuzzer::StopInvalidStmt& stop_invalid() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* release_stop_invalid(); - ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* mutable_stop_invalid(); - void set_allocated_stop_invalid(::solidity::yul::test::yul_fuzzer::StopInvalidStmt* stop_invalid); - private: - const ::solidity::yul::test::yul_fuzzer::StopInvalidStmt& _internal_stop_invalid() const; - ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* _internal_mutable_stop_invalid(); - public: - void unsafe_arena_set_allocated_stop_invalid( - ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* stop_invalid); - ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* unsafe_arena_release_stop_invalid(); - - // .solidity.yul.test.yul_fuzzer.RetRevStmt ret_rev = 2; - bool has_ret_rev() const; - private: - bool _internal_has_ret_rev() const; - public: - void clear_ret_rev(); - const ::solidity::yul::test::yul_fuzzer::RetRevStmt& ret_rev() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::RetRevStmt* release_ret_rev(); - ::solidity::yul::test::yul_fuzzer::RetRevStmt* mutable_ret_rev(); - void set_allocated_ret_rev(::solidity::yul::test::yul_fuzzer::RetRevStmt* ret_rev); - private: - const ::solidity::yul::test::yul_fuzzer::RetRevStmt& _internal_ret_rev() const; - ::solidity::yul::test::yul_fuzzer::RetRevStmt* _internal_mutable_ret_rev(); - public: - void unsafe_arena_set_allocated_ret_rev( - ::solidity::yul::test::yul_fuzzer::RetRevStmt* ret_rev); - ::solidity::yul::test::yul_fuzzer::RetRevStmt* unsafe_arena_release_ret_rev(); - - // .solidity.yul.test.yul_fuzzer.SelfDestructStmt self_des = 3; - bool has_self_des() const; - private: - bool _internal_has_self_des() const; - public: - void clear_self_des(); - const ::solidity::yul::test::yul_fuzzer::SelfDestructStmt& self_des() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* release_self_des(); - ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* mutable_self_des(); - void set_allocated_self_des(::solidity::yul::test::yul_fuzzer::SelfDestructStmt* self_des); - private: - const ::solidity::yul::test::yul_fuzzer::SelfDestructStmt& _internal_self_des() const; - ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* _internal_mutable_self_des(); - public: - void unsafe_arena_set_allocated_self_des( - ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* self_des); - ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* unsafe_arena_release_self_des(); - - void clear_term_oneof(); - TermOneofCase term_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.TerminatingStmt) - private: - class _Internal; - void set_has_stop_invalid(); - void set_has_ret_rev(); - void set_has_self_des(); - - inline bool has_term_oneof() const; - inline void clear_has_term_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union TermOneofUnion { - constexpr TermOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* stop_invalid_; - ::solidity::yul::test::yul_fuzzer::RetRevStmt* ret_rev_; - ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* self_des_; - } term_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class FunctionDef final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.FunctionDef) */ { - public: - inline FunctionDef() : FunctionDef(nullptr) {} - ~FunctionDef() override; - explicit PROTOBUF_CONSTEXPR FunctionDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - FunctionDef(const FunctionDef& from); - FunctionDef(FunctionDef&& from) noexcept - : FunctionDef() { - *this = ::std::move(from); - } - - inline FunctionDef& operator=(const FunctionDef& from) { - CopyFrom(from); - return *this; - } - inline FunctionDef& operator=(FunctionDef&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const FunctionDef& default_instance() { - return *internal_default_instance(); - } - static inline const FunctionDef* internal_default_instance() { - return reinterpret_cast( - &_FunctionDef_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(FunctionDef& a, FunctionDef& b) { - a.Swap(&b); - } - inline void Swap(FunctionDef* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FunctionDef* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - FunctionDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FunctionDef& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const FunctionDef& from) { - FunctionDef::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(FunctionDef* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.FunctionDef"; - } - protected: - explicit FunctionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBlockFieldNumber = 3, - kNumInputParamsFieldNumber = 1, - kNumOutputParamsFieldNumber = 2, - kForceCallFieldNumber = 4, - }; - // required .solidity.yul.test.yul_fuzzer.Block block = 3; - bool has_block() const; - private: - bool _internal_has_block() const; - public: - void clear_block(); - const ::solidity::yul::test::yul_fuzzer::Block& block() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_block(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_block(); - void set_allocated_block(::solidity::yul::test::yul_fuzzer::Block* block); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_block() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_block(); - public: - void unsafe_arena_set_allocated_block( - ::solidity::yul::test::yul_fuzzer::Block* block); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_block(); - - // required uint32 num_input_params = 1; - bool has_num_input_params() const; - private: - bool _internal_has_num_input_params() const; - public: - void clear_num_input_params(); - uint32_t num_input_params() const; - void set_num_input_params(uint32_t value); - private: - uint32_t _internal_num_input_params() const; - void _internal_set_num_input_params(uint32_t value); - public: - - // required uint32 num_output_params = 2; - bool has_num_output_params() const; - private: - bool _internal_has_num_output_params() const; - public: - void clear_num_output_params(); - uint32_t num_output_params() const; - void set_num_output_params(uint32_t value); - private: - uint32_t _internal_num_output_params() const; - void _internal_set_num_output_params(uint32_t value); - public: - - // required bool force_call = 4; - bool has_force_call() const; - private: - bool _internal_has_force_call() const; - public: - void clear_force_call(); - bool force_call() const; - void set_force_call(bool value); - private: - bool _internal_force_call() const; - void _internal_set_force_call(bool value); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.FunctionDef) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Block* block_; - uint32_t num_input_params_; - uint32_t num_output_params_; - bool force_call_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class PopStmt final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.PopStmt) */ { - public: - inline PopStmt() : PopStmt(nullptr) {} - ~PopStmt() override; - explicit PROTOBUF_CONSTEXPR PopStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PopStmt(const PopStmt& from); - PopStmt(PopStmt&& from) noexcept - : PopStmt() { - *this = ::std::move(from); - } - - inline PopStmt& operator=(const PopStmt& from) { - CopyFrom(from); - return *this; - } - inline PopStmt& operator=(PopStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PopStmt& default_instance() { - return *internal_default_instance(); - } - static inline const PopStmt* internal_default_instance() { - return reinterpret_cast( - &_PopStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(PopStmt& a, PopStmt& b) { - a.Swap(&b); - } - inline void Swap(PopStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PopStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PopStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PopStmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PopStmt& from) { - PopStmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PopStmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.PopStmt"; - } - protected: - explicit PopStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kExprFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; - bool has_expr() const; - private: - bool _internal_has_expr() const; - public: - void clear_expr(); - const ::solidity::yul::test::yul_fuzzer::Expression& expr() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Expression* release_expr(); - ::solidity::yul::test::yul_fuzzer::Expression* mutable_expr(); - void set_allocated_expr(::solidity::yul::test::yul_fuzzer::Expression* expr); - private: - const ::solidity::yul::test::yul_fuzzer::Expression& _internal_expr() const; - ::solidity::yul::test::yul_fuzzer::Expression* _internal_mutable_expr(); - public: - void unsafe_arena_set_allocated_expr( - ::solidity::yul::test::yul_fuzzer::Expression* expr); - ::solidity::yul::test::yul_fuzzer::Expression* unsafe_arena_release_expr(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.PopStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Expression* expr_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class LeaveStmt final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.LeaveStmt) */ { - public: - inline LeaveStmt() : LeaveStmt(nullptr) {} - explicit PROTOBUF_CONSTEXPR LeaveStmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - LeaveStmt(const LeaveStmt& from); - LeaveStmt(LeaveStmt&& from) noexcept - : LeaveStmt() { - *this = ::std::move(from); - } - - inline LeaveStmt& operator=(const LeaveStmt& from) { - CopyFrom(from); - return *this; - } - inline LeaveStmt& operator=(LeaveStmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const LeaveStmt& default_instance() { - return *internal_default_instance(); - } - static inline const LeaveStmt* internal_default_instance() { - return reinterpret_cast( - &_LeaveStmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(LeaveStmt& a, LeaveStmt& b) { - a.Swap(&b); - } - inline void Swap(LeaveStmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(LeaveStmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - LeaveStmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const LeaveStmt& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const LeaveStmt& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.LeaveStmt"; - } - protected: - explicit LeaveStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.LeaveStmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Statement final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.Statement) */ { - public: - inline Statement() : Statement(nullptr) {} - ~Statement() override; - explicit PROTOBUF_CONSTEXPR Statement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Statement(const Statement& from); - Statement(Statement&& from) noexcept - : Statement() { - *this = ::std::move(from); - } - - inline Statement& operator=(const Statement& from) { - CopyFrom(from); - return *this; - } - inline Statement& operator=(Statement&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Statement& default_instance() { - return *internal_default_instance(); - } - enum StmtOneofCase { - kDecl = 1, - kAssignment = 2, - kIfstmt = 3, - kStorageFunc = 4, - kBlockstmt = 5, - kForstmt = 6, - kSwitchstmt = 7, - kBreakstmt = 8, - kContstmt = 9, - kLogFunc = 10, - kCopyFunc = 11, - kExtcodeCopy = 12, - kTerminatestmt = 13, - kFunctioncall = 14, - kBoundedforstmt = 15, - kFuncdef = 16, - kPop = 17, - kLeave = 18, - kMultidecl = 19, - STMT_ONEOF_NOT_SET = 0, - }; - - static inline const Statement* internal_default_instance() { - return reinterpret_cast( - &_Statement_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(Statement& a, Statement& b) { - a.Swap(&b); - } - inline void Swap(Statement* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Statement* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Statement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Statement& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Statement& from) { - Statement::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Statement* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.Statement"; - } - protected: - explicit Statement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDeclFieldNumber = 1, - kAssignmentFieldNumber = 2, - kIfstmtFieldNumber = 3, - kStorageFuncFieldNumber = 4, - kBlockstmtFieldNumber = 5, - kForstmtFieldNumber = 6, - kSwitchstmtFieldNumber = 7, - kBreakstmtFieldNumber = 8, - kContstmtFieldNumber = 9, - kLogFuncFieldNumber = 10, - kCopyFuncFieldNumber = 11, - kExtcodeCopyFieldNumber = 12, - kTerminatestmtFieldNumber = 13, - kFunctioncallFieldNumber = 14, - kBoundedforstmtFieldNumber = 15, - kFuncdefFieldNumber = 16, - kPopFieldNumber = 17, - kLeaveFieldNumber = 18, - kMultideclFieldNumber = 19, - }; - // .solidity.yul.test.yul_fuzzer.VarDecl decl = 1; - bool has_decl() const; - private: - bool _internal_has_decl() const; - public: - void clear_decl(); - const ::solidity::yul::test::yul_fuzzer::VarDecl& decl() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::VarDecl* release_decl(); - ::solidity::yul::test::yul_fuzzer::VarDecl* mutable_decl(); - void set_allocated_decl(::solidity::yul::test::yul_fuzzer::VarDecl* decl); - private: - const ::solidity::yul::test::yul_fuzzer::VarDecl& _internal_decl() const; - ::solidity::yul::test::yul_fuzzer::VarDecl* _internal_mutable_decl(); - public: - void unsafe_arena_set_allocated_decl( - ::solidity::yul::test::yul_fuzzer::VarDecl* decl); - ::solidity::yul::test::yul_fuzzer::VarDecl* unsafe_arena_release_decl(); - - // .solidity.yul.test.yul_fuzzer.AssignmentStatement assignment = 2; - bool has_assignment() const; - private: - bool _internal_has_assignment() const; - public: - void clear_assignment(); - const ::solidity::yul::test::yul_fuzzer::AssignmentStatement& assignment() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::AssignmentStatement* release_assignment(); - ::solidity::yul::test::yul_fuzzer::AssignmentStatement* mutable_assignment(); - void set_allocated_assignment(::solidity::yul::test::yul_fuzzer::AssignmentStatement* assignment); - private: - const ::solidity::yul::test::yul_fuzzer::AssignmentStatement& _internal_assignment() const; - ::solidity::yul::test::yul_fuzzer::AssignmentStatement* _internal_mutable_assignment(); - public: - void unsafe_arena_set_allocated_assignment( - ::solidity::yul::test::yul_fuzzer::AssignmentStatement* assignment); - ::solidity::yul::test::yul_fuzzer::AssignmentStatement* unsafe_arena_release_assignment(); - - // .solidity.yul.test.yul_fuzzer.IfStmt ifstmt = 3; - bool has_ifstmt() const; - private: - bool _internal_has_ifstmt() const; - public: - void clear_ifstmt(); - const ::solidity::yul::test::yul_fuzzer::IfStmt& ifstmt() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::IfStmt* release_ifstmt(); - ::solidity::yul::test::yul_fuzzer::IfStmt* mutable_ifstmt(); - void set_allocated_ifstmt(::solidity::yul::test::yul_fuzzer::IfStmt* ifstmt); - private: - const ::solidity::yul::test::yul_fuzzer::IfStmt& _internal_ifstmt() const; - ::solidity::yul::test::yul_fuzzer::IfStmt* _internal_mutable_ifstmt(); - public: - void unsafe_arena_set_allocated_ifstmt( - ::solidity::yul::test::yul_fuzzer::IfStmt* ifstmt); - ::solidity::yul::test::yul_fuzzer::IfStmt* unsafe_arena_release_ifstmt(); - - // .solidity.yul.test.yul_fuzzer.StoreFunc storage_func = 4; - bool has_storage_func() const; - private: - bool _internal_has_storage_func() const; - public: - void clear_storage_func(); - const ::solidity::yul::test::yul_fuzzer::StoreFunc& storage_func() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::StoreFunc* release_storage_func(); - ::solidity::yul::test::yul_fuzzer::StoreFunc* mutable_storage_func(); - void set_allocated_storage_func(::solidity::yul::test::yul_fuzzer::StoreFunc* storage_func); - private: - const ::solidity::yul::test::yul_fuzzer::StoreFunc& _internal_storage_func() const; - ::solidity::yul::test::yul_fuzzer::StoreFunc* _internal_mutable_storage_func(); - public: - void unsafe_arena_set_allocated_storage_func( - ::solidity::yul::test::yul_fuzzer::StoreFunc* storage_func); - ::solidity::yul::test::yul_fuzzer::StoreFunc* unsafe_arena_release_storage_func(); - - // .solidity.yul.test.yul_fuzzer.Block blockstmt = 5; - bool has_blockstmt() const; - private: - bool _internal_has_blockstmt() const; - public: - void clear_blockstmt(); - const ::solidity::yul::test::yul_fuzzer::Block& blockstmt() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_blockstmt(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_blockstmt(); - void set_allocated_blockstmt(::solidity::yul::test::yul_fuzzer::Block* blockstmt); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_blockstmt() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_blockstmt(); - public: - void unsafe_arena_set_allocated_blockstmt( - ::solidity::yul::test::yul_fuzzer::Block* blockstmt); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_blockstmt(); - - // .solidity.yul.test.yul_fuzzer.ForStmt forstmt = 6; - bool has_forstmt() const; - private: - bool _internal_has_forstmt() const; - public: - void clear_forstmt(); - const ::solidity::yul::test::yul_fuzzer::ForStmt& forstmt() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::ForStmt* release_forstmt(); - ::solidity::yul::test::yul_fuzzer::ForStmt* mutable_forstmt(); - void set_allocated_forstmt(::solidity::yul::test::yul_fuzzer::ForStmt* forstmt); - private: - const ::solidity::yul::test::yul_fuzzer::ForStmt& _internal_forstmt() const; - ::solidity::yul::test::yul_fuzzer::ForStmt* _internal_mutable_forstmt(); - public: - void unsafe_arena_set_allocated_forstmt( - ::solidity::yul::test::yul_fuzzer::ForStmt* forstmt); - ::solidity::yul::test::yul_fuzzer::ForStmt* unsafe_arena_release_forstmt(); - - // .solidity.yul.test.yul_fuzzer.SwitchStmt switchstmt = 7; - bool has_switchstmt() const; - private: - bool _internal_has_switchstmt() const; - public: - void clear_switchstmt(); - const ::solidity::yul::test::yul_fuzzer::SwitchStmt& switchstmt() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::SwitchStmt* release_switchstmt(); - ::solidity::yul::test::yul_fuzzer::SwitchStmt* mutable_switchstmt(); - void set_allocated_switchstmt(::solidity::yul::test::yul_fuzzer::SwitchStmt* switchstmt); - private: - const ::solidity::yul::test::yul_fuzzer::SwitchStmt& _internal_switchstmt() const; - ::solidity::yul::test::yul_fuzzer::SwitchStmt* _internal_mutable_switchstmt(); - public: - void unsafe_arena_set_allocated_switchstmt( - ::solidity::yul::test::yul_fuzzer::SwitchStmt* switchstmt); - ::solidity::yul::test::yul_fuzzer::SwitchStmt* unsafe_arena_release_switchstmt(); - - // .solidity.yul.test.yul_fuzzer.BreakStmt breakstmt = 8; - bool has_breakstmt() const; - private: - bool _internal_has_breakstmt() const; - public: - void clear_breakstmt(); - const ::solidity::yul::test::yul_fuzzer::BreakStmt& breakstmt() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::BreakStmt* release_breakstmt(); - ::solidity::yul::test::yul_fuzzer::BreakStmt* mutable_breakstmt(); - void set_allocated_breakstmt(::solidity::yul::test::yul_fuzzer::BreakStmt* breakstmt); - private: - const ::solidity::yul::test::yul_fuzzer::BreakStmt& _internal_breakstmt() const; - ::solidity::yul::test::yul_fuzzer::BreakStmt* _internal_mutable_breakstmt(); - public: - void unsafe_arena_set_allocated_breakstmt( - ::solidity::yul::test::yul_fuzzer::BreakStmt* breakstmt); - ::solidity::yul::test::yul_fuzzer::BreakStmt* unsafe_arena_release_breakstmt(); - - // .solidity.yul.test.yul_fuzzer.ContinueStmt contstmt = 9; - bool has_contstmt() const; - private: - bool _internal_has_contstmt() const; - public: - void clear_contstmt(); - const ::solidity::yul::test::yul_fuzzer::ContinueStmt& contstmt() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::ContinueStmt* release_contstmt(); - ::solidity::yul::test::yul_fuzzer::ContinueStmt* mutable_contstmt(); - void set_allocated_contstmt(::solidity::yul::test::yul_fuzzer::ContinueStmt* contstmt); - private: - const ::solidity::yul::test::yul_fuzzer::ContinueStmt& _internal_contstmt() const; - ::solidity::yul::test::yul_fuzzer::ContinueStmt* _internal_mutable_contstmt(); - public: - void unsafe_arena_set_allocated_contstmt( - ::solidity::yul::test::yul_fuzzer::ContinueStmt* contstmt); - ::solidity::yul::test::yul_fuzzer::ContinueStmt* unsafe_arena_release_contstmt(); - - // .solidity.yul.test.yul_fuzzer.LogFunc log_func = 10; - bool has_log_func() const; - private: - bool _internal_has_log_func() const; - public: - void clear_log_func(); - const ::solidity::yul::test::yul_fuzzer::LogFunc& log_func() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::LogFunc* release_log_func(); - ::solidity::yul::test::yul_fuzzer::LogFunc* mutable_log_func(); - void set_allocated_log_func(::solidity::yul::test::yul_fuzzer::LogFunc* log_func); - private: - const ::solidity::yul::test::yul_fuzzer::LogFunc& _internal_log_func() const; - ::solidity::yul::test::yul_fuzzer::LogFunc* _internal_mutable_log_func(); - public: - void unsafe_arena_set_allocated_log_func( - ::solidity::yul::test::yul_fuzzer::LogFunc* log_func); - ::solidity::yul::test::yul_fuzzer::LogFunc* unsafe_arena_release_log_func(); - - // .solidity.yul.test.yul_fuzzer.CopyFunc copy_func = 11; - bool has_copy_func() const; - private: - bool _internal_has_copy_func() const; - public: - void clear_copy_func(); - const ::solidity::yul::test::yul_fuzzer::CopyFunc& copy_func() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::CopyFunc* release_copy_func(); - ::solidity::yul::test::yul_fuzzer::CopyFunc* mutable_copy_func(); - void set_allocated_copy_func(::solidity::yul::test::yul_fuzzer::CopyFunc* copy_func); - private: - const ::solidity::yul::test::yul_fuzzer::CopyFunc& _internal_copy_func() const; - ::solidity::yul::test::yul_fuzzer::CopyFunc* _internal_mutable_copy_func(); - public: - void unsafe_arena_set_allocated_copy_func( - ::solidity::yul::test::yul_fuzzer::CopyFunc* copy_func); - ::solidity::yul::test::yul_fuzzer::CopyFunc* unsafe_arena_release_copy_func(); - - // .solidity.yul.test.yul_fuzzer.ExtCodeCopy extcode_copy = 12; - bool has_extcode_copy() const; - private: - bool _internal_has_extcode_copy() const; - public: - void clear_extcode_copy(); - const ::solidity::yul::test::yul_fuzzer::ExtCodeCopy& extcode_copy() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* release_extcode_copy(); - ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* mutable_extcode_copy(); - void set_allocated_extcode_copy(::solidity::yul::test::yul_fuzzer::ExtCodeCopy* extcode_copy); - private: - const ::solidity::yul::test::yul_fuzzer::ExtCodeCopy& _internal_extcode_copy() const; - ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* _internal_mutable_extcode_copy(); - public: - void unsafe_arena_set_allocated_extcode_copy( - ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* extcode_copy); - ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* unsafe_arena_release_extcode_copy(); - - // .solidity.yul.test.yul_fuzzer.TerminatingStmt terminatestmt = 13; - bool has_terminatestmt() const; - private: - bool _internal_has_terminatestmt() const; - public: - void clear_terminatestmt(); - const ::solidity::yul::test::yul_fuzzer::TerminatingStmt& terminatestmt() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::TerminatingStmt* release_terminatestmt(); - ::solidity::yul::test::yul_fuzzer::TerminatingStmt* mutable_terminatestmt(); - void set_allocated_terminatestmt(::solidity::yul::test::yul_fuzzer::TerminatingStmt* terminatestmt); - private: - const ::solidity::yul::test::yul_fuzzer::TerminatingStmt& _internal_terminatestmt() const; - ::solidity::yul::test::yul_fuzzer::TerminatingStmt* _internal_mutable_terminatestmt(); - public: - void unsafe_arena_set_allocated_terminatestmt( - ::solidity::yul::test::yul_fuzzer::TerminatingStmt* terminatestmt); - ::solidity::yul::test::yul_fuzzer::TerminatingStmt* unsafe_arena_release_terminatestmt(); - - // .solidity.yul.test.yul_fuzzer.FunctionCall functioncall = 14; - bool has_functioncall() const; - private: - bool _internal_has_functioncall() const; - public: - void clear_functioncall(); - const ::solidity::yul::test::yul_fuzzer::FunctionCall& functioncall() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::FunctionCall* release_functioncall(); - ::solidity::yul::test::yul_fuzzer::FunctionCall* mutable_functioncall(); - void set_allocated_functioncall(::solidity::yul::test::yul_fuzzer::FunctionCall* functioncall); - private: - const ::solidity::yul::test::yul_fuzzer::FunctionCall& _internal_functioncall() const; - ::solidity::yul::test::yul_fuzzer::FunctionCall* _internal_mutable_functioncall(); - public: - void unsafe_arena_set_allocated_functioncall( - ::solidity::yul::test::yul_fuzzer::FunctionCall* functioncall); - ::solidity::yul::test::yul_fuzzer::FunctionCall* unsafe_arena_release_functioncall(); - - // .solidity.yul.test.yul_fuzzer.BoundedForStmt boundedforstmt = 15; - bool has_boundedforstmt() const; - private: - bool _internal_has_boundedforstmt() const; - public: - void clear_boundedforstmt(); - const ::solidity::yul::test::yul_fuzzer::BoundedForStmt& boundedforstmt() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::BoundedForStmt* release_boundedforstmt(); - ::solidity::yul::test::yul_fuzzer::BoundedForStmt* mutable_boundedforstmt(); - void set_allocated_boundedforstmt(::solidity::yul::test::yul_fuzzer::BoundedForStmt* boundedforstmt); - private: - const ::solidity::yul::test::yul_fuzzer::BoundedForStmt& _internal_boundedforstmt() const; - ::solidity::yul::test::yul_fuzzer::BoundedForStmt* _internal_mutable_boundedforstmt(); - public: - void unsafe_arena_set_allocated_boundedforstmt( - ::solidity::yul::test::yul_fuzzer::BoundedForStmt* boundedforstmt); - ::solidity::yul::test::yul_fuzzer::BoundedForStmt* unsafe_arena_release_boundedforstmt(); - - // .solidity.yul.test.yul_fuzzer.FunctionDef funcdef = 16; - bool has_funcdef() const; - private: - bool _internal_has_funcdef() const; - public: - void clear_funcdef(); - const ::solidity::yul::test::yul_fuzzer::FunctionDef& funcdef() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::FunctionDef* release_funcdef(); - ::solidity::yul::test::yul_fuzzer::FunctionDef* mutable_funcdef(); - void set_allocated_funcdef(::solidity::yul::test::yul_fuzzer::FunctionDef* funcdef); - private: - const ::solidity::yul::test::yul_fuzzer::FunctionDef& _internal_funcdef() const; - ::solidity::yul::test::yul_fuzzer::FunctionDef* _internal_mutable_funcdef(); - public: - void unsafe_arena_set_allocated_funcdef( - ::solidity::yul::test::yul_fuzzer::FunctionDef* funcdef); - ::solidity::yul::test::yul_fuzzer::FunctionDef* unsafe_arena_release_funcdef(); - - // .solidity.yul.test.yul_fuzzer.PopStmt pop = 17; - bool has_pop() const; - private: - bool _internal_has_pop() const; - public: - void clear_pop(); - const ::solidity::yul::test::yul_fuzzer::PopStmt& pop() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::PopStmt* release_pop(); - ::solidity::yul::test::yul_fuzzer::PopStmt* mutable_pop(); - void set_allocated_pop(::solidity::yul::test::yul_fuzzer::PopStmt* pop); - private: - const ::solidity::yul::test::yul_fuzzer::PopStmt& _internal_pop() const; - ::solidity::yul::test::yul_fuzzer::PopStmt* _internal_mutable_pop(); - public: - void unsafe_arena_set_allocated_pop( - ::solidity::yul::test::yul_fuzzer::PopStmt* pop); - ::solidity::yul::test::yul_fuzzer::PopStmt* unsafe_arena_release_pop(); - - // .solidity.yul.test.yul_fuzzer.LeaveStmt leave = 18; - bool has_leave() const; - private: - bool _internal_has_leave() const; - public: - void clear_leave(); - const ::solidity::yul::test::yul_fuzzer::LeaveStmt& leave() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::LeaveStmt* release_leave(); - ::solidity::yul::test::yul_fuzzer::LeaveStmt* mutable_leave(); - void set_allocated_leave(::solidity::yul::test::yul_fuzzer::LeaveStmt* leave); - private: - const ::solidity::yul::test::yul_fuzzer::LeaveStmt& _internal_leave() const; - ::solidity::yul::test::yul_fuzzer::LeaveStmt* _internal_mutable_leave(); - public: - void unsafe_arena_set_allocated_leave( - ::solidity::yul::test::yul_fuzzer::LeaveStmt* leave); - ::solidity::yul::test::yul_fuzzer::LeaveStmt* unsafe_arena_release_leave(); - - // .solidity.yul.test.yul_fuzzer.MultiVarDecl multidecl = 19; - bool has_multidecl() const; - private: - bool _internal_has_multidecl() const; - public: - void clear_multidecl(); - const ::solidity::yul::test::yul_fuzzer::MultiVarDecl& multidecl() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::MultiVarDecl* release_multidecl(); - ::solidity::yul::test::yul_fuzzer::MultiVarDecl* mutable_multidecl(); - void set_allocated_multidecl(::solidity::yul::test::yul_fuzzer::MultiVarDecl* multidecl); - private: - const ::solidity::yul::test::yul_fuzzer::MultiVarDecl& _internal_multidecl() const; - ::solidity::yul::test::yul_fuzzer::MultiVarDecl* _internal_mutable_multidecl(); - public: - void unsafe_arena_set_allocated_multidecl( - ::solidity::yul::test::yul_fuzzer::MultiVarDecl* multidecl); - ::solidity::yul::test::yul_fuzzer::MultiVarDecl* unsafe_arena_release_multidecl(); - - void clear_stmt_oneof(); - StmtOneofCase stmt_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.Statement) - private: - class _Internal; - void set_has_decl(); - void set_has_assignment(); - void set_has_ifstmt(); - void set_has_storage_func(); - void set_has_blockstmt(); - void set_has_forstmt(); - void set_has_switchstmt(); - void set_has_breakstmt(); - void set_has_contstmt(); - void set_has_log_func(); - void set_has_copy_func(); - void set_has_extcode_copy(); - void set_has_terminatestmt(); - void set_has_functioncall(); - void set_has_boundedforstmt(); - void set_has_funcdef(); - void set_has_pop(); - void set_has_leave(); - void set_has_multidecl(); - - inline bool has_stmt_oneof() const; - inline void clear_has_stmt_oneof(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - union StmtOneofUnion { - constexpr StmtOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::yul::test::yul_fuzzer::VarDecl* decl_; - ::solidity::yul::test::yul_fuzzer::AssignmentStatement* assignment_; - ::solidity::yul::test::yul_fuzzer::IfStmt* ifstmt_; - ::solidity::yul::test::yul_fuzzer::StoreFunc* storage_func_; - ::solidity::yul::test::yul_fuzzer::Block* blockstmt_; - ::solidity::yul::test::yul_fuzzer::ForStmt* forstmt_; - ::solidity::yul::test::yul_fuzzer::SwitchStmt* switchstmt_; - ::solidity::yul::test::yul_fuzzer::BreakStmt* breakstmt_; - ::solidity::yul::test::yul_fuzzer::ContinueStmt* contstmt_; - ::solidity::yul::test::yul_fuzzer::LogFunc* log_func_; - ::solidity::yul::test::yul_fuzzer::CopyFunc* copy_func_; - ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* extcode_copy_; - ::solidity::yul::test::yul_fuzzer::TerminatingStmt* terminatestmt_; - ::solidity::yul::test::yul_fuzzer::FunctionCall* functioncall_; - ::solidity::yul::test::yul_fuzzer::BoundedForStmt* boundedforstmt_; - ::solidity::yul::test::yul_fuzzer::FunctionDef* funcdef_; - ::solidity::yul::test::yul_fuzzer::PopStmt* pop_; - ::solidity::yul::test::yul_fuzzer::LeaveStmt* leave_; - ::solidity::yul::test::yul_fuzzer::MultiVarDecl* multidecl_; - } stmt_oneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Block final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.Block) */ { - public: - inline Block() : Block(nullptr) {} - ~Block() override; - explicit PROTOBUF_CONSTEXPR Block(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Block(const Block& from); - Block(Block&& from) noexcept - : Block() { - *this = ::std::move(from); - } - - inline Block& operator=(const Block& from) { - CopyFrom(from); - return *this; - } - inline Block& operator=(Block&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Block& default_instance() { - return *internal_default_instance(); - } - static inline const Block* internal_default_instance() { - return reinterpret_cast( - &_Block_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(Block& a, Block& b) { - a.Swap(&b); - } - inline void Swap(Block* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Block* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Block* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Block& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Block& from) { - Block::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Block* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.Block"; - } - protected: - explicit Block(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStatementsFieldNumber = 1, - }; - // repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; - int statements_size() const; - private: - int _internal_statements_size() const; - public: - void clear_statements(); - ::solidity::yul::test::yul_fuzzer::Statement* mutable_statements(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::Statement >* - mutable_statements(); - private: - const ::solidity::yul::test::yul_fuzzer::Statement& _internal_statements(int index) const; - ::solidity::yul::test::yul_fuzzer::Statement* _internal_add_statements(); - public: - const ::solidity::yul::test::yul_fuzzer::Statement& statements(int index) const; - ::solidity::yul::test::yul_fuzzer::Statement* add_statements(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::Statement >& - statements() const; - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.Block) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::Statement > statements_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class CallData final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.CallData) */ { - public: - inline CallData() : CallData(nullptr) {} - ~CallData() override; - explicit PROTOBUF_CONSTEXPR CallData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CallData(const CallData& from); - CallData(CallData&& from) noexcept - : CallData() { - *this = ::std::move(from); - } - - inline CallData& operator=(const CallData& from) { - CopyFrom(from); - return *this; - } - inline CallData& operator=(CallData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CallData& default_instance() { - return *internal_default_instance(); - } - static inline const CallData* internal_default_instance() { - return reinterpret_cast( - &_CallData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(CallData& a, CallData& b) { - a.Swap(&b); - } - inline void Swap(CallData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CallData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CallData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CallData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CallData& from) { - CallData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CallData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.CallData"; - } - protected: - explicit CallData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRawDataFieldNumber = 1, - }; - // required bytes raw_data = 1; - bool has_raw_data() const; - private: - bool _internal_has_raw_data() const; - public: - void clear_raw_data(); - const std::string& raw_data() const; - template - void set_raw_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_raw_data(); - PROTOBUF_NODISCARD std::string* release_raw_data(); - void set_allocated_raw_data(std::string* raw_data); - private: - const std::string& _internal_raw_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_raw_data(const std::string& value); - std::string* _internal_mutable_raw_data(); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.CallData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr raw_data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Object final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.Object) */ { - public: - inline Object() : Object(nullptr) {} - ~Object() override; - explicit PROTOBUF_CONSTEXPR Object(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Object(const Object& from); - Object(Object&& from) noexcept - : Object() { - *this = ::std::move(from); - } - - inline Object& operator=(const Object& from) { - CopyFrom(from); - return *this; - } - inline Object& operator=(Object&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Object& default_instance() { - return *internal_default_instance(); - } - static inline const Object* internal_default_instance() { - return reinterpret_cast( - &_Object_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(Object& a, Object& b) { - a.Swap(&b); - } - inline void Swap(Object* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Object* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Object* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Object& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Object& from) { - Object::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Object* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.Object"; - } - protected: - explicit Object(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSubObjFieldNumber = 3, - kCodeFieldNumber = 1, - kDataFieldNumber = 2, - }; - // repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; - int sub_obj_size() const; - private: - int _internal_sub_obj_size() const; - public: - void clear_sub_obj(); - ::solidity::yul::test::yul_fuzzer::Object* mutable_sub_obj(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::Object >* - mutable_sub_obj(); - private: - const ::solidity::yul::test::yul_fuzzer::Object& _internal_sub_obj(int index) const; - ::solidity::yul::test::yul_fuzzer::Object* _internal_add_sub_obj(); - public: - const ::solidity::yul::test::yul_fuzzer::Object& sub_obj(int index) const; - ::solidity::yul::test::yul_fuzzer::Object* add_sub_obj(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::Object >& - sub_obj() const; - - // required .solidity.yul.test.yul_fuzzer.Code code = 1; - bool has_code() const; - private: - bool _internal_has_code() const; - public: - void clear_code(); - const ::solidity::yul::test::yul_fuzzer::Code& code() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Code* release_code(); - ::solidity::yul::test::yul_fuzzer::Code* mutable_code(); - void set_allocated_code(::solidity::yul::test::yul_fuzzer::Code* code); - private: - const ::solidity::yul::test::yul_fuzzer::Code& _internal_code() const; - ::solidity::yul::test::yul_fuzzer::Code* _internal_mutable_code(); - public: - void unsafe_arena_set_allocated_code( - ::solidity::yul::test::yul_fuzzer::Code* code); - ::solidity::yul::test::yul_fuzzer::Code* unsafe_arena_release_code(); - - // optional .solidity.yul.test.yul_fuzzer.Data data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const ::solidity::yul::test::yul_fuzzer::Data& data() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Data* release_data(); - ::solidity::yul::test::yul_fuzzer::Data* mutable_data(); - void set_allocated_data(::solidity::yul::test::yul_fuzzer::Data* data); - private: - const ::solidity::yul::test::yul_fuzzer::Data& _internal_data() const; - ::solidity::yul::test::yul_fuzzer::Data* _internal_mutable_data(); - public: - void unsafe_arena_set_allocated_data( - ::solidity::yul::test::yul_fuzzer::Data* data); - ::solidity::yul::test::yul_fuzzer::Data* unsafe_arena_release_data(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.Object) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::Object > sub_obj_; - ::solidity::yul::test::yul_fuzzer::Code* code_; - ::solidity::yul::test::yul_fuzzer::Data* data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Code final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.Code) */ { - public: - inline Code() : Code(nullptr) {} - ~Code() override; - explicit PROTOBUF_CONSTEXPR Code(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Code(const Code& from); - Code(Code&& from) noexcept - : Code() { - *this = ::std::move(from); - } - - inline Code& operator=(const Code& from) { - CopyFrom(from); - return *this; - } - inline Code& operator=(Code&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Code& default_instance() { - return *internal_default_instance(); - } - static inline const Code* internal_default_instance() { - return reinterpret_cast( - &_Code_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(Code& a, Code& b) { - a.Swap(&b); - } - inline void Swap(Code* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Code* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Code* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Code& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Code& from) { - Code::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Code* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.Code"; - } - protected: - explicit Code(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBlockFieldNumber = 1, - }; - // required .solidity.yul.test.yul_fuzzer.Block block = 1; - bool has_block() const; - private: - bool _internal_has_block() const; - public: - void clear_block(); - const ::solidity::yul::test::yul_fuzzer::Block& block() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_block(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_block(); - void set_allocated_block(::solidity::yul::test::yul_fuzzer::Block* block); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_block() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_block(); - public: - void unsafe_arena_set_allocated_block( - ::solidity::yul::test::yul_fuzzer::Block* block); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_block(); - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.Code) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::solidity::yul::test::yul_fuzzer::Block* block_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Data final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.Data) */ { - public: - inline Data() : Data(nullptr) {} - ~Data() override; - explicit PROTOBUF_CONSTEXPR Data(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Data(const Data& from); - Data(Data&& from) noexcept - : Data() { - *this = ::std::move(from); - } - - inline Data& operator=(const Data& from) { - CopyFrom(from); - return *this; - } - inline Data& operator=(Data&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Data& default_instance() { - return *internal_default_instance(); - } - static inline const Data* internal_default_instance() { - return reinterpret_cast( - &_Data_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(Data& a, Data& b) { - a.Swap(&b); - } - inline void Swap(Data* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Data* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Data* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Data& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Data& from) { - Data::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Data* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.Data"; - } - protected: - explicit Data(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHexFieldNumber = 1, - }; - // required string hex = 1; - bool has_hex() const; - private: - bool _internal_has_hex() const; - public: - void clear_hex(); - const std::string& hex() const; - template - void set_hex(ArgT0&& arg0, ArgT... args); - std::string* mutable_hex(); - PROTOBUF_NODISCARD std::string* release_hex(); - void set_allocated_hex(std::string* hex); - private: - const std::string& _internal_hex() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_hex(const std::string& value); - std::string* _internal_mutable_hex(); - public: - - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.Data) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hex_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// ------------------------------------------------------------------- - -class Program final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.yul.test.yul_fuzzer.Program) */ { - public: - inline Program() : Program(nullptr) {} - ~Program() override; - explicit PROTOBUF_CONSTEXPR Program(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Program(const Program& from); - Program(Program&& from) noexcept - : Program() { - *this = ::std::move(from); - } - - inline Program& operator=(const Program& from) { - CopyFrom(from); - return *this; - } - inline Program& operator=(Program&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Program& default_instance() { - return *internal_default_instance(); - } - enum ProgramOneofCase { - kBlock = 1, - kObj = 2, - PROGRAM_ONEOF_NOT_SET = 0, - }; - - static inline const Program* internal_default_instance() { - return reinterpret_cast( - &_Program_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(Program& a, Program& b) { - a.Swap(&b); - } - inline void Swap(Program* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Program* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Program* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Program& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Program& from) { - Program::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Program* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "solidity.yul.test.yul_fuzzer.Program"; - } - protected: - explicit Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef Program_Version Version; - static constexpr Version HOMESTEAD = - Program_Version_HOMESTEAD; - static constexpr Version TANGERINE = - Program_Version_TANGERINE; - static constexpr Version SPURIOUS = - Program_Version_SPURIOUS; - static constexpr Version BYZANTIUM = - Program_Version_BYZANTIUM; - static constexpr Version CONSTANTINOPLE = - Program_Version_CONSTANTINOPLE; - static constexpr Version PETERSBURG = - Program_Version_PETERSBURG; - static constexpr Version ISTANBUL = - Program_Version_ISTANBUL; - static constexpr Version BERLIN = - Program_Version_BERLIN; - static constexpr Version LONDON = - Program_Version_LONDON; - static constexpr Version PARIS = - Program_Version_PARIS; - static constexpr Version SHANGHAI = - Program_Version_SHANGHAI; - static constexpr Version CANCUN = - Program_Version_CANCUN; - static constexpr Version PRAGUE = - Program_Version_PRAGUE; - static constexpr Version OSAKA = - Program_Version_OSAKA; - static inline bool Version_IsValid(int value) { - return Program_Version_IsValid(value); - } - static constexpr Version Version_MIN = - Program_Version_Version_MIN; - static constexpr Version Version_MAX = - Program_Version_Version_MAX; - static constexpr int Version_ARRAYSIZE = - Program_Version_Version_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Version_descriptor() { - return Program_Version_descriptor(); - } - template - static inline const std::string& Version_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Version_Name."); - return Program_Version_Name(enum_t_value); - } - static inline bool Version_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Version* value) { - return Program_Version_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kOptimiserSeqFieldNumber = 6, - kOptimiserCleanupSeqFieldNumber = 10, - kCalldataFieldNumber = 5, - kVerFieldNumber = 3, - kStepFieldNumber = 4, - kExpectedExecutionsFieldNumber = 8, - kOptimizeStackAllocationFieldNumber = 7, - kIsCreationFieldNumber = 9, - kBlockFieldNumber = 1, - kObjFieldNumber = 2, - }; - // repeated uint32 optimiser_seq = 6; - int optimiser_seq_size() const; - private: - int _internal_optimiser_seq_size() const; - public: - void clear_optimiser_seq(); - private: - uint32_t _internal_optimiser_seq(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_optimiser_seq() const; - void _internal_add_optimiser_seq(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_optimiser_seq(); - public: - uint32_t optimiser_seq(int index) const; - void set_optimiser_seq(int index, uint32_t value); - void add_optimiser_seq(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - optimiser_seq() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_optimiser_seq(); - - // repeated uint32 optimiser_cleanup_seq = 10; - int optimiser_cleanup_seq_size() const; - private: - int _internal_optimiser_cleanup_seq_size() const; - public: - void clear_optimiser_cleanup_seq(); - private: - uint32_t _internal_optimiser_cleanup_seq(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_optimiser_cleanup_seq() const; - void _internal_add_optimiser_cleanup_seq(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_optimiser_cleanup_seq(); - public: - uint32_t optimiser_cleanup_seq(int index) const; - void set_optimiser_cleanup_seq(int index, uint32_t value); - void add_optimiser_cleanup_seq(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - optimiser_cleanup_seq() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_optimiser_cleanup_seq(); - - // required .solidity.yul.test.yul_fuzzer.CallData calldata = 5; - bool has_calldata() const; - private: - bool _internal_has_calldata() const; - public: - void clear_calldata(); - const ::solidity::yul::test::yul_fuzzer::CallData& calldata() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::CallData* release_calldata(); - ::solidity::yul::test::yul_fuzzer::CallData* mutable_calldata(); - void set_allocated_calldata(::solidity::yul::test::yul_fuzzer::CallData* calldata); - private: - const ::solidity::yul::test::yul_fuzzer::CallData& _internal_calldata() const; - ::solidity::yul::test::yul_fuzzer::CallData* _internal_mutable_calldata(); - public: - void unsafe_arena_set_allocated_calldata( - ::solidity::yul::test::yul_fuzzer::CallData* calldata); - ::solidity::yul::test::yul_fuzzer::CallData* unsafe_arena_release_calldata(); - - // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; - bool has_ver() const; - private: - bool _internal_has_ver() const; - public: - void clear_ver(); - ::solidity::yul::test::yul_fuzzer::Program_Version ver() const; - void set_ver(::solidity::yul::test::yul_fuzzer::Program_Version value); - private: - ::solidity::yul::test::yul_fuzzer::Program_Version _internal_ver() const; - void _internal_set_ver(::solidity::yul::test::yul_fuzzer::Program_Version value); - public: - - // required uint32 step = 4; - bool has_step() const; - private: - bool _internal_has_step() const; - public: - void clear_step(); - uint32_t step() const; - void set_step(uint32_t value); - private: - uint32_t _internal_step() const; - void _internal_set_step(uint32_t value); - public: - - // optional uint32 expected_executions = 8; - bool has_expected_executions() const; - private: - bool _internal_has_expected_executions() const; - public: - void clear_expected_executions(); - uint32_t expected_executions() const; - void set_expected_executions(uint32_t value); - private: - uint32_t _internal_expected_executions() const; - void _internal_set_expected_executions(uint32_t value); - public: - - // optional bool optimize_stack_allocation = 7; - bool has_optimize_stack_allocation() const; - private: - bool _internal_has_optimize_stack_allocation() const; - public: - void clear_optimize_stack_allocation(); - bool optimize_stack_allocation() const; - void set_optimize_stack_allocation(bool value); - private: - bool _internal_optimize_stack_allocation() const; - void _internal_set_optimize_stack_allocation(bool value); - public: - - // optional bool is_creation = 9; - bool has_is_creation() const; - private: - bool _internal_has_is_creation() const; - public: - void clear_is_creation(); - bool is_creation() const; - void set_is_creation(bool value); - private: - bool _internal_is_creation() const; - void _internal_set_is_creation(bool value); - public: - - // .solidity.yul.test.yul_fuzzer.Block block = 1; - bool has_block() const; - private: - bool _internal_has_block() const; - public: - void clear_block(); - const ::solidity::yul::test::yul_fuzzer::Block& block() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Block* release_block(); - ::solidity::yul::test::yul_fuzzer::Block* mutable_block(); - void set_allocated_block(::solidity::yul::test::yul_fuzzer::Block* block); - private: - const ::solidity::yul::test::yul_fuzzer::Block& _internal_block() const; - ::solidity::yul::test::yul_fuzzer::Block* _internal_mutable_block(); - public: - void unsafe_arena_set_allocated_block( - ::solidity::yul::test::yul_fuzzer::Block* block); - ::solidity::yul::test::yul_fuzzer::Block* unsafe_arena_release_block(); - - // .solidity.yul.test.yul_fuzzer.Object obj = 2; - bool has_obj() const; - private: - bool _internal_has_obj() const; - public: - void clear_obj(); - const ::solidity::yul::test::yul_fuzzer::Object& obj() const; - PROTOBUF_NODISCARD ::solidity::yul::test::yul_fuzzer::Object* release_obj(); - ::solidity::yul::test::yul_fuzzer::Object* mutable_obj(); - void set_allocated_obj(::solidity::yul::test::yul_fuzzer::Object* obj); - private: - const ::solidity::yul::test::yul_fuzzer::Object& _internal_obj() const; - ::solidity::yul::test::yul_fuzzer::Object* _internal_mutable_obj(); - public: - void unsafe_arena_set_allocated_obj( - ::solidity::yul::test::yul_fuzzer::Object* obj); - ::solidity::yul::test::yul_fuzzer::Object* unsafe_arena_release_obj(); - - void clear_program_oneof(); - ProgramOneofCase program_oneof_case() const; - // @@protoc_insertion_point(class_scope:solidity.yul.test.yul_fuzzer.Program) - private: - class _Internal; - void set_has_block(); - void set_has_obj(); - - inline bool has_program_oneof() const; - inline void clear_has_program_oneof(); - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > optimiser_seq_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > optimiser_cleanup_seq_; - ::solidity::yul::test::yul_fuzzer::CallData* calldata_; - int ver_; - uint32_t step_; - uint32_t expected_executions_; - bool optimize_stack_allocation_; - bool is_creation_; - union ProgramOneofUnion { - constexpr ProgramOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::solidity::yul::test::yul_fuzzer::Block* block_; - ::solidity::yul::test::yul_fuzzer::Object* obj_; - } program_oneof_; - uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_yulProto_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// VarDecl - -// required .solidity.yul.test.yul_fuzzer.Expression expr = 1; -inline bool VarDecl::_internal_has_expr() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.expr_ != nullptr); - return value; -} -inline bool VarDecl::has_expr() const { - return _internal_has_expr(); -} -inline void VarDecl::clear_expr() { - if (_impl_.expr_ != nullptr) _impl_.expr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& VarDecl::_internal_expr() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.expr_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& VarDecl::expr() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.VarDecl.expr) - return _internal_expr(); -} -inline void VarDecl::unsafe_arena_set_allocated_expr( - ::solidity::yul::test::yul_fuzzer::Expression* expr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.expr_); - } - _impl_.expr_ = expr; - if (expr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.VarDecl.expr) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* VarDecl::release_expr() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.expr_; - _impl_.expr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* VarDecl::unsafe_arena_release_expr() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.VarDecl.expr) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.expr_; - _impl_.expr_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* VarDecl::_internal_mutable_expr() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.expr_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.expr_ = p; - } - return _impl_.expr_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* VarDecl::mutable_expr() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_expr(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.VarDecl.expr) - return _msg; -} -inline void VarDecl::set_allocated_expr(::solidity::yul::test::yul_fuzzer::Expression* expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.expr_; - } - if (expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(expr); - if (message_arena != submessage_arena) { - expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, expr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.expr_ = expr; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.VarDecl.expr) -} - -// ------------------------------------------------------------------- - -// MultiVarDecl - -// required uint32 num_vars = 1; -inline bool MultiVarDecl::_internal_has_num_vars() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool MultiVarDecl::has_num_vars() const { - return _internal_has_num_vars(); -} -inline void MultiVarDecl::clear_num_vars() { - _impl_.num_vars_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t MultiVarDecl::_internal_num_vars() const { - return _impl_.num_vars_; -} -inline uint32_t MultiVarDecl::num_vars() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.MultiVarDecl.num_vars) - return _internal_num_vars(); -} -inline void MultiVarDecl::_internal_set_num_vars(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.num_vars_ = value; -} -inline void MultiVarDecl::set_num_vars(uint32_t value) { - _internal_set_num_vars(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.MultiVarDecl.num_vars) -} - -// ------------------------------------------------------------------- - -// LowLevelCall - -// required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; -inline bool LowLevelCall::_internal_has_callty() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool LowLevelCall::has_callty() const { - return _internal_has_callty(); -} -inline void LowLevelCall::clear_callty() { - _impl_.callty_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline ::solidity::yul::test::yul_fuzzer::LowLevelCall_Type LowLevelCall::_internal_callty() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::LowLevelCall_Type >(_impl_.callty_); -} -inline ::solidity::yul::test::yul_fuzzer::LowLevelCall_Type LowLevelCall::callty() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LowLevelCall.callty) - return _internal_callty(); -} -inline void LowLevelCall::_internal_set_callty(::solidity::yul::test::yul_fuzzer::LowLevelCall_Type value) { - assert(::solidity::yul::test::yul_fuzzer::LowLevelCall_Type_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.callty_ = value; -} -inline void LowLevelCall::set_callty(::solidity::yul::test::yul_fuzzer::LowLevelCall_Type value) { - _internal_set_callty(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.LowLevelCall.callty) -} - -// required .solidity.yul.test.yul_fuzzer.Expression gas = 2; -inline bool LowLevelCall::_internal_has_gas() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.gas_ != nullptr); - return value; -} -inline bool LowLevelCall::has_gas() const { - return _internal_has_gas(); -} -inline void LowLevelCall::clear_gas() { - if (_impl_.gas_ != nullptr) _impl_.gas_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::_internal_gas() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.gas_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::gas() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LowLevelCall.gas) - return _internal_gas(); -} -inline void LowLevelCall::unsafe_arena_set_allocated_gas( - ::solidity::yul::test::yul_fuzzer::Expression* gas) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.gas_); - } - _impl_.gas_ = gas; - if (gas) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.gas) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::release_gas() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.gas_; - _impl_.gas_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::unsafe_arena_release_gas() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LowLevelCall.gas) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.gas_; - _impl_.gas_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::_internal_mutable_gas() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.gas_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.gas_ = p; - } - return _impl_.gas_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::mutable_gas() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_gas(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LowLevelCall.gas) - return _msg; -} -inline void LowLevelCall::set_allocated_gas(::solidity::yul::test::yul_fuzzer::Expression* gas) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.gas_; - } - if (gas) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(gas); - if (message_arena != submessage_arena) { - gas = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, gas, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.gas_ = gas; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.gas) -} - -// required .solidity.yul.test.yul_fuzzer.Expression addr = 3; -inline bool LowLevelCall::_internal_has_addr() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.addr_ != nullptr); - return value; -} -inline bool LowLevelCall::has_addr() const { - return _internal_has_addr(); -} -inline void LowLevelCall::clear_addr() { - if (_impl_.addr_ != nullptr) _impl_.addr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::_internal_addr() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.addr_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::addr() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LowLevelCall.addr) - return _internal_addr(); -} -inline void LowLevelCall::unsafe_arena_set_allocated_addr( - ::solidity::yul::test::yul_fuzzer::Expression* addr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.addr_); - } - _impl_.addr_ = addr; - if (addr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.addr) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::release_addr() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.addr_; - _impl_.addr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::unsafe_arena_release_addr() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LowLevelCall.addr) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.addr_; - _impl_.addr_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::_internal_mutable_addr() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.addr_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.addr_ = p; - } - return _impl_.addr_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::mutable_addr() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_addr(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LowLevelCall.addr) - return _msg; -} -inline void LowLevelCall::set_allocated_addr(::solidity::yul::test::yul_fuzzer::Expression* addr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.addr_; - } - if (addr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(addr); - if (message_arena != submessage_arena) { - addr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, addr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.addr_ = addr; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.addr) -} - -// required .solidity.yul.test.yul_fuzzer.Expression wei = 4; -inline bool LowLevelCall::_internal_has_wei() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.wei_ != nullptr); - return value; -} -inline bool LowLevelCall::has_wei() const { - return _internal_has_wei(); -} -inline void LowLevelCall::clear_wei() { - if (_impl_.wei_ != nullptr) _impl_.wei_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::_internal_wei() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.wei_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::wei() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LowLevelCall.wei) - return _internal_wei(); -} -inline void LowLevelCall::unsafe_arena_set_allocated_wei( - ::solidity::yul::test::yul_fuzzer::Expression* wei) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.wei_); - } - _impl_.wei_ = wei; - if (wei) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.wei) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::release_wei() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.wei_; - _impl_.wei_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::unsafe_arena_release_wei() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LowLevelCall.wei) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.wei_; - _impl_.wei_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::_internal_mutable_wei() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.wei_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.wei_ = p; - } - return _impl_.wei_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::mutable_wei() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_wei(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LowLevelCall.wei) - return _msg; -} -inline void LowLevelCall::set_allocated_wei(::solidity::yul::test::yul_fuzzer::Expression* wei) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.wei_; - } - if (wei) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(wei); - if (message_arena != submessage_arena) { - wei = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, wei, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.wei_ = wei; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.wei) -} - -// required .solidity.yul.test.yul_fuzzer.Expression in = 5; -inline bool LowLevelCall::_internal_has_in() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.in_ != nullptr); - return value; -} -inline bool LowLevelCall::has_in() const { - return _internal_has_in(); -} -inline void LowLevelCall::clear_in() { - if (_impl_.in_ != nullptr) _impl_.in_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::_internal_in() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.in_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::in() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LowLevelCall.in) - return _internal_in(); -} -inline void LowLevelCall::unsafe_arena_set_allocated_in( - ::solidity::yul::test::yul_fuzzer::Expression* in) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.in_); - } - _impl_.in_ = in; - if (in) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.in) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::release_in() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.in_; - _impl_.in_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::unsafe_arena_release_in() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LowLevelCall.in) - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.in_; - _impl_.in_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::_internal_mutable_in() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.in_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.in_ = p; - } - return _impl_.in_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::mutable_in() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_in(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LowLevelCall.in) - return _msg; -} -inline void LowLevelCall::set_allocated_in(::solidity::yul::test::yul_fuzzer::Expression* in) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.in_; - } - if (in) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(in); - if (message_arena != submessage_arena) { - in = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, in, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.in_ = in; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.in) -} - -// required .solidity.yul.test.yul_fuzzer.Expression insize = 6; -inline bool LowLevelCall::_internal_has_insize() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.insize_ != nullptr); - return value; -} -inline bool LowLevelCall::has_insize() const { - return _internal_has_insize(); -} -inline void LowLevelCall::clear_insize() { - if (_impl_.insize_ != nullptr) _impl_.insize_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::_internal_insize() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.insize_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::insize() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LowLevelCall.insize) - return _internal_insize(); -} -inline void LowLevelCall::unsafe_arena_set_allocated_insize( - ::solidity::yul::test::yul_fuzzer::Expression* insize) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.insize_); - } - _impl_.insize_ = insize; - if (insize) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.insize) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::release_insize() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.insize_; - _impl_.insize_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::unsafe_arena_release_insize() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LowLevelCall.insize) - _impl_._has_bits_[0] &= ~0x00000010u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.insize_; - _impl_.insize_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::_internal_mutable_insize() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.insize_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.insize_ = p; - } - return _impl_.insize_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::mutable_insize() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_insize(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LowLevelCall.insize) - return _msg; -} -inline void LowLevelCall::set_allocated_insize(::solidity::yul::test::yul_fuzzer::Expression* insize) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.insize_; - } - if (insize) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(insize); - if (message_arena != submessage_arena) { - insize = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, insize, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.insize_ = insize; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.insize) -} - -// required .solidity.yul.test.yul_fuzzer.Expression out = 7; -inline bool LowLevelCall::_internal_has_out() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - PROTOBUF_ASSUME(!value || _impl_.out_ != nullptr); - return value; -} -inline bool LowLevelCall::has_out() const { - return _internal_has_out(); -} -inline void LowLevelCall::clear_out() { - if (_impl_.out_ != nullptr) _impl_.out_->Clear(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::_internal_out() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.out_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::out() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LowLevelCall.out) - return _internal_out(); -} -inline void LowLevelCall::unsafe_arena_set_allocated_out( - ::solidity::yul::test::yul_fuzzer::Expression* out) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.out_); - } - _impl_.out_ = out; - if (out) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.out) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::release_out() { - _impl_._has_bits_[0] &= ~0x00000020u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.out_; - _impl_.out_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::unsafe_arena_release_out() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LowLevelCall.out) - _impl_._has_bits_[0] &= ~0x00000020u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.out_; - _impl_.out_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::_internal_mutable_out() { - _impl_._has_bits_[0] |= 0x00000020u; - if (_impl_.out_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.out_ = p; - } - return _impl_.out_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::mutable_out() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_out(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LowLevelCall.out) - return _msg; -} -inline void LowLevelCall::set_allocated_out(::solidity::yul::test::yul_fuzzer::Expression* out) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.out_; - } - if (out) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(out); - if (message_arena != submessage_arena) { - out = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, out, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.out_ = out; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.out) -} - -// required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; -inline bool LowLevelCall::_internal_has_outsize() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - PROTOBUF_ASSUME(!value || _impl_.outsize_ != nullptr); - return value; -} -inline bool LowLevelCall::has_outsize() const { - return _internal_has_outsize(); -} -inline void LowLevelCall::clear_outsize() { - if (_impl_.outsize_ != nullptr) _impl_.outsize_->Clear(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::_internal_outsize() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.outsize_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LowLevelCall::outsize() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LowLevelCall.outsize) - return _internal_outsize(); -} -inline void LowLevelCall::unsafe_arena_set_allocated_outsize( - ::solidity::yul::test::yul_fuzzer::Expression* outsize) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.outsize_); - } - _impl_.outsize_ = outsize; - if (outsize) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.outsize) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::release_outsize() { - _impl_._has_bits_[0] &= ~0x00000040u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.outsize_; - _impl_.outsize_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::unsafe_arena_release_outsize() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LowLevelCall.outsize) - _impl_._has_bits_[0] &= ~0x00000040u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.outsize_; - _impl_.outsize_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::_internal_mutable_outsize() { - _impl_._has_bits_[0] |= 0x00000040u; - if (_impl_.outsize_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.outsize_ = p; - } - return _impl_.outsize_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LowLevelCall::mutable_outsize() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_outsize(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LowLevelCall.outsize) - return _msg; -} -inline void LowLevelCall::set_allocated_outsize(::solidity::yul::test::yul_fuzzer::Expression* outsize) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.outsize_; - } - if (outsize) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(outsize); - if (message_arena != submessage_arena) { - outsize = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, outsize, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.outsize_ = outsize; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LowLevelCall.outsize) -} - -// ------------------------------------------------------------------- - -// Create - -// required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; -inline bool Create::_internal_has_createty() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool Create::has_createty() const { - return _internal_has_createty(); -} -inline void Create::clear_createty() { - _impl_.createty_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::solidity::yul::test::yul_fuzzer::Create_Type Create::_internal_createty() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::Create_Type >(_impl_.createty_); -} -inline ::solidity::yul::test::yul_fuzzer::Create_Type Create::createty() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Create.createty) - return _internal_createty(); -} -inline void Create::_internal_set_createty(::solidity::yul::test::yul_fuzzer::Create_Type value) { - assert(::solidity::yul::test::yul_fuzzer::Create_Type_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.createty_ = value; -} -inline void Create::set_createty(::solidity::yul::test::yul_fuzzer::Create_Type value) { - _internal_set_createty(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Create.createty) -} - -// required .solidity.yul.test.yul_fuzzer.Expression wei = 2; -inline bool Create::_internal_has_wei() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.wei_ != nullptr); - return value; -} -inline bool Create::has_wei() const { - return _internal_has_wei(); -} -inline void Create::clear_wei() { - if (_impl_.wei_ != nullptr) _impl_.wei_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& Create::_internal_wei() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.wei_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& Create::wei() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Create.wei) - return _internal_wei(); -} -inline void Create::unsafe_arena_set_allocated_wei( - ::solidity::yul::test::yul_fuzzer::Expression* wei) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.wei_); - } - _impl_.wei_ = wei; - if (wei) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Create.wei) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::release_wei() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.wei_; - _impl_.wei_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::unsafe_arena_release_wei() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Create.wei) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.wei_; - _impl_.wei_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::_internal_mutable_wei() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.wei_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.wei_ = p; - } - return _impl_.wei_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::mutable_wei() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_wei(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Create.wei) - return _msg; -} -inline void Create::set_allocated_wei(::solidity::yul::test::yul_fuzzer::Expression* wei) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.wei_; - } - if (wei) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(wei); - if (message_arena != submessage_arena) { - wei = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, wei, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.wei_ = wei; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Create.wei) -} - -// required .solidity.yul.test.yul_fuzzer.Expression position = 3; -inline bool Create::_internal_has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); - return value; -} -inline bool Create::has_position() const { - return _internal_has_position(); -} -inline void Create::clear_position() { - if (_impl_.position_ != nullptr) _impl_.position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& Create::_internal_position() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.position_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& Create::position() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Create.position) - return _internal_position(); -} -inline void Create::unsafe_arena_set_allocated_position( - ::solidity::yul::test::yul_fuzzer::Expression* position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - _impl_.position_ = position; - if (position) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Create.position) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::release_position() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.position_; - _impl_.position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::unsafe_arena_release_position() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Create.position) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.position_; - _impl_.position_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::_internal_mutable_position() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.position_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.position_ = p; - } - return _impl_.position_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::mutable_position() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_position(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Create.position) - return _msg; -} -inline void Create::set_allocated_position(::solidity::yul::test::yul_fuzzer::Expression* position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.position_; - } - if (position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(position); - if (message_arena != submessage_arena) { - position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.position_ = position; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Create.position) -} - -// required .solidity.yul.test.yul_fuzzer.Expression size = 4; -inline bool Create::_internal_has_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.size_ != nullptr); - return value; -} -inline bool Create::has_size() const { - return _internal_has_size(); -} -inline void Create::clear_size() { - if (_impl_.size_ != nullptr) _impl_.size_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& Create::_internal_size() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.size_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& Create::size() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Create.size) - return _internal_size(); -} -inline void Create::unsafe_arena_set_allocated_size( - ::solidity::yul::test::yul_fuzzer::Expression* size) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.size_); - } - _impl_.size_ = size; - if (size) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Create.size) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::release_size() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.size_; - _impl_.size_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::unsafe_arena_release_size() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Create.size) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.size_; - _impl_.size_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::_internal_mutable_size() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.size_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.size_ = p; - } - return _impl_.size_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::mutable_size() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_size(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Create.size) - return _msg; -} -inline void Create::set_allocated_size(::solidity::yul::test::yul_fuzzer::Expression* size) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.size_; - } - if (size) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(size); - if (message_arena != submessage_arena) { - size = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, size, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.size_ = size; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Create.size) -} - -// required .solidity.yul.test.yul_fuzzer.Expression value = 5; -inline bool Create::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); - return value; -} -inline bool Create::has_value() const { - return _internal_has_value(); -} -inline void Create::clear_value() { - if (_impl_.value_ != nullptr) _impl_.value_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& Create::_internal_value() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.value_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& Create::value() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Create.value) - return _internal_value(); -} -inline void Create::unsafe_arena_set_allocated_value( - ::solidity::yul::test::yul_fuzzer::Expression* value) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); - } - _impl_.value_ = value; - if (value) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Create.value) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::release_value() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.value_; - _impl_.value_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::unsafe_arena_release_value() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Create.value) - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.value_; - _impl_.value_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.value_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.value_ = p; - } - return _impl_.value_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* Create::mutable_value() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Create.value) - return _msg; -} -inline void Create::set_allocated_value(::solidity::yul::test::yul_fuzzer::Expression* value) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.value_; - } - if (value) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(value); - if (message_arena != submessage_arena) { - value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.value_ = value; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Create.value) -} - -// ------------------------------------------------------------------- - -// FunctionCall - -// required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; -inline bool FunctionCall::_internal_has_in_param1() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.in_param1_ != nullptr); - return value; -} -inline bool FunctionCall::has_in_param1() const { - return _internal_has_in_param1(); -} -inline void FunctionCall::clear_in_param1() { - if (_impl_.in_param1_ != nullptr) _impl_.in_param1_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& FunctionCall::_internal_in_param1() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.in_param1_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& FunctionCall::in_param1() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.FunctionCall.in_param1) - return _internal_in_param1(); -} -inline void FunctionCall::unsafe_arena_set_allocated_in_param1( - ::solidity::yul::test::yul_fuzzer::Expression* in_param1) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.in_param1_); - } - _impl_.in_param1_ = in_param1; - if (in_param1) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.FunctionCall.in_param1) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::release_in_param1() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.in_param1_; - _impl_.in_param1_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::unsafe_arena_release_in_param1() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.FunctionCall.in_param1) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.in_param1_; - _impl_.in_param1_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::_internal_mutable_in_param1() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.in_param1_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.in_param1_ = p; - } - return _impl_.in_param1_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::mutable_in_param1() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_in_param1(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.FunctionCall.in_param1) - return _msg; -} -inline void FunctionCall::set_allocated_in_param1(::solidity::yul::test::yul_fuzzer::Expression* in_param1) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.in_param1_; - } - if (in_param1) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(in_param1); - if (message_arena != submessage_arena) { - in_param1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, in_param1, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.in_param1_ = in_param1; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.FunctionCall.in_param1) -} - -// required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; -inline bool FunctionCall::_internal_has_in_param2() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.in_param2_ != nullptr); - return value; -} -inline bool FunctionCall::has_in_param2() const { - return _internal_has_in_param2(); -} -inline void FunctionCall::clear_in_param2() { - if (_impl_.in_param2_ != nullptr) _impl_.in_param2_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& FunctionCall::_internal_in_param2() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.in_param2_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& FunctionCall::in_param2() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.FunctionCall.in_param2) - return _internal_in_param2(); -} -inline void FunctionCall::unsafe_arena_set_allocated_in_param2( - ::solidity::yul::test::yul_fuzzer::Expression* in_param2) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.in_param2_); - } - _impl_.in_param2_ = in_param2; - if (in_param2) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.FunctionCall.in_param2) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::release_in_param2() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.in_param2_; - _impl_.in_param2_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::unsafe_arena_release_in_param2() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.FunctionCall.in_param2) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.in_param2_; - _impl_.in_param2_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::_internal_mutable_in_param2() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.in_param2_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.in_param2_ = p; - } - return _impl_.in_param2_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::mutable_in_param2() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_in_param2(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.FunctionCall.in_param2) - return _msg; -} -inline void FunctionCall::set_allocated_in_param2(::solidity::yul::test::yul_fuzzer::Expression* in_param2) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.in_param2_; - } - if (in_param2) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(in_param2); - if (message_arena != submessage_arena) { - in_param2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, in_param2, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.in_param2_ = in_param2; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.FunctionCall.in_param2) -} - -// required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; -inline bool FunctionCall::_internal_has_in_param3() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.in_param3_ != nullptr); - return value; -} -inline bool FunctionCall::has_in_param3() const { - return _internal_has_in_param3(); -} -inline void FunctionCall::clear_in_param3() { - if (_impl_.in_param3_ != nullptr) _impl_.in_param3_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& FunctionCall::_internal_in_param3() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.in_param3_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& FunctionCall::in_param3() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.FunctionCall.in_param3) - return _internal_in_param3(); -} -inline void FunctionCall::unsafe_arena_set_allocated_in_param3( - ::solidity::yul::test::yul_fuzzer::Expression* in_param3) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.in_param3_); - } - _impl_.in_param3_ = in_param3; - if (in_param3) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.FunctionCall.in_param3) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::release_in_param3() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.in_param3_; - _impl_.in_param3_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::unsafe_arena_release_in_param3() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.FunctionCall.in_param3) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.in_param3_; - _impl_.in_param3_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::_internal_mutable_in_param3() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.in_param3_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.in_param3_ = p; - } - return _impl_.in_param3_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::mutable_in_param3() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_in_param3(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.FunctionCall.in_param3) - return _msg; -} -inline void FunctionCall::set_allocated_in_param3(::solidity::yul::test::yul_fuzzer::Expression* in_param3) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.in_param3_; - } - if (in_param3) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(in_param3); - if (message_arena != submessage_arena) { - in_param3 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, in_param3, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.in_param3_ = in_param3; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.FunctionCall.in_param3) -} - -// required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; -inline bool FunctionCall::_internal_has_in_param4() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.in_param4_ != nullptr); - return value; -} -inline bool FunctionCall::has_in_param4() const { - return _internal_has_in_param4(); -} -inline void FunctionCall::clear_in_param4() { - if (_impl_.in_param4_ != nullptr) _impl_.in_param4_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& FunctionCall::_internal_in_param4() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.in_param4_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& FunctionCall::in_param4() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.FunctionCall.in_param4) - return _internal_in_param4(); -} -inline void FunctionCall::unsafe_arena_set_allocated_in_param4( - ::solidity::yul::test::yul_fuzzer::Expression* in_param4) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.in_param4_); - } - _impl_.in_param4_ = in_param4; - if (in_param4) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.FunctionCall.in_param4) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::release_in_param4() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.in_param4_; - _impl_.in_param4_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::unsafe_arena_release_in_param4() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.FunctionCall.in_param4) - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.in_param4_; - _impl_.in_param4_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::_internal_mutable_in_param4() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.in_param4_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.in_param4_ = p; - } - return _impl_.in_param4_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* FunctionCall::mutable_in_param4() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_in_param4(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.FunctionCall.in_param4) - return _msg; -} -inline void FunctionCall::set_allocated_in_param4(::solidity::yul::test::yul_fuzzer::Expression* in_param4) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.in_param4_; - } - if (in_param4) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(in_param4); - if (message_arena != submessage_arena) { - in_param4 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, in_param4, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.in_param4_ = in_param4; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.FunctionCall.in_param4) -} - -// ------------------------------------------------------------------- - -// TypedVarDecl - -// required int32 id = 1; -inline bool TypedVarDecl::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool TypedVarDecl::has_id() const { - return _internal_has_id(); -} -inline void TypedVarDecl::clear_id() { - _impl_.id_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t TypedVarDecl::_internal_id() const { - return _impl_.id_; -} -inline int32_t TypedVarDecl::id() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TypedVarDecl.id) - return _internal_id(); -} -inline void TypedVarDecl::_internal_set_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.id_ = value; -} -inline void TypedVarDecl::set_id(int32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.TypedVarDecl.id) -} - -// required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; -inline bool TypedVarDecl::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool TypedVarDecl::has_type() const { - return _internal_has_type(); -} -inline void TypedVarDecl::clear_type() { - _impl_.type_ = 1; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName TypedVarDecl::_internal_type() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName >(_impl_.type_); -} -inline ::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName TypedVarDecl::type() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TypedVarDecl.type) - return _internal_type(); -} -inline void TypedVarDecl::_internal_set_type(::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName value) { - assert(::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.type_ = value; -} -inline void TypedVarDecl::set_type(::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.TypedVarDecl.type) -} - -// required .solidity.yul.test.yul_fuzzer.Expression expr = 3; -inline bool TypedVarDecl::_internal_has_expr() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.expr_ != nullptr); - return value; -} -inline bool TypedVarDecl::has_expr() const { - return _internal_has_expr(); -} -inline void TypedVarDecl::clear_expr() { - if (_impl_.expr_ != nullptr) _impl_.expr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& TypedVarDecl::_internal_expr() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.expr_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& TypedVarDecl::expr() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TypedVarDecl.expr) - return _internal_expr(); -} -inline void TypedVarDecl::unsafe_arena_set_allocated_expr( - ::solidity::yul::test::yul_fuzzer::Expression* expr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.expr_); - } - _impl_.expr_ = expr; - if (expr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.TypedVarDecl.expr) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TypedVarDecl::release_expr() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.expr_; - _impl_.expr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TypedVarDecl::unsafe_arena_release_expr() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.TypedVarDecl.expr) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.expr_; - _impl_.expr_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TypedVarDecl::_internal_mutable_expr() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.expr_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.expr_ = p; - } - return _impl_.expr_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TypedVarDecl::mutable_expr() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_expr(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.TypedVarDecl.expr) - return _msg; -} -inline void TypedVarDecl::set_allocated_expr(::solidity::yul::test::yul_fuzzer::Expression* expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.expr_; - } - if (expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(expr); - if (message_arena != submessage_arena) { - expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, expr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.expr_ = expr; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TypedVarDecl.expr) -} - -// ------------------------------------------------------------------- - -// VarRef - -// required int32 varnum = 1; -inline bool VarRef::_internal_has_varnum() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool VarRef::has_varnum() const { - return _internal_has_varnum(); -} -inline void VarRef::clear_varnum() { - _impl_.varnum_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t VarRef::_internal_varnum() const { - return _impl_.varnum_; -} -inline int32_t VarRef::varnum() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.VarRef.varnum) - return _internal_varnum(); -} -inline void VarRef::_internal_set_varnum(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.varnum_ = value; -} -inline void VarRef::set_varnum(int32_t value) { - _internal_set_varnum(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.VarRef.varnum) -} - -// ------------------------------------------------------------------- - -// Literal - -// uint64 intval = 1; -inline bool Literal::_internal_has_intval() const { - return literal_oneof_case() == kIntval; -} -inline bool Literal::has_intval() const { - return _internal_has_intval(); -} -inline void Literal::set_has_intval() { - _impl_._oneof_case_[0] = kIntval; -} -inline void Literal::clear_intval() { - if (_internal_has_intval()) { - _impl_.literal_oneof_.intval_ = uint64_t{0u}; - clear_has_literal_oneof(); - } -} -inline uint64_t Literal::_internal_intval() const { - if (_internal_has_intval()) { - return _impl_.literal_oneof_.intval_; - } - return uint64_t{0u}; -} -inline void Literal::_internal_set_intval(uint64_t value) { - if (!_internal_has_intval()) { - clear_literal_oneof(); - set_has_intval(); - } - _impl_.literal_oneof_.intval_ = value; -} -inline uint64_t Literal::intval() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Literal.intval) - return _internal_intval(); -} -inline void Literal::set_intval(uint64_t value) { - _internal_set_intval(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Literal.intval) -} - -// string hexval = 2; -inline bool Literal::_internal_has_hexval() const { - return literal_oneof_case() == kHexval; -} -inline bool Literal::has_hexval() const { - return _internal_has_hexval(); -} -inline void Literal::set_has_hexval() { - _impl_._oneof_case_[0] = kHexval; -} -inline void Literal::clear_hexval() { - if (_internal_has_hexval()) { - _impl_.literal_oneof_.hexval_.Destroy(); - clear_has_literal_oneof(); - } -} -inline const std::string& Literal::hexval() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Literal.hexval) - return _internal_hexval(); -} -template -inline void Literal::set_hexval(ArgT0&& arg0, ArgT... args) { - if (!_internal_has_hexval()) { - clear_literal_oneof(); - set_has_hexval(); - _impl_.literal_oneof_.hexval_.InitDefault(); - } - _impl_.literal_oneof_.hexval_.Set( static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Literal.hexval) -} -inline std::string* Literal::mutable_hexval() { - std::string* _s = _internal_mutable_hexval(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Literal.hexval) - return _s; -} -inline const std::string& Literal::_internal_hexval() const { - if (_internal_has_hexval()) { - return _impl_.literal_oneof_.hexval_.Get(); - } - return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); -} -inline void Literal::_internal_set_hexval(const std::string& value) { - if (!_internal_has_hexval()) { - clear_literal_oneof(); - set_has_hexval(); - _impl_.literal_oneof_.hexval_.InitDefault(); - } - _impl_.literal_oneof_.hexval_.Set(value, GetArenaForAllocation()); -} -inline std::string* Literal::_internal_mutable_hexval() { - if (!_internal_has_hexval()) { - clear_literal_oneof(); - set_has_hexval(); - _impl_.literal_oneof_.hexval_.InitDefault(); - } - return _impl_.literal_oneof_.hexval_.Mutable( GetArenaForAllocation()); -} -inline std::string* Literal::release_hexval() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Literal.hexval) - if (_internal_has_hexval()) { - clear_has_literal_oneof(); - return _impl_.literal_oneof_.hexval_.Release(); - } else { - return nullptr; - } -} -inline void Literal::set_allocated_hexval(std::string* hexval) { - if (has_literal_oneof()) { - clear_literal_oneof(); - } - if (hexval != nullptr) { - set_has_hexval(); - _impl_.literal_oneof_.hexval_.InitAllocated(hexval, GetArenaForAllocation()); - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Literal.hexval) -} - -// string strval = 3; -inline bool Literal::_internal_has_strval() const { - return literal_oneof_case() == kStrval; -} -inline bool Literal::has_strval() const { - return _internal_has_strval(); -} -inline void Literal::set_has_strval() { - _impl_._oneof_case_[0] = kStrval; -} -inline void Literal::clear_strval() { - if (_internal_has_strval()) { - _impl_.literal_oneof_.strval_.Destroy(); - clear_has_literal_oneof(); - } -} -inline const std::string& Literal::strval() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Literal.strval) - return _internal_strval(); -} -template -inline void Literal::set_strval(ArgT0&& arg0, ArgT... args) { - if (!_internal_has_strval()) { - clear_literal_oneof(); - set_has_strval(); - _impl_.literal_oneof_.strval_.InitDefault(); - } - _impl_.literal_oneof_.strval_.Set( static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Literal.strval) -} -inline std::string* Literal::mutable_strval() { - std::string* _s = _internal_mutable_strval(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Literal.strval) - return _s; -} -inline const std::string& Literal::_internal_strval() const { - if (_internal_has_strval()) { - return _impl_.literal_oneof_.strval_.Get(); - } - return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); -} -inline void Literal::_internal_set_strval(const std::string& value) { - if (!_internal_has_strval()) { - clear_literal_oneof(); - set_has_strval(); - _impl_.literal_oneof_.strval_.InitDefault(); - } - _impl_.literal_oneof_.strval_.Set(value, GetArenaForAllocation()); -} -inline std::string* Literal::_internal_mutable_strval() { - if (!_internal_has_strval()) { - clear_literal_oneof(); - set_has_strval(); - _impl_.literal_oneof_.strval_.InitDefault(); - } - return _impl_.literal_oneof_.strval_.Mutable( GetArenaForAllocation()); -} -inline std::string* Literal::release_strval() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Literal.strval) - if (_internal_has_strval()) { - clear_has_literal_oneof(); - return _impl_.literal_oneof_.strval_.Release(); - } else { - return nullptr; - } -} -inline void Literal::set_allocated_strval(std::string* strval) { - if (has_literal_oneof()) { - clear_literal_oneof(); - } - if (strval != nullptr) { - set_has_strval(); - _impl_.literal_oneof_.strval_.InitAllocated(strval, GetArenaForAllocation()); - } - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Literal.strval) -} - -// bool boolval = 4; -inline bool Literal::_internal_has_boolval() const { - return literal_oneof_case() == kBoolval; -} -inline bool Literal::has_boolval() const { - return _internal_has_boolval(); -} -inline void Literal::set_has_boolval() { - _impl_._oneof_case_[0] = kBoolval; -} -inline void Literal::clear_boolval() { - if (_internal_has_boolval()) { - _impl_.literal_oneof_.boolval_ = false; - clear_has_literal_oneof(); - } -} -inline bool Literal::_internal_boolval() const { - if (_internal_has_boolval()) { - return _impl_.literal_oneof_.boolval_; - } - return false; -} -inline void Literal::_internal_set_boolval(bool value) { - if (!_internal_has_boolval()) { - clear_literal_oneof(); - set_has_boolval(); - } - _impl_.literal_oneof_.boolval_ = value; -} -inline bool Literal::boolval() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Literal.boolval) - return _internal_boolval(); -} -inline void Literal::set_boolval(bool value) { - _internal_set_boolval(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Literal.boolval) -} - -inline bool Literal::has_literal_oneof() const { - return literal_oneof_case() != LITERAL_ONEOF_NOT_SET; -} -inline void Literal::clear_has_literal_oneof() { - _impl_._oneof_case_[0] = LITERAL_ONEOF_NOT_SET; -} -inline Literal::LiteralOneofCase Literal::literal_oneof_case() const { - return Literal::LiteralOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// TypedLiteral - -// required int32 val = 1; -inline bool TypedLiteral::_internal_has_val() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool TypedLiteral::has_val() const { - return _internal_has_val(); -} -inline void TypedLiteral::clear_val() { - _impl_.val_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t TypedLiteral::_internal_val() const { - return _impl_.val_; -} -inline int32_t TypedLiteral::val() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TypedLiteral.val) - return _internal_val(); -} -inline void TypedLiteral::_internal_set_val(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.val_ = value; -} -inline void TypedLiteral::set_val(int32_t value) { - _internal_set_val(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.TypedLiteral.val) -} - -// required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; -inline bool TypedLiteral::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool TypedLiteral::has_type() const { - return _internal_has_type(); -} -inline void TypedLiteral::clear_type() { - _impl_.type_ = 1; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName TypedLiteral::_internal_type() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName >(_impl_.type_); -} -inline ::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName TypedLiteral::type() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TypedLiteral.type) - return _internal_type(); -} -inline void TypedLiteral::_internal_set_type(::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName value) { - assert(::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.type_ = value; -} -inline void TypedLiteral::set_type(::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.TypedLiteral.type) -} - -// ------------------------------------------------------------------- - -// BinaryOp - -// required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; -inline bool BinaryOp::_internal_has_op() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool BinaryOp::has_op() const { - return _internal_has_op(); -} -inline void BinaryOp::clear_op() { - _impl_.op_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::solidity::yul::test::yul_fuzzer::BinaryOp_BOp BinaryOp::_internal_op() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::BinaryOp_BOp >(_impl_.op_); -} -inline ::solidity::yul::test::yul_fuzzer::BinaryOp_BOp BinaryOp::op() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.BinaryOp.op) - return _internal_op(); -} -inline void BinaryOp::_internal_set_op(::solidity::yul::test::yul_fuzzer::BinaryOp_BOp value) { - assert(::solidity::yul::test::yul_fuzzer::BinaryOp_BOp_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.op_ = value; -} -inline void BinaryOp::set_op(::solidity::yul::test::yul_fuzzer::BinaryOp_BOp value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.BinaryOp.op) -} - -// required .solidity.yul.test.yul_fuzzer.Expression left = 2; -inline bool BinaryOp::_internal_has_left() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.left_ != nullptr); - return value; -} -inline bool BinaryOp::has_left() const { - return _internal_has_left(); -} -inline void BinaryOp::clear_left() { - if (_impl_.left_ != nullptr) _impl_.left_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& BinaryOp::_internal_left() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.left_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& BinaryOp::left() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.BinaryOp.left) - return _internal_left(); -} -inline void BinaryOp::unsafe_arena_set_allocated_left( - ::solidity::yul::test::yul_fuzzer::Expression* left) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.left_); - } - _impl_.left_ = left; - if (left) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.BinaryOp.left) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* BinaryOp::release_left() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.left_; - _impl_.left_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* BinaryOp::unsafe_arena_release_left() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.BinaryOp.left) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.left_; - _impl_.left_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* BinaryOp::_internal_mutable_left() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.left_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.left_ = p; - } - return _impl_.left_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* BinaryOp::mutable_left() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_left(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.BinaryOp.left) - return _msg; -} -inline void BinaryOp::set_allocated_left(::solidity::yul::test::yul_fuzzer::Expression* left) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.left_; - } - if (left) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(left); - if (message_arena != submessage_arena) { - left = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, left, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.left_ = left; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.BinaryOp.left) -} - -// required .solidity.yul.test.yul_fuzzer.Expression right = 3; -inline bool BinaryOp::_internal_has_right() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.right_ != nullptr); - return value; -} -inline bool BinaryOp::has_right() const { - return _internal_has_right(); -} -inline void BinaryOp::clear_right() { - if (_impl_.right_ != nullptr) _impl_.right_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& BinaryOp::_internal_right() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.right_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& BinaryOp::right() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.BinaryOp.right) - return _internal_right(); -} -inline void BinaryOp::unsafe_arena_set_allocated_right( - ::solidity::yul::test::yul_fuzzer::Expression* right) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.right_); - } - _impl_.right_ = right; - if (right) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.BinaryOp.right) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* BinaryOp::release_right() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.right_; - _impl_.right_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* BinaryOp::unsafe_arena_release_right() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.BinaryOp.right) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.right_; - _impl_.right_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* BinaryOp::_internal_mutable_right() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.right_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.right_ = p; - } - return _impl_.right_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* BinaryOp::mutable_right() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_right(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.BinaryOp.right) - return _msg; -} -inline void BinaryOp::set_allocated_right(::solidity::yul::test::yul_fuzzer::Expression* right) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.right_; - } - if (right) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(right); - if (message_arena != submessage_arena) { - right = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, right, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.right_ = right; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.BinaryOp.right) -} - -// ------------------------------------------------------------------- - -// UnaryOp - -// required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; -inline bool UnaryOp::_internal_has_op() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool UnaryOp::has_op() const { - return _internal_has_op(); -} -inline void UnaryOp::clear_op() { - _impl_.op_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOp_UOp UnaryOp::_internal_op() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::UnaryOp_UOp >(_impl_.op_); -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOp_UOp UnaryOp::op() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.UnaryOp.op) - return _internal_op(); -} -inline void UnaryOp::_internal_set_op(::solidity::yul::test::yul_fuzzer::UnaryOp_UOp value) { - assert(::solidity::yul::test::yul_fuzzer::UnaryOp_UOp_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.op_ = value; -} -inline void UnaryOp::set_op(::solidity::yul::test::yul_fuzzer::UnaryOp_UOp value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.UnaryOp.op) -} - -// required .solidity.yul.test.yul_fuzzer.Expression operand = 2; -inline bool UnaryOp::_internal_has_operand() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.operand_ != nullptr); - return value; -} -inline bool UnaryOp::has_operand() const { - return _internal_has_operand(); -} -inline void UnaryOp::clear_operand() { - if (_impl_.operand_ != nullptr) _impl_.operand_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& UnaryOp::_internal_operand() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.operand_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& UnaryOp::operand() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.UnaryOp.operand) - return _internal_operand(); -} -inline void UnaryOp::unsafe_arena_set_allocated_operand( - ::solidity::yul::test::yul_fuzzer::Expression* operand) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.operand_); - } - _impl_.operand_ = operand; - if (operand) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.UnaryOp.operand) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* UnaryOp::release_operand() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.operand_; - _impl_.operand_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* UnaryOp::unsafe_arena_release_operand() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.UnaryOp.operand) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.operand_; - _impl_.operand_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* UnaryOp::_internal_mutable_operand() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.operand_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.operand_ = p; - } - return _impl_.operand_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* UnaryOp::mutable_operand() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_operand(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.UnaryOp.operand) - return _msg; -} -inline void UnaryOp::set_allocated_operand(::solidity::yul::test::yul_fuzzer::Expression* operand) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.operand_; - } - if (operand) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(operand); - if (message_arena != submessage_arena) { - operand = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, operand, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.operand_ = operand; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.UnaryOp.operand) -} - -// ------------------------------------------------------------------- - -// UnaryOpData - -// required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; -inline bool UnaryOpData::_internal_has_op() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool UnaryOpData::has_op() const { - return _internal_has_op(); -} -inline void UnaryOpData::clear_op() { - _impl_.op_ = 1; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData UnaryOpData::_internal_op() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData >(_impl_.op_); -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData UnaryOpData::op() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.UnaryOpData.op) - return _internal_op(); -} -inline void UnaryOpData::_internal_set_op(::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData value) { - assert(::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.op_ = value; -} -inline void UnaryOpData::set_op(::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.UnaryOpData.op) -} - -// required uint64 identifier = 2; -inline bool UnaryOpData::_internal_has_identifier() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool UnaryOpData::has_identifier() const { - return _internal_has_identifier(); -} -inline void UnaryOpData::clear_identifier() { - _impl_.identifier_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t UnaryOpData::_internal_identifier() const { - return _impl_.identifier_; -} -inline uint64_t UnaryOpData::identifier() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.UnaryOpData.identifier) - return _internal_identifier(); -} -inline void UnaryOpData::_internal_set_identifier(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.identifier_ = value; -} -inline void UnaryOpData::set_identifier(uint64_t value) { - _internal_set_identifier(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.UnaryOpData.identifier) -} - -// ------------------------------------------------------------------- - -// TernaryOp - -// required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; -inline bool TernaryOp::_internal_has_op() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool TernaryOp::has_op() const { - return _internal_has_op(); -} -inline void TernaryOp::clear_op() { - _impl_.op_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::solidity::yul::test::yul_fuzzer::TernaryOp_TOp TernaryOp::_internal_op() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::TernaryOp_TOp >(_impl_.op_); -} -inline ::solidity::yul::test::yul_fuzzer::TernaryOp_TOp TernaryOp::op() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TernaryOp.op) - return _internal_op(); -} -inline void TernaryOp::_internal_set_op(::solidity::yul::test::yul_fuzzer::TernaryOp_TOp value) { - assert(::solidity::yul::test::yul_fuzzer::TernaryOp_TOp_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.op_ = value; -} -inline void TernaryOp::set_op(::solidity::yul::test::yul_fuzzer::TernaryOp_TOp value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.TernaryOp.op) -} - -// required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; -inline bool TernaryOp::_internal_has_arg1() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.arg1_ != nullptr); - return value; -} -inline bool TernaryOp::has_arg1() const { - return _internal_has_arg1(); -} -inline void TernaryOp::clear_arg1() { - if (_impl_.arg1_ != nullptr) _impl_.arg1_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& TernaryOp::_internal_arg1() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.arg1_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& TernaryOp::arg1() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TernaryOp.arg1) - return _internal_arg1(); -} -inline void TernaryOp::unsafe_arena_set_allocated_arg1( - ::solidity::yul::test::yul_fuzzer::Expression* arg1) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.arg1_); - } - _impl_.arg1_ = arg1; - if (arg1) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.TernaryOp.arg1) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::release_arg1() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.arg1_; - _impl_.arg1_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::unsafe_arena_release_arg1() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.TernaryOp.arg1) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.arg1_; - _impl_.arg1_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::_internal_mutable_arg1() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.arg1_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.arg1_ = p; - } - return _impl_.arg1_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::mutable_arg1() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_arg1(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.TernaryOp.arg1) - return _msg; -} -inline void TernaryOp::set_allocated_arg1(::solidity::yul::test::yul_fuzzer::Expression* arg1) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.arg1_; - } - if (arg1) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arg1); - if (message_arena != submessage_arena) { - arg1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, arg1, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.arg1_ = arg1; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TernaryOp.arg1) -} - -// required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; -inline bool TernaryOp::_internal_has_arg2() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.arg2_ != nullptr); - return value; -} -inline bool TernaryOp::has_arg2() const { - return _internal_has_arg2(); -} -inline void TernaryOp::clear_arg2() { - if (_impl_.arg2_ != nullptr) _impl_.arg2_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& TernaryOp::_internal_arg2() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.arg2_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& TernaryOp::arg2() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TernaryOp.arg2) - return _internal_arg2(); -} -inline void TernaryOp::unsafe_arena_set_allocated_arg2( - ::solidity::yul::test::yul_fuzzer::Expression* arg2) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.arg2_); - } - _impl_.arg2_ = arg2; - if (arg2) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.TernaryOp.arg2) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::release_arg2() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.arg2_; - _impl_.arg2_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::unsafe_arena_release_arg2() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.TernaryOp.arg2) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.arg2_; - _impl_.arg2_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::_internal_mutable_arg2() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.arg2_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.arg2_ = p; - } - return _impl_.arg2_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::mutable_arg2() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_arg2(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.TernaryOp.arg2) - return _msg; -} -inline void TernaryOp::set_allocated_arg2(::solidity::yul::test::yul_fuzzer::Expression* arg2) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.arg2_; - } - if (arg2) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arg2); - if (message_arena != submessage_arena) { - arg2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, arg2, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.arg2_ = arg2; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TernaryOp.arg2) -} - -// required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; -inline bool TernaryOp::_internal_has_arg3() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.arg3_ != nullptr); - return value; -} -inline bool TernaryOp::has_arg3() const { - return _internal_has_arg3(); -} -inline void TernaryOp::clear_arg3() { - if (_impl_.arg3_ != nullptr) _impl_.arg3_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& TernaryOp::_internal_arg3() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.arg3_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& TernaryOp::arg3() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TernaryOp.arg3) - return _internal_arg3(); -} -inline void TernaryOp::unsafe_arena_set_allocated_arg3( - ::solidity::yul::test::yul_fuzzer::Expression* arg3) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.arg3_); - } - _impl_.arg3_ = arg3; - if (arg3) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.TernaryOp.arg3) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::release_arg3() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.arg3_; - _impl_.arg3_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::unsafe_arena_release_arg3() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.TernaryOp.arg3) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.arg3_; - _impl_.arg3_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::_internal_mutable_arg3() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.arg3_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.arg3_ = p; - } - return _impl_.arg3_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* TernaryOp::mutable_arg3() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_arg3(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.TernaryOp.arg3) - return _msg; -} -inline void TernaryOp::set_allocated_arg3(::solidity::yul::test::yul_fuzzer::Expression* arg3) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.arg3_; - } - if (arg3) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arg3); - if (message_arena != submessage_arena) { - arg3 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, arg3, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.arg3_ = arg3; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TernaryOp.arg3) -} - -// ------------------------------------------------------------------- - -// CopyFunc - -// required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; -inline bool CopyFunc::_internal_has_ct() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CopyFunc::has_ct() const { - return _internal_has_ct(); -} -inline void CopyFunc::clear_ct() { - _impl_.ct_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType CopyFunc::_internal_ct() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType >(_impl_.ct_); -} -inline ::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType CopyFunc::ct() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.CopyFunc.ct) - return _internal_ct(); -} -inline void CopyFunc::_internal_set_ct(::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType value) { - assert(::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ct_ = value; -} -inline void CopyFunc::set_ct(::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType value) { - _internal_set_ct(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.CopyFunc.ct) -} - -// required .solidity.yul.test.yul_fuzzer.Expression target = 2; -inline bool CopyFunc::_internal_has_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_ != nullptr); - return value; -} -inline bool CopyFunc::has_target() const { - return _internal_has_target(); -} -inline void CopyFunc::clear_target() { - if (_impl_.target_ != nullptr) _impl_.target_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& CopyFunc::_internal_target() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.target_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& CopyFunc::target() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.CopyFunc.target) - return _internal_target(); -} -inline void CopyFunc::unsafe_arena_set_allocated_target( - ::solidity::yul::test::yul_fuzzer::Expression* target) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_); - } - _impl_.target_ = target; - if (target) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.CopyFunc.target) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::release_target() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.target_; - _impl_.target_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::unsafe_arena_release_target() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.CopyFunc.target) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.target_; - _impl_.target_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::_internal_mutable_target() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.target_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.target_ = p; - } - return _impl_.target_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::mutable_target() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_target(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.CopyFunc.target) - return _msg; -} -inline void CopyFunc::set_allocated_target(::solidity::yul::test::yul_fuzzer::Expression* target) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.target_; - } - if (target) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target); - if (message_arena != submessage_arena) { - target = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, target, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.target_ = target; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.CopyFunc.target) -} - -// required .solidity.yul.test.yul_fuzzer.Expression source = 3; -inline bool CopyFunc::_internal_has_source() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.source_ != nullptr); - return value; -} -inline bool CopyFunc::has_source() const { - return _internal_has_source(); -} -inline void CopyFunc::clear_source() { - if (_impl_.source_ != nullptr) _impl_.source_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& CopyFunc::_internal_source() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.source_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& CopyFunc::source() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.CopyFunc.source) - return _internal_source(); -} -inline void CopyFunc::unsafe_arena_set_allocated_source( - ::solidity::yul::test::yul_fuzzer::Expression* source) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_); - } - _impl_.source_ = source; - if (source) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.CopyFunc.source) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::release_source() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.source_; - _impl_.source_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::unsafe_arena_release_source() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.CopyFunc.source) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.source_; - _impl_.source_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::_internal_mutable_source() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.source_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.source_ = p; - } - return _impl_.source_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::mutable_source() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_source(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.CopyFunc.source) - return _msg; -} -inline void CopyFunc::set_allocated_source(::solidity::yul::test::yul_fuzzer::Expression* source) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.source_; - } - if (source) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source); - if (message_arena != submessage_arena) { - source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, source, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.source_ = source; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.CopyFunc.source) -} - -// required .solidity.yul.test.yul_fuzzer.Expression size = 4; -inline bool CopyFunc::_internal_has_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.size_ != nullptr); - return value; -} -inline bool CopyFunc::has_size() const { - return _internal_has_size(); -} -inline void CopyFunc::clear_size() { - if (_impl_.size_ != nullptr) _impl_.size_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& CopyFunc::_internal_size() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.size_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& CopyFunc::size() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.CopyFunc.size) - return _internal_size(); -} -inline void CopyFunc::unsafe_arena_set_allocated_size( - ::solidity::yul::test::yul_fuzzer::Expression* size) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.size_); - } - _impl_.size_ = size; - if (size) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.CopyFunc.size) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::release_size() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.size_; - _impl_.size_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::unsafe_arena_release_size() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.CopyFunc.size) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.size_; - _impl_.size_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::_internal_mutable_size() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.size_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.size_ = p; - } - return _impl_.size_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* CopyFunc::mutable_size() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_size(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.CopyFunc.size) - return _msg; -} -inline void CopyFunc::set_allocated_size(::solidity::yul::test::yul_fuzzer::Expression* size) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.size_; - } - if (size) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(size); - if (message_arena != submessage_arena) { - size = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, size, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.size_ = size; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.CopyFunc.size) -} - -// ------------------------------------------------------------------- - -// ExtCodeCopy - -// required .solidity.yul.test.yul_fuzzer.Expression addr = 1; -inline bool ExtCodeCopy::_internal_has_addr() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.addr_ != nullptr); - return value; -} -inline bool ExtCodeCopy::has_addr() const { - return _internal_has_addr(); -} -inline void ExtCodeCopy::clear_addr() { - if (_impl_.addr_ != nullptr) _impl_.addr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& ExtCodeCopy::_internal_addr() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.addr_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& ExtCodeCopy::addr() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.ExtCodeCopy.addr) - return _internal_addr(); -} -inline void ExtCodeCopy::unsafe_arena_set_allocated_addr( - ::solidity::yul::test::yul_fuzzer::Expression* addr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.addr_); - } - _impl_.addr_ = addr; - if (addr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.ExtCodeCopy.addr) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::release_addr() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.addr_; - _impl_.addr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::unsafe_arena_release_addr() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.ExtCodeCopy.addr) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.addr_; - _impl_.addr_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::_internal_mutable_addr() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.addr_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.addr_ = p; - } - return _impl_.addr_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::mutable_addr() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_addr(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.ExtCodeCopy.addr) - return _msg; -} -inline void ExtCodeCopy::set_allocated_addr(::solidity::yul::test::yul_fuzzer::Expression* addr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.addr_; - } - if (addr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(addr); - if (message_arena != submessage_arena) { - addr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, addr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.addr_ = addr; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.ExtCodeCopy.addr) -} - -// required .solidity.yul.test.yul_fuzzer.Expression target = 2; -inline bool ExtCodeCopy::_internal_has_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_ != nullptr); - return value; -} -inline bool ExtCodeCopy::has_target() const { - return _internal_has_target(); -} -inline void ExtCodeCopy::clear_target() { - if (_impl_.target_ != nullptr) _impl_.target_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& ExtCodeCopy::_internal_target() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.target_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& ExtCodeCopy::target() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.ExtCodeCopy.target) - return _internal_target(); -} -inline void ExtCodeCopy::unsafe_arena_set_allocated_target( - ::solidity::yul::test::yul_fuzzer::Expression* target) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_); - } - _impl_.target_ = target; - if (target) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.ExtCodeCopy.target) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::release_target() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.target_; - _impl_.target_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::unsafe_arena_release_target() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.ExtCodeCopy.target) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.target_; - _impl_.target_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::_internal_mutable_target() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.target_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.target_ = p; - } - return _impl_.target_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::mutable_target() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_target(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.ExtCodeCopy.target) - return _msg; -} -inline void ExtCodeCopy::set_allocated_target(::solidity::yul::test::yul_fuzzer::Expression* target) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.target_; - } - if (target) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target); - if (message_arena != submessage_arena) { - target = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, target, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.target_ = target; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.ExtCodeCopy.target) -} - -// required .solidity.yul.test.yul_fuzzer.Expression source = 3; -inline bool ExtCodeCopy::_internal_has_source() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.source_ != nullptr); - return value; -} -inline bool ExtCodeCopy::has_source() const { - return _internal_has_source(); -} -inline void ExtCodeCopy::clear_source() { - if (_impl_.source_ != nullptr) _impl_.source_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& ExtCodeCopy::_internal_source() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.source_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& ExtCodeCopy::source() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.ExtCodeCopy.source) - return _internal_source(); -} -inline void ExtCodeCopy::unsafe_arena_set_allocated_source( - ::solidity::yul::test::yul_fuzzer::Expression* source) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_); - } - _impl_.source_ = source; - if (source) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.ExtCodeCopy.source) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::release_source() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.source_; - _impl_.source_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::unsafe_arena_release_source() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.ExtCodeCopy.source) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.source_; - _impl_.source_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::_internal_mutable_source() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.source_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.source_ = p; - } - return _impl_.source_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::mutable_source() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_source(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.ExtCodeCopy.source) - return _msg; -} -inline void ExtCodeCopy::set_allocated_source(::solidity::yul::test::yul_fuzzer::Expression* source) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.source_; - } - if (source) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source); - if (message_arena != submessage_arena) { - source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, source, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.source_ = source; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.ExtCodeCopy.source) -} - -// required .solidity.yul.test.yul_fuzzer.Expression size = 4; -inline bool ExtCodeCopy::_internal_has_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.size_ != nullptr); - return value; -} -inline bool ExtCodeCopy::has_size() const { - return _internal_has_size(); -} -inline void ExtCodeCopy::clear_size() { - if (_impl_.size_ != nullptr) _impl_.size_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& ExtCodeCopy::_internal_size() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.size_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& ExtCodeCopy::size() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.ExtCodeCopy.size) - return _internal_size(); -} -inline void ExtCodeCopy::unsafe_arena_set_allocated_size( - ::solidity::yul::test::yul_fuzzer::Expression* size) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.size_); - } - _impl_.size_ = size; - if (size) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.ExtCodeCopy.size) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::release_size() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.size_; - _impl_.size_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::unsafe_arena_release_size() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.ExtCodeCopy.size) - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.size_; - _impl_.size_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::_internal_mutable_size() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.size_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.size_ = p; - } - return _impl_.size_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ExtCodeCopy::mutable_size() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_size(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.ExtCodeCopy.size) - return _msg; -} -inline void ExtCodeCopy::set_allocated_size(::solidity::yul::test::yul_fuzzer::Expression* size) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.size_; - } - if (size) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(size); - if (message_arena != submessage_arena) { - size = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, size, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.size_ = size; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.ExtCodeCopy.size) -} - -// ------------------------------------------------------------------- - -// NullaryOp - -// required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; -inline bool NullaryOp::_internal_has_op() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool NullaryOp::has_op() const { - return _internal_has_op(); -} -inline void NullaryOp::clear_op() { - _impl_.op_ = 1; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::yul::test::yul_fuzzer::NullaryOp_NOp NullaryOp::_internal_op() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::NullaryOp_NOp >(_impl_.op_); -} -inline ::solidity::yul::test::yul_fuzzer::NullaryOp_NOp NullaryOp::op() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.NullaryOp.op) - return _internal_op(); -} -inline void NullaryOp::_internal_set_op(::solidity::yul::test::yul_fuzzer::NullaryOp_NOp value) { - assert(::solidity::yul::test::yul_fuzzer::NullaryOp_NOp_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.op_ = value; -} -inline void NullaryOp::set_op(::solidity::yul::test::yul_fuzzer::NullaryOp_NOp value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.NullaryOp.op) -} - -// ------------------------------------------------------------------- - -// StoreFunc - -// required .solidity.yul.test.yul_fuzzer.Expression loc = 1; -inline bool StoreFunc::_internal_has_loc() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.loc_ != nullptr); - return value; -} -inline bool StoreFunc::has_loc() const { - return _internal_has_loc(); -} -inline void StoreFunc::clear_loc() { - if (_impl_.loc_ != nullptr) _impl_.loc_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& StoreFunc::_internal_loc() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.loc_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& StoreFunc::loc() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.StoreFunc.loc) - return _internal_loc(); -} -inline void StoreFunc::unsafe_arena_set_allocated_loc( - ::solidity::yul::test::yul_fuzzer::Expression* loc) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.loc_); - } - _impl_.loc_ = loc; - if (loc) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.StoreFunc.loc) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* StoreFunc::release_loc() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.loc_; - _impl_.loc_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* StoreFunc::unsafe_arena_release_loc() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.StoreFunc.loc) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.loc_; - _impl_.loc_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* StoreFunc::_internal_mutable_loc() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.loc_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.loc_ = p; - } - return _impl_.loc_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* StoreFunc::mutable_loc() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_loc(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.StoreFunc.loc) - return _msg; -} -inline void StoreFunc::set_allocated_loc(::solidity::yul::test::yul_fuzzer::Expression* loc) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.loc_; - } - if (loc) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(loc); - if (message_arena != submessage_arena) { - loc = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, loc, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.loc_ = loc; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.StoreFunc.loc) -} - -// required .solidity.yul.test.yul_fuzzer.Expression val = 2; -inline bool StoreFunc::_internal_has_val() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.val_ != nullptr); - return value; -} -inline bool StoreFunc::has_val() const { - return _internal_has_val(); -} -inline void StoreFunc::clear_val() { - if (_impl_.val_ != nullptr) _impl_.val_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& StoreFunc::_internal_val() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.val_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& StoreFunc::val() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.StoreFunc.val) - return _internal_val(); -} -inline void StoreFunc::unsafe_arena_set_allocated_val( - ::solidity::yul::test::yul_fuzzer::Expression* val) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.val_); - } - _impl_.val_ = val; - if (val) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.StoreFunc.val) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* StoreFunc::release_val() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.val_; - _impl_.val_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* StoreFunc::unsafe_arena_release_val() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.StoreFunc.val) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.val_; - _impl_.val_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* StoreFunc::_internal_mutable_val() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.val_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.val_ = p; - } - return _impl_.val_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* StoreFunc::mutable_val() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_val(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.StoreFunc.val) - return _msg; -} -inline void StoreFunc::set_allocated_val(::solidity::yul::test::yul_fuzzer::Expression* val) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.val_; - } - if (val) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(val); - if (message_arena != submessage_arena) { - val = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, val, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.val_ = val; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.StoreFunc.val) -} - -// required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; -inline bool StoreFunc::_internal_has_st() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool StoreFunc::has_st() const { - return _internal_has_st(); -} -inline void StoreFunc::clear_st() { - _impl_.st_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::solidity::yul::test::yul_fuzzer::StoreFunc_Storage StoreFunc::_internal_st() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::StoreFunc_Storage >(_impl_.st_); -} -inline ::solidity::yul::test::yul_fuzzer::StoreFunc_Storage StoreFunc::st() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.StoreFunc.st) - return _internal_st(); -} -inline void StoreFunc::_internal_set_st(::solidity::yul::test::yul_fuzzer::StoreFunc_Storage value) { - assert(::solidity::yul::test::yul_fuzzer::StoreFunc_Storage_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.st_ = value; -} -inline void StoreFunc::set_st(::solidity::yul::test::yul_fuzzer::StoreFunc_Storage value) { - _internal_set_st(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.StoreFunc.st) -} - -// ------------------------------------------------------------------- - -// LogFunc - -// required .solidity.yul.test.yul_fuzzer.Expression pos = 1; -inline bool LogFunc::_internal_has_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); - return value; -} -inline bool LogFunc::has_pos() const { - return _internal_has_pos(); -} -inline void LogFunc::clear_pos() { - if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::_internal_pos() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.pos_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::pos() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LogFunc.pos) - return _internal_pos(); -} -inline void LogFunc::unsafe_arena_set_allocated_pos( - ::solidity::yul::test::yul_fuzzer::Expression* pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - _impl_.pos_ = pos; - if (pos) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.pos) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::release_pos() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.pos_; - _impl_.pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::unsafe_arena_release_pos() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LogFunc.pos) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.pos_; - _impl_.pos_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::_internal_mutable_pos() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.pos_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.pos_ = p; - } - return _impl_.pos_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::mutable_pos() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_pos(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LogFunc.pos) - return _msg; -} -inline void LogFunc::set_allocated_pos(::solidity::yul::test::yul_fuzzer::Expression* pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.pos_; - } - if (pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pos); - if (message_arena != submessage_arena) { - pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.pos_ = pos; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.pos) -} - -// required .solidity.yul.test.yul_fuzzer.Expression size = 2; -inline bool LogFunc::_internal_has_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.size_ != nullptr); - return value; -} -inline bool LogFunc::has_size() const { - return _internal_has_size(); -} -inline void LogFunc::clear_size() { - if (_impl_.size_ != nullptr) _impl_.size_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::_internal_size() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.size_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::size() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LogFunc.size) - return _internal_size(); -} -inline void LogFunc::unsafe_arena_set_allocated_size( - ::solidity::yul::test::yul_fuzzer::Expression* size) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.size_); - } - _impl_.size_ = size; - if (size) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.size) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::release_size() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.size_; - _impl_.size_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::unsafe_arena_release_size() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LogFunc.size) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.size_; - _impl_.size_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::_internal_mutable_size() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.size_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.size_ = p; - } - return _impl_.size_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::mutable_size() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_size(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LogFunc.size) - return _msg; -} -inline void LogFunc::set_allocated_size(::solidity::yul::test::yul_fuzzer::Expression* size) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.size_; - } - if (size) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(size); - if (message_arena != submessage_arena) { - size = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, size, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.size_ = size; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.size) -} - -// required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; -inline bool LogFunc::_internal_has_num_topics() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool LogFunc::has_num_topics() const { - return _internal_has_num_topics(); -} -inline void LogFunc::clear_num_topics() { - _impl_.num_topics_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline ::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics LogFunc::_internal_num_topics() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics >(_impl_.num_topics_); -} -inline ::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics LogFunc::num_topics() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LogFunc.num_topics) - return _internal_num_topics(); -} -inline void LogFunc::_internal_set_num_topics(::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics value) { - assert(::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.num_topics_ = value; -} -inline void LogFunc::set_num_topics(::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics value) { - _internal_set_num_topics(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.LogFunc.num_topics) -} - -// required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; -inline bool LogFunc::_internal_has_t1() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.t1_ != nullptr); - return value; -} -inline bool LogFunc::has_t1() const { - return _internal_has_t1(); -} -inline void LogFunc::clear_t1() { - if (_impl_.t1_ != nullptr) _impl_.t1_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::_internal_t1() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.t1_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::t1() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LogFunc.t1) - return _internal_t1(); -} -inline void LogFunc::unsafe_arena_set_allocated_t1( - ::solidity::yul::test::yul_fuzzer::Expression* t1) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.t1_); - } - _impl_.t1_ = t1; - if (t1) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.t1) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::release_t1() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.t1_; - _impl_.t1_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::unsafe_arena_release_t1() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LogFunc.t1) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.t1_; - _impl_.t1_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::_internal_mutable_t1() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.t1_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.t1_ = p; - } - return _impl_.t1_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::mutable_t1() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_t1(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LogFunc.t1) - return _msg; -} -inline void LogFunc::set_allocated_t1(::solidity::yul::test::yul_fuzzer::Expression* t1) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.t1_; - } - if (t1) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(t1); - if (message_arena != submessage_arena) { - t1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, t1, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.t1_ = t1; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.t1) -} - -// required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; -inline bool LogFunc::_internal_has_t2() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.t2_ != nullptr); - return value; -} -inline bool LogFunc::has_t2() const { - return _internal_has_t2(); -} -inline void LogFunc::clear_t2() { - if (_impl_.t2_ != nullptr) _impl_.t2_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::_internal_t2() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.t2_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::t2() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LogFunc.t2) - return _internal_t2(); -} -inline void LogFunc::unsafe_arena_set_allocated_t2( - ::solidity::yul::test::yul_fuzzer::Expression* t2) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.t2_); - } - _impl_.t2_ = t2; - if (t2) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.t2) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::release_t2() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.t2_; - _impl_.t2_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::unsafe_arena_release_t2() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LogFunc.t2) - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.t2_; - _impl_.t2_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::_internal_mutable_t2() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.t2_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.t2_ = p; - } - return _impl_.t2_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::mutable_t2() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_t2(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LogFunc.t2) - return _msg; -} -inline void LogFunc::set_allocated_t2(::solidity::yul::test::yul_fuzzer::Expression* t2) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.t2_; - } - if (t2) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(t2); - if (message_arena != submessage_arena) { - t2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, t2, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.t2_ = t2; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.t2) -} - -// required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; -inline bool LogFunc::_internal_has_t3() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.t3_ != nullptr); - return value; -} -inline bool LogFunc::has_t3() const { - return _internal_has_t3(); -} -inline void LogFunc::clear_t3() { - if (_impl_.t3_ != nullptr) _impl_.t3_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::_internal_t3() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.t3_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::t3() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LogFunc.t3) - return _internal_t3(); -} -inline void LogFunc::unsafe_arena_set_allocated_t3( - ::solidity::yul::test::yul_fuzzer::Expression* t3) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.t3_); - } - _impl_.t3_ = t3; - if (t3) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.t3) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::release_t3() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.t3_; - _impl_.t3_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::unsafe_arena_release_t3() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LogFunc.t3) - _impl_._has_bits_[0] &= ~0x00000010u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.t3_; - _impl_.t3_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::_internal_mutable_t3() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.t3_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.t3_ = p; - } - return _impl_.t3_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::mutable_t3() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_t3(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LogFunc.t3) - return _msg; -} -inline void LogFunc::set_allocated_t3(::solidity::yul::test::yul_fuzzer::Expression* t3) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.t3_; - } - if (t3) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(t3); - if (message_arena != submessage_arena) { - t3 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, t3, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.t3_ = t3; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.t3) -} - -// required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; -inline bool LogFunc::_internal_has_t4() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - PROTOBUF_ASSUME(!value || _impl_.t4_ != nullptr); - return value; -} -inline bool LogFunc::has_t4() const { - return _internal_has_t4(); -} -inline void LogFunc::clear_t4() { - if (_impl_.t4_ != nullptr) _impl_.t4_->Clear(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::_internal_t4() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.t4_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& LogFunc::t4() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.LogFunc.t4) - return _internal_t4(); -} -inline void LogFunc::unsafe_arena_set_allocated_t4( - ::solidity::yul::test::yul_fuzzer::Expression* t4) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.t4_); - } - _impl_.t4_ = t4; - if (t4) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.t4) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::release_t4() { - _impl_._has_bits_[0] &= ~0x00000020u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.t4_; - _impl_.t4_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::unsafe_arena_release_t4() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.LogFunc.t4) - _impl_._has_bits_[0] &= ~0x00000020u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.t4_; - _impl_.t4_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::_internal_mutable_t4() { - _impl_._has_bits_[0] |= 0x00000020u; - if (_impl_.t4_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.t4_ = p; - } - return _impl_.t4_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* LogFunc::mutable_t4() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_t4(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.LogFunc.t4) - return _msg; -} -inline void LogFunc::set_allocated_t4(::solidity::yul::test::yul_fuzzer::Expression* t4) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.t4_; - } - if (t4) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(t4); - if (message_arena != submessage_arena) { - t4 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, t4, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.t4_ = t4; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.LogFunc.t4) -} - -// ------------------------------------------------------------------- - -// Expression - -// .solidity.yul.test.yul_fuzzer.VarRef varref = 1; -inline bool Expression::_internal_has_varref() const { - return expr_oneof_case() == kVarref; -} -inline bool Expression::has_varref() const { - return _internal_has_varref(); -} -inline void Expression::set_has_varref() { - _impl_._oneof_case_[0] = kVarref; -} -inline void Expression::clear_varref() { - if (_internal_has_varref()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.varref_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::VarRef* Expression::release_varref() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Expression.varref) - if (_internal_has_varref()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::VarRef* temp = _impl_.expr_oneof_.varref_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.varref_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::VarRef& Expression::_internal_varref() const { - return _internal_has_varref() - ? *_impl_.expr_oneof_.varref_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::VarRef&>(::solidity::yul::test::yul_fuzzer::_VarRef_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::VarRef& Expression::varref() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Expression.varref) - return _internal_varref(); -} -inline ::solidity::yul::test::yul_fuzzer::VarRef* Expression::unsafe_arena_release_varref() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Expression.varref) - if (_internal_has_varref()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::VarRef* temp = _impl_.expr_oneof_.varref_; - _impl_.expr_oneof_.varref_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_varref(::solidity::yul::test::yul_fuzzer::VarRef* varref) { - clear_expr_oneof(); - if (varref) { - set_has_varref(); - _impl_.expr_oneof_.varref_ = varref; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Expression.varref) -} -inline ::solidity::yul::test::yul_fuzzer::VarRef* Expression::_internal_mutable_varref() { - if (!_internal_has_varref()) { - clear_expr_oneof(); - set_has_varref(); - _impl_.expr_oneof_.varref_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::VarRef >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.varref_; -} -inline ::solidity::yul::test::yul_fuzzer::VarRef* Expression::mutable_varref() { - ::solidity::yul::test::yul_fuzzer::VarRef* _msg = _internal_mutable_varref(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Expression.varref) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.Literal cons = 2; -inline bool Expression::_internal_has_cons() const { - return expr_oneof_case() == kCons; -} -inline bool Expression::has_cons() const { - return _internal_has_cons(); -} -inline void Expression::set_has_cons() { - _impl_._oneof_case_[0] = kCons; -} -inline void Expression::clear_cons() { - if (_internal_has_cons()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.cons_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::Literal* Expression::release_cons() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Expression.cons) - if (_internal_has_cons()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::Literal* temp = _impl_.expr_oneof_.cons_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.cons_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::Literal& Expression::_internal_cons() const { - return _internal_has_cons() - ? *_impl_.expr_oneof_.cons_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::Literal&>(::solidity::yul::test::yul_fuzzer::_Literal_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Literal& Expression::cons() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Expression.cons) - return _internal_cons(); -} -inline ::solidity::yul::test::yul_fuzzer::Literal* Expression::unsafe_arena_release_cons() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Expression.cons) - if (_internal_has_cons()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::Literal* temp = _impl_.expr_oneof_.cons_; - _impl_.expr_oneof_.cons_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_cons(::solidity::yul::test::yul_fuzzer::Literal* cons) { - clear_expr_oneof(); - if (cons) { - set_has_cons(); - _impl_.expr_oneof_.cons_ = cons; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Expression.cons) -} -inline ::solidity::yul::test::yul_fuzzer::Literal* Expression::_internal_mutable_cons() { - if (!_internal_has_cons()) { - clear_expr_oneof(); - set_has_cons(); - _impl_.expr_oneof_.cons_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Literal >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.cons_; -} -inline ::solidity::yul::test::yul_fuzzer::Literal* Expression::mutable_cons() { - ::solidity::yul::test::yul_fuzzer::Literal* _msg = _internal_mutable_cons(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Expression.cons) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.BinaryOp binop = 3; -inline bool Expression::_internal_has_binop() const { - return expr_oneof_case() == kBinop; -} -inline bool Expression::has_binop() const { - return _internal_has_binop(); -} -inline void Expression::set_has_binop() { - _impl_._oneof_case_[0] = kBinop; -} -inline void Expression::clear_binop() { - if (_internal_has_binop()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.binop_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::BinaryOp* Expression::release_binop() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Expression.binop) - if (_internal_has_binop()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::BinaryOp* temp = _impl_.expr_oneof_.binop_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.binop_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::BinaryOp& Expression::_internal_binop() const { - return _internal_has_binop() - ? *_impl_.expr_oneof_.binop_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::BinaryOp&>(::solidity::yul::test::yul_fuzzer::_BinaryOp_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::BinaryOp& Expression::binop() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Expression.binop) - return _internal_binop(); -} -inline ::solidity::yul::test::yul_fuzzer::BinaryOp* Expression::unsafe_arena_release_binop() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Expression.binop) - if (_internal_has_binop()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::BinaryOp* temp = _impl_.expr_oneof_.binop_; - _impl_.expr_oneof_.binop_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_binop(::solidity::yul::test::yul_fuzzer::BinaryOp* binop) { - clear_expr_oneof(); - if (binop) { - set_has_binop(); - _impl_.expr_oneof_.binop_ = binop; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Expression.binop) -} -inline ::solidity::yul::test::yul_fuzzer::BinaryOp* Expression::_internal_mutable_binop() { - if (!_internal_has_binop()) { - clear_expr_oneof(); - set_has_binop(); - _impl_.expr_oneof_.binop_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BinaryOp >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.binop_; -} -inline ::solidity::yul::test::yul_fuzzer::BinaryOp* Expression::mutable_binop() { - ::solidity::yul::test::yul_fuzzer::BinaryOp* _msg = _internal_mutable_binop(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Expression.binop) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.UnaryOp unop = 4; -inline bool Expression::_internal_has_unop() const { - return expr_oneof_case() == kUnop; -} -inline bool Expression::has_unop() const { - return _internal_has_unop(); -} -inline void Expression::set_has_unop() { - _impl_._oneof_case_[0] = kUnop; -} -inline void Expression::clear_unop() { - if (_internal_has_unop()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.unop_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOp* Expression::release_unop() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Expression.unop) - if (_internal_has_unop()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::UnaryOp* temp = _impl_.expr_oneof_.unop_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.unop_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::UnaryOp& Expression::_internal_unop() const { - return _internal_has_unop() - ? *_impl_.expr_oneof_.unop_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::UnaryOp&>(::solidity::yul::test::yul_fuzzer::_UnaryOp_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::UnaryOp& Expression::unop() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Expression.unop) - return _internal_unop(); -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOp* Expression::unsafe_arena_release_unop() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Expression.unop) - if (_internal_has_unop()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::UnaryOp* temp = _impl_.expr_oneof_.unop_; - _impl_.expr_oneof_.unop_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_unop(::solidity::yul::test::yul_fuzzer::UnaryOp* unop) { - clear_expr_oneof(); - if (unop) { - set_has_unop(); - _impl_.expr_oneof_.unop_ = unop; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Expression.unop) -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOp* Expression::_internal_mutable_unop() { - if (!_internal_has_unop()) { - clear_expr_oneof(); - set_has_unop(); - _impl_.expr_oneof_.unop_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::UnaryOp >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.unop_; -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOp* Expression::mutable_unop() { - ::solidity::yul::test::yul_fuzzer::UnaryOp* _msg = _internal_mutable_unop(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Expression.unop) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.TernaryOp top = 5; -inline bool Expression::_internal_has_top() const { - return expr_oneof_case() == kTop; -} -inline bool Expression::has_top() const { - return _internal_has_top(); -} -inline void Expression::set_has_top() { - _impl_._oneof_case_[0] = kTop; -} -inline void Expression::clear_top() { - if (_internal_has_top()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.top_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::TernaryOp* Expression::release_top() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Expression.top) - if (_internal_has_top()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::TernaryOp* temp = _impl_.expr_oneof_.top_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.top_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::TernaryOp& Expression::_internal_top() const { - return _internal_has_top() - ? *_impl_.expr_oneof_.top_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::TernaryOp&>(::solidity::yul::test::yul_fuzzer::_TernaryOp_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::TernaryOp& Expression::top() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Expression.top) - return _internal_top(); -} -inline ::solidity::yul::test::yul_fuzzer::TernaryOp* Expression::unsafe_arena_release_top() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Expression.top) - if (_internal_has_top()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::TernaryOp* temp = _impl_.expr_oneof_.top_; - _impl_.expr_oneof_.top_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_top(::solidity::yul::test::yul_fuzzer::TernaryOp* top) { - clear_expr_oneof(); - if (top) { - set_has_top(); - _impl_.expr_oneof_.top_ = top; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Expression.top) -} -inline ::solidity::yul::test::yul_fuzzer::TernaryOp* Expression::_internal_mutable_top() { - if (!_internal_has_top()) { - clear_expr_oneof(); - set_has_top(); - _impl_.expr_oneof_.top_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TernaryOp >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.top_; -} -inline ::solidity::yul::test::yul_fuzzer::TernaryOp* Expression::mutable_top() { - ::solidity::yul::test::yul_fuzzer::TernaryOp* _msg = _internal_mutable_top(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Expression.top) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.NullaryOp nop = 6; -inline bool Expression::_internal_has_nop() const { - return expr_oneof_case() == kNop; -} -inline bool Expression::has_nop() const { - return _internal_has_nop(); -} -inline void Expression::set_has_nop() { - _impl_._oneof_case_[0] = kNop; -} -inline void Expression::clear_nop() { - if (_internal_has_nop()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.nop_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::NullaryOp* Expression::release_nop() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Expression.nop) - if (_internal_has_nop()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::NullaryOp* temp = _impl_.expr_oneof_.nop_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.nop_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::NullaryOp& Expression::_internal_nop() const { - return _internal_has_nop() - ? *_impl_.expr_oneof_.nop_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::NullaryOp&>(::solidity::yul::test::yul_fuzzer::_NullaryOp_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::NullaryOp& Expression::nop() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Expression.nop) - return _internal_nop(); -} -inline ::solidity::yul::test::yul_fuzzer::NullaryOp* Expression::unsafe_arena_release_nop() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Expression.nop) - if (_internal_has_nop()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::NullaryOp* temp = _impl_.expr_oneof_.nop_; - _impl_.expr_oneof_.nop_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_nop(::solidity::yul::test::yul_fuzzer::NullaryOp* nop) { - clear_expr_oneof(); - if (nop) { - set_has_nop(); - _impl_.expr_oneof_.nop_ = nop; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Expression.nop) -} -inline ::solidity::yul::test::yul_fuzzer::NullaryOp* Expression::_internal_mutable_nop() { - if (!_internal_has_nop()) { - clear_expr_oneof(); - set_has_nop(); - _impl_.expr_oneof_.nop_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::NullaryOp >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.nop_; -} -inline ::solidity::yul::test::yul_fuzzer::NullaryOp* Expression::mutable_nop() { - ::solidity::yul::test::yul_fuzzer::NullaryOp* _msg = _internal_mutable_nop(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Expression.nop) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.FunctionCall func_expr = 7; -inline bool Expression::_internal_has_func_expr() const { - return expr_oneof_case() == kFuncExpr; -} -inline bool Expression::has_func_expr() const { - return _internal_has_func_expr(); -} -inline void Expression::set_has_func_expr() { - _impl_._oneof_case_[0] = kFuncExpr; -} -inline void Expression::clear_func_expr() { - if (_internal_has_func_expr()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.func_expr_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::FunctionCall* Expression::release_func_expr() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Expression.func_expr) - if (_internal_has_func_expr()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::FunctionCall* temp = _impl_.expr_oneof_.func_expr_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.func_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::FunctionCall& Expression::_internal_func_expr() const { - return _internal_has_func_expr() - ? *_impl_.expr_oneof_.func_expr_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::FunctionCall&>(::solidity::yul::test::yul_fuzzer::_FunctionCall_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::FunctionCall& Expression::func_expr() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Expression.func_expr) - return _internal_func_expr(); -} -inline ::solidity::yul::test::yul_fuzzer::FunctionCall* Expression::unsafe_arena_release_func_expr() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Expression.func_expr) - if (_internal_has_func_expr()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::FunctionCall* temp = _impl_.expr_oneof_.func_expr_; - _impl_.expr_oneof_.func_expr_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_func_expr(::solidity::yul::test::yul_fuzzer::FunctionCall* func_expr) { - clear_expr_oneof(); - if (func_expr) { - set_has_func_expr(); - _impl_.expr_oneof_.func_expr_ = func_expr; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Expression.func_expr) -} -inline ::solidity::yul::test::yul_fuzzer::FunctionCall* Expression::_internal_mutable_func_expr() { - if (!_internal_has_func_expr()) { - clear_expr_oneof(); - set_has_func_expr(); - _impl_.expr_oneof_.func_expr_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::FunctionCall >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.func_expr_; -} -inline ::solidity::yul::test::yul_fuzzer::FunctionCall* Expression::mutable_func_expr() { - ::solidity::yul::test::yul_fuzzer::FunctionCall* _msg = _internal_mutable_func_expr(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Expression.func_expr) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.LowLevelCall lowcall = 8; -inline bool Expression::_internal_has_lowcall() const { - return expr_oneof_case() == kLowcall; -} -inline bool Expression::has_lowcall() const { - return _internal_has_lowcall(); -} -inline void Expression::set_has_lowcall() { - _impl_._oneof_case_[0] = kLowcall; -} -inline void Expression::clear_lowcall() { - if (_internal_has_lowcall()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.lowcall_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::LowLevelCall* Expression::release_lowcall() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Expression.lowcall) - if (_internal_has_lowcall()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::LowLevelCall* temp = _impl_.expr_oneof_.lowcall_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.lowcall_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::LowLevelCall& Expression::_internal_lowcall() const { - return _internal_has_lowcall() - ? *_impl_.expr_oneof_.lowcall_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::LowLevelCall&>(::solidity::yul::test::yul_fuzzer::_LowLevelCall_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::LowLevelCall& Expression::lowcall() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Expression.lowcall) - return _internal_lowcall(); -} -inline ::solidity::yul::test::yul_fuzzer::LowLevelCall* Expression::unsafe_arena_release_lowcall() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Expression.lowcall) - if (_internal_has_lowcall()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::LowLevelCall* temp = _impl_.expr_oneof_.lowcall_; - _impl_.expr_oneof_.lowcall_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_lowcall(::solidity::yul::test::yul_fuzzer::LowLevelCall* lowcall) { - clear_expr_oneof(); - if (lowcall) { - set_has_lowcall(); - _impl_.expr_oneof_.lowcall_ = lowcall; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Expression.lowcall) -} -inline ::solidity::yul::test::yul_fuzzer::LowLevelCall* Expression::_internal_mutable_lowcall() { - if (!_internal_has_lowcall()) { - clear_expr_oneof(); - set_has_lowcall(); - _impl_.expr_oneof_.lowcall_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LowLevelCall >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.lowcall_; -} -inline ::solidity::yul::test::yul_fuzzer::LowLevelCall* Expression::mutable_lowcall() { - ::solidity::yul::test::yul_fuzzer::LowLevelCall* _msg = _internal_mutable_lowcall(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Expression.lowcall) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.Create create = 9; -inline bool Expression::_internal_has_create() const { - return expr_oneof_case() == kCreate; -} -inline bool Expression::has_create() const { - return _internal_has_create(); -} -inline void Expression::set_has_create() { - _impl_._oneof_case_[0] = kCreate; -} -inline void Expression::clear_create() { - if (_internal_has_create()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.create_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::Create* Expression::release_create() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Expression.create) - if (_internal_has_create()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::Create* temp = _impl_.expr_oneof_.create_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.create_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::Create& Expression::_internal_create() const { - return _internal_has_create() - ? *_impl_.expr_oneof_.create_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::Create&>(::solidity::yul::test::yul_fuzzer::_Create_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Create& Expression::create() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Expression.create) - return _internal_create(); -} -inline ::solidity::yul::test::yul_fuzzer::Create* Expression::unsafe_arena_release_create() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Expression.create) - if (_internal_has_create()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::Create* temp = _impl_.expr_oneof_.create_; - _impl_.expr_oneof_.create_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_create(::solidity::yul::test::yul_fuzzer::Create* create) { - clear_expr_oneof(); - if (create) { - set_has_create(); - _impl_.expr_oneof_.create_ = create; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Expression.create) -} -inline ::solidity::yul::test::yul_fuzzer::Create* Expression::_internal_mutable_create() { - if (!_internal_has_create()) { - clear_expr_oneof(); - set_has_create(); - _impl_.expr_oneof_.create_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Create >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.create_; -} -inline ::solidity::yul::test::yul_fuzzer::Create* Expression::mutable_create() { - ::solidity::yul::test::yul_fuzzer::Create* _msg = _internal_mutable_create(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Expression.create) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.UnaryOpData unopdata = 10; -inline bool Expression::_internal_has_unopdata() const { - return expr_oneof_case() == kUnopdata; -} -inline bool Expression::has_unopdata() const { - return _internal_has_unopdata(); -} -inline void Expression::set_has_unopdata() { - _impl_._oneof_case_[0] = kUnopdata; -} -inline void Expression::clear_unopdata() { - if (_internal_has_unopdata()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.expr_oneof_.unopdata_; - } - clear_has_expr_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOpData* Expression::release_unopdata() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Expression.unopdata) - if (_internal_has_unopdata()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::UnaryOpData* temp = _impl_.expr_oneof_.unopdata_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.expr_oneof_.unopdata_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::UnaryOpData& Expression::_internal_unopdata() const { - return _internal_has_unopdata() - ? *_impl_.expr_oneof_.unopdata_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::UnaryOpData&>(::solidity::yul::test::yul_fuzzer::_UnaryOpData_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::UnaryOpData& Expression::unopdata() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Expression.unopdata) - return _internal_unopdata(); -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOpData* Expression::unsafe_arena_release_unopdata() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Expression.unopdata) - if (_internal_has_unopdata()) { - clear_has_expr_oneof(); - ::solidity::yul::test::yul_fuzzer::UnaryOpData* temp = _impl_.expr_oneof_.unopdata_; - _impl_.expr_oneof_.unopdata_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Expression::unsafe_arena_set_allocated_unopdata(::solidity::yul::test::yul_fuzzer::UnaryOpData* unopdata) { - clear_expr_oneof(); - if (unopdata) { - set_has_unopdata(); - _impl_.expr_oneof_.unopdata_ = unopdata; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Expression.unopdata) -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOpData* Expression::_internal_mutable_unopdata() { - if (!_internal_has_unopdata()) { - clear_expr_oneof(); - set_has_unopdata(); - _impl_.expr_oneof_.unopdata_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::UnaryOpData >(GetArenaForAllocation()); - } - return _impl_.expr_oneof_.unopdata_; -} -inline ::solidity::yul::test::yul_fuzzer::UnaryOpData* Expression::mutable_unopdata() { - ::solidity::yul::test::yul_fuzzer::UnaryOpData* _msg = _internal_mutable_unopdata(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Expression.unopdata) - return _msg; -} - -inline bool Expression::has_expr_oneof() const { - return expr_oneof_case() != EXPR_ONEOF_NOT_SET; -} -inline void Expression::clear_has_expr_oneof() { - _impl_._oneof_case_[0] = EXPR_ONEOF_NOT_SET; -} -inline Expression::ExprOneofCase Expression::expr_oneof_case() const { - return Expression::ExprOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// AssignmentStatement - -// required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; -inline bool AssignmentStatement::_internal_has_ref_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.ref_id_ != nullptr); - return value; -} -inline bool AssignmentStatement::has_ref_id() const { - return _internal_has_ref_id(); -} -inline void AssignmentStatement::clear_ref_id() { - if (_impl_.ref_id_ != nullptr) _impl_.ref_id_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::VarRef& AssignmentStatement::_internal_ref_id() const { - const ::solidity::yul::test::yul_fuzzer::VarRef* p = _impl_.ref_id_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_VarRef_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::VarRef& AssignmentStatement::ref_id() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.AssignmentStatement.ref_id) - return _internal_ref_id(); -} -inline void AssignmentStatement::unsafe_arena_set_allocated_ref_id( - ::solidity::yul::test::yul_fuzzer::VarRef* ref_id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ref_id_); - } - _impl_.ref_id_ = ref_id; - if (ref_id) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.AssignmentStatement.ref_id) -} -inline ::solidity::yul::test::yul_fuzzer::VarRef* AssignmentStatement::release_ref_id() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::VarRef* temp = _impl_.ref_id_; - _impl_.ref_id_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::VarRef* AssignmentStatement::unsafe_arena_release_ref_id() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.AssignmentStatement.ref_id) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::VarRef* temp = _impl_.ref_id_; - _impl_.ref_id_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::VarRef* AssignmentStatement::_internal_mutable_ref_id() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.ref_id_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::VarRef>(GetArenaForAllocation()); - _impl_.ref_id_ = p; - } - return _impl_.ref_id_; -} -inline ::solidity::yul::test::yul_fuzzer::VarRef* AssignmentStatement::mutable_ref_id() { - ::solidity::yul::test::yul_fuzzer::VarRef* _msg = _internal_mutable_ref_id(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.AssignmentStatement.ref_id) - return _msg; -} -inline void AssignmentStatement::set_allocated_ref_id(::solidity::yul::test::yul_fuzzer::VarRef* ref_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.ref_id_; - } - if (ref_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ref_id); - if (message_arena != submessage_arena) { - ref_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ref_id, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.ref_id_ = ref_id; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.AssignmentStatement.ref_id) -} - -// required .solidity.yul.test.yul_fuzzer.Expression expr = 2; -inline bool AssignmentStatement::_internal_has_expr() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.expr_ != nullptr); - return value; -} -inline bool AssignmentStatement::has_expr() const { - return _internal_has_expr(); -} -inline void AssignmentStatement::clear_expr() { - if (_impl_.expr_ != nullptr) _impl_.expr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& AssignmentStatement::_internal_expr() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.expr_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& AssignmentStatement::expr() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.AssignmentStatement.expr) - return _internal_expr(); -} -inline void AssignmentStatement::unsafe_arena_set_allocated_expr( - ::solidity::yul::test::yul_fuzzer::Expression* expr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.expr_); - } - _impl_.expr_ = expr; - if (expr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.AssignmentStatement.expr) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* AssignmentStatement::release_expr() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.expr_; - _impl_.expr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* AssignmentStatement::unsafe_arena_release_expr() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.AssignmentStatement.expr) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.expr_; - _impl_.expr_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* AssignmentStatement::_internal_mutable_expr() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.expr_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.expr_ = p; - } - return _impl_.expr_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* AssignmentStatement::mutable_expr() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_expr(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.AssignmentStatement.expr) - return _msg; -} -inline void AssignmentStatement::set_allocated_expr(::solidity::yul::test::yul_fuzzer::Expression* expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.expr_; - } - if (expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(expr); - if (message_arena != submessage_arena) { - expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, expr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.expr_ = expr; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.AssignmentStatement.expr) -} - -// ------------------------------------------------------------------- - -// IfStmt - -// required .solidity.yul.test.yul_fuzzer.Expression cond = 1; -inline bool IfStmt::_internal_has_cond() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cond_ != nullptr); - return value; -} -inline bool IfStmt::has_cond() const { - return _internal_has_cond(); -} -inline void IfStmt::clear_cond() { - if (_impl_.cond_ != nullptr) _impl_.cond_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& IfStmt::_internal_cond() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.cond_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& IfStmt::cond() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.IfStmt.cond) - return _internal_cond(); -} -inline void IfStmt::unsafe_arena_set_allocated_cond( - ::solidity::yul::test::yul_fuzzer::Expression* cond) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cond_); - } - _impl_.cond_ = cond; - if (cond) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.IfStmt.cond) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* IfStmt::release_cond() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* IfStmt::unsafe_arena_release_cond() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.IfStmt.cond) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.cond_; - _impl_.cond_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* IfStmt::_internal_mutable_cond() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.cond_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.cond_ = p; - } - return _impl_.cond_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* IfStmt::mutable_cond() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_cond(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.IfStmt.cond) - return _msg; -} -inline void IfStmt::set_allocated_cond(::solidity::yul::test::yul_fuzzer::Expression* cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cond_; - } - if (cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cond); - if (message_arena != submessage_arena) { - cond = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cond, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cond_ = cond; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.IfStmt.cond) -} - -// required .solidity.yul.test.yul_fuzzer.Block if_body = 2; -inline bool IfStmt::_internal_has_if_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.if_body_ != nullptr); - return value; -} -inline bool IfStmt::has_if_body() const { - return _internal_has_if_body(); -} -inline void IfStmt::clear_if_body() { - if (_impl_.if_body_ != nullptr) _impl_.if_body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Block& IfStmt::_internal_if_body() const { - const ::solidity::yul::test::yul_fuzzer::Block* p = _impl_.if_body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& IfStmt::if_body() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.IfStmt.if_body) - return _internal_if_body(); -} -inline void IfStmt::unsafe_arena_set_allocated_if_body( - ::solidity::yul::test::yul_fuzzer::Block* if_body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.if_body_); - } - _impl_.if_body_ = if_body; - if (if_body) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.IfStmt.if_body) -} -inline ::solidity::yul::test::yul_fuzzer::Block* IfStmt::release_if_body() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.if_body_; - _impl_.if_body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* IfStmt::unsafe_arena_release_if_body() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.IfStmt.if_body) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.if_body_; - _impl_.if_body_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* IfStmt::_internal_mutable_if_body() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.if_body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Block>(GetArenaForAllocation()); - _impl_.if_body_ = p; - } - return _impl_.if_body_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* IfStmt::mutable_if_body() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_if_body(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.IfStmt.if_body) - return _msg; -} -inline void IfStmt::set_allocated_if_body(::solidity::yul::test::yul_fuzzer::Block* if_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.if_body_; - } - if (if_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(if_body); - if (message_arena != submessage_arena) { - if_body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, if_body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.if_body_ = if_body; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.IfStmt.if_body) -} - -// ------------------------------------------------------------------- - -// BoundedForStmt - -// required .solidity.yul.test.yul_fuzzer.Block for_body = 1; -inline bool BoundedForStmt::_internal_has_for_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.for_body_ != nullptr); - return value; -} -inline bool BoundedForStmt::has_for_body() const { - return _internal_has_for_body(); -} -inline void BoundedForStmt::clear_for_body() { - if (_impl_.for_body_ != nullptr) _impl_.for_body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Block& BoundedForStmt::_internal_for_body() const { - const ::solidity::yul::test::yul_fuzzer::Block* p = _impl_.for_body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& BoundedForStmt::for_body() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.BoundedForStmt.for_body) - return _internal_for_body(); -} -inline void BoundedForStmt::unsafe_arena_set_allocated_for_body( - ::solidity::yul::test::yul_fuzzer::Block* for_body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.for_body_); - } - _impl_.for_body_ = for_body; - if (for_body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.BoundedForStmt.for_body) -} -inline ::solidity::yul::test::yul_fuzzer::Block* BoundedForStmt::release_for_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.for_body_; - _impl_.for_body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* BoundedForStmt::unsafe_arena_release_for_body() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.BoundedForStmt.for_body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.for_body_; - _impl_.for_body_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* BoundedForStmt::_internal_mutable_for_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.for_body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Block>(GetArenaForAllocation()); - _impl_.for_body_ = p; - } - return _impl_.for_body_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* BoundedForStmt::mutable_for_body() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_for_body(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.BoundedForStmt.for_body) - return _msg; -} -inline void BoundedForStmt::set_allocated_for_body(::solidity::yul::test::yul_fuzzer::Block* for_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.for_body_; - } - if (for_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(for_body); - if (message_arena != submessage_arena) { - for_body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, for_body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.for_body_ = for_body; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.BoundedForStmt.for_body) -} - -// ------------------------------------------------------------------- - -// ForStmt - -// required .solidity.yul.test.yul_fuzzer.Block for_body = 1; -inline bool ForStmt::_internal_has_for_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.for_body_ != nullptr); - return value; -} -inline bool ForStmt::has_for_body() const { - return _internal_has_for_body(); -} -inline void ForStmt::clear_for_body() { - if (_impl_.for_body_ != nullptr) _impl_.for_body_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Block& ForStmt::_internal_for_body() const { - const ::solidity::yul::test::yul_fuzzer::Block* p = _impl_.for_body_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& ForStmt::for_body() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.ForStmt.for_body) - return _internal_for_body(); -} -inline void ForStmt::unsafe_arena_set_allocated_for_body( - ::solidity::yul::test::yul_fuzzer::Block* for_body) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.for_body_); - } - _impl_.for_body_ = for_body; - if (for_body) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.ForStmt.for_body) -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::release_for_body() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.for_body_; - _impl_.for_body_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::unsafe_arena_release_for_body() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.ForStmt.for_body) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.for_body_; - _impl_.for_body_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::_internal_mutable_for_body() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.for_body_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Block>(GetArenaForAllocation()); - _impl_.for_body_ = p; - } - return _impl_.for_body_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::mutable_for_body() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_for_body(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.ForStmt.for_body) - return _msg; -} -inline void ForStmt::set_allocated_for_body(::solidity::yul::test::yul_fuzzer::Block* for_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.for_body_; - } - if (for_body) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(for_body); - if (message_arena != submessage_arena) { - for_body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, for_body, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.for_body_ = for_body; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.ForStmt.for_body) -} - -// required .solidity.yul.test.yul_fuzzer.Block for_init = 2; -inline bool ForStmt::_internal_has_for_init() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.for_init_ != nullptr); - return value; -} -inline bool ForStmt::has_for_init() const { - return _internal_has_for_init(); -} -inline void ForStmt::clear_for_init() { - if (_impl_.for_init_ != nullptr) _impl_.for_init_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Block& ForStmt::_internal_for_init() const { - const ::solidity::yul::test::yul_fuzzer::Block* p = _impl_.for_init_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& ForStmt::for_init() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.ForStmt.for_init) - return _internal_for_init(); -} -inline void ForStmt::unsafe_arena_set_allocated_for_init( - ::solidity::yul::test::yul_fuzzer::Block* for_init) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.for_init_); - } - _impl_.for_init_ = for_init; - if (for_init) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.ForStmt.for_init) -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::release_for_init() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.for_init_; - _impl_.for_init_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::unsafe_arena_release_for_init() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.ForStmt.for_init) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.for_init_; - _impl_.for_init_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::_internal_mutable_for_init() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.for_init_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Block>(GetArenaForAllocation()); - _impl_.for_init_ = p; - } - return _impl_.for_init_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::mutable_for_init() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_for_init(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.ForStmt.for_init) - return _msg; -} -inline void ForStmt::set_allocated_for_init(::solidity::yul::test::yul_fuzzer::Block* for_init) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.for_init_; - } - if (for_init) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(for_init); - if (message_arena != submessage_arena) { - for_init = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, for_init, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.for_init_ = for_init; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.ForStmt.for_init) -} - -// required .solidity.yul.test.yul_fuzzer.Block for_post = 3; -inline bool ForStmt::_internal_has_for_post() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.for_post_ != nullptr); - return value; -} -inline bool ForStmt::has_for_post() const { - return _internal_has_for_post(); -} -inline void ForStmt::clear_for_post() { - if (_impl_.for_post_ != nullptr) _impl_.for_post_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::solidity::yul::test::yul_fuzzer::Block& ForStmt::_internal_for_post() const { - const ::solidity::yul::test::yul_fuzzer::Block* p = _impl_.for_post_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& ForStmt::for_post() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.ForStmt.for_post) - return _internal_for_post(); -} -inline void ForStmt::unsafe_arena_set_allocated_for_post( - ::solidity::yul::test::yul_fuzzer::Block* for_post) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.for_post_); - } - _impl_.for_post_ = for_post; - if (for_post) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.ForStmt.for_post) -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::release_for_post() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.for_post_; - _impl_.for_post_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::unsafe_arena_release_for_post() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.ForStmt.for_post) - _impl_._has_bits_[0] &= ~0x00000004u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.for_post_; - _impl_.for_post_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::_internal_mutable_for_post() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.for_post_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Block>(GetArenaForAllocation()); - _impl_.for_post_ = p; - } - return _impl_.for_post_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* ForStmt::mutable_for_post() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_for_post(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.ForStmt.for_post) - return _msg; -} -inline void ForStmt::set_allocated_for_post(::solidity::yul::test::yul_fuzzer::Block* for_post) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.for_post_; - } - if (for_post) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(for_post); - if (message_arena != submessage_arena) { - for_post = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, for_post, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.for_post_ = for_post; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.ForStmt.for_post) -} - -// required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; -inline bool ForStmt::_internal_has_for_cond() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.for_cond_ != nullptr); - return value; -} -inline bool ForStmt::has_for_cond() const { - return _internal_has_for_cond(); -} -inline void ForStmt::clear_for_cond() { - if (_impl_.for_cond_ != nullptr) _impl_.for_cond_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& ForStmt::_internal_for_cond() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.for_cond_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& ForStmt::for_cond() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.ForStmt.for_cond) - return _internal_for_cond(); -} -inline void ForStmt::unsafe_arena_set_allocated_for_cond( - ::solidity::yul::test::yul_fuzzer::Expression* for_cond) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.for_cond_); - } - _impl_.for_cond_ = for_cond; - if (for_cond) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.ForStmt.for_cond) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ForStmt::release_for_cond() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.for_cond_; - _impl_.for_cond_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ForStmt::unsafe_arena_release_for_cond() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.ForStmt.for_cond) - _impl_._has_bits_[0] &= ~0x00000008u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.for_cond_; - _impl_.for_cond_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ForStmt::_internal_mutable_for_cond() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.for_cond_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.for_cond_ = p; - } - return _impl_.for_cond_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* ForStmt::mutable_for_cond() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_for_cond(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.ForStmt.for_cond) - return _msg; -} -inline void ForStmt::set_allocated_for_cond(::solidity::yul::test::yul_fuzzer::Expression* for_cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.for_cond_; - } - if (for_cond) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(for_cond); - if (message_arena != submessage_arena) { - for_cond = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, for_cond, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.for_cond_ = for_cond; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.ForStmt.for_cond) -} - -// ------------------------------------------------------------------- - -// CaseStmt - -// required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; -inline bool CaseStmt::_internal_has_case_lit() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.case_lit_ != nullptr); - return value; -} -inline bool CaseStmt::has_case_lit() const { - return _internal_has_case_lit(); -} -inline void CaseStmt::clear_case_lit() { - if (_impl_.case_lit_ != nullptr) _impl_.case_lit_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Literal& CaseStmt::_internal_case_lit() const { - const ::solidity::yul::test::yul_fuzzer::Literal* p = _impl_.case_lit_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Literal_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Literal& CaseStmt::case_lit() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.CaseStmt.case_lit) - return _internal_case_lit(); -} -inline void CaseStmt::unsafe_arena_set_allocated_case_lit( - ::solidity::yul::test::yul_fuzzer::Literal* case_lit) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.case_lit_); - } - _impl_.case_lit_ = case_lit; - if (case_lit) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.CaseStmt.case_lit) -} -inline ::solidity::yul::test::yul_fuzzer::Literal* CaseStmt::release_case_lit() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Literal* temp = _impl_.case_lit_; - _impl_.case_lit_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Literal* CaseStmt::unsafe_arena_release_case_lit() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.CaseStmt.case_lit) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Literal* temp = _impl_.case_lit_; - _impl_.case_lit_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Literal* CaseStmt::_internal_mutable_case_lit() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.case_lit_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Literal>(GetArenaForAllocation()); - _impl_.case_lit_ = p; - } - return _impl_.case_lit_; -} -inline ::solidity::yul::test::yul_fuzzer::Literal* CaseStmt::mutable_case_lit() { - ::solidity::yul::test::yul_fuzzer::Literal* _msg = _internal_mutable_case_lit(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.CaseStmt.case_lit) - return _msg; -} -inline void CaseStmt::set_allocated_case_lit(::solidity::yul::test::yul_fuzzer::Literal* case_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.case_lit_; - } - if (case_lit) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(case_lit); - if (message_arena != submessage_arena) { - case_lit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, case_lit, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.case_lit_ = case_lit; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.CaseStmt.case_lit) -} - -// required .solidity.yul.test.yul_fuzzer.Block case_block = 2; -inline bool CaseStmt::_internal_has_case_block() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.case_block_ != nullptr); - return value; -} -inline bool CaseStmt::has_case_block() const { - return _internal_has_case_block(); -} -inline void CaseStmt::clear_case_block() { - if (_impl_.case_block_ != nullptr) _impl_.case_block_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Block& CaseStmt::_internal_case_block() const { - const ::solidity::yul::test::yul_fuzzer::Block* p = _impl_.case_block_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& CaseStmt::case_block() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.CaseStmt.case_block) - return _internal_case_block(); -} -inline void CaseStmt::unsafe_arena_set_allocated_case_block( - ::solidity::yul::test::yul_fuzzer::Block* case_block) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.case_block_); - } - _impl_.case_block_ = case_block; - if (case_block) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.CaseStmt.case_block) -} -inline ::solidity::yul::test::yul_fuzzer::Block* CaseStmt::release_case_block() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.case_block_; - _impl_.case_block_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* CaseStmt::unsafe_arena_release_case_block() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.CaseStmt.case_block) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.case_block_; - _impl_.case_block_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* CaseStmt::_internal_mutable_case_block() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.case_block_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Block>(GetArenaForAllocation()); - _impl_.case_block_ = p; - } - return _impl_.case_block_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* CaseStmt::mutable_case_block() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_case_block(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.CaseStmt.case_block) - return _msg; -} -inline void CaseStmt::set_allocated_case_block(::solidity::yul::test::yul_fuzzer::Block* case_block) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.case_block_; - } - if (case_block) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(case_block); - if (message_arena != submessage_arena) { - case_block = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, case_block, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.case_block_ = case_block; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.CaseStmt.case_block) -} - -// ------------------------------------------------------------------- - -// SwitchStmt - -// required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; -inline bool SwitchStmt::_internal_has_switch_expr() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.switch_expr_ != nullptr); - return value; -} -inline bool SwitchStmt::has_switch_expr() const { - return _internal_has_switch_expr(); -} -inline void SwitchStmt::clear_switch_expr() { - if (_impl_.switch_expr_ != nullptr) _impl_.switch_expr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& SwitchStmt::_internal_switch_expr() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.switch_expr_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& SwitchStmt::switch_expr() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.SwitchStmt.switch_expr) - return _internal_switch_expr(); -} -inline void SwitchStmt::unsafe_arena_set_allocated_switch_expr( - ::solidity::yul::test::yul_fuzzer::Expression* switch_expr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.switch_expr_); - } - _impl_.switch_expr_ = switch_expr; - if (switch_expr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.SwitchStmt.switch_expr) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* SwitchStmt::release_switch_expr() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.switch_expr_; - _impl_.switch_expr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* SwitchStmt::unsafe_arena_release_switch_expr() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.SwitchStmt.switch_expr) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.switch_expr_; - _impl_.switch_expr_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* SwitchStmt::_internal_mutable_switch_expr() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.switch_expr_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.switch_expr_ = p; - } - return _impl_.switch_expr_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* SwitchStmt::mutable_switch_expr() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_switch_expr(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.SwitchStmt.switch_expr) - return _msg; -} -inline void SwitchStmt::set_allocated_switch_expr(::solidity::yul::test::yul_fuzzer::Expression* switch_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.switch_expr_; - } - if (switch_expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(switch_expr); - if (message_arena != submessage_arena) { - switch_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, switch_expr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.switch_expr_ = switch_expr; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.SwitchStmt.switch_expr) -} - -// repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; -inline int SwitchStmt::_internal_case_stmt_size() const { - return _impl_.case_stmt_.size(); -} -inline int SwitchStmt::case_stmt_size() const { - return _internal_case_stmt_size(); -} -inline void SwitchStmt::clear_case_stmt() { - _impl_.case_stmt_.Clear(); -} -inline ::solidity::yul::test::yul_fuzzer::CaseStmt* SwitchStmt::mutable_case_stmt(int index) { - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.SwitchStmt.case_stmt) - return _impl_.case_stmt_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::CaseStmt >* -SwitchStmt::mutable_case_stmt() { - // @@protoc_insertion_point(field_mutable_list:solidity.yul.test.yul_fuzzer.SwitchStmt.case_stmt) - return &_impl_.case_stmt_; -} -inline const ::solidity::yul::test::yul_fuzzer::CaseStmt& SwitchStmt::_internal_case_stmt(int index) const { - return _impl_.case_stmt_.Get(index); -} -inline const ::solidity::yul::test::yul_fuzzer::CaseStmt& SwitchStmt::case_stmt(int index) const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.SwitchStmt.case_stmt) - return _internal_case_stmt(index); -} -inline ::solidity::yul::test::yul_fuzzer::CaseStmt* SwitchStmt::_internal_add_case_stmt() { - return _impl_.case_stmt_.Add(); -} -inline ::solidity::yul::test::yul_fuzzer::CaseStmt* SwitchStmt::add_case_stmt() { - ::solidity::yul::test::yul_fuzzer::CaseStmt* _add = _internal_add_case_stmt(); - // @@protoc_insertion_point(field_add:solidity.yul.test.yul_fuzzer.SwitchStmt.case_stmt) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::CaseStmt >& -SwitchStmt::case_stmt() const { - // @@protoc_insertion_point(field_list:solidity.yul.test.yul_fuzzer.SwitchStmt.case_stmt) - return _impl_.case_stmt_; -} - -// optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; -inline bool SwitchStmt::_internal_has_default_block() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.default_block_ != nullptr); - return value; -} -inline bool SwitchStmt::has_default_block() const { - return _internal_has_default_block(); -} -inline void SwitchStmt::clear_default_block() { - if (_impl_.default_block_ != nullptr) _impl_.default_block_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Block& SwitchStmt::_internal_default_block() const { - const ::solidity::yul::test::yul_fuzzer::Block* p = _impl_.default_block_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& SwitchStmt::default_block() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.SwitchStmt.default_block) - return _internal_default_block(); -} -inline void SwitchStmt::unsafe_arena_set_allocated_default_block( - ::solidity::yul::test::yul_fuzzer::Block* default_block) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.default_block_); - } - _impl_.default_block_ = default_block; - if (default_block) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.SwitchStmt.default_block) -} -inline ::solidity::yul::test::yul_fuzzer::Block* SwitchStmt::release_default_block() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.default_block_; - _impl_.default_block_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* SwitchStmt::unsafe_arena_release_default_block() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.SwitchStmt.default_block) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.default_block_; - _impl_.default_block_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* SwitchStmt::_internal_mutable_default_block() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.default_block_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Block>(GetArenaForAllocation()); - _impl_.default_block_ = p; - } - return _impl_.default_block_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* SwitchStmt::mutable_default_block() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_default_block(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.SwitchStmt.default_block) - return _msg; -} -inline void SwitchStmt::set_allocated_default_block(::solidity::yul::test::yul_fuzzer::Block* default_block) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.default_block_; - } - if (default_block) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(default_block); - if (message_arena != submessage_arena) { - default_block = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, default_block, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.default_block_ = default_block; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.SwitchStmt.default_block) -} - -// ------------------------------------------------------------------- - -// BreakStmt - -// ------------------------------------------------------------------- - -// ContinueStmt - -// ------------------------------------------------------------------- - -// StopInvalidStmt - -// required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; -inline bool StopInvalidStmt::_internal_has_stmt() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool StopInvalidStmt::has_stmt() const { - return _internal_has_stmt(); -} -inline void StopInvalidStmt::clear_stmt() { - _impl_.stmt_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type StopInvalidStmt::_internal_stmt() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type >(_impl_.stmt_); -} -inline ::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type StopInvalidStmt::stmt() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.StopInvalidStmt.stmt) - return _internal_stmt(); -} -inline void StopInvalidStmt::_internal_set_stmt(::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type value) { - assert(::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.stmt_ = value; -} -inline void StopInvalidStmt::set_stmt(::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type value) { - _internal_set_stmt(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.StopInvalidStmt.stmt) -} - -// ------------------------------------------------------------------- - -// RetRevStmt - -// required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; -inline bool RetRevStmt::_internal_has_stmt() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool RetRevStmt::has_stmt() const { - return _internal_has_stmt(); -} -inline void RetRevStmt::clear_stmt() { - _impl_.stmt_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::solidity::yul::test::yul_fuzzer::RetRevStmt_Type RetRevStmt::_internal_stmt() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::RetRevStmt_Type >(_impl_.stmt_); -} -inline ::solidity::yul::test::yul_fuzzer::RetRevStmt_Type RetRevStmt::stmt() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.RetRevStmt.stmt) - return _internal_stmt(); -} -inline void RetRevStmt::_internal_set_stmt(::solidity::yul::test::yul_fuzzer::RetRevStmt_Type value) { - assert(::solidity::yul::test::yul_fuzzer::RetRevStmt_Type_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.stmt_ = value; -} -inline void RetRevStmt::set_stmt(::solidity::yul::test::yul_fuzzer::RetRevStmt_Type value) { - _internal_set_stmt(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.RetRevStmt.stmt) -} - -// required .solidity.yul.test.yul_fuzzer.Expression pos = 2; -inline bool RetRevStmt::_internal_has_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); - return value; -} -inline bool RetRevStmt::has_pos() const { - return _internal_has_pos(); -} -inline void RetRevStmt::clear_pos() { - if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& RetRevStmt::_internal_pos() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.pos_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& RetRevStmt::pos() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.RetRevStmt.pos) - return _internal_pos(); -} -inline void RetRevStmt::unsafe_arena_set_allocated_pos( - ::solidity::yul::test::yul_fuzzer::Expression* pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - _impl_.pos_ = pos; - if (pos) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.RetRevStmt.pos) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* RetRevStmt::release_pos() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.pos_; - _impl_.pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* RetRevStmt::unsafe_arena_release_pos() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.RetRevStmt.pos) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.pos_; - _impl_.pos_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* RetRevStmt::_internal_mutable_pos() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.pos_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.pos_ = p; - } - return _impl_.pos_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* RetRevStmt::mutable_pos() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_pos(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.RetRevStmt.pos) - return _msg; -} -inline void RetRevStmt::set_allocated_pos(::solidity::yul::test::yul_fuzzer::Expression* pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.pos_; - } - if (pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pos); - if (message_arena != submessage_arena) { - pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.pos_ = pos; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.RetRevStmt.pos) -} - -// required .solidity.yul.test.yul_fuzzer.Expression size = 3; -inline bool RetRevStmt::_internal_has_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.size_ != nullptr); - return value; -} -inline bool RetRevStmt::has_size() const { - return _internal_has_size(); -} -inline void RetRevStmt::clear_size() { - if (_impl_.size_ != nullptr) _impl_.size_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& RetRevStmt::_internal_size() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.size_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& RetRevStmt::size() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.RetRevStmt.size) - return _internal_size(); -} -inline void RetRevStmt::unsafe_arena_set_allocated_size( - ::solidity::yul::test::yul_fuzzer::Expression* size) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.size_); - } - _impl_.size_ = size; - if (size) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.RetRevStmt.size) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* RetRevStmt::release_size() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.size_; - _impl_.size_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* RetRevStmt::unsafe_arena_release_size() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.RetRevStmt.size) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.size_; - _impl_.size_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* RetRevStmt::_internal_mutable_size() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.size_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.size_ = p; - } - return _impl_.size_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* RetRevStmt::mutable_size() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_size(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.RetRevStmt.size) - return _msg; -} -inline void RetRevStmt::set_allocated_size(::solidity::yul::test::yul_fuzzer::Expression* size) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.size_; - } - if (size) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(size); - if (message_arena != submessage_arena) { - size = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, size, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.size_ = size; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.RetRevStmt.size) -} - -// ------------------------------------------------------------------- - -// SelfDestructStmt - -// required .solidity.yul.test.yul_fuzzer.Expression addr = 1; -inline bool SelfDestructStmt::_internal_has_addr() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.addr_ != nullptr); - return value; -} -inline bool SelfDestructStmt::has_addr() const { - return _internal_has_addr(); -} -inline void SelfDestructStmt::clear_addr() { - if (_impl_.addr_ != nullptr) _impl_.addr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& SelfDestructStmt::_internal_addr() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.addr_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& SelfDestructStmt::addr() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.SelfDestructStmt.addr) - return _internal_addr(); -} -inline void SelfDestructStmt::unsafe_arena_set_allocated_addr( - ::solidity::yul::test::yul_fuzzer::Expression* addr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.addr_); - } - _impl_.addr_ = addr; - if (addr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.SelfDestructStmt.addr) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* SelfDestructStmt::release_addr() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.addr_; - _impl_.addr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* SelfDestructStmt::unsafe_arena_release_addr() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.SelfDestructStmt.addr) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.addr_; - _impl_.addr_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* SelfDestructStmt::_internal_mutable_addr() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.addr_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.addr_ = p; - } - return _impl_.addr_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* SelfDestructStmt::mutable_addr() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_addr(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.SelfDestructStmt.addr) - return _msg; -} -inline void SelfDestructStmt::set_allocated_addr(::solidity::yul::test::yul_fuzzer::Expression* addr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.addr_; - } - if (addr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(addr); - if (message_arena != submessage_arena) { - addr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, addr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.addr_ = addr; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.SelfDestructStmt.addr) -} - -// ------------------------------------------------------------------- - -// TerminatingStmt - -// .solidity.yul.test.yul_fuzzer.StopInvalidStmt stop_invalid = 1; -inline bool TerminatingStmt::_internal_has_stop_invalid() const { - return term_oneof_case() == kStopInvalid; -} -inline bool TerminatingStmt::has_stop_invalid() const { - return _internal_has_stop_invalid(); -} -inline void TerminatingStmt::set_has_stop_invalid() { - _impl_._oneof_case_[0] = kStopInvalid; -} -inline void TerminatingStmt::clear_stop_invalid() { - if (_internal_has_stop_invalid()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.term_oneof_.stop_invalid_; - } - clear_has_term_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* TerminatingStmt::release_stop_invalid() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.TerminatingStmt.stop_invalid) - if (_internal_has_stop_invalid()) { - clear_has_term_oneof(); - ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* temp = _impl_.term_oneof_.stop_invalid_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.term_oneof_.stop_invalid_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::StopInvalidStmt& TerminatingStmt::_internal_stop_invalid() const { - return _internal_has_stop_invalid() - ? *_impl_.term_oneof_.stop_invalid_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt&>(::solidity::yul::test::yul_fuzzer::_StopInvalidStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::StopInvalidStmt& TerminatingStmt::stop_invalid() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TerminatingStmt.stop_invalid) - return _internal_stop_invalid(); -} -inline ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* TerminatingStmt::unsafe_arena_release_stop_invalid() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.TerminatingStmt.stop_invalid) - if (_internal_has_stop_invalid()) { - clear_has_term_oneof(); - ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* temp = _impl_.term_oneof_.stop_invalid_; - _impl_.term_oneof_.stop_invalid_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void TerminatingStmt::unsafe_arena_set_allocated_stop_invalid(::solidity::yul::test::yul_fuzzer::StopInvalidStmt* stop_invalid) { - clear_term_oneof(); - if (stop_invalid) { - set_has_stop_invalid(); - _impl_.term_oneof_.stop_invalid_ = stop_invalid; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.stop_invalid) -} -inline ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* TerminatingStmt::_internal_mutable_stop_invalid() { - if (!_internal_has_stop_invalid()) { - clear_term_oneof(); - set_has_stop_invalid(); - _impl_.term_oneof_.stop_invalid_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt >(GetArenaForAllocation()); - } - return _impl_.term_oneof_.stop_invalid_; -} -inline ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* TerminatingStmt::mutable_stop_invalid() { - ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* _msg = _internal_mutable_stop_invalid(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.TerminatingStmt.stop_invalid) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.RetRevStmt ret_rev = 2; -inline bool TerminatingStmt::_internal_has_ret_rev() const { - return term_oneof_case() == kRetRev; -} -inline bool TerminatingStmt::has_ret_rev() const { - return _internal_has_ret_rev(); -} -inline void TerminatingStmt::set_has_ret_rev() { - _impl_._oneof_case_[0] = kRetRev; -} -inline void TerminatingStmt::clear_ret_rev() { - if (_internal_has_ret_rev()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.term_oneof_.ret_rev_; - } - clear_has_term_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::RetRevStmt* TerminatingStmt::release_ret_rev() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.TerminatingStmt.ret_rev) - if (_internal_has_ret_rev()) { - clear_has_term_oneof(); - ::solidity::yul::test::yul_fuzzer::RetRevStmt* temp = _impl_.term_oneof_.ret_rev_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.term_oneof_.ret_rev_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::RetRevStmt& TerminatingStmt::_internal_ret_rev() const { - return _internal_has_ret_rev() - ? *_impl_.term_oneof_.ret_rev_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::RetRevStmt&>(::solidity::yul::test::yul_fuzzer::_RetRevStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::RetRevStmt& TerminatingStmt::ret_rev() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TerminatingStmt.ret_rev) - return _internal_ret_rev(); -} -inline ::solidity::yul::test::yul_fuzzer::RetRevStmt* TerminatingStmt::unsafe_arena_release_ret_rev() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.TerminatingStmt.ret_rev) - if (_internal_has_ret_rev()) { - clear_has_term_oneof(); - ::solidity::yul::test::yul_fuzzer::RetRevStmt* temp = _impl_.term_oneof_.ret_rev_; - _impl_.term_oneof_.ret_rev_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void TerminatingStmt::unsafe_arena_set_allocated_ret_rev(::solidity::yul::test::yul_fuzzer::RetRevStmt* ret_rev) { - clear_term_oneof(); - if (ret_rev) { - set_has_ret_rev(); - _impl_.term_oneof_.ret_rev_ = ret_rev; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.ret_rev) -} -inline ::solidity::yul::test::yul_fuzzer::RetRevStmt* TerminatingStmt::_internal_mutable_ret_rev() { - if (!_internal_has_ret_rev()) { - clear_term_oneof(); - set_has_ret_rev(); - _impl_.term_oneof_.ret_rev_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::RetRevStmt >(GetArenaForAllocation()); - } - return _impl_.term_oneof_.ret_rev_; -} -inline ::solidity::yul::test::yul_fuzzer::RetRevStmt* TerminatingStmt::mutable_ret_rev() { - ::solidity::yul::test::yul_fuzzer::RetRevStmt* _msg = _internal_mutable_ret_rev(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.TerminatingStmt.ret_rev) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.SelfDestructStmt self_des = 3; -inline bool TerminatingStmt::_internal_has_self_des() const { - return term_oneof_case() == kSelfDes; -} -inline bool TerminatingStmt::has_self_des() const { - return _internal_has_self_des(); -} -inline void TerminatingStmt::set_has_self_des() { - _impl_._oneof_case_[0] = kSelfDes; -} -inline void TerminatingStmt::clear_self_des() { - if (_internal_has_self_des()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.term_oneof_.self_des_; - } - clear_has_term_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* TerminatingStmt::release_self_des() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.TerminatingStmt.self_des) - if (_internal_has_self_des()) { - clear_has_term_oneof(); - ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* temp = _impl_.term_oneof_.self_des_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.term_oneof_.self_des_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::SelfDestructStmt& TerminatingStmt::_internal_self_des() const { - return _internal_has_self_des() - ? *_impl_.term_oneof_.self_des_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::SelfDestructStmt&>(::solidity::yul::test::yul_fuzzer::_SelfDestructStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::SelfDestructStmt& TerminatingStmt::self_des() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.TerminatingStmt.self_des) - return _internal_self_des(); -} -inline ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* TerminatingStmt::unsafe_arena_release_self_des() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.TerminatingStmt.self_des) - if (_internal_has_self_des()) { - clear_has_term_oneof(); - ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* temp = _impl_.term_oneof_.self_des_; - _impl_.term_oneof_.self_des_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void TerminatingStmt::unsafe_arena_set_allocated_self_des(::solidity::yul::test::yul_fuzzer::SelfDestructStmt* self_des) { - clear_term_oneof(); - if (self_des) { - set_has_self_des(); - _impl_.term_oneof_.self_des_ = self_des; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.self_des) -} -inline ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* TerminatingStmt::_internal_mutable_self_des() { - if (!_internal_has_self_des()) { - clear_term_oneof(); - set_has_self_des(); - _impl_.term_oneof_.self_des_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::SelfDestructStmt >(GetArenaForAllocation()); - } - return _impl_.term_oneof_.self_des_; -} -inline ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* TerminatingStmt::mutable_self_des() { - ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* _msg = _internal_mutable_self_des(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.TerminatingStmt.self_des) - return _msg; -} - -inline bool TerminatingStmt::has_term_oneof() const { - return term_oneof_case() != TERM_ONEOF_NOT_SET; -} -inline void TerminatingStmt::clear_has_term_oneof() { - _impl_._oneof_case_[0] = TERM_ONEOF_NOT_SET; -} -inline TerminatingStmt::TermOneofCase TerminatingStmt::term_oneof_case() const { - return TerminatingStmt::TermOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// FunctionDef - -// required uint32 num_input_params = 1; -inline bool FunctionDef::_internal_has_num_input_params() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool FunctionDef::has_num_input_params() const { - return _internal_has_num_input_params(); -} -inline void FunctionDef::clear_num_input_params() { - _impl_.num_input_params_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t FunctionDef::_internal_num_input_params() const { - return _impl_.num_input_params_; -} -inline uint32_t FunctionDef::num_input_params() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.FunctionDef.num_input_params) - return _internal_num_input_params(); -} -inline void FunctionDef::_internal_set_num_input_params(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.num_input_params_ = value; -} -inline void FunctionDef::set_num_input_params(uint32_t value) { - _internal_set_num_input_params(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.FunctionDef.num_input_params) -} - -// required uint32 num_output_params = 2; -inline bool FunctionDef::_internal_has_num_output_params() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool FunctionDef::has_num_output_params() const { - return _internal_has_num_output_params(); -} -inline void FunctionDef::clear_num_output_params() { - _impl_.num_output_params_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t FunctionDef::_internal_num_output_params() const { - return _impl_.num_output_params_; -} -inline uint32_t FunctionDef::num_output_params() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.FunctionDef.num_output_params) - return _internal_num_output_params(); -} -inline void FunctionDef::_internal_set_num_output_params(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.num_output_params_ = value; -} -inline void FunctionDef::set_num_output_params(uint32_t value) { - _internal_set_num_output_params(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.FunctionDef.num_output_params) -} - -// required .solidity.yul.test.yul_fuzzer.Block block = 3; -inline bool FunctionDef::_internal_has_block() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.block_ != nullptr); - return value; -} -inline bool FunctionDef::has_block() const { - return _internal_has_block(); -} -inline void FunctionDef::clear_block() { - if (_impl_.block_ != nullptr) _impl_.block_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Block& FunctionDef::_internal_block() const { - const ::solidity::yul::test::yul_fuzzer::Block* p = _impl_.block_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& FunctionDef::block() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.FunctionDef.block) - return _internal_block(); -} -inline void FunctionDef::unsafe_arena_set_allocated_block( - ::solidity::yul::test::yul_fuzzer::Block* block) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.block_); - } - _impl_.block_ = block; - if (block) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.FunctionDef.block) -} -inline ::solidity::yul::test::yul_fuzzer::Block* FunctionDef::release_block() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.block_; - _impl_.block_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* FunctionDef::unsafe_arena_release_block() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.FunctionDef.block) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.block_; - _impl_.block_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* FunctionDef::_internal_mutable_block() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.block_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Block>(GetArenaForAllocation()); - _impl_.block_ = p; - } - return _impl_.block_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* FunctionDef::mutable_block() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_block(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.FunctionDef.block) - return _msg; -} -inline void FunctionDef::set_allocated_block(::solidity::yul::test::yul_fuzzer::Block* block) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.block_; - } - if (block) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(block); - if (message_arena != submessage_arena) { - block = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, block, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.block_ = block; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.FunctionDef.block) -} - -// required bool force_call = 4; -inline bool FunctionDef::_internal_has_force_call() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool FunctionDef::has_force_call() const { - return _internal_has_force_call(); -} -inline void FunctionDef::clear_force_call() { - _impl_.force_call_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool FunctionDef::_internal_force_call() const { - return _impl_.force_call_; -} -inline bool FunctionDef::force_call() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.FunctionDef.force_call) - return _internal_force_call(); -} -inline void FunctionDef::_internal_set_force_call(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.force_call_ = value; -} -inline void FunctionDef::set_force_call(bool value) { - _internal_set_force_call(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.FunctionDef.force_call) -} - -// ------------------------------------------------------------------- - -// PopStmt - -// required .solidity.yul.test.yul_fuzzer.Expression expr = 1; -inline bool PopStmt::_internal_has_expr() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.expr_ != nullptr); - return value; -} -inline bool PopStmt::has_expr() const { - return _internal_has_expr(); -} -inline void PopStmt::clear_expr() { - if (_impl_.expr_ != nullptr) _impl_.expr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& PopStmt::_internal_expr() const { - const ::solidity::yul::test::yul_fuzzer::Expression* p = _impl_.expr_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Expression_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Expression& PopStmt::expr() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.PopStmt.expr) - return _internal_expr(); -} -inline void PopStmt::unsafe_arena_set_allocated_expr( - ::solidity::yul::test::yul_fuzzer::Expression* expr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.expr_); - } - _impl_.expr_ = expr; - if (expr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.PopStmt.expr) -} -inline ::solidity::yul::test::yul_fuzzer::Expression* PopStmt::release_expr() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.expr_; - _impl_.expr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* PopStmt::unsafe_arena_release_expr() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.PopStmt.expr) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Expression* temp = _impl_.expr_; - _impl_.expr_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* PopStmt::_internal_mutable_expr() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.expr_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Expression>(GetArenaForAllocation()); - _impl_.expr_ = p; - } - return _impl_.expr_; -} -inline ::solidity::yul::test::yul_fuzzer::Expression* PopStmt::mutable_expr() { - ::solidity::yul::test::yul_fuzzer::Expression* _msg = _internal_mutable_expr(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.PopStmt.expr) - return _msg; -} -inline void PopStmt::set_allocated_expr(::solidity::yul::test::yul_fuzzer::Expression* expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.expr_; - } - if (expr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(expr); - if (message_arena != submessage_arena) { - expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, expr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.expr_ = expr; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.PopStmt.expr) -} - -// ------------------------------------------------------------------- - -// LeaveStmt - -// ------------------------------------------------------------------- - -// Statement - -// .solidity.yul.test.yul_fuzzer.VarDecl decl = 1; -inline bool Statement::_internal_has_decl() const { - return stmt_oneof_case() == kDecl; -} -inline bool Statement::has_decl() const { - return _internal_has_decl(); -} -inline void Statement::set_has_decl() { - _impl_._oneof_case_[0] = kDecl; -} -inline void Statement::clear_decl() { - if (_internal_has_decl()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.decl_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::VarDecl* Statement::release_decl() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.decl) - if (_internal_has_decl()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::VarDecl* temp = _impl_.stmt_oneof_.decl_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.decl_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::VarDecl& Statement::_internal_decl() const { - return _internal_has_decl() - ? *_impl_.stmt_oneof_.decl_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::VarDecl&>(::solidity::yul::test::yul_fuzzer::_VarDecl_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::VarDecl& Statement::decl() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.decl) - return _internal_decl(); -} -inline ::solidity::yul::test::yul_fuzzer::VarDecl* Statement::unsafe_arena_release_decl() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.decl) - if (_internal_has_decl()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::VarDecl* temp = _impl_.stmt_oneof_.decl_; - _impl_.stmt_oneof_.decl_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_decl(::solidity::yul::test::yul_fuzzer::VarDecl* decl) { - clear_stmt_oneof(); - if (decl) { - set_has_decl(); - _impl_.stmt_oneof_.decl_ = decl; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.decl) -} -inline ::solidity::yul::test::yul_fuzzer::VarDecl* Statement::_internal_mutable_decl() { - if (!_internal_has_decl()) { - clear_stmt_oneof(); - set_has_decl(); - _impl_.stmt_oneof_.decl_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::VarDecl >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.decl_; -} -inline ::solidity::yul::test::yul_fuzzer::VarDecl* Statement::mutable_decl() { - ::solidity::yul::test::yul_fuzzer::VarDecl* _msg = _internal_mutable_decl(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.decl) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.AssignmentStatement assignment = 2; -inline bool Statement::_internal_has_assignment() const { - return stmt_oneof_case() == kAssignment; -} -inline bool Statement::has_assignment() const { - return _internal_has_assignment(); -} -inline void Statement::set_has_assignment() { - _impl_._oneof_case_[0] = kAssignment; -} -inline void Statement::clear_assignment() { - if (_internal_has_assignment()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.assignment_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::AssignmentStatement* Statement::release_assignment() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.assignment) - if (_internal_has_assignment()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::AssignmentStatement* temp = _impl_.stmt_oneof_.assignment_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.assignment_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::AssignmentStatement& Statement::_internal_assignment() const { - return _internal_has_assignment() - ? *_impl_.stmt_oneof_.assignment_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::AssignmentStatement&>(::solidity::yul::test::yul_fuzzer::_AssignmentStatement_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::AssignmentStatement& Statement::assignment() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.assignment) - return _internal_assignment(); -} -inline ::solidity::yul::test::yul_fuzzer::AssignmentStatement* Statement::unsafe_arena_release_assignment() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.assignment) - if (_internal_has_assignment()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::AssignmentStatement* temp = _impl_.stmt_oneof_.assignment_; - _impl_.stmt_oneof_.assignment_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_assignment(::solidity::yul::test::yul_fuzzer::AssignmentStatement* assignment) { - clear_stmt_oneof(); - if (assignment) { - set_has_assignment(); - _impl_.stmt_oneof_.assignment_ = assignment; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.assignment) -} -inline ::solidity::yul::test::yul_fuzzer::AssignmentStatement* Statement::_internal_mutable_assignment() { - if (!_internal_has_assignment()) { - clear_stmt_oneof(); - set_has_assignment(); - _impl_.stmt_oneof_.assignment_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::AssignmentStatement >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.assignment_; -} -inline ::solidity::yul::test::yul_fuzzer::AssignmentStatement* Statement::mutable_assignment() { - ::solidity::yul::test::yul_fuzzer::AssignmentStatement* _msg = _internal_mutable_assignment(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.assignment) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.IfStmt ifstmt = 3; -inline bool Statement::_internal_has_ifstmt() const { - return stmt_oneof_case() == kIfstmt; -} -inline bool Statement::has_ifstmt() const { - return _internal_has_ifstmt(); -} -inline void Statement::set_has_ifstmt() { - _impl_._oneof_case_[0] = kIfstmt; -} -inline void Statement::clear_ifstmt() { - if (_internal_has_ifstmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.ifstmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::IfStmt* Statement::release_ifstmt() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.ifstmt) - if (_internal_has_ifstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::IfStmt* temp = _impl_.stmt_oneof_.ifstmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.ifstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::IfStmt& Statement::_internal_ifstmt() const { - return _internal_has_ifstmt() - ? *_impl_.stmt_oneof_.ifstmt_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::IfStmt&>(::solidity::yul::test::yul_fuzzer::_IfStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::IfStmt& Statement::ifstmt() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.ifstmt) - return _internal_ifstmt(); -} -inline ::solidity::yul::test::yul_fuzzer::IfStmt* Statement::unsafe_arena_release_ifstmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.ifstmt) - if (_internal_has_ifstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::IfStmt* temp = _impl_.stmt_oneof_.ifstmt_; - _impl_.stmt_oneof_.ifstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_ifstmt(::solidity::yul::test::yul_fuzzer::IfStmt* ifstmt) { - clear_stmt_oneof(); - if (ifstmt) { - set_has_ifstmt(); - _impl_.stmt_oneof_.ifstmt_ = ifstmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.ifstmt) -} -inline ::solidity::yul::test::yul_fuzzer::IfStmt* Statement::_internal_mutable_ifstmt() { - if (!_internal_has_ifstmt()) { - clear_stmt_oneof(); - set_has_ifstmt(); - _impl_.stmt_oneof_.ifstmt_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::IfStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.ifstmt_; -} -inline ::solidity::yul::test::yul_fuzzer::IfStmt* Statement::mutable_ifstmt() { - ::solidity::yul::test::yul_fuzzer::IfStmt* _msg = _internal_mutable_ifstmt(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.ifstmt) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.StoreFunc storage_func = 4; -inline bool Statement::_internal_has_storage_func() const { - return stmt_oneof_case() == kStorageFunc; -} -inline bool Statement::has_storage_func() const { - return _internal_has_storage_func(); -} -inline void Statement::set_has_storage_func() { - _impl_._oneof_case_[0] = kStorageFunc; -} -inline void Statement::clear_storage_func() { - if (_internal_has_storage_func()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.storage_func_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::StoreFunc* Statement::release_storage_func() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.storage_func) - if (_internal_has_storage_func()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::StoreFunc* temp = _impl_.stmt_oneof_.storage_func_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.storage_func_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::StoreFunc& Statement::_internal_storage_func() const { - return _internal_has_storage_func() - ? *_impl_.stmt_oneof_.storage_func_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::StoreFunc&>(::solidity::yul::test::yul_fuzzer::_StoreFunc_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::StoreFunc& Statement::storage_func() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.storage_func) - return _internal_storage_func(); -} -inline ::solidity::yul::test::yul_fuzzer::StoreFunc* Statement::unsafe_arena_release_storage_func() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.storage_func) - if (_internal_has_storage_func()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::StoreFunc* temp = _impl_.stmt_oneof_.storage_func_; - _impl_.stmt_oneof_.storage_func_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_storage_func(::solidity::yul::test::yul_fuzzer::StoreFunc* storage_func) { - clear_stmt_oneof(); - if (storage_func) { - set_has_storage_func(); - _impl_.stmt_oneof_.storage_func_ = storage_func; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.storage_func) -} -inline ::solidity::yul::test::yul_fuzzer::StoreFunc* Statement::_internal_mutable_storage_func() { - if (!_internal_has_storage_func()) { - clear_stmt_oneof(); - set_has_storage_func(); - _impl_.stmt_oneof_.storage_func_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::StoreFunc >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.storage_func_; -} -inline ::solidity::yul::test::yul_fuzzer::StoreFunc* Statement::mutable_storage_func() { - ::solidity::yul::test::yul_fuzzer::StoreFunc* _msg = _internal_mutable_storage_func(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.storage_func) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.Block blockstmt = 5; -inline bool Statement::_internal_has_blockstmt() const { - return stmt_oneof_case() == kBlockstmt; -} -inline bool Statement::has_blockstmt() const { - return _internal_has_blockstmt(); -} -inline void Statement::set_has_blockstmt() { - _impl_._oneof_case_[0] = kBlockstmt; -} -inline void Statement::clear_blockstmt() { - if (_internal_has_blockstmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.blockstmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::Block* Statement::release_blockstmt() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.blockstmt) - if (_internal_has_blockstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.stmt_oneof_.blockstmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.blockstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::Block& Statement::_internal_blockstmt() const { - return _internal_has_blockstmt() - ? *_impl_.stmt_oneof_.blockstmt_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::Block&>(::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& Statement::blockstmt() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.blockstmt) - return _internal_blockstmt(); -} -inline ::solidity::yul::test::yul_fuzzer::Block* Statement::unsafe_arena_release_blockstmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.blockstmt) - if (_internal_has_blockstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.stmt_oneof_.blockstmt_; - _impl_.stmt_oneof_.blockstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_blockstmt(::solidity::yul::test::yul_fuzzer::Block* blockstmt) { - clear_stmt_oneof(); - if (blockstmt) { - set_has_blockstmt(); - _impl_.stmt_oneof_.blockstmt_ = blockstmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.blockstmt) -} -inline ::solidity::yul::test::yul_fuzzer::Block* Statement::_internal_mutable_blockstmt() { - if (!_internal_has_blockstmt()) { - clear_stmt_oneof(); - set_has_blockstmt(); - _impl_.stmt_oneof_.blockstmt_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Block >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.blockstmt_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* Statement::mutable_blockstmt() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_blockstmt(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.blockstmt) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.ForStmt forstmt = 6; -inline bool Statement::_internal_has_forstmt() const { - return stmt_oneof_case() == kForstmt; -} -inline bool Statement::has_forstmt() const { - return _internal_has_forstmt(); -} -inline void Statement::set_has_forstmt() { - _impl_._oneof_case_[0] = kForstmt; -} -inline void Statement::clear_forstmt() { - if (_internal_has_forstmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.forstmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::ForStmt* Statement::release_forstmt() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.forstmt) - if (_internal_has_forstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::ForStmt* temp = _impl_.stmt_oneof_.forstmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.forstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::ForStmt& Statement::_internal_forstmt() const { - return _internal_has_forstmt() - ? *_impl_.stmt_oneof_.forstmt_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::ForStmt&>(::solidity::yul::test::yul_fuzzer::_ForStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::ForStmt& Statement::forstmt() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.forstmt) - return _internal_forstmt(); -} -inline ::solidity::yul::test::yul_fuzzer::ForStmt* Statement::unsafe_arena_release_forstmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.forstmt) - if (_internal_has_forstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::ForStmt* temp = _impl_.stmt_oneof_.forstmt_; - _impl_.stmt_oneof_.forstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_forstmt(::solidity::yul::test::yul_fuzzer::ForStmt* forstmt) { - clear_stmt_oneof(); - if (forstmt) { - set_has_forstmt(); - _impl_.stmt_oneof_.forstmt_ = forstmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.forstmt) -} -inline ::solidity::yul::test::yul_fuzzer::ForStmt* Statement::_internal_mutable_forstmt() { - if (!_internal_has_forstmt()) { - clear_stmt_oneof(); - set_has_forstmt(); - _impl_.stmt_oneof_.forstmt_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ForStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.forstmt_; -} -inline ::solidity::yul::test::yul_fuzzer::ForStmt* Statement::mutable_forstmt() { - ::solidity::yul::test::yul_fuzzer::ForStmt* _msg = _internal_mutable_forstmt(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.forstmt) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.SwitchStmt switchstmt = 7; -inline bool Statement::_internal_has_switchstmt() const { - return stmt_oneof_case() == kSwitchstmt; -} -inline bool Statement::has_switchstmt() const { - return _internal_has_switchstmt(); -} -inline void Statement::set_has_switchstmt() { - _impl_._oneof_case_[0] = kSwitchstmt; -} -inline void Statement::clear_switchstmt() { - if (_internal_has_switchstmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.switchstmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::SwitchStmt* Statement::release_switchstmt() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.switchstmt) - if (_internal_has_switchstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::SwitchStmt* temp = _impl_.stmt_oneof_.switchstmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.switchstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::SwitchStmt& Statement::_internal_switchstmt() const { - return _internal_has_switchstmt() - ? *_impl_.stmt_oneof_.switchstmt_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::SwitchStmt&>(::solidity::yul::test::yul_fuzzer::_SwitchStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::SwitchStmt& Statement::switchstmt() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.switchstmt) - return _internal_switchstmt(); -} -inline ::solidity::yul::test::yul_fuzzer::SwitchStmt* Statement::unsafe_arena_release_switchstmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.switchstmt) - if (_internal_has_switchstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::SwitchStmt* temp = _impl_.stmt_oneof_.switchstmt_; - _impl_.stmt_oneof_.switchstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_switchstmt(::solidity::yul::test::yul_fuzzer::SwitchStmt* switchstmt) { - clear_stmt_oneof(); - if (switchstmt) { - set_has_switchstmt(); - _impl_.stmt_oneof_.switchstmt_ = switchstmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.switchstmt) -} -inline ::solidity::yul::test::yul_fuzzer::SwitchStmt* Statement::_internal_mutable_switchstmt() { - if (!_internal_has_switchstmt()) { - clear_stmt_oneof(); - set_has_switchstmt(); - _impl_.stmt_oneof_.switchstmt_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::SwitchStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.switchstmt_; -} -inline ::solidity::yul::test::yul_fuzzer::SwitchStmt* Statement::mutable_switchstmt() { - ::solidity::yul::test::yul_fuzzer::SwitchStmt* _msg = _internal_mutable_switchstmt(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.switchstmt) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.BreakStmt breakstmt = 8; -inline bool Statement::_internal_has_breakstmt() const { - return stmt_oneof_case() == kBreakstmt; -} -inline bool Statement::has_breakstmt() const { - return _internal_has_breakstmt(); -} -inline void Statement::set_has_breakstmt() { - _impl_._oneof_case_[0] = kBreakstmt; -} -inline void Statement::clear_breakstmt() { - if (_internal_has_breakstmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.breakstmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::BreakStmt* Statement::release_breakstmt() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.breakstmt) - if (_internal_has_breakstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::BreakStmt* temp = _impl_.stmt_oneof_.breakstmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.breakstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::BreakStmt& Statement::_internal_breakstmt() const { - return _internal_has_breakstmt() - ? *_impl_.stmt_oneof_.breakstmt_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::BreakStmt&>(::solidity::yul::test::yul_fuzzer::_BreakStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::BreakStmt& Statement::breakstmt() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.breakstmt) - return _internal_breakstmt(); -} -inline ::solidity::yul::test::yul_fuzzer::BreakStmt* Statement::unsafe_arena_release_breakstmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.breakstmt) - if (_internal_has_breakstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::BreakStmt* temp = _impl_.stmt_oneof_.breakstmt_; - _impl_.stmt_oneof_.breakstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_breakstmt(::solidity::yul::test::yul_fuzzer::BreakStmt* breakstmt) { - clear_stmt_oneof(); - if (breakstmt) { - set_has_breakstmt(); - _impl_.stmt_oneof_.breakstmt_ = breakstmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.breakstmt) -} -inline ::solidity::yul::test::yul_fuzzer::BreakStmt* Statement::_internal_mutable_breakstmt() { - if (!_internal_has_breakstmt()) { - clear_stmt_oneof(); - set_has_breakstmt(); - _impl_.stmt_oneof_.breakstmt_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BreakStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.breakstmt_; -} -inline ::solidity::yul::test::yul_fuzzer::BreakStmt* Statement::mutable_breakstmt() { - ::solidity::yul::test::yul_fuzzer::BreakStmt* _msg = _internal_mutable_breakstmt(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.breakstmt) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.ContinueStmt contstmt = 9; -inline bool Statement::_internal_has_contstmt() const { - return stmt_oneof_case() == kContstmt; -} -inline bool Statement::has_contstmt() const { - return _internal_has_contstmt(); -} -inline void Statement::set_has_contstmt() { - _impl_._oneof_case_[0] = kContstmt; -} -inline void Statement::clear_contstmt() { - if (_internal_has_contstmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.contstmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::ContinueStmt* Statement::release_contstmt() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.contstmt) - if (_internal_has_contstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::ContinueStmt* temp = _impl_.stmt_oneof_.contstmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.contstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::ContinueStmt& Statement::_internal_contstmt() const { - return _internal_has_contstmt() - ? *_impl_.stmt_oneof_.contstmt_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::ContinueStmt&>(::solidity::yul::test::yul_fuzzer::_ContinueStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::ContinueStmt& Statement::contstmt() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.contstmt) - return _internal_contstmt(); -} -inline ::solidity::yul::test::yul_fuzzer::ContinueStmt* Statement::unsafe_arena_release_contstmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.contstmt) - if (_internal_has_contstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::ContinueStmt* temp = _impl_.stmt_oneof_.contstmt_; - _impl_.stmt_oneof_.contstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_contstmt(::solidity::yul::test::yul_fuzzer::ContinueStmt* contstmt) { - clear_stmt_oneof(); - if (contstmt) { - set_has_contstmt(); - _impl_.stmt_oneof_.contstmt_ = contstmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.contstmt) -} -inline ::solidity::yul::test::yul_fuzzer::ContinueStmt* Statement::_internal_mutable_contstmt() { - if (!_internal_has_contstmt()) { - clear_stmt_oneof(); - set_has_contstmt(); - _impl_.stmt_oneof_.contstmt_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ContinueStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.contstmt_; -} -inline ::solidity::yul::test::yul_fuzzer::ContinueStmt* Statement::mutable_contstmt() { - ::solidity::yul::test::yul_fuzzer::ContinueStmt* _msg = _internal_mutable_contstmt(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.contstmt) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.LogFunc log_func = 10; -inline bool Statement::_internal_has_log_func() const { - return stmt_oneof_case() == kLogFunc; -} -inline bool Statement::has_log_func() const { - return _internal_has_log_func(); -} -inline void Statement::set_has_log_func() { - _impl_._oneof_case_[0] = kLogFunc; -} -inline void Statement::clear_log_func() { - if (_internal_has_log_func()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.log_func_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::LogFunc* Statement::release_log_func() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.log_func) - if (_internal_has_log_func()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::LogFunc* temp = _impl_.stmt_oneof_.log_func_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.log_func_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::LogFunc& Statement::_internal_log_func() const { - return _internal_has_log_func() - ? *_impl_.stmt_oneof_.log_func_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::LogFunc&>(::solidity::yul::test::yul_fuzzer::_LogFunc_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::LogFunc& Statement::log_func() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.log_func) - return _internal_log_func(); -} -inline ::solidity::yul::test::yul_fuzzer::LogFunc* Statement::unsafe_arena_release_log_func() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.log_func) - if (_internal_has_log_func()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::LogFunc* temp = _impl_.stmt_oneof_.log_func_; - _impl_.stmt_oneof_.log_func_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_log_func(::solidity::yul::test::yul_fuzzer::LogFunc* log_func) { - clear_stmt_oneof(); - if (log_func) { - set_has_log_func(); - _impl_.stmt_oneof_.log_func_ = log_func; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.log_func) -} -inline ::solidity::yul::test::yul_fuzzer::LogFunc* Statement::_internal_mutable_log_func() { - if (!_internal_has_log_func()) { - clear_stmt_oneof(); - set_has_log_func(); - _impl_.stmt_oneof_.log_func_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LogFunc >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.log_func_; -} -inline ::solidity::yul::test::yul_fuzzer::LogFunc* Statement::mutable_log_func() { - ::solidity::yul::test::yul_fuzzer::LogFunc* _msg = _internal_mutable_log_func(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.log_func) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.CopyFunc copy_func = 11; -inline bool Statement::_internal_has_copy_func() const { - return stmt_oneof_case() == kCopyFunc; -} -inline bool Statement::has_copy_func() const { - return _internal_has_copy_func(); -} -inline void Statement::set_has_copy_func() { - _impl_._oneof_case_[0] = kCopyFunc; -} -inline void Statement::clear_copy_func() { - if (_internal_has_copy_func()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.copy_func_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::CopyFunc* Statement::release_copy_func() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.copy_func) - if (_internal_has_copy_func()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::CopyFunc* temp = _impl_.stmt_oneof_.copy_func_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.copy_func_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::CopyFunc& Statement::_internal_copy_func() const { - return _internal_has_copy_func() - ? *_impl_.stmt_oneof_.copy_func_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::CopyFunc&>(::solidity::yul::test::yul_fuzzer::_CopyFunc_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::CopyFunc& Statement::copy_func() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.copy_func) - return _internal_copy_func(); -} -inline ::solidity::yul::test::yul_fuzzer::CopyFunc* Statement::unsafe_arena_release_copy_func() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.copy_func) - if (_internal_has_copy_func()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::CopyFunc* temp = _impl_.stmt_oneof_.copy_func_; - _impl_.stmt_oneof_.copy_func_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_copy_func(::solidity::yul::test::yul_fuzzer::CopyFunc* copy_func) { - clear_stmt_oneof(); - if (copy_func) { - set_has_copy_func(); - _impl_.stmt_oneof_.copy_func_ = copy_func; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.copy_func) -} -inline ::solidity::yul::test::yul_fuzzer::CopyFunc* Statement::_internal_mutable_copy_func() { - if (!_internal_has_copy_func()) { - clear_stmt_oneof(); - set_has_copy_func(); - _impl_.stmt_oneof_.copy_func_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::CopyFunc >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.copy_func_; -} -inline ::solidity::yul::test::yul_fuzzer::CopyFunc* Statement::mutable_copy_func() { - ::solidity::yul::test::yul_fuzzer::CopyFunc* _msg = _internal_mutable_copy_func(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.copy_func) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.ExtCodeCopy extcode_copy = 12; -inline bool Statement::_internal_has_extcode_copy() const { - return stmt_oneof_case() == kExtcodeCopy; -} -inline bool Statement::has_extcode_copy() const { - return _internal_has_extcode_copy(); -} -inline void Statement::set_has_extcode_copy() { - _impl_._oneof_case_[0] = kExtcodeCopy; -} -inline void Statement::clear_extcode_copy() { - if (_internal_has_extcode_copy()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.extcode_copy_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* Statement::release_extcode_copy() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.extcode_copy) - if (_internal_has_extcode_copy()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* temp = _impl_.stmt_oneof_.extcode_copy_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.extcode_copy_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::ExtCodeCopy& Statement::_internal_extcode_copy() const { - return _internal_has_extcode_copy() - ? *_impl_.stmt_oneof_.extcode_copy_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::ExtCodeCopy&>(::solidity::yul::test::yul_fuzzer::_ExtCodeCopy_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::ExtCodeCopy& Statement::extcode_copy() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.extcode_copy) - return _internal_extcode_copy(); -} -inline ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* Statement::unsafe_arena_release_extcode_copy() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.extcode_copy) - if (_internal_has_extcode_copy()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* temp = _impl_.stmt_oneof_.extcode_copy_; - _impl_.stmt_oneof_.extcode_copy_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_extcode_copy(::solidity::yul::test::yul_fuzzer::ExtCodeCopy* extcode_copy) { - clear_stmt_oneof(); - if (extcode_copy) { - set_has_extcode_copy(); - _impl_.stmt_oneof_.extcode_copy_ = extcode_copy; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.extcode_copy) -} -inline ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* Statement::_internal_mutable_extcode_copy() { - if (!_internal_has_extcode_copy()) { - clear_stmt_oneof(); - set_has_extcode_copy(); - _impl_.stmt_oneof_.extcode_copy_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ExtCodeCopy >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.extcode_copy_; -} -inline ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* Statement::mutable_extcode_copy() { - ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* _msg = _internal_mutable_extcode_copy(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.extcode_copy) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.TerminatingStmt terminatestmt = 13; -inline bool Statement::_internal_has_terminatestmt() const { - return stmt_oneof_case() == kTerminatestmt; -} -inline bool Statement::has_terminatestmt() const { - return _internal_has_terminatestmt(); -} -inline void Statement::set_has_terminatestmt() { - _impl_._oneof_case_[0] = kTerminatestmt; -} -inline void Statement::clear_terminatestmt() { - if (_internal_has_terminatestmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.terminatestmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::TerminatingStmt* Statement::release_terminatestmt() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.terminatestmt) - if (_internal_has_terminatestmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::TerminatingStmt* temp = _impl_.stmt_oneof_.terminatestmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.terminatestmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::TerminatingStmt& Statement::_internal_terminatestmt() const { - return _internal_has_terminatestmt() - ? *_impl_.stmt_oneof_.terminatestmt_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::TerminatingStmt&>(::solidity::yul::test::yul_fuzzer::_TerminatingStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::TerminatingStmt& Statement::terminatestmt() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.terminatestmt) - return _internal_terminatestmt(); -} -inline ::solidity::yul::test::yul_fuzzer::TerminatingStmt* Statement::unsafe_arena_release_terminatestmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.terminatestmt) - if (_internal_has_terminatestmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::TerminatingStmt* temp = _impl_.stmt_oneof_.terminatestmt_; - _impl_.stmt_oneof_.terminatestmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_terminatestmt(::solidity::yul::test::yul_fuzzer::TerminatingStmt* terminatestmt) { - clear_stmt_oneof(); - if (terminatestmt) { - set_has_terminatestmt(); - _impl_.stmt_oneof_.terminatestmt_ = terminatestmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.terminatestmt) -} -inline ::solidity::yul::test::yul_fuzzer::TerminatingStmt* Statement::_internal_mutable_terminatestmt() { - if (!_internal_has_terminatestmt()) { - clear_stmt_oneof(); - set_has_terminatestmt(); - _impl_.stmt_oneof_.terminatestmt_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TerminatingStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.terminatestmt_; -} -inline ::solidity::yul::test::yul_fuzzer::TerminatingStmt* Statement::mutable_terminatestmt() { - ::solidity::yul::test::yul_fuzzer::TerminatingStmt* _msg = _internal_mutable_terminatestmt(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.terminatestmt) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.FunctionCall functioncall = 14; -inline bool Statement::_internal_has_functioncall() const { - return stmt_oneof_case() == kFunctioncall; -} -inline bool Statement::has_functioncall() const { - return _internal_has_functioncall(); -} -inline void Statement::set_has_functioncall() { - _impl_._oneof_case_[0] = kFunctioncall; -} -inline void Statement::clear_functioncall() { - if (_internal_has_functioncall()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.functioncall_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::FunctionCall* Statement::release_functioncall() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.functioncall) - if (_internal_has_functioncall()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::FunctionCall* temp = _impl_.stmt_oneof_.functioncall_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.functioncall_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::FunctionCall& Statement::_internal_functioncall() const { - return _internal_has_functioncall() - ? *_impl_.stmt_oneof_.functioncall_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::FunctionCall&>(::solidity::yul::test::yul_fuzzer::_FunctionCall_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::FunctionCall& Statement::functioncall() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.functioncall) - return _internal_functioncall(); -} -inline ::solidity::yul::test::yul_fuzzer::FunctionCall* Statement::unsafe_arena_release_functioncall() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.functioncall) - if (_internal_has_functioncall()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::FunctionCall* temp = _impl_.stmt_oneof_.functioncall_; - _impl_.stmt_oneof_.functioncall_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_functioncall(::solidity::yul::test::yul_fuzzer::FunctionCall* functioncall) { - clear_stmt_oneof(); - if (functioncall) { - set_has_functioncall(); - _impl_.stmt_oneof_.functioncall_ = functioncall; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.functioncall) -} -inline ::solidity::yul::test::yul_fuzzer::FunctionCall* Statement::_internal_mutable_functioncall() { - if (!_internal_has_functioncall()) { - clear_stmt_oneof(); - set_has_functioncall(); - _impl_.stmt_oneof_.functioncall_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::FunctionCall >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.functioncall_; -} -inline ::solidity::yul::test::yul_fuzzer::FunctionCall* Statement::mutable_functioncall() { - ::solidity::yul::test::yul_fuzzer::FunctionCall* _msg = _internal_mutable_functioncall(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.functioncall) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.BoundedForStmt boundedforstmt = 15; -inline bool Statement::_internal_has_boundedforstmt() const { - return stmt_oneof_case() == kBoundedforstmt; -} -inline bool Statement::has_boundedforstmt() const { - return _internal_has_boundedforstmt(); -} -inline void Statement::set_has_boundedforstmt() { - _impl_._oneof_case_[0] = kBoundedforstmt; -} -inline void Statement::clear_boundedforstmt() { - if (_internal_has_boundedforstmt()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.boundedforstmt_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::BoundedForStmt* Statement::release_boundedforstmt() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.boundedforstmt) - if (_internal_has_boundedforstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::BoundedForStmt* temp = _impl_.stmt_oneof_.boundedforstmt_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.boundedforstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::BoundedForStmt& Statement::_internal_boundedforstmt() const { - return _internal_has_boundedforstmt() - ? *_impl_.stmt_oneof_.boundedforstmt_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::BoundedForStmt&>(::solidity::yul::test::yul_fuzzer::_BoundedForStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::BoundedForStmt& Statement::boundedforstmt() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.boundedforstmt) - return _internal_boundedforstmt(); -} -inline ::solidity::yul::test::yul_fuzzer::BoundedForStmt* Statement::unsafe_arena_release_boundedforstmt() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.boundedforstmt) - if (_internal_has_boundedforstmt()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::BoundedForStmt* temp = _impl_.stmt_oneof_.boundedforstmt_; - _impl_.stmt_oneof_.boundedforstmt_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_boundedforstmt(::solidity::yul::test::yul_fuzzer::BoundedForStmt* boundedforstmt) { - clear_stmt_oneof(); - if (boundedforstmt) { - set_has_boundedforstmt(); - _impl_.stmt_oneof_.boundedforstmt_ = boundedforstmt; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.boundedforstmt) -} -inline ::solidity::yul::test::yul_fuzzer::BoundedForStmt* Statement::_internal_mutable_boundedforstmt() { - if (!_internal_has_boundedforstmt()) { - clear_stmt_oneof(); - set_has_boundedforstmt(); - _impl_.stmt_oneof_.boundedforstmt_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BoundedForStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.boundedforstmt_; -} -inline ::solidity::yul::test::yul_fuzzer::BoundedForStmt* Statement::mutable_boundedforstmt() { - ::solidity::yul::test::yul_fuzzer::BoundedForStmt* _msg = _internal_mutable_boundedforstmt(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.boundedforstmt) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.FunctionDef funcdef = 16; -inline bool Statement::_internal_has_funcdef() const { - return stmt_oneof_case() == kFuncdef; -} -inline bool Statement::has_funcdef() const { - return _internal_has_funcdef(); -} -inline void Statement::set_has_funcdef() { - _impl_._oneof_case_[0] = kFuncdef; -} -inline void Statement::clear_funcdef() { - if (_internal_has_funcdef()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.funcdef_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::FunctionDef* Statement::release_funcdef() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.funcdef) - if (_internal_has_funcdef()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::FunctionDef* temp = _impl_.stmt_oneof_.funcdef_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.funcdef_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::FunctionDef& Statement::_internal_funcdef() const { - return _internal_has_funcdef() - ? *_impl_.stmt_oneof_.funcdef_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::FunctionDef&>(::solidity::yul::test::yul_fuzzer::_FunctionDef_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::FunctionDef& Statement::funcdef() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.funcdef) - return _internal_funcdef(); -} -inline ::solidity::yul::test::yul_fuzzer::FunctionDef* Statement::unsafe_arena_release_funcdef() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.funcdef) - if (_internal_has_funcdef()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::FunctionDef* temp = _impl_.stmt_oneof_.funcdef_; - _impl_.stmt_oneof_.funcdef_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_funcdef(::solidity::yul::test::yul_fuzzer::FunctionDef* funcdef) { - clear_stmt_oneof(); - if (funcdef) { - set_has_funcdef(); - _impl_.stmt_oneof_.funcdef_ = funcdef; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.funcdef) -} -inline ::solidity::yul::test::yul_fuzzer::FunctionDef* Statement::_internal_mutable_funcdef() { - if (!_internal_has_funcdef()) { - clear_stmt_oneof(); - set_has_funcdef(); - _impl_.stmt_oneof_.funcdef_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::FunctionDef >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.funcdef_; -} -inline ::solidity::yul::test::yul_fuzzer::FunctionDef* Statement::mutable_funcdef() { - ::solidity::yul::test::yul_fuzzer::FunctionDef* _msg = _internal_mutable_funcdef(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.funcdef) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.PopStmt pop = 17; -inline bool Statement::_internal_has_pop() const { - return stmt_oneof_case() == kPop; -} -inline bool Statement::has_pop() const { - return _internal_has_pop(); -} -inline void Statement::set_has_pop() { - _impl_._oneof_case_[0] = kPop; -} -inline void Statement::clear_pop() { - if (_internal_has_pop()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.pop_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::PopStmt* Statement::release_pop() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.pop) - if (_internal_has_pop()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::PopStmt* temp = _impl_.stmt_oneof_.pop_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.pop_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::PopStmt& Statement::_internal_pop() const { - return _internal_has_pop() - ? *_impl_.stmt_oneof_.pop_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::PopStmt&>(::solidity::yul::test::yul_fuzzer::_PopStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::PopStmt& Statement::pop() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.pop) - return _internal_pop(); -} -inline ::solidity::yul::test::yul_fuzzer::PopStmt* Statement::unsafe_arena_release_pop() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.pop) - if (_internal_has_pop()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::PopStmt* temp = _impl_.stmt_oneof_.pop_; - _impl_.stmt_oneof_.pop_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_pop(::solidity::yul::test::yul_fuzzer::PopStmt* pop) { - clear_stmt_oneof(); - if (pop) { - set_has_pop(); - _impl_.stmt_oneof_.pop_ = pop; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.pop) -} -inline ::solidity::yul::test::yul_fuzzer::PopStmt* Statement::_internal_mutable_pop() { - if (!_internal_has_pop()) { - clear_stmt_oneof(); - set_has_pop(); - _impl_.stmt_oneof_.pop_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::PopStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.pop_; -} -inline ::solidity::yul::test::yul_fuzzer::PopStmt* Statement::mutable_pop() { - ::solidity::yul::test::yul_fuzzer::PopStmt* _msg = _internal_mutable_pop(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.pop) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.LeaveStmt leave = 18; -inline bool Statement::_internal_has_leave() const { - return stmt_oneof_case() == kLeave; -} -inline bool Statement::has_leave() const { - return _internal_has_leave(); -} -inline void Statement::set_has_leave() { - _impl_._oneof_case_[0] = kLeave; -} -inline void Statement::clear_leave() { - if (_internal_has_leave()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.leave_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::LeaveStmt* Statement::release_leave() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.leave) - if (_internal_has_leave()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::LeaveStmt* temp = _impl_.stmt_oneof_.leave_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.leave_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::LeaveStmt& Statement::_internal_leave() const { - return _internal_has_leave() - ? *_impl_.stmt_oneof_.leave_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::LeaveStmt&>(::solidity::yul::test::yul_fuzzer::_LeaveStmt_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::LeaveStmt& Statement::leave() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.leave) - return _internal_leave(); -} -inline ::solidity::yul::test::yul_fuzzer::LeaveStmt* Statement::unsafe_arena_release_leave() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.leave) - if (_internal_has_leave()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::LeaveStmt* temp = _impl_.stmt_oneof_.leave_; - _impl_.stmt_oneof_.leave_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_leave(::solidity::yul::test::yul_fuzzer::LeaveStmt* leave) { - clear_stmt_oneof(); - if (leave) { - set_has_leave(); - _impl_.stmt_oneof_.leave_ = leave; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.leave) -} -inline ::solidity::yul::test::yul_fuzzer::LeaveStmt* Statement::_internal_mutable_leave() { - if (!_internal_has_leave()) { - clear_stmt_oneof(); - set_has_leave(); - _impl_.stmt_oneof_.leave_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LeaveStmt >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.leave_; -} -inline ::solidity::yul::test::yul_fuzzer::LeaveStmt* Statement::mutable_leave() { - ::solidity::yul::test::yul_fuzzer::LeaveStmt* _msg = _internal_mutable_leave(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.leave) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.MultiVarDecl multidecl = 19; -inline bool Statement::_internal_has_multidecl() const { - return stmt_oneof_case() == kMultidecl; -} -inline bool Statement::has_multidecl() const { - return _internal_has_multidecl(); -} -inline void Statement::set_has_multidecl() { - _impl_._oneof_case_[0] = kMultidecl; -} -inline void Statement::clear_multidecl() { - if (_internal_has_multidecl()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.stmt_oneof_.multidecl_; - } - clear_has_stmt_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::MultiVarDecl* Statement::release_multidecl() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Statement.multidecl) - if (_internal_has_multidecl()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::MultiVarDecl* temp = _impl_.stmt_oneof_.multidecl_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.stmt_oneof_.multidecl_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::MultiVarDecl& Statement::_internal_multidecl() const { - return _internal_has_multidecl() - ? *_impl_.stmt_oneof_.multidecl_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::MultiVarDecl&>(::solidity::yul::test::yul_fuzzer::_MultiVarDecl_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::MultiVarDecl& Statement::multidecl() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Statement.multidecl) - return _internal_multidecl(); -} -inline ::solidity::yul::test::yul_fuzzer::MultiVarDecl* Statement::unsafe_arena_release_multidecl() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Statement.multidecl) - if (_internal_has_multidecl()) { - clear_has_stmt_oneof(); - ::solidity::yul::test::yul_fuzzer::MultiVarDecl* temp = _impl_.stmt_oneof_.multidecl_; - _impl_.stmt_oneof_.multidecl_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Statement::unsafe_arena_set_allocated_multidecl(::solidity::yul::test::yul_fuzzer::MultiVarDecl* multidecl) { - clear_stmt_oneof(); - if (multidecl) { - set_has_multidecl(); - _impl_.stmt_oneof_.multidecl_ = multidecl; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Statement.multidecl) -} -inline ::solidity::yul::test::yul_fuzzer::MultiVarDecl* Statement::_internal_mutable_multidecl() { - if (!_internal_has_multidecl()) { - clear_stmt_oneof(); - set_has_multidecl(); - _impl_.stmt_oneof_.multidecl_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::MultiVarDecl >(GetArenaForAllocation()); - } - return _impl_.stmt_oneof_.multidecl_; -} -inline ::solidity::yul::test::yul_fuzzer::MultiVarDecl* Statement::mutable_multidecl() { - ::solidity::yul::test::yul_fuzzer::MultiVarDecl* _msg = _internal_mutable_multidecl(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Statement.multidecl) - return _msg; -} - -inline bool Statement::has_stmt_oneof() const { - return stmt_oneof_case() != STMT_ONEOF_NOT_SET; -} -inline void Statement::clear_has_stmt_oneof() { - _impl_._oneof_case_[0] = STMT_ONEOF_NOT_SET; -} -inline Statement::StmtOneofCase Statement::stmt_oneof_case() const { - return Statement::StmtOneofCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Block - -// repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; -inline int Block::_internal_statements_size() const { - return _impl_.statements_.size(); -} -inline int Block::statements_size() const { - return _internal_statements_size(); -} -inline void Block::clear_statements() { - _impl_.statements_.Clear(); -} -inline ::solidity::yul::test::yul_fuzzer::Statement* Block::mutable_statements(int index) { - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Block.statements) - return _impl_.statements_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::Statement >* -Block::mutable_statements() { - // @@protoc_insertion_point(field_mutable_list:solidity.yul.test.yul_fuzzer.Block.statements) - return &_impl_.statements_; -} -inline const ::solidity::yul::test::yul_fuzzer::Statement& Block::_internal_statements(int index) const { - return _impl_.statements_.Get(index); -} -inline const ::solidity::yul::test::yul_fuzzer::Statement& Block::statements(int index) const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Block.statements) - return _internal_statements(index); -} -inline ::solidity::yul::test::yul_fuzzer::Statement* Block::_internal_add_statements() { - return _impl_.statements_.Add(); -} -inline ::solidity::yul::test::yul_fuzzer::Statement* Block::add_statements() { - ::solidity::yul::test::yul_fuzzer::Statement* _add = _internal_add_statements(); - // @@protoc_insertion_point(field_add:solidity.yul.test.yul_fuzzer.Block.statements) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::Statement >& -Block::statements() const { - // @@protoc_insertion_point(field_list:solidity.yul.test.yul_fuzzer.Block.statements) - return _impl_.statements_; -} - -// ------------------------------------------------------------------- - -// CallData - -// required bytes raw_data = 1; -inline bool CallData::_internal_has_raw_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CallData::has_raw_data() const { - return _internal_has_raw_data(); -} -inline void CallData::clear_raw_data() { - _impl_.raw_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CallData::raw_data() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.CallData.raw_data) - return _internal_raw_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CallData::set_raw_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.raw_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.CallData.raw_data) -} -inline std::string* CallData::mutable_raw_data() { - std::string* _s = _internal_mutable_raw_data(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.CallData.raw_data) - return _s; -} -inline const std::string& CallData::_internal_raw_data() const { - return _impl_.raw_data_.Get(); -} -inline void CallData::_internal_set_raw_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.raw_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CallData::_internal_mutable_raw_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.raw_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CallData::release_raw_data() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.CallData.raw_data) - if (!_internal_has_raw_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.raw_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.raw_data_.IsDefault()) { - _impl_.raw_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CallData::set_allocated_raw_data(std::string* raw_data) { - if (raw_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.raw_data_.SetAllocated(raw_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.raw_data_.IsDefault()) { - _impl_.raw_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.CallData.raw_data) -} - -// ------------------------------------------------------------------- - -// Object - -// required .solidity.yul.test.yul_fuzzer.Code code = 1; -inline bool Object::_internal_has_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.code_ != nullptr); - return value; -} -inline bool Object::has_code() const { - return _internal_has_code(); -} -inline void Object::clear_code() { - if (_impl_.code_ != nullptr) _impl_.code_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Code& Object::_internal_code() const { - const ::solidity::yul::test::yul_fuzzer::Code* p = _impl_.code_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Code_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Code& Object::code() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Object.code) - return _internal_code(); -} -inline void Object::unsafe_arena_set_allocated_code( - ::solidity::yul::test::yul_fuzzer::Code* code) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.code_); - } - _impl_.code_ = code; - if (code) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Object.code) -} -inline ::solidity::yul::test::yul_fuzzer::Code* Object::release_code() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Code* temp = _impl_.code_; - _impl_.code_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Code* Object::unsafe_arena_release_code() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Object.code) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Code* temp = _impl_.code_; - _impl_.code_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Code* Object::_internal_mutable_code() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.code_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Code>(GetArenaForAllocation()); - _impl_.code_ = p; - } - return _impl_.code_; -} -inline ::solidity::yul::test::yul_fuzzer::Code* Object::mutable_code() { - ::solidity::yul::test::yul_fuzzer::Code* _msg = _internal_mutable_code(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Object.code) - return _msg; -} -inline void Object::set_allocated_code(::solidity::yul::test::yul_fuzzer::Code* code) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.code_; - } - if (code) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(code); - if (message_arena != submessage_arena) { - code = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, code, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.code_ = code; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Object.code) -} - -// optional .solidity.yul.test.yul_fuzzer.Data data = 2; -inline bool Object::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); - return value; -} -inline bool Object::has_data() const { - return _internal_has_data(); -} -inline void Object::clear_data() { - if (_impl_.data_ != nullptr) _impl_.data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::solidity::yul::test::yul_fuzzer::Data& Object::_internal_data() const { - const ::solidity::yul::test::yul_fuzzer::Data* p = _impl_.data_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Data_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Data& Object::data() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Object.data) - return _internal_data(); -} -inline void Object::unsafe_arena_set_allocated_data( - ::solidity::yul::test::yul_fuzzer::Data* data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); - } - _impl_.data_ = data; - if (data) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Object.data) -} -inline ::solidity::yul::test::yul_fuzzer::Data* Object::release_data() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Data* temp = _impl_.data_; - _impl_.data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Data* Object::unsafe_arena_release_data() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Object.data) - _impl_._has_bits_[0] &= ~0x00000002u; - ::solidity::yul::test::yul_fuzzer::Data* temp = _impl_.data_; - _impl_.data_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Data* Object::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.data_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Data>(GetArenaForAllocation()); - _impl_.data_ = p; - } - return _impl_.data_; -} -inline ::solidity::yul::test::yul_fuzzer::Data* Object::mutable_data() { - ::solidity::yul::test::yul_fuzzer::Data* _msg = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Object.data) - return _msg; -} -inline void Object::set_allocated_data(::solidity::yul::test::yul_fuzzer::Data* data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.data_; - } - if (data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(data); - if (message_arena != submessage_arena) { - data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.data_ = data; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Object.data) -} - -// repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; -inline int Object::_internal_sub_obj_size() const { - return _impl_.sub_obj_.size(); -} -inline int Object::sub_obj_size() const { - return _internal_sub_obj_size(); -} -inline void Object::clear_sub_obj() { - _impl_.sub_obj_.Clear(); -} -inline ::solidity::yul::test::yul_fuzzer::Object* Object::mutable_sub_obj(int index) { - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Object.sub_obj) - return _impl_.sub_obj_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::Object >* -Object::mutable_sub_obj() { - // @@protoc_insertion_point(field_mutable_list:solidity.yul.test.yul_fuzzer.Object.sub_obj) - return &_impl_.sub_obj_; -} -inline const ::solidity::yul::test::yul_fuzzer::Object& Object::_internal_sub_obj(int index) const { - return _impl_.sub_obj_.Get(index); -} -inline const ::solidity::yul::test::yul_fuzzer::Object& Object::sub_obj(int index) const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Object.sub_obj) - return _internal_sub_obj(index); -} -inline ::solidity::yul::test::yul_fuzzer::Object* Object::_internal_add_sub_obj() { - return _impl_.sub_obj_.Add(); -} -inline ::solidity::yul::test::yul_fuzzer::Object* Object::add_sub_obj() { - ::solidity::yul::test::yul_fuzzer::Object* _add = _internal_add_sub_obj(); - // @@protoc_insertion_point(field_add:solidity.yul.test.yul_fuzzer.Object.sub_obj) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::yul::test::yul_fuzzer::Object >& -Object::sub_obj() const { - // @@protoc_insertion_point(field_list:solidity.yul.test.yul_fuzzer.Object.sub_obj) - return _impl_.sub_obj_; -} - -// ------------------------------------------------------------------- - -// Code - -// required .solidity.yul.test.yul_fuzzer.Block block = 1; -inline bool Code::_internal_has_block() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.block_ != nullptr); - return value; -} -inline bool Code::has_block() const { - return _internal_has_block(); -} -inline void Code::clear_block() { - if (_impl_.block_ != nullptr) _impl_.block_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::Block& Code::_internal_block() const { - const ::solidity::yul::test::yul_fuzzer::Block* p = _impl_.block_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& Code::block() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Code.block) - return _internal_block(); -} -inline void Code::unsafe_arena_set_allocated_block( - ::solidity::yul::test::yul_fuzzer::Block* block) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.block_); - } - _impl_.block_ = block; - if (block) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Code.block) -} -inline ::solidity::yul::test::yul_fuzzer::Block* Code::release_block() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.block_; - _impl_.block_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* Code::unsafe_arena_release_block() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Code.block) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.block_; - _impl_.block_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::Block* Code::_internal_mutable_block() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.block_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::Block>(GetArenaForAllocation()); - _impl_.block_ = p; - } - return _impl_.block_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* Code::mutable_block() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_block(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Code.block) - return _msg; -} -inline void Code::set_allocated_block(::solidity::yul::test::yul_fuzzer::Block* block) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.block_; - } - if (block) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(block); - if (message_arena != submessage_arena) { - block = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, block, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.block_ = block; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Code.block) -} - -// ------------------------------------------------------------------- - -// Data - -// required string hex = 1; -inline bool Data::_internal_has_hex() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool Data::has_hex() const { - return _internal_has_hex(); -} -inline void Data::clear_hex() { - _impl_.hex_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& Data::hex() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Data.hex) - return _internal_hex(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Data::set_hex(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hex_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Data.hex) -} -inline std::string* Data::mutable_hex() { - std::string* _s = _internal_mutable_hex(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Data.hex) - return _s; -} -inline const std::string& Data::_internal_hex() const { - return _impl_.hex_.Get(); -} -inline void Data::_internal_set_hex(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hex_.Set(value, GetArenaForAllocation()); -} -inline std::string* Data::_internal_mutable_hex() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.hex_.Mutable(GetArenaForAllocation()); -} -inline std::string* Data::release_hex() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Data.hex) - if (!_internal_has_hex()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.hex_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.hex_.IsDefault()) { - _impl_.hex_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void Data::set_allocated_hex(std::string* hex) { - if (hex != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.hex_.SetAllocated(hex, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.hex_.IsDefault()) { - _impl_.hex_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Data.hex) -} - -// ------------------------------------------------------------------- - -// Program - -// .solidity.yul.test.yul_fuzzer.Block block = 1; -inline bool Program::_internal_has_block() const { - return program_oneof_case() == kBlock; -} -inline bool Program::has_block() const { - return _internal_has_block(); -} -inline void Program::set_has_block() { - _impl_._oneof_case_[0] = kBlock; -} -inline void Program::clear_block() { - if (_internal_has_block()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.program_oneof_.block_; - } - clear_has_program_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::Block* Program::release_block() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Program.block) - if (_internal_has_block()) { - clear_has_program_oneof(); - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.program_oneof_.block_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.program_oneof_.block_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::Block& Program::_internal_block() const { - return _internal_has_block() - ? *_impl_.program_oneof_.block_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::Block&>(::solidity::yul::test::yul_fuzzer::_Block_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Block& Program::block() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Program.block) - return _internal_block(); -} -inline ::solidity::yul::test::yul_fuzzer::Block* Program::unsafe_arena_release_block() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Program.block) - if (_internal_has_block()) { - clear_has_program_oneof(); - ::solidity::yul::test::yul_fuzzer::Block* temp = _impl_.program_oneof_.block_; - _impl_.program_oneof_.block_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Program::unsafe_arena_set_allocated_block(::solidity::yul::test::yul_fuzzer::Block* block) { - clear_program_oneof(); - if (block) { - set_has_block(); - _impl_.program_oneof_.block_ = block; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Program.block) -} -inline ::solidity::yul::test::yul_fuzzer::Block* Program::_internal_mutable_block() { - if (!_internal_has_block()) { - clear_program_oneof(); - set_has_block(); - _impl_.program_oneof_.block_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Block >(GetArenaForAllocation()); - } - return _impl_.program_oneof_.block_; -} -inline ::solidity::yul::test::yul_fuzzer::Block* Program::mutable_block() { - ::solidity::yul::test::yul_fuzzer::Block* _msg = _internal_mutable_block(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Program.block) - return _msg; -} - -// .solidity.yul.test.yul_fuzzer.Object obj = 2; -inline bool Program::_internal_has_obj() const { - return program_oneof_case() == kObj; -} -inline bool Program::has_obj() const { - return _internal_has_obj(); -} -inline void Program::set_has_obj() { - _impl_._oneof_case_[0] = kObj; -} -inline void Program::clear_obj() { - if (_internal_has_obj()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.program_oneof_.obj_; - } - clear_has_program_oneof(); - } -} -inline ::solidity::yul::test::yul_fuzzer::Object* Program::release_obj() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Program.obj) - if (_internal_has_obj()) { - clear_has_program_oneof(); - ::solidity::yul::test::yul_fuzzer::Object* temp = _impl_.program_oneof_.obj_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.program_oneof_.obj_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::solidity::yul::test::yul_fuzzer::Object& Program::_internal_obj() const { - return _internal_has_obj() - ? *_impl_.program_oneof_.obj_ - : reinterpret_cast< ::solidity::yul::test::yul_fuzzer::Object&>(::solidity::yul::test::yul_fuzzer::_Object_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::Object& Program::obj() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Program.obj) - return _internal_obj(); -} -inline ::solidity::yul::test::yul_fuzzer::Object* Program::unsafe_arena_release_obj() { - // @@protoc_insertion_point(field_unsafe_arena_release:solidity.yul.test.yul_fuzzer.Program.obj) - if (_internal_has_obj()) { - clear_has_program_oneof(); - ::solidity::yul::test::yul_fuzzer::Object* temp = _impl_.program_oneof_.obj_; - _impl_.program_oneof_.obj_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Program::unsafe_arena_set_allocated_obj(::solidity::yul::test::yul_fuzzer::Object* obj) { - clear_program_oneof(); - if (obj) { - set_has_obj(); - _impl_.program_oneof_.obj_ = obj; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Program.obj) -} -inline ::solidity::yul::test::yul_fuzzer::Object* Program::_internal_mutable_obj() { - if (!_internal_has_obj()) { - clear_program_oneof(); - set_has_obj(); - _impl_.program_oneof_.obj_ = CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Object >(GetArenaForAllocation()); - } - return _impl_.program_oneof_.obj_; -} -inline ::solidity::yul::test::yul_fuzzer::Object* Program::mutable_obj() { - ::solidity::yul::test::yul_fuzzer::Object* _msg = _internal_mutable_obj(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Program.obj) - return _msg; -} - -// required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; -inline bool Program::_internal_has_ver() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool Program::has_ver() const { - return _internal_has_ver(); -} -inline void Program::clear_ver() { - _impl_.ver_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::solidity::yul::test::yul_fuzzer::Program_Version Program::_internal_ver() const { - return static_cast< ::solidity::yul::test::yul_fuzzer::Program_Version >(_impl_.ver_); -} -inline ::solidity::yul::test::yul_fuzzer::Program_Version Program::ver() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Program.ver) - return _internal_ver(); -} -inline void Program::_internal_set_ver(::solidity::yul::test::yul_fuzzer::Program_Version value) { - assert(::solidity::yul::test::yul_fuzzer::Program_Version_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ver_ = value; -} -inline void Program::set_ver(::solidity::yul::test::yul_fuzzer::Program_Version value) { - _internal_set_ver(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Program.ver) -} - -// required uint32 step = 4; -inline bool Program::_internal_has_step() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool Program::has_step() const { - return _internal_has_step(); -} -inline void Program::clear_step() { - _impl_.step_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t Program::_internal_step() const { - return _impl_.step_; -} -inline uint32_t Program::step() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Program.step) - return _internal_step(); -} -inline void Program::_internal_set_step(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.step_ = value; -} -inline void Program::set_step(uint32_t value) { - _internal_set_step(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Program.step) -} - -// required .solidity.yul.test.yul_fuzzer.CallData calldata = 5; -inline bool Program::_internal_has_calldata() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.calldata_ != nullptr); - return value; -} -inline bool Program::has_calldata() const { - return _internal_has_calldata(); -} -inline void Program::clear_calldata() { - if (_impl_.calldata_ != nullptr) _impl_.calldata_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::solidity::yul::test::yul_fuzzer::CallData& Program::_internal_calldata() const { - const ::solidity::yul::test::yul_fuzzer::CallData* p = _impl_.calldata_; - return p != nullptr ? *p : reinterpret_cast( - ::solidity::yul::test::yul_fuzzer::_CallData_default_instance_); -} -inline const ::solidity::yul::test::yul_fuzzer::CallData& Program::calldata() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Program.calldata) - return _internal_calldata(); -} -inline void Program::unsafe_arena_set_allocated_calldata( - ::solidity::yul::test::yul_fuzzer::CallData* calldata) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.calldata_); - } - _impl_.calldata_ = calldata; - if (calldata) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.yul.test.yul_fuzzer.Program.calldata) -} -inline ::solidity::yul::test::yul_fuzzer::CallData* Program::release_calldata() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::CallData* temp = _impl_.calldata_; - _impl_.calldata_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::CallData* Program::unsafe_arena_release_calldata() { - // @@protoc_insertion_point(field_release:solidity.yul.test.yul_fuzzer.Program.calldata) - _impl_._has_bits_[0] &= ~0x00000001u; - ::solidity::yul::test::yul_fuzzer::CallData* temp = _impl_.calldata_; - _impl_.calldata_ = nullptr; - return temp; -} -inline ::solidity::yul::test::yul_fuzzer::CallData* Program::_internal_mutable_calldata() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.calldata_ == nullptr) { - auto* p = CreateMaybeMessage<::solidity::yul::test::yul_fuzzer::CallData>(GetArenaForAllocation()); - _impl_.calldata_ = p; - } - return _impl_.calldata_; -} -inline ::solidity::yul::test::yul_fuzzer::CallData* Program::mutable_calldata() { - ::solidity::yul::test::yul_fuzzer::CallData* _msg = _internal_mutable_calldata(); - // @@protoc_insertion_point(field_mutable:solidity.yul.test.yul_fuzzer.Program.calldata) - return _msg; -} -inline void Program::set_allocated_calldata(::solidity::yul::test::yul_fuzzer::CallData* calldata) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.calldata_; - } - if (calldata) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(calldata); - if (message_arena != submessage_arena) { - calldata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, calldata, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.calldata_ = calldata; - // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Program.calldata) -} - -// repeated uint32 optimiser_seq = 6; -inline int Program::_internal_optimiser_seq_size() const { - return _impl_.optimiser_seq_.size(); -} -inline int Program::optimiser_seq_size() const { - return _internal_optimiser_seq_size(); -} -inline void Program::clear_optimiser_seq() { - _impl_.optimiser_seq_.Clear(); -} -inline uint32_t Program::_internal_optimiser_seq(int index) const { - return _impl_.optimiser_seq_.Get(index); -} -inline uint32_t Program::optimiser_seq(int index) const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Program.optimiser_seq) - return _internal_optimiser_seq(index); -} -inline void Program::set_optimiser_seq(int index, uint32_t value) { - _impl_.optimiser_seq_.Set(index, value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Program.optimiser_seq) -} -inline void Program::_internal_add_optimiser_seq(uint32_t value) { - _impl_.optimiser_seq_.Add(value); -} -inline void Program::add_optimiser_seq(uint32_t value) { - _internal_add_optimiser_seq(value); - // @@protoc_insertion_point(field_add:solidity.yul.test.yul_fuzzer.Program.optimiser_seq) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -Program::_internal_optimiser_seq() const { - return _impl_.optimiser_seq_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -Program::optimiser_seq() const { - // @@protoc_insertion_point(field_list:solidity.yul.test.yul_fuzzer.Program.optimiser_seq) - return _internal_optimiser_seq(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -Program::_internal_mutable_optimiser_seq() { - return &_impl_.optimiser_seq_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -Program::mutable_optimiser_seq() { - // @@protoc_insertion_point(field_mutable_list:solidity.yul.test.yul_fuzzer.Program.optimiser_seq) - return _internal_mutable_optimiser_seq(); -} - -// optional bool optimize_stack_allocation = 7; -inline bool Program::_internal_has_optimize_stack_allocation() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool Program::has_optimize_stack_allocation() const { - return _internal_has_optimize_stack_allocation(); -} -inline void Program::clear_optimize_stack_allocation() { - _impl_.optimize_stack_allocation_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool Program::_internal_optimize_stack_allocation() const { - return _impl_.optimize_stack_allocation_; -} -inline bool Program::optimize_stack_allocation() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Program.optimize_stack_allocation) - return _internal_optimize_stack_allocation(); -} -inline void Program::_internal_set_optimize_stack_allocation(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.optimize_stack_allocation_ = value; -} -inline void Program::set_optimize_stack_allocation(bool value) { - _internal_set_optimize_stack_allocation(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Program.optimize_stack_allocation) -} - -// optional uint32 expected_executions = 8; -inline bool Program::_internal_has_expected_executions() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool Program::has_expected_executions() const { - return _internal_has_expected_executions(); -} -inline void Program::clear_expected_executions() { - _impl_.expected_executions_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t Program::_internal_expected_executions() const { - return _impl_.expected_executions_; -} -inline uint32_t Program::expected_executions() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Program.expected_executions) - return _internal_expected_executions(); -} -inline void Program::_internal_set_expected_executions(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.expected_executions_ = value; -} -inline void Program::set_expected_executions(uint32_t value) { - _internal_set_expected_executions(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Program.expected_executions) -} - -// optional bool is_creation = 9; -inline bool Program::_internal_has_is_creation() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool Program::has_is_creation() const { - return _internal_has_is_creation(); -} -inline void Program::clear_is_creation() { - _impl_.is_creation_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool Program::_internal_is_creation() const { - return _impl_.is_creation_; -} -inline bool Program::is_creation() const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Program.is_creation) - return _internal_is_creation(); -} -inline void Program::_internal_set_is_creation(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.is_creation_ = value; -} -inline void Program::set_is_creation(bool value) { - _internal_set_is_creation(value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Program.is_creation) -} - -// repeated uint32 optimiser_cleanup_seq = 10; -inline int Program::_internal_optimiser_cleanup_seq_size() const { - return _impl_.optimiser_cleanup_seq_.size(); -} -inline int Program::optimiser_cleanup_seq_size() const { - return _internal_optimiser_cleanup_seq_size(); -} -inline void Program::clear_optimiser_cleanup_seq() { - _impl_.optimiser_cleanup_seq_.Clear(); -} -inline uint32_t Program::_internal_optimiser_cleanup_seq(int index) const { - return _impl_.optimiser_cleanup_seq_.Get(index); -} -inline uint32_t Program::optimiser_cleanup_seq(int index) const { - // @@protoc_insertion_point(field_get:solidity.yul.test.yul_fuzzer.Program.optimiser_cleanup_seq) - return _internal_optimiser_cleanup_seq(index); -} -inline void Program::set_optimiser_cleanup_seq(int index, uint32_t value) { - _impl_.optimiser_cleanup_seq_.Set(index, value); - // @@protoc_insertion_point(field_set:solidity.yul.test.yul_fuzzer.Program.optimiser_cleanup_seq) -} -inline void Program::_internal_add_optimiser_cleanup_seq(uint32_t value) { - _impl_.optimiser_cleanup_seq_.Add(value); -} -inline void Program::add_optimiser_cleanup_seq(uint32_t value) { - _internal_add_optimiser_cleanup_seq(value); - // @@protoc_insertion_point(field_add:solidity.yul.test.yul_fuzzer.Program.optimiser_cleanup_seq) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -Program::_internal_optimiser_cleanup_seq() const { - return _impl_.optimiser_cleanup_seq_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -Program::optimiser_cleanup_seq() const { - // @@protoc_insertion_point(field_list:solidity.yul.test.yul_fuzzer.Program.optimiser_cleanup_seq) - return _internal_optimiser_cleanup_seq(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -Program::_internal_mutable_optimiser_cleanup_seq() { - return &_impl_.optimiser_cleanup_seq_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -Program::mutable_optimiser_cleanup_seq() { - // @@protoc_insertion_point(field_mutable_list:solidity.yul.test.yul_fuzzer.Program.optimiser_cleanup_seq) - return _internal_mutable_optimiser_cleanup_seq(); -} - -inline bool Program::has_program_oneof() const { - return program_oneof_case() != PROGRAM_ONEOF_NOT_SET; -} -inline void Program::clear_has_program_oneof() { - _impl_._oneof_case_[0] = PROGRAM_ONEOF_NOT_SET; -} -inline Program::ProgramOneofCase Program::program_oneof_case() const { - return Program::ProgramOneofCase(_impl_._oneof_case_[0]); -} -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace yul_fuzzer -} // namespace test -} // namespace yul -} // namespace solidity - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::LowLevelCall_Type> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::LowLevelCall_Type>() { - return ::solidity::yul::test::yul_fuzzer::LowLevelCall_Type_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::Create_Type> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::Create_Type>() { - return ::solidity::yul::test::yul_fuzzer::Create_Type_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName>() { - return ::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName>() { - return ::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::BinaryOp_BOp> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::BinaryOp_BOp>() { - return ::solidity::yul::test::yul_fuzzer::BinaryOp_BOp_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::UnaryOp_UOp> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::UnaryOp_UOp>() { - return ::solidity::yul::test::yul_fuzzer::UnaryOp_UOp_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData>() { - return ::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::TernaryOp_TOp> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::TernaryOp_TOp>() { - return ::solidity::yul::test::yul_fuzzer::TernaryOp_TOp_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType>() { - return ::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::NullaryOp_NOp> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::NullaryOp_NOp>() { - return ::solidity::yul::test::yul_fuzzer::NullaryOp_NOp_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::StoreFunc_Storage> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::StoreFunc_Storage>() { - return ::solidity::yul::test::yul_fuzzer::StoreFunc_Storage_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics>() { - return ::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type>() { - return ::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::RetRevStmt_Type> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::RetRevStmt_Type>() { - return ::solidity::yul::test::yul_fuzzer::RetRevStmt_Type_descriptor(); -} -template <> struct is_proto_enum< ::solidity::yul::test::yul_fuzzer::Program_Version> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::solidity::yul::test::yul_fuzzer::Program_Version>() { - return ::solidity::yul::test::yul_fuzzer::Program_Version_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_yulProto_2eproto diff --git a/tools/runners/sol_ice_crash_backtrace_categorizer.py b/tools/runners/sol_ice_crash_backtrace_categorizer.py index 7d4ea62..003dbad 100755 --- a/tools/runners/sol_ice_crash_backtrace_categorizer.py +++ b/tools/runners/sol_ice_crash_backtrace_categorizer.py @@ -28,7 +28,7 @@ from pathlib import Path REPO_ROOT = Path(__file__).resolve().parents[2] -DEFAULT_DUMPER = REPO_ROOT / "build_ossfuzz" / "tools" / "ossfuzz" / "sol_ice_ossfuzz" +DEFAULT_DUMPER = REPO_ROOT / "build_afl" / "tools" / "ossfuzz" / "sol_ice_ossfuzz" DEFAULT_SOLC = REPO_ROOT / "build" / "solidity" / "solc" / "solc" ICE_MARKERS = ( diff --git a/tools/shuffler-fuzzer/README.md b/tools/shuffler-fuzzer/README.md new file mode 100644 index 0000000..a0428d9 --- /dev/null +++ b/tools/shuffler-fuzzer/README.md @@ -0,0 +1,40 @@ +# Tools + +## stackshuffler + +Standalone tool for running the SSA stack shuffler on `.stack` test files. The +stack shuffler takes an initial EVM stack layout and target constraints, then +generates a sequence of EVM opcodes (SWAP, DUP, PUSH, POP) to reach an +admissible target layout. + +### Building + +```bash +cd build +cmake .. +make -j$(nproc) stackshuffler +``` + +### Usage + +```bash +# Print the full trace table +./build/tools/shuffler-fuzzer/stackshuffler --verbose path/to/test.stack + +# Just print status (exit 0 = Admissible, exit 1 = MaxIterationsReached) +./build/tools/shuffler-fuzzer/stackshuffler path/to/test.stack + +# Read from stdin +echo "initial: [v1, v2] +targetStackTop: [v2, v1]" | ./build/stackshuffler --verbose - +``` + +### .stack file format + +``` +// Comments start with // +initial: [JUNK, v12, phi9, phi13, JUNK, JUNK, v65, v67] +targetStackTop: [lit27, phi13, phi9, v12, v67] +targetStackTailSet: {phi9, v12, phi13, v65} +targetStackSize: 21 +```