[fuzzer] properly annotate fallthrough, add one more entry to FAQ
[oota-llvm.git] / lib / Fuzzer / FuzzerMutate.cpp
index 60d5623ada608ad6dfc1c54c2ce4ca3839b7cc7a..b28264ac8c1d2b6fe3d5d6db2bbcce043603ca67 100644 (file)
@@ -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());