projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CodeGen: Use the new DebugLoc API, NFC
[oota-llvm.git]
/
lib
/
Fuzzer
/
FuzzerMutate.cpp
diff --git
a/lib/Fuzzer/FuzzerMutate.cpp
b/lib/Fuzzer/FuzzerMutate.cpp
index 60d5623ada608ad6dfc1c54c2ce4ca3839b7cc7a..b28264ac8c1d2b6fe3d5d6db2bbcce043603ca67 100644
(file)
--- a/
lib/Fuzzer/FuzzerMutate.cpp
+++ b/
lib/Fuzzer/FuzzerMutate.cpp
@@
-47,7
+47,7
@@
void Mutate(Unit *U, size_t MaxLen) {
U->erase(U->begin() + rand() % U->size());
break;
}
- // Fallthrough
+ [[clang::fallthrough]];
case 1:
if (U->size() < MaxLen) {
U->insert(U->begin() + rand() % U->size(), RandCh());