Enable -Wimplicit-fallthrough diagnostic

Clang doesn't enable this by default.

Change-Id: Ie3e2edcdbf2023780af7b89c14445266a64e883c
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1a4aeb6..9e78846 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,7 @@
 
 # Build warnings are useful tools (and this project should be warning-free anyway), enable them on all
 # configurations. They are warnings, not errors.
-set(CMAKE_CXX_FLAGS "-Wall -Wextra -pedantic -Woverloaded-virtual ${CMAKE_CXX_FLAGS}")
+set(CMAKE_CXX_FLAGS "-Wall -Wextra -pedantic -Woverloaded-virtual -Wimplicit-fallthrough ${CMAKE_CXX_FLAGS}")
 
 if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
     set(CMAKE_CXX_FLAGS "-Wsuggest-override ${CMAKE_CXX_FLAGS}")