OSDN Git Service

[libFuzzer] replace 'auto' with 'auto *' to better follow the LLVM style
authorKostya Serebryany <kcc@google.com>
Mon, 14 Nov 2016 19:21:38 +0000 (19:21 +0000)
committerKostya Serebryany <kcc@google.com>
Mon, 14 Nov 2016 19:21:38 +0000 (19:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286870 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Fuzzer/FuzzerDriver.cpp

index 1fa8c3c..abf0597 100644 (file)
@@ -446,9 +446,9 @@ int FuzzerDriver(int *argc, char ***argv, UserCallback Callback) {
     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())