[llvm] r286870 - [libFuzzer] replace 'auto' with 'auto *' to better follow the LLVM style
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 11:21:38 PST 2016
Author: kcc
Date: Mon Nov 14 13:21:38 2016
New Revision: 286870
URL: http://llvm.org/viewvc/llvm-project?rev=286870&view=rev
Log:
[libFuzzer] replace 'auto' with 'auto *' to better follow the LLVM style
Modified:
llvm/trunk/lib/Fuzzer/FuzzerDriver.cpp
Modified: llvm/trunk/lib/Fuzzer/FuzzerDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerDriver.cpp?rev=286870&r1=286869&r2=286870&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerDriver.cpp (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerDriver.cpp Mon Nov 14 13:21:38 2016
@@ -446,9 +446,9 @@ int FuzzerDriver(int *argc, char ***argv
Printf("INFO: Seed: %u\n", Seed);
Random Rand(Seed);
- auto MD = new MutationDispatcher(Rand, Options);
- auto Corpus = new InputCorpus(Options.OutputCorpus);
- auto F = new Fuzzer(Callback, *Corpus, *MD, Options);
+ auto *MD = new MutationDispatcher(Rand, Options);
+ auto *Corpus = new InputCorpus(Options.OutputCorpus);
+ auto *F = new Fuzzer(Callback, *Corpus, *MD, Options);
for (auto &U: Dictionary)
if (U.size() <= Word::GetMaxSize())
More information about the llvm-commits
mailing list