[PATCH] D36882: [clang-proto-fuzzer] Allow user-specified compiler arguments.

Kostya Serebryany via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 19 19:01:31 PDT 2017

kcc added a comment.

Update the README file please (with a text similar to this commit message)

Comment at: cfe/trunk/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp:32
+  for (int I = 1; I < *argc; I++) {
+    if (strcmp((*argv)[I], "-ignore_remaining_args=1") == 0) {
+      for (I++; I < *argc; I++)
[remark, feel free to ignore]
the "break;" here is redundant, and thus the {} too, i.e. you can keep the code shorter.
Whether it will make it more readable is debatable.  



More information about the cfe-commits mailing list