commit | 2117269dd1fb7355fb7a3c6b83046c9973b161b3 | [log] [tgz] |
---|---|---|
author | Kostya Serebryany <kcc@google.com> | Thu Feb 19 18:21:12 2015 +0000 |
committer | Kostya Serebryany <kcc@google.com> | Thu Feb 19 18:21:12 2015 +0000 |
tree | 7f89ed2a82714dcbc23462957907f5b3ed2ca126 | |
parent | 3f1c2852942f3686f9c4e90e9033335da62d12c4 [diff] [blame] |
[fuzzer] properly annotate fallthrough, add one more entry to FAQ llvm-svn: 229880
diff --git a/llvm/lib/Fuzzer/FuzzerMutate.cpp b/llvm/lib/Fuzzer/FuzzerMutate.cpp index 60d5623..b28264a 100644 --- a/llvm/lib/Fuzzer/FuzzerMutate.cpp +++ b/llvm/lib/Fuzzer/FuzzerMutate.cpp
@@ -47,7 +47,7 @@ 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());