]> granicus.if.org Git - clang/commit
[clang-proto-to-cxx] Accept protobufs with missing fields.
authorMatt Morehouse <mascasa@google.com>
Fri, 2 Feb 2018 20:22:20 +0000 (20:22 +0000)
committerMatt Morehouse <mascasa@google.com>
Fri, 2 Feb 2018 20:22:20 +0000 (20:22 +0000)
commitfea5007e11197e02959e9ec135098e9fe56e2c9c
treec7b258efd17611fd7ffd5cbbbba1f6ca1afc69ec
parentdca2f9dcbaf981e7d07eefcbc59901fd3a4f5770
[clang-proto-to-cxx] Accept protobufs with missing fields.

libprotobuf-mutator accepts protobufs with missing fields, which means
clang-proto-fuzzer does as well.  clang-proto-to-cxx should match this
behavior.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@324132 91177308-0d34-0410-b5e6-96231b3b80d8
tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.cpp