Implementation of nested loops in cxx_loop_proto
authorEmmett Neyman <eneyman@google.com>
Wed, 15 Aug 2018 23:05:48 +0000 (23:05 +0000)
committerEmmett Neyman <eneyman@google.com>
Wed, 15 Aug 2018 23:05:48 +0000 (23:05 +0000)
commitba58c3a3a57e7fc8af0ca07a763b914ef25a3afd
treecda8e4e08d108f1f9937b409e041d3d49560eb9b
parente5715ff997944d3cfb3587c4c3dd418fc4cccde1
Implementation of nested loops in cxx_loop_proto

Summary: Extended `cxx_loop_proto` to have neste for loops. Modified `loop_proto_to_llvm` and `loop_proto_to_cxx` to handle the new protos. All protos have a set of statements designated as "inner loop" statements and a set of statements designated as "outer loop" statements.

Reviewers: morehouse, kcc

Reviewed By: morehouse

Subscribers: cfe-commits, llvm-commits

Differential Revision: https://reviews.llvm.org/D50670

llvm-svn: 339832
clang/tools/clang-fuzzer/cxx_loop_proto.proto
clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx.cpp
clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.cpp