[PATCH] D58674: [libFuzzer] Remove extra semicolons
Jonathan Metzman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 26 09:48:02 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL354902: [libFuzzer] Remove extra semicolons (authored by metzman, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D58674?vs=188374&id=188400#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58674/new/
https://reviews.llvm.org/D58674
Files:
compiler-rt/trunk/lib/fuzzer/FuzzerCorpus.h
compiler-rt/trunk/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
compiler-rt/trunk/lib/fuzzer/FuzzerUtilWindows.cpp
Index: compiler-rt/trunk/lib/fuzzer/FuzzerCorpus.h
===================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerCorpus.h
+++ compiler-rt/trunk/lib/fuzzer/FuzzerCorpus.h
@@ -169,7 +169,7 @@
InputInfo &II = *Inputs[ChooseUnitIdxToMutate(Rand)];
assert(!II.U.empty());
return II;
- };
+ }
// Returns an index of random unit from the corpus to mutate.
size_t ChooseUnitIdxToMutate(Random &Rand) {
Index: compiler-rt/trunk/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
===================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
+++ compiler-rt/trunk/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
@@ -49,7 +49,7 @@
Printf("ERROR: Function \"%s\" not defined.\n", #NAME); \
exit(1); \
} \
- EXTERNAL_FUNC(NAME, NAME##Def) RETURN_TYPE NAME FUNC_SIG;
+ EXTERNAL_FUNC(NAME, NAME##Def) RETURN_TYPE NAME FUNC_SIG
#include "FuzzerExtFunctions.def"
Index: compiler-rt/trunk/lib/fuzzer/FuzzerUtilWindows.cpp
===================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerUtilWindows.cpp
+++ compiler-rt/trunk/lib/fuzzer/FuzzerUtilWindows.cpp
@@ -85,11 +85,11 @@
class TimerQ {
HANDLE TimerQueue;
public:
- TimerQ() : TimerQueue(NULL) {};
+ TimerQ() : TimerQueue(NULL) {}
~TimerQ() {
if (TimerQueue)
DeleteTimerQueueEx(TimerQueue, NULL);
- };
+ }
void SetTimer(int Seconds) {
if (!TimerQueue) {
TimerQueue = CreateTimerQueue();
@@ -104,7 +104,7 @@
Printf("libFuzzer: CreateTimerQueueTimer failed.\n");
exit(1);
}
- };
+ }
};
static TimerQ Timer;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58674.188400.patch
Type: text/x-patch
Size: 1795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190226/d436c49a/attachment.bin>
More information about the llvm-commits
mailing list